diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/AnnotatingElementDeSerializer.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/AnnotatingElementDeSerializer.cs index 2934759a..e3a551d0 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/AnnotatingElementDeSerializer.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/AnnotatingElementDeSerializer.cs @@ -69,7 +69,7 @@ internal static IAnnotatingElement DeSerialize(JsonElement jsonElement, Serializ throw new InvalidOperationException($"The AnnotatingElementDeSerializer can only be used to deserialize objects of type IAnnotatingElement, a {@type.GetString()} was provided"); } - IAnnotatingElement dtoInstance = new SysML2.NET.Core.DTO.Root.Annotations.AnnotatingElement(); + var dtoInstance = new SysML2.NET.Core.DTO.Root.Annotations.AnnotatingElement(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/AssociationDeSerializer.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/AssociationDeSerializer.cs index 2534bf92..f57bd6f4 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/AssociationDeSerializer.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/AssociationDeSerializer.cs @@ -69,7 +69,7 @@ internal static IAssociation DeSerialize(JsonElement jsonElement, SerializationM throw new InvalidOperationException($"The AssociationDeSerializer can only be used to deserialize objects of type IAssociation, a {@type.GetString()} was provided"); } - IAssociation dtoInstance = new SysML2.NET.Core.DTO.Kernel.Associations.Association(); + var dtoInstance = new SysML2.NET.Core.DTO.Kernel.Associations.Association(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -270,46 +270,6 @@ internal static IAssociation DeSerialize(JsonElement jsonElement, SerializationM logger.LogDebug("the owningRelationship Json property was not found in the Association: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the Association: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the Association: { Id }", dtoInstance.Id); - } - return dtoInstance; } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/DependencyDeSerializer.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/DependencyDeSerializer.cs index 29abec71..d714e070 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/DependencyDeSerializer.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/DependencyDeSerializer.cs @@ -69,7 +69,7 @@ internal static IDependency DeSerialize(JsonElement jsonElement, SerializationMo throw new InvalidOperationException($"The DependencyDeSerializer can only be used to deserialize objects of type IDependency, a {@type.GetString()} was provided"); } - IDependency dtoInstance = new SysML2.NET.Core.DTO.Root.Dependencies.Dependency(); + var dtoInstance = new SysML2.NET.Core.DTO.Root.Dependencies.Dependency(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -266,26 +266,6 @@ internal static IDependency DeSerialize(JsonElement jsonElement, SerializationMo logger.LogDebug("the owningRelationship Json property was not found in the Dependency: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the Dependency: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("supplier"u8, out var supplierProperty)) { foreach (var arrayItem in supplierProperty.EnumerateArray()) @@ -306,26 +286,6 @@ internal static IDependency DeSerialize(JsonElement jsonElement, SerializationMo logger.LogDebug("the supplier Json property was not found in the Dependency: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the Dependency: { Id }", dtoInstance.Id); - } - return dtoInstance; } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/EnumerationDefinitionDeSerializer.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/EnumerationDefinitionDeSerializer.cs index 1d5b92aa..2d688124 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/EnumerationDefinitionDeSerializer.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/EnumerationDefinitionDeSerializer.cs @@ -69,7 +69,7 @@ internal static IEnumerationDefinition DeSerialize(JsonElement jsonElement, Seri throw new InvalidOperationException($"The EnumerationDefinitionDeSerializer can only be used to deserialize objects of type IEnumerationDefinition, a {@type.GetString()} was provided"); } - IEnumerationDefinition dtoInstance = new SysML2.NET.Core.DTO.Systems.Enumerations.EnumerationDefinition(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Enumerations.EnumerationDefinition(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/FeatureDeSerializer.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/FeatureDeSerializer.cs index 4f59725d..4cf0485b 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/FeatureDeSerializer.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/FeatureDeSerializer.cs @@ -69,7 +69,7 @@ internal static IFeature DeSerialize(JsonElement jsonElement, SerializationModeK throw new InvalidOperationException($"The FeatureDeSerializer can only be used to deserialize objects of type IFeature, a {@type.GetString()} was provided"); } - IFeature dtoInstance = new SysML2.NET.Core.DTO.Core.Features.Feature(); + var dtoInstance = new SysML2.NET.Core.DTO.Core.Features.Feature(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/FeatureTypingDeSerializer.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/FeatureTypingDeSerializer.cs index 23e07377..31e705bc 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/FeatureTypingDeSerializer.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/FeatureTypingDeSerializer.cs @@ -69,7 +69,7 @@ internal static IFeatureTyping DeSerialize(JsonElement jsonElement, Serializatio throw new InvalidOperationException($"The FeatureTypingDeSerializer can only be used to deserialize objects of type IFeatureTyping, a {@type.GetString()} was provided"); } - IFeatureTyping dtoInstance = new SysML2.NET.Core.DTO.Core.Features.FeatureTyping(); + var dtoInstance = new SysML2.NET.Core.DTO.Core.Features.FeatureTyping(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -134,31 +134,6 @@ internal static IFeatureTyping DeSerialize(JsonElement jsonElement, Serializatio logger.LogDebug("the elementId Json property was not found in the FeatureTyping: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("general"u8, out var generalProperty)) - { - if (generalProperty.ValueKind == JsonValueKind.Null) - { - dtoInstance.General = Guid.Empty; - logger.LogDebug($"the FeatureTyping.General property was not found in the Json. The value is set to Guid.Empty"); - } - else - { - if (generalProperty.TryGetProperty("@id"u8, out var generalIdProperty)) - { - var propertyValue = generalIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.General = Guid.Parse(propertyValue); - } - } - } - } - else - { - logger.LogDebug("the general Json property was not found in the FeatureTyping: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isImplied"u8, out var isImpliedProperty)) { if (isImpliedProperty.ValueKind != JsonValueKind.Null) @@ -271,71 +246,6 @@ internal static IFeatureTyping DeSerialize(JsonElement jsonElement, Serializatio logger.LogDebug("the owningRelationship Json property was not found in the FeatureTyping: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the FeatureTyping: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("specific"u8, out var specificProperty)) - { - if (specificProperty.ValueKind == JsonValueKind.Null) - { - dtoInstance.Specific = Guid.Empty; - logger.LogDebug($"the FeatureTyping.Specific property was not found in the Json. The value is set to Guid.Empty"); - } - else - { - if (specificProperty.TryGetProperty("@id"u8, out var specificIdProperty)) - { - var propertyValue = specificIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Specific = Guid.Parse(propertyValue); - } - } - } - } - else - { - logger.LogDebug("the specific Json property was not found in the FeatureTyping: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the FeatureTyping: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("type"u8, out var typeProperty)) { if (typeProperty.ValueKind == JsonValueKind.Null) diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/FlowDeSerializer.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/FlowDeSerializer.cs index 383661ad..8c84fbdc 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/FlowDeSerializer.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/FlowDeSerializer.cs @@ -69,7 +69,7 @@ internal static IFlow DeSerialize(JsonElement jsonElement, SerializationModeKind throw new InvalidOperationException($"The FlowDeSerializer can only be used to deserialize objects of type IFlow, a {@type.GetString()} was provided"); } - IFlow dtoInstance = new SysML2.NET.Core.DTO.Kernel.Interactions.Flow(); + var dtoInstance = new SysML2.NET.Core.DTO.Kernel.Interactions.Flow(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -375,46 +375,6 @@ internal static IFlow DeSerialize(JsonElement jsonElement, SerializationModeKind logger.LogDebug("the owningRelationship Json property was not found in the Flow: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the Flow: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the Flow: { Id }", dtoInstance.Id); - } - return dtoInstance; } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/FramedConcernMembershipDeSerializer.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/FramedConcernMembershipDeSerializer.cs index 534585b2..aa878577 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/FramedConcernMembershipDeSerializer.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/FramedConcernMembershipDeSerializer.cs @@ -69,7 +69,7 @@ internal static IFramedConcernMembership DeSerialize(JsonElement jsonElement, Se throw new InvalidOperationException($"The FramedConcernMembershipDeSerializer can only be used to deserialize objects of type IFramedConcernMembership, a {@type.GetString()} was provided"); } - IFramedConcernMembership dtoInstance = new SysML2.NET.Core.DTO.Systems.Requirements.FramedConcernMembership(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Requirements.FramedConcernMembership(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -167,49 +167,6 @@ internal static IFramedConcernMembership DeSerialize(JsonElement jsonElement, Se logger.LogDebug("the kind Json property was not found in the FramedConcernMembership: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("memberElement"u8, out var memberElementProperty)) - { - if (memberElementProperty.ValueKind == JsonValueKind.Null) - { - dtoInstance.MemberElement = Guid.Empty; - logger.LogDebug($"the FramedConcernMembership.MemberElement property was not found in the Json. The value is set to Guid.Empty"); - } - else - { - if (memberElementProperty.TryGetProperty("@id"u8, out var memberElementIdProperty)) - { - var propertyValue = memberElementIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.MemberElement = Guid.Parse(propertyValue); - } - } - } - } - else - { - logger.LogDebug("the memberElement Json property was not found in the FramedConcernMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("memberName"u8, out var memberNameProperty)) - { - dtoInstance.MemberName = memberNameProperty.GetString(); - } - else - { - logger.LogDebug("the memberName Json property was not found in the FramedConcernMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("memberShortName"u8, out var memberShortNameProperty)) - { - dtoInstance.MemberShortName = memberShortNameProperty.GetString(); - } - else - { - logger.LogDebug("the memberShortName Json property was not found in the FramedConcernMembership: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("ownedRelatedElement"u8, out var ownedRelatedElementProperty)) { foreach (var arrayItem in ownedRelatedElementProperty.EnumerateArray()) @@ -298,46 +255,6 @@ internal static IFramedConcernMembership DeSerialize(JsonElement jsonElement, Se logger.LogDebug("the owningRelationship Json property was not found in the FramedConcernMembership: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the FramedConcernMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the FramedConcernMembership: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("visibility"u8, out var visibilityProperty)) { dtoInstance.Visibility = VisibilityKindDeSerializer.Deserialize(visibilityProperty.GetString()); diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/LiteralIntegerDeSerializer.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/LiteralIntegerDeSerializer.cs index fb83c49b..d806a5eb 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/LiteralIntegerDeSerializer.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/LiteralIntegerDeSerializer.cs @@ -69,7 +69,7 @@ internal static ILiteralInteger DeSerialize(JsonElement jsonElement, Serializati throw new InvalidOperationException($"The LiteralIntegerDeSerializer can only be used to deserialize objects of type ILiteralInteger, a {@type.GetString()} was provided"); } - ILiteralInteger dtoInstance = new SysML2.NET.Core.DTO.Kernel.Expressions.LiteralInteger(); + var dtoInstance = new SysML2.NET.Core.DTO.Kernel.Expressions.LiteralInteger(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/LiteralRationalDeSerializer.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/LiteralRationalDeSerializer.cs index 3d038b6e..36c6bcbc 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/LiteralRationalDeSerializer.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/LiteralRationalDeSerializer.cs @@ -69,7 +69,7 @@ internal static ILiteralRational DeSerialize(JsonElement jsonElement, Serializat throw new InvalidOperationException($"The LiteralRationalDeSerializer can only be used to deserialize objects of type ILiteralRational, a {@type.GetString()} was provided"); } - ILiteralRational dtoInstance = new SysML2.NET.Core.DTO.Kernel.Expressions.LiteralRational(); + var dtoInstance = new SysML2.NET.Core.DTO.Kernel.Expressions.LiteralRational(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/MembershipDeSerializer.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/MembershipDeSerializer.cs index 645c9caf..0acf2b35 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/MembershipDeSerializer.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/MembershipDeSerializer.cs @@ -69,7 +69,7 @@ internal static IMembership DeSerialize(JsonElement jsonElement, SerializationMo throw new InvalidOperationException($"The MembershipDeSerializer can only be used to deserialize objects of type IMembership, a {@type.GetString()} was provided"); } - IMembership dtoInstance = new SysML2.NET.Core.DTO.Root.Namespaces.Membership(); + var dtoInstance = new SysML2.NET.Core.DTO.Root.Namespaces.Membership(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -289,46 +289,6 @@ internal static IMembership DeSerialize(JsonElement jsonElement, SerializationMo logger.LogDebug("the owningRelationship Json property was not found in the Membership: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the Membership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the Membership: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("visibility"u8, out var visibilityProperty)) { dtoInstance.Visibility = VisibilityKindDeSerializer.Deserialize(visibilityProperty.GetString()); diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/MultiplicityRangeDeSerializer.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/MultiplicityRangeDeSerializer.cs index 2ef56593..9a661432 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/MultiplicityRangeDeSerializer.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/MultiplicityRangeDeSerializer.cs @@ -69,7 +69,7 @@ internal static IMultiplicityRange DeSerialize(JsonElement jsonElement, Serializ throw new InvalidOperationException($"The MultiplicityRangeDeSerializer can only be used to deserialize objects of type IMultiplicityRange, a {@type.GetString()} was provided"); } - IMultiplicityRange dtoInstance = new SysML2.NET.Core.DTO.Kernel.Multiplicities.MultiplicityRange(); + var dtoInstance = new SysML2.NET.Core.DTO.Kernel.Multiplicities.MultiplicityRange(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/OwningMembershipDeSerializer.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/OwningMembershipDeSerializer.cs index 71d262de..b1c9b646 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/OwningMembershipDeSerializer.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/OwningMembershipDeSerializer.cs @@ -69,7 +69,7 @@ internal static IOwningMembership DeSerialize(JsonElement jsonElement, Serializa throw new InvalidOperationException($"The OwningMembershipDeSerializer can only be used to deserialize objects of type IOwningMembership, a {@type.GetString()} was provided"); } - IOwningMembership dtoInstance = new SysML2.NET.Core.DTO.Root.Namespaces.OwningMembership(); + var dtoInstance = new SysML2.NET.Core.DTO.Root.Namespaces.OwningMembership(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -158,49 +158,6 @@ internal static IOwningMembership DeSerialize(JsonElement jsonElement, Serializa logger.LogDebug("the isImpliedIncluded Json property was not found in the OwningMembership: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("memberElement"u8, out var memberElementProperty)) - { - if (memberElementProperty.ValueKind == JsonValueKind.Null) - { - dtoInstance.MemberElement = Guid.Empty; - logger.LogDebug($"the OwningMembership.MemberElement property was not found in the Json. The value is set to Guid.Empty"); - } - else - { - if (memberElementProperty.TryGetProperty("@id"u8, out var memberElementIdProperty)) - { - var propertyValue = memberElementIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.MemberElement = Guid.Parse(propertyValue); - } - } - } - } - else - { - logger.LogDebug("the memberElement Json property was not found in the OwningMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("memberName"u8, out var memberNameProperty)) - { - dtoInstance.MemberName = memberNameProperty.GetString(); - } - else - { - logger.LogDebug("the memberName Json property was not found in the OwningMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("memberShortName"u8, out var memberShortNameProperty)) - { - dtoInstance.MemberShortName = memberShortNameProperty.GetString(); - } - else - { - logger.LogDebug("the memberShortName Json property was not found in the OwningMembership: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("ownedRelatedElement"u8, out var ownedRelatedElementProperty)) { foreach (var arrayItem in ownedRelatedElementProperty.EnumerateArray()) @@ -289,46 +246,6 @@ internal static IOwningMembership DeSerialize(JsonElement jsonElement, Serializa logger.LogDebug("the owningRelationship Json property was not found in the OwningMembership: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the OwningMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the OwningMembership: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("visibility"u8, out var visibilityProperty)) { dtoInstance.Visibility = VisibilityKindDeSerializer.Deserialize(visibilityProperty.GetString()); diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/ReferenceSubsettingDeSerializer.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/ReferenceSubsettingDeSerializer.cs index 31550f59..2ab3647a 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/ReferenceSubsettingDeSerializer.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/ReferenceSubsettingDeSerializer.cs @@ -69,7 +69,7 @@ internal static IReferenceSubsetting DeSerialize(JsonElement jsonElement, Serial throw new InvalidOperationException($"The ReferenceSubsettingDeSerializer can only be used to deserialize objects of type IReferenceSubsetting, a {@type.GetString()} was provided"); } - IReferenceSubsetting dtoInstance = new SysML2.NET.Core.DTO.Core.Features.ReferenceSubsetting(); + var dtoInstance = new SysML2.NET.Core.DTO.Core.Features.ReferenceSubsetting(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -134,31 +134,6 @@ internal static IReferenceSubsetting DeSerialize(JsonElement jsonElement, Serial logger.LogDebug("the elementId Json property was not found in the ReferenceSubsetting: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("general"u8, out var generalProperty)) - { - if (generalProperty.ValueKind == JsonValueKind.Null) - { - dtoInstance.General = Guid.Empty; - logger.LogDebug($"the ReferenceSubsetting.General property was not found in the Json. The value is set to Guid.Empty"); - } - else - { - if (generalProperty.TryGetProperty("@id"u8, out var generalIdProperty)) - { - var propertyValue = generalIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.General = Guid.Parse(propertyValue); - } - } - } - } - else - { - logger.LogDebug("the general Json property was not found in the ReferenceSubsetting: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isImplied"u8, out var isImpliedProperty)) { if (isImpliedProperty.ValueKind != JsonValueKind.Null) @@ -296,121 +271,6 @@ internal static IReferenceSubsetting DeSerialize(JsonElement jsonElement, Serial logger.LogDebug("the referencedFeature Json property was not found in the ReferenceSubsetting: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the ReferenceSubsetting: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("specific"u8, out var specificProperty)) - { - if (specificProperty.ValueKind == JsonValueKind.Null) - { - dtoInstance.Specific = Guid.Empty; - logger.LogDebug($"the ReferenceSubsetting.Specific property was not found in the Json. The value is set to Guid.Empty"); - } - else - { - if (specificProperty.TryGetProperty("@id"u8, out var specificIdProperty)) - { - var propertyValue = specificIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Specific = Guid.Parse(propertyValue); - } - } - } - } - else - { - logger.LogDebug("the specific Json property was not found in the ReferenceSubsetting: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("subsettedFeature"u8, out var subsettedFeatureProperty)) - { - if (subsettedFeatureProperty.ValueKind == JsonValueKind.Null) - { - dtoInstance.SubsettedFeature = Guid.Empty; - logger.LogDebug($"the ReferenceSubsetting.SubsettedFeature property was not found in the Json. The value is set to Guid.Empty"); - } - else - { - if (subsettedFeatureProperty.TryGetProperty("@id"u8, out var subsettedFeatureIdProperty)) - { - var propertyValue = subsettedFeatureIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.SubsettedFeature = Guid.Parse(propertyValue); - } - } - } - } - else - { - logger.LogDebug("the subsettedFeature Json property was not found in the ReferenceSubsetting: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("subsettingFeature"u8, out var subsettingFeatureProperty)) - { - if (subsettingFeatureProperty.ValueKind == JsonValueKind.Null) - { - dtoInstance.SubsettingFeature = Guid.Empty; - logger.LogDebug($"the ReferenceSubsetting.SubsettingFeature property was not found in the Json. The value is set to Guid.Empty"); - } - else - { - if (subsettingFeatureProperty.TryGetProperty("@id"u8, out var subsettingFeatureIdProperty)) - { - var propertyValue = subsettingFeatureIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.SubsettingFeature = Guid.Parse(propertyValue); - } - } - } - } - else - { - logger.LogDebug("the subsettingFeature Json property was not found in the ReferenceSubsetting: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the ReferenceSubsetting: { Id }", dtoInstance.Id); - } - return dtoInstance; } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/RequirementUsageDeSerializer.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/RequirementUsageDeSerializer.cs index 1fa657f1..7aba536d 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/RequirementUsageDeSerializer.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/RequirementUsageDeSerializer.cs @@ -69,7 +69,7 @@ internal static IRequirementUsage DeSerialize(JsonElement jsonElement, Serializa throw new InvalidOperationException($"The RequirementUsageDeSerializer can only be used to deserialize objects of type IRequirementUsage, a {@type.GetString()} was provided"); } - IRequirementUsage dtoInstance = new SysML2.NET.Core.DTO.Systems.Requirements.RequirementUsage(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Requirements.RequirementUsage(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -111,15 +111,6 @@ internal static IRequirementUsage DeSerialize(JsonElement jsonElement, Serializa logger.LogDebug("the declaredName Json property was not found in the RequirementUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("declaredShortName"u8, out var declaredShortNameProperty)) - { - dtoInstance.DeclaredShortName = declaredShortNameProperty.GetString(); - } - else - { - logger.LogDebug("the declaredShortName Json property was not found in the RequirementUsage: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("direction"u8, out var directionProperty)) { dtoInstance.Direction = FeatureDirectionKindDeSerializer.DeserializeNullable(directionProperty.GetString()); @@ -275,18 +266,6 @@ internal static IRequirementUsage DeSerialize(JsonElement jsonElement, Serializa logger.LogDebug("the isUnique Json property was not found in the RequirementUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("isVariable"u8, out var isVariableProperty)) - { - if (isVariableProperty.ValueKind != JsonValueKind.Null) - { - dtoInstance.IsVariable = isVariableProperty.GetBoolean(); - } - } - else - { - logger.LogDebug("the isVariable Json property was not found in the RequirementUsage: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isVariation"u8, out var isVariationProperty)) { if (isVariationProperty.ValueKind != JsonValueKind.Null) diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/SelectExpressionDeSerializer.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/SelectExpressionDeSerializer.cs index c0d27212..b75322a9 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/SelectExpressionDeSerializer.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/SelectExpressionDeSerializer.cs @@ -69,7 +69,7 @@ internal static ISelectExpression DeSerialize(JsonElement jsonElement, Serializa throw new InvalidOperationException($"The SelectExpressionDeSerializer can only be used to deserialize objects of type ISelectExpression, a {@type.GetString()} was provided"); } - ISelectExpression dtoInstance = new SysML2.NET.Core.DTO.Kernel.Expressions.SelectExpression(); + var dtoInstance = new SysML2.NET.Core.DTO.Kernel.Expressions.SelectExpression(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/SubclassificationDeSerializer.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/SubclassificationDeSerializer.cs index f1920c67..48a41b5a 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/SubclassificationDeSerializer.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/SubclassificationDeSerializer.cs @@ -69,7 +69,7 @@ internal static ISubclassification DeSerialize(JsonElement jsonElement, Serializ throw new InvalidOperationException($"The SubclassificationDeSerializer can only be used to deserialize objects of type ISubclassification, a {@type.GetString()} was provided"); } - ISubclassification dtoInstance = new SysML2.NET.Core.DTO.Core.Classifiers.Subclassification(); + var dtoInstance = new SysML2.NET.Core.DTO.Core.Classifiers.Subclassification(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -134,31 +134,6 @@ internal static ISubclassification DeSerialize(JsonElement jsonElement, Serializ logger.LogDebug("the elementId Json property was not found in the Subclassification: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("general"u8, out var generalProperty)) - { - if (generalProperty.ValueKind == JsonValueKind.Null) - { - dtoInstance.General = Guid.Empty; - logger.LogDebug($"the Subclassification.General property was not found in the Json. The value is set to Guid.Empty"); - } - else - { - if (generalProperty.TryGetProperty("@id"u8, out var generalIdProperty)) - { - var propertyValue = generalIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.General = Guid.Parse(propertyValue); - } - } - } - } - else - { - logger.LogDebug("the general Json property was not found in the Subclassification: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isImplied"u8, out var isImpliedProperty)) { if (isImpliedProperty.ValueKind != JsonValueKind.Null) @@ -271,51 +246,6 @@ internal static ISubclassification DeSerialize(JsonElement jsonElement, Serializ logger.LogDebug("the owningRelationship Json property was not found in the Subclassification: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the Subclassification: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("specific"u8, out var specificProperty)) - { - if (specificProperty.ValueKind == JsonValueKind.Null) - { - dtoInstance.Specific = Guid.Empty; - logger.LogDebug($"the Subclassification.Specific property was not found in the Json. The value is set to Guid.Empty"); - } - else - { - if (specificProperty.TryGetProperty("@id"u8, out var specificIdProperty)) - { - var propertyValue = specificIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Specific = Guid.Parse(propertyValue); - } - } - } - } - else - { - logger.LogDebug("the specific Json property was not found in the Subclassification: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("subclassifier"u8, out var subclassifierProperty)) { if (subclassifierProperty.ValueKind == JsonValueKind.Null) @@ -366,26 +296,6 @@ internal static ISubclassification DeSerialize(JsonElement jsonElement, Serializ logger.LogDebug("the superclassifier Json property was not found in the Subclassification: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the Subclassification: { Id }", dtoInstance.Id); - } - return dtoInstance; } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/TextualRepresentationDeSerializer.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/TextualRepresentationDeSerializer.cs index 96c28402..bff243ac 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/TextualRepresentationDeSerializer.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/TextualRepresentationDeSerializer.cs @@ -69,7 +69,7 @@ internal static ITextualRepresentation DeSerialize(JsonElement jsonElement, Seri throw new InvalidOperationException($"The TextualRepresentationDeSerializer can only be used to deserialize objects of type ITextualRepresentation, a {@type.GetString()} was provided"); } - ITextualRepresentation dtoInstance = new SysML2.NET.Core.DTO.Root.Annotations.TextualRepresentation(); + var dtoInstance = new SysML2.NET.Core.DTO.Root.Annotations.TextualRepresentation(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/UsageDeSerializer.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/UsageDeSerializer.cs index 1176aca7..9f7b3f45 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/UsageDeSerializer.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDeSerializer/UsageDeSerializer.cs @@ -69,7 +69,7 @@ internal static IUsage DeSerialize(JsonElement jsonElement, SerializationModeKin throw new InvalidOperationException($"The UsageDeSerializer can only be used to deserialize objects of type IUsage, a {@type.GetString()} was provided"); } - IUsage dtoInstance = new SysML2.NET.Core.DTO.Systems.DefinitionAndUsage.Usage(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.DefinitionAndUsage.Usage(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -263,18 +263,6 @@ internal static IUsage DeSerialize(JsonElement jsonElement, SerializationModeKin logger.LogDebug("the isUnique Json property was not found in the Usage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("isVariable"u8, out var isVariableProperty)) - { - if (isVariableProperty.ValueKind != JsonValueKind.Null) - { - dtoInstance.IsVariable = isVariableProperty.GetBoolean(); - } - } - else - { - logger.LogDebug("the isVariable Json property was not found in the Usage: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isVariation"u8, out var isVariationProperty)) { if (isVariationProperty.ValueKind != JsonValueKind.Null) diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/AnnotatingElement.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/AnnotatingElement.cs index 5919b207..3938d09d 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/AnnotatingElement.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/AnnotatingElement.cs @@ -61,7 +61,7 @@ public partial class AnnotatingElement : IAnnotatingElement /// [Property(xmiId: "_19_0_2_12e503d9_1594145755058_99428_86", aggregation: AggregationKind.None, lowerValue: 1, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IAnnotatingElement.AnnotatedElement")] - public List AnnotatedElement { get; internal set; } + public List annotatedElement { get; internal set; } /// /// The Annotations that relate this AnnotatingElement to its annotatedElements. This includes the @@ -70,7 +70,7 @@ public partial class AnnotatingElement : IAnnotatingElement [Property(xmiId: "_18_5_3_12e503d9_1543094212714_953084_18407", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IAnnotatingElement.Annotation")] - public List Annotation { get; internal set; } + public List annotation { get; internal set; } /// /// The declared name of this Element. @@ -96,7 +96,7 @@ public partial class AnnotatingElement : IAnnotatingElement [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } + public List documentation { get; internal set; } /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -122,7 +122,7 @@ public partial class AnnotatingElement : IAnnotatingElement /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } + public bool isLibraryElement { get; internal set; } /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -132,7 +132,7 @@ public partial class AnnotatingElement : IAnnotatingElement /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } + public string name { get; internal set; } /// /// The ownedRelationships of this AnnotatingElement that are Annotations, for which this @@ -142,7 +142,7 @@ public partial class AnnotatingElement : IAnnotatingElement [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IAnnotatingElement.OwnedAnnotatingRelationship")] - public List OwnedAnnotatingRelationship { get; internal set; } + public List ownedAnnotatingRelationship { get; internal set; } /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -152,7 +152,7 @@ public partial class AnnotatingElement : IAnnotatingElement [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } + public List ownedAnnotation { get; internal set; } /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -160,7 +160,7 @@ public partial class AnnotatingElement : IAnnotatingElement /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } + public List ownedElement { get; internal set; } /// /// The Relationships for which this Element is the owningRelatedElement. @@ -176,7 +176,7 @@ public partial class AnnotatingElement : IAnnotatingElement /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } + public Guid? owner { get; internal set; } /// /// The owningRelationship of this AnnotatingRelationship, if it is an Annotation @@ -185,7 +185,7 @@ public partial class AnnotatingElement : IAnnotatingElement [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] [Implements(implementation: "IAnnotatingElement.OwningAnnotatingRelationship")] - public Guid? OwningAnnotatingRelationship { get; internal set; } + public Guid? owningAnnotatingRelationship { get; internal set; } /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -194,7 +194,7 @@ public partial class AnnotatingElement : IAnnotatingElement [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } + public Guid? owningMembership { get; internal set; } /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -203,7 +203,7 @@ public partial class AnnotatingElement : IAnnotatingElement [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } + public Guid? owningNamespace { get; internal set; } /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -223,7 +223,7 @@ public partial class AnnotatingElement : IAnnotatingElement /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } + public string qualifiedName { get; internal set; } /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -233,7 +233,7 @@ public partial class AnnotatingElement : IAnnotatingElement /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } + public string shortName { get; internal set; } /// /// The TextualRepresentations that annotate this Element. @@ -242,7 +242,7 @@ public partial class AnnotatingElement : IAnnotatingElement [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } + public List textualRepresentation { get; internal set; } } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/Association.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/Association.cs index d3147dad..7b7f3382 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/Association.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/Association.cs @@ -63,7 +63,7 @@ public partial class Association : IAssociation [Property(xmiId: "_18_5_3_12e503d9_1562477648742_24204_22901", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [Implements(implementation: "IAssociation.AssociationEnd")] - public List AssociationEnd { get; internal set; } + public List associationEnd { get; internal set; } /// /// The declared name of this Element. @@ -93,7 +93,7 @@ public partial class Association : IAssociation /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } + public List differencingType { get; internal set; } /// /// The features of this Type that have a non-null direction. @@ -101,7 +101,7 @@ public partial class Association : IAssociation [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } + public List directedFeature { get; internal set; } /// /// The Documentation owned by this Element. @@ -110,7 +110,7 @@ public partial class Association : IAssociation [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } + public List documentation { get; internal set; } /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -127,7 +127,7 @@ public partial class Association : IAssociation [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IAssociation.AssociationEnd")] [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } + List Core.Types.IType.endFeature => throw new InvalidOperationException("Redefined by property IAssociation.AssociationEnd"); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -135,7 +135,7 @@ public partial class Association : IAssociation [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } + public List feature { get; internal set; } /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -144,7 +144,7 @@ public partial class Association : IAssociation /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } + public List featureMembership { get; internal set; } /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -152,7 +152,7 @@ public partial class Association : IAssociation [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } + public List importedMembership { get; internal set; } /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -160,7 +160,7 @@ public partial class Association : IAssociation [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } + public List inheritedFeature { get; internal set; } /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -169,7 +169,7 @@ public partial class Association : IAssociation [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } + public List inheritedMembership { get; internal set; } /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -177,7 +177,7 @@ public partial class Association : IAssociation [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } + public List input { get; internal set; } /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -190,7 +190,7 @@ public partial class Association : IAssociation /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } + public List intersectingType { get; internal set; } /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -205,7 +205,7 @@ public partial class Association : IAssociation /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } + public bool isConjugated { get; internal set; } /// /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being @@ -231,7 +231,7 @@ public partial class Association : IAssociation /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } + public bool isLibraryElement { get; internal set; } /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -251,7 +251,7 @@ public partial class Association : IAssociation /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } + public List member { get; internal set; } /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -259,7 +259,7 @@ public partial class Association : IAssociation /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } + public List membership { get; internal set; } /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -269,7 +269,7 @@ public partial class Association : IAssociation [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } + public Guid? multiplicity { get; internal set; } /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -279,7 +279,7 @@ public partial class Association : IAssociation /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } + public string name { get; internal set; } /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -287,7 +287,7 @@ public partial class Association : IAssociation [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } + public List output { get; internal set; } /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -297,7 +297,7 @@ public partial class Association : IAssociation [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } + public List ownedAnnotation { get; internal set; } /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -306,7 +306,7 @@ public partial class Association : IAssociation [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } + public Guid? ownedConjugator { get; internal set; } /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -316,7 +316,7 @@ public partial class Association : IAssociation [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } + public List ownedDifferencing { get; internal set; } /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -326,7 +326,7 @@ public partial class Association : IAssociation [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } + public List ownedDisjoining { get; internal set; } /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -334,7 +334,7 @@ public partial class Association : IAssociation /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } + public List ownedElement { get; internal set; } /// /// All endFeatures of this Type that are ownedFeatures. @@ -343,7 +343,7 @@ public partial class Association : IAssociation [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } + public List ownedEndFeature { get; internal set; } /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -351,7 +351,7 @@ public partial class Association : IAssociation [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } + public List ownedFeature { get; internal set; } /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -361,7 +361,7 @@ public partial class Association : IAssociation [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } + public List ownedFeatureMembership { get; internal set; } /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -371,7 +371,7 @@ public partial class Association : IAssociation [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } + public List ownedImport { get; internal set; } /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -380,7 +380,7 @@ public partial class Association : IAssociation [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } + public List ownedIntersecting { get; internal set; } /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -389,7 +389,7 @@ public partial class Association : IAssociation [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } + public List ownedMember { get; internal set; } /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -400,7 +400,7 @@ public partial class Association : IAssociation [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } + public List ownedMembership { get; internal set; } /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -426,7 +426,7 @@ public partial class Association : IAssociation [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } + public List ownedSpecialization { get; internal set; } /// /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier @@ -435,7 +435,7 @@ public partial class Association : IAssociation [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List OwnedSubclassification { get; internal set; } + public List ownedSubclassification { get; internal set; } /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -444,7 +444,7 @@ public partial class Association : IAssociation [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } + public List ownedUnioning { get; internal set; } /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -452,7 +452,7 @@ public partial class Association : IAssociation /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } + public Guid? owner { get; internal set; } /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -461,7 +461,7 @@ public partial class Association : IAssociation [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } + public Guid? owningMembership { get; internal set; } /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -470,7 +470,7 @@ public partial class Association : IAssociation [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } + public Guid? owningNamespace { get; internal set; } /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -498,7 +498,7 @@ public partial class Association : IAssociation /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } + public string qualifiedName { get; internal set; } /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -507,7 +507,7 @@ public partial class Association : IAssociation [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedByProperty("IAssociation.RelatedType")] [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } + List Root.Elements.IRelationship.relatedElement => throw new InvalidOperationException("Redefined by property IAssociation.RelatedType"); /// /// The types of the associationEnds of the Association, which are the relatedElements of the @@ -516,7 +516,7 @@ public partial class Association : IAssociation [Property(xmiId: "_18_5_3_12e503d9_1533160674994_4339_43349", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [Implements(implementation: "IAssociation.RelatedType")] - public List RelatedType { get; internal set; } + public List relatedType { get; internal set; } /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -526,7 +526,7 @@ public partial class Association : IAssociation /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } + public string shortName { get; internal set; } /// /// The relatedElements from which this Relationship is considered to be directed. @@ -535,7 +535,11 @@ public partial class Association : IAssociation [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IAssociation.SourceType")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IAssociation.SourceType"); + set => throw new InvalidOperationException("Redefined by property IAssociation.SourceType"); + } /// /// The source relatedType for this Association. It is the first relatedType of the Association. @@ -544,7 +548,7 @@ public partial class Association : IAssociation [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [Implements(implementation: "IAssociation.SourceType")] - public Guid? SourceType { get; internal set; } + public Guid? sourceType { get; internal set; } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -553,7 +557,11 @@ public partial class Association : IAssociation [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IAssociation.TargetType")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IAssociation.TargetType"); + set => throw new InvalidOperationException("Redefined by property IAssociation.TargetType"); + } /// /// The target relatedTypes for this Association. This includes all the relatedTypes other than the @@ -563,7 +571,7 @@ public partial class Association : IAssociation [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [Implements(implementation: "IAssociation.TargetType")] - public List TargetType { get; internal set; } + public List targetType { get; internal set; } /// /// The TextualRepresentations that annotate this Element. @@ -572,7 +580,7 @@ public partial class Association : IAssociation [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } + public List textualRepresentation { get; internal set; } /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -583,7 +591,7 @@ public partial class Association : IAssociation /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } + public List unioningType { get; internal set; } } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/Dependency.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/Dependency.cs index 74baeb1a..0a0ac803 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/Dependency.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/Dependency.cs @@ -87,7 +87,7 @@ public partial class Dependency : IDependency [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } + public List documentation { get; internal set; } /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -121,7 +121,7 @@ public partial class Dependency : IDependency /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } + public bool isLibraryElement { get; internal set; } /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -131,7 +131,7 @@ public partial class Dependency : IDependency /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } + public string name { get; internal set; } /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -141,7 +141,7 @@ public partial class Dependency : IDependency [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } + public List ownedAnnotation { get; internal set; } /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -149,7 +149,7 @@ public partial class Dependency : IDependency /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } + public List ownedElement { get; internal set; } /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -173,7 +173,7 @@ public partial class Dependency : IDependency /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } + public Guid? owner { get; internal set; } /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -182,7 +182,7 @@ public partial class Dependency : IDependency [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } + public Guid? owningMembership { get; internal set; } /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -191,7 +191,7 @@ public partial class Dependency : IDependency [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } + public Guid? owningNamespace { get; internal set; } /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -219,7 +219,7 @@ public partial class Dependency : IDependency /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } + public string qualifiedName { get; internal set; } /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -227,7 +227,7 @@ public partial class Dependency : IDependency /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } + public List relatedElement { get; internal set; } /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -237,7 +237,7 @@ public partial class Dependency : IDependency /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } + public string shortName { get; internal set; } /// /// The relatedElements from which this Relationship is considered to be directed. @@ -246,7 +246,11 @@ public partial class Dependency : IDependency [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IDependency.Client")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IDependency.Client"); + set => throw new InvalidOperationException("Redefined by property IDependency.Client"); + } /// /// The Element or Elements on which the client Elements depend in some respect. @@ -263,7 +267,11 @@ public partial class Dependency : IDependency [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IDependency.Supplier")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IDependency.Supplier"); + set => throw new InvalidOperationException("Redefined by property IDependency.Supplier"); + } /// /// The TextualRepresentations that annotate this Element. @@ -272,7 +280,7 @@ public partial class Dependency : IDependency [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } + public List textualRepresentation { get; internal set; } } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/EnumerationDefinition.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/EnumerationDefinition.cs index 6b3e5aeb..1b17b465 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/EnumerationDefinition.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/EnumerationDefinition.cs @@ -82,7 +82,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } + public List differencingType { get; internal set; } /// /// The features of this Type that have a non-null direction. @@ -90,7 +90,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } + public List directedFeature { get; internal set; } /// /// The usages of this Definition that are directedFeatures. @@ -99,7 +99,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.DirectedUsage")] - public List DirectedUsage { get; internal set; } + public List directedUsage { get; internal set; } /// /// The Documentation owned by this Element. @@ -108,7 +108,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } + public List documentation { get; internal set; } /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -124,7 +124,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } + public List endFeature { get; internal set; } /// /// EnumerationUsages of this EnumerationDefinitionthat have distinct, fixed values. Each @@ -133,7 +133,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [Property(xmiId: "_19_0_4_12e503d9_1606946634788_959145_265", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1590979457191_746167_951")] [Implements(implementation: "IEnumerationDefinition.EnumeratedValue")] - public List EnumeratedValue { get; internal set; } + public List enumeratedValue { get; internal set; } /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -141,7 +141,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } + public List feature { get; internal set; } /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -150,7 +150,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } + public List featureMembership { get; internal set; } /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -158,7 +158,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } + public List importedMembership { get; internal set; } /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -166,7 +166,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } + public List inheritedFeature { get; internal set; } /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -175,7 +175,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } + public List inheritedMembership { get; internal set; } /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -183,7 +183,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } + public List input { get; internal set; } /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -196,7 +196,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } + public List intersectingType { get; internal set; } /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -211,7 +211,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } + public bool isConjugated { get; internal set; } /// /// Whether all necessary implied Relationships have been included in the ownedRelationships of this @@ -229,7 +229,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } + public bool isLibraryElement { get; internal set; } /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -250,7 +250,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [Property(xmiId: "_19_0_4_12e503d9_1606946783667_895456_287", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1590978283180_265362_419")] [Implements(implementation: "IEnumerationDefinition.IsVariation")] - bool IEnumerationDefinition.IsVariation { get; set; } = true; + public bool IsVariation { get; set; } = true; /// /// Whether this Definition is for a variation point or not. If true, then all the memberships of the @@ -259,7 +259,11 @@ public partial class EnumerationDefinition : IEnumerationDefinition [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IEnumerationDefinition.IsVariation")] [Implements(implementation: "IDefinition.IsVariation")] - bool Systems.DefinitionAndUsage.IDefinition.IsVariation { get; set; } + bool Systems.DefinitionAndUsage.IDefinition.IsVariation + { + get => throw new InvalidOperationException("Redefined by property IEnumerationDefinition.IsVariation"); + set => throw new InvalidOperationException("Redefined by property IEnumerationDefinition.IsVariation"); + } /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -267,7 +271,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } + public List member { get; internal set; } /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -275,7 +279,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } + public List membership { get; internal set; } /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -285,7 +289,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } + public Guid? multiplicity { get; internal set; } /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -295,7 +299,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } + public string name { get; internal set; } /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -303,7 +307,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } + public List output { get; internal set; } /// /// The ActionUsages that are ownedUsages of this Definition. @@ -311,7 +315,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedAction")] - public List OwnedAction { get; internal set; } + public List ownedAction { get; internal set; } /// /// The AllocationUsages that are ownedUsages of this Definition. @@ -319,7 +323,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedAllocation")] - public List OwnedAllocation { get; internal set; } + public List ownedAllocation { get; internal set; } /// /// The AnalysisCaseUsages that are ownedUsages of this Definition. @@ -327,7 +331,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List OwnedAnalysisCase { get; internal set; } + public List ownedAnalysisCase { get; internal set; } /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -337,7 +341,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } + public List ownedAnnotation { get; internal set; } /// /// The AttributeUsages that are ownedUsages of this Definition. @@ -345,7 +349,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedAttribute")] - public List OwnedAttribute { get; internal set; } + public List ownedAttribute { get; internal set; } /// /// The CalculationUsages that are ownedUsages of this Definition. @@ -353,7 +357,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedCalculation")] - public List OwnedCalculation { get; internal set; } + public List ownedCalculation { get; internal set; } /// /// The code>CaseUsages that are ownedUsages of this Definition. @@ -361,7 +365,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] [Implements(implementation: "IDefinition.OwnedCase")] - public List OwnedCase { get; internal set; } + public List ownedCase { get; internal set; } /// /// The ConcernUsages that are ownedUsages of this Definition. @@ -369,7 +373,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedConcern")] - public List OwnedConcern { get; internal set; } + public List ownedConcern { get; internal set; } /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -378,7 +382,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } + public Guid? ownedConjugator { get; internal set; } /// /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes @@ -388,7 +392,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedConnection")] - public List OwnedConnection { get; internal set; } + public List ownedConnection { get; internal set; } /// /// The ConstraintUsages that are ownedUsages of this Definition. @@ -396,7 +400,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedConstraint")] - public List OwnedConstraint { get; internal set; } + public List ownedConstraint { get; internal set; } /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -406,7 +410,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } + public List ownedDifferencing { get; internal set; } /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -416,7 +420,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } + public List ownedDisjoining { get; internal set; } /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -424,7 +428,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } + public List ownedElement { get; internal set; } /// /// All endFeatures of this Type that are ownedFeatures. @@ -433,7 +437,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } + public List ownedEndFeature { get; internal set; } /// /// The EnumerationUsages that are ownedUsages of this Definition. @@ -441,7 +445,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List OwnedEnumeration { get; internal set; } + public List ownedEnumeration { get; internal set; } /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -449,7 +453,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } + public List ownedFeature { get; internal set; } /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -459,7 +463,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } + public List ownedFeatureMembership { get; internal set; } /// /// The FlowUsages that are ownedUsages of this Definition. @@ -467,7 +471,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedFlow")] - public List OwnedFlow { get; internal set; } + public List ownedFlow { get; internal set; } /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -477,7 +481,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } + public List ownedImport { get; internal set; } /// /// The InterfaceUsages that are ownedUsages of this Definition. @@ -485,7 +489,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedInterface")] - public List OwnedInterface { get; internal set; } + public List ownedInterface { get; internal set; } /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -494,7 +498,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } + public List ownedIntersecting { get; internal set; } /// /// The ItemUsages that are ownedUsages of this Definition. @@ -502,7 +506,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedItem")] - public List OwnedItem { get; internal set; } + public List ownedItem { get; internal set; } /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -511,7 +515,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } + public List ownedMember { get; internal set; } /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -522,7 +526,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } + public List ownedMembership { get; internal set; } /// /// The MetadataUsages that are ownedUsages of this Definition. @@ -530,7 +534,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedMetadata")] - public List OwnedMetadata { get; internal set; } + public List ownedMetadata { get; internal set; } /// /// The OccurrenceUsages that are ownedUsages of this Definition. @@ -538,7 +542,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List OwnedOccurrence { get; internal set; } + public List ownedOccurrence { get; internal set; } /// /// The PartUsages that are ownedUsages of this Definition. @@ -546,7 +550,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedPart")] - public List OwnedPart { get; internal set; } + public List ownedPart { get; internal set; } /// /// The PortUsages that are ownedUsages of this Definition. @@ -554,7 +558,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedPort")] - public List OwnedPort { get; internal set; } + public List ownedPort { get; internal set; } /// /// The ReferenceUsages that are ownedUsages of this Definition. @@ -562,7 +566,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedReference")] - public List OwnedReference { get; internal set; } + public List ownedReference { get; internal set; } /// /// The Relationships for which this Element is the owningRelatedElement. @@ -578,7 +582,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedRendering")] - public List OwnedRendering { get; internal set; } + public List ownedRendering { get; internal set; } /// /// The RequirementUsages that are ownedUsages of this Definition. @@ -586,7 +590,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] [Implements(implementation: "IDefinition.OwnedRequirement")] - public List OwnedRequirement { get; internal set; } + public List ownedRequirement { get; internal set; } /// /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific @@ -596,7 +600,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } + public List ownedSpecialization { get; internal set; } /// /// The StateUsages that are ownedUsages of this Definition. @@ -604,7 +608,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedState")] - public List OwnedState { get; internal set; } + public List ownedState { get; internal set; } /// /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier @@ -613,7 +617,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List OwnedSubclassification { get; internal set; } + public List ownedSubclassification { get; internal set; } /// /// The TransitionUsages that are ownedUsages of this Definition. @@ -621,7 +625,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedTransition")] - public List OwnedTransition { get; internal set; } + public List ownedTransition { get; internal set; } /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -630,7 +634,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } + public List ownedUnioning { get; internal set; } /// /// The Usages that are ownedFeatures of this Definition. @@ -639,7 +643,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.OwnedUsage")] - public List OwnedUsage { get; internal set; } + public List ownedUsage { get; internal set; } /// /// The UseCaseUsages that are ownedUsages of this Definition. @@ -647,7 +651,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedUseCase")] - public List OwnedUseCase { get; internal set; } + public List ownedUseCase { get; internal set; } /// /// The VerificationCaseUsages that are ownedUsages of this Definition. @@ -655,7 +659,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List OwnedVerificationCase { get; internal set; } + public List ownedVerificationCase { get; internal set; } /// /// The ViewUsages that are ownedUsages of this Definition. @@ -663,7 +667,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedView")] - public List OwnedView { get; internal set; } + public List ownedView { get; internal set; } /// /// The ViewpointUsages that are ownedUsages of this Definition. @@ -671,7 +675,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List OwnedViewpoint { get; internal set; } + public List ownedViewpoint { get; internal set; } /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -679,7 +683,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } + public Guid? owner { get; internal set; } /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -688,7 +692,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } + public Guid? owningMembership { get; internal set; } /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -697,7 +701,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } + public Guid? owningNamespace { get; internal set; } /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -717,7 +721,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } + public string qualifiedName { get; internal set; } /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -727,7 +731,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } + public string shortName { get; internal set; } /// /// The TextualRepresentations that annotate this Element. @@ -736,7 +740,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } + public List textualRepresentation { get; internal set; } /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -747,7 +751,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } + public List unioningType { get; internal set; } /// /// The Usages that are features of this Definition (not necessarily owned). @@ -755,7 +759,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IDefinition.Usage")] - public List Usage { get; internal set; } + public List usage { get; internal set; } /// /// The Usages which represent the variants of this Definition as a variation point Definition, if @@ -765,7 +769,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [RedefinedByProperty("IEnumerationDefinition.EnumeratedValue")] [Implements(implementation: "IDefinition.Variant")] - public List Variant { get; internal set; } + List Systems.DefinitionAndUsage.IDefinition.variant => throw new InvalidOperationException("Redefined by property IEnumerationDefinition.EnumeratedValue"); /// /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then @@ -775,7 +779,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IDefinition.VariantMembership")] - public List VariantMembership { get; internal set; } + public List variantMembership { get; internal set; } } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/Feature.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/Feature.cs index 0a7f128e..8a8de1e7 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/Feature.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/Feature.cs @@ -77,7 +77,7 @@ public partial class Feature : IFeature /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } + public List chainingFeature { get; internal set; } /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -87,7 +87,7 @@ public partial class Feature : IFeature /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } + public Guid? crossFeature { get; internal set; } /// /// The declared name of this Element. @@ -117,7 +117,7 @@ public partial class Feature : IFeature /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } + public List differencingType { get; internal set; } /// /// The features of this Type that have a non-null direction. @@ -125,7 +125,7 @@ public partial class Feature : IFeature [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } + public List directedFeature { get; internal set; } /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -142,7 +142,7 @@ public partial class Feature : IFeature [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } + public List documentation { get; internal set; } /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -158,7 +158,7 @@ public partial class Feature : IFeature [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } + public List endFeature { get; internal set; } /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -168,7 +168,7 @@ public partial class Feature : IFeature [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } + public Guid? endOwningType { get; internal set; } /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -176,7 +176,7 @@ public partial class Feature : IFeature [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - List Core.Types.IType.Feature { get; } + public List feature { get; internal set; } /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -185,14 +185,14 @@ public partial class Feature : IFeature /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } + public List featureMembership { get; internal set; } /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } + public Guid featureTarget { get; internal set; } /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -202,7 +202,7 @@ public partial class Feature : IFeature /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } + public List featuringType { get; internal set; } /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -210,7 +210,7 @@ public partial class Feature : IFeature [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } + public List importedMembership { get; internal set; } /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -218,7 +218,7 @@ public partial class Feature : IFeature [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } + public List inheritedFeature { get; internal set; } /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -227,7 +227,7 @@ public partial class Feature : IFeature [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } + public List inheritedMembership { get; internal set; } /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -235,7 +235,7 @@ public partial class Feature : IFeature [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } + public List input { get; internal set; } /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -248,7 +248,7 @@ public partial class Feature : IFeature /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } + public List intersectingType { get; internal set; } /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -272,7 +272,7 @@ public partial class Feature : IFeature /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } + public bool isConjugated { get; internal set; } /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -319,7 +319,7 @@ public partial class Feature : IFeature /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } + public bool isLibraryElement { get; internal set; } /// /// Whether an order exists for the values of this Feature or not. @@ -369,7 +369,7 @@ public partial class Feature : IFeature /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } + public List member { get; internal set; } /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -377,7 +377,7 @@ public partial class Feature : IFeature /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } + public List membership { get; internal set; } /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -387,7 +387,7 @@ public partial class Feature : IFeature [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } + public Guid? multiplicity { get; internal set; } /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -397,7 +397,7 @@ public partial class Feature : IFeature /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } + public string name { get; internal set; } /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -405,7 +405,7 @@ public partial class Feature : IFeature [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } + public List output { get; internal set; } /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -415,7 +415,7 @@ public partial class Feature : IFeature [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } + public List ownedAnnotation { get; internal set; } /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -424,7 +424,7 @@ public partial class Feature : IFeature [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } + public Guid? ownedConjugator { get; internal set; } /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -433,7 +433,7 @@ public partial class Feature : IFeature [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } + public Guid? ownedCrossSubsetting { get; internal set; } /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -443,7 +443,7 @@ public partial class Feature : IFeature [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } + public List ownedDifferencing { get; internal set; } /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -453,7 +453,7 @@ public partial class Feature : IFeature [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } + public List ownedDisjoining { get; internal set; } /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -461,7 +461,7 @@ public partial class Feature : IFeature /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } + public List ownedElement { get; internal set; } /// /// All endFeatures of this Type that are ownedFeatures. @@ -470,7 +470,7 @@ public partial class Feature : IFeature [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } + public List ownedEndFeature { get; internal set; } /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -478,7 +478,7 @@ public partial class Feature : IFeature [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } + public List ownedFeature { get; internal set; } /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -488,7 +488,7 @@ public partial class Feature : IFeature [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } + public List ownedFeatureChaining { get; internal set; } /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -498,7 +498,7 @@ public partial class Feature : IFeature [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } + public List ownedFeatureInverting { get; internal set; } /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -508,7 +508,7 @@ public partial class Feature : IFeature [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } + public List ownedFeatureMembership { get; internal set; } /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -518,7 +518,7 @@ public partial class Feature : IFeature [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } + public List ownedImport { get; internal set; } /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -527,7 +527,7 @@ public partial class Feature : IFeature [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } + public List ownedIntersecting { get; internal set; } /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -536,7 +536,7 @@ public partial class Feature : IFeature [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } + public List ownedMember { get; internal set; } /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -547,7 +547,7 @@ public partial class Feature : IFeature [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } + public List ownedMembership { get; internal set; } /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -556,7 +556,7 @@ public partial class Feature : IFeature [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } + public List ownedRedefinition { get; internal set; } /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -565,7 +565,7 @@ public partial class Feature : IFeature [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } + public Guid? ownedReferenceSubsetting { get; internal set; } /// /// The Relationships for which this Element is the owningRelatedElement. @@ -583,7 +583,7 @@ public partial class Feature : IFeature [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } + public List ownedSpecialization { get; internal set; } /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -593,7 +593,7 @@ public partial class Feature : IFeature [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } + public List ownedSubsetting { get; internal set; } /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -603,7 +603,7 @@ public partial class Feature : IFeature [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } + public List ownedTypeFeaturing { get; internal set; } /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -613,7 +613,7 @@ public partial class Feature : IFeature [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } + public List ownedTyping { get; internal set; } /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -622,7 +622,7 @@ public partial class Feature : IFeature [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } + public List ownedUnioning { get; internal set; } /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -630,7 +630,7 @@ public partial class Feature : IFeature /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } + public Guid? owner { get; internal set; } /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -638,7 +638,7 @@ public partial class Feature : IFeature [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } + public Guid? owningFeatureMembership { get; internal set; } /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -647,7 +647,7 @@ public partial class Feature : IFeature [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } + public Guid? owningMembership { get; internal set; } /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -656,7 +656,7 @@ public partial class Feature : IFeature [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } + public Guid? owningNamespace { get; internal set; } /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -674,7 +674,7 @@ public partial class Feature : IFeature [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } + public Guid? owningType { get; internal set; } /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -686,7 +686,7 @@ public partial class Feature : IFeature /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } + public string qualifiedName { get; internal set; } /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -696,7 +696,7 @@ public partial class Feature : IFeature /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } + public string shortName { get; internal set; } /// /// The TextualRepresentations that annotate this Element. @@ -705,7 +705,7 @@ public partial class Feature : IFeature [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } + public List textualRepresentation { get; internal set; } /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -715,7 +715,7 @@ public partial class Feature : IFeature /// [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } + public List type { get; internal set; } /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -726,7 +726,7 @@ public partial class Feature : IFeature /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } + public List unioningType { get; internal set; } } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/FeatureTyping.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/FeatureTyping.cs index 3d68bd38..d7e11c8e 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/FeatureTyping.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/FeatureTyping.cs @@ -79,7 +79,7 @@ public partial class FeatureTyping : IFeatureTyping [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } + public List documentation { get; internal set; } /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -96,7 +96,11 @@ public partial class FeatureTyping : IFeatureTyping [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [RedefinedByProperty("IFeatureTyping.Type")] [Implements(implementation: "ISpecialization.General")] - public Guid General { get; set; } + Guid Core.Types.ISpecialization.General + { + get => throw new InvalidOperationException("Redefined by property IFeatureTyping.Type"); + set => throw new InvalidOperationException("Redefined by property IFeatureTyping.Type"); + } /// /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being @@ -122,7 +126,7 @@ public partial class FeatureTyping : IFeatureTyping /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } + public bool isLibraryElement { get; internal set; } /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -132,7 +136,7 @@ public partial class FeatureTyping : IFeatureTyping /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } + public string name { get; internal set; } /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -142,7 +146,7 @@ public partial class FeatureTyping : IFeatureTyping [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } + public List ownedAnnotation { get; internal set; } /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -150,7 +154,7 @@ public partial class FeatureTyping : IFeatureTyping /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } + public List ownedElement { get; internal set; } /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -174,7 +178,7 @@ public partial class FeatureTyping : IFeatureTyping /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } + public Guid? owner { get; internal set; } /// /// A typedFeature that is also the owningRelatedElement of this FeatureTyping. @@ -183,7 +187,7 @@ public partial class FeatureTyping : IFeatureTyping [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_13273_21101")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_573157_43226")] [Implements(implementation: "IFeatureTyping.OwningFeature")] - public Guid? OwningFeature { get; internal set; } + public Guid? owningFeature { get; internal set; } /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -192,7 +196,7 @@ public partial class FeatureTyping : IFeatureTyping [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } + public Guid? owningMembership { get; internal set; } /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -201,7 +205,7 @@ public partial class FeatureTyping : IFeatureTyping [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } + public Guid? owningNamespace { get; internal set; } /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -227,7 +231,7 @@ public partial class FeatureTyping : IFeatureTyping [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] [RedefinedByProperty("IFeatureTyping.OwningFeature")] [Implements(implementation: "ISpecialization.OwningType")] - public Guid? OwningType { get; internal set; } + Guid? Core.Types.ISpecialization.owningType => throw new InvalidOperationException("Redefined by property IFeatureTyping.OwningFeature"); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -239,7 +243,7 @@ public partial class FeatureTyping : IFeatureTyping /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } + public string qualifiedName { get; internal set; } /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -247,7 +251,7 @@ public partial class FeatureTyping : IFeatureTyping /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } + public List relatedElement { get; internal set; } /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -257,7 +261,7 @@ public partial class FeatureTyping : IFeatureTyping /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } + public string shortName { get; internal set; } /// /// The relatedElements from which this Relationship is considered to be directed. @@ -266,7 +270,11 @@ public partial class FeatureTyping : IFeatureTyping [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("ISpecialization.Specific")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property ISpecialization.Specific"); + set => throw new InvalidOperationException("Redefined by property ISpecialization.Specific"); + } /// /// A Type with a subset of all instances of the general Type, which might be the same set. @@ -275,7 +283,11 @@ public partial class FeatureTyping : IFeatureTyping [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [RedefinedByProperty("IFeatureTyping.TypedFeature")] [Implements(implementation: "ISpecialization.Specific")] - public Guid Specific { get; set; } + Guid Core.Types.ISpecialization.Specific + { + get => throw new InvalidOperationException("Redefined by property IFeatureTyping.TypedFeature"); + set => throw new InvalidOperationException("Redefined by property IFeatureTyping.TypedFeature"); + } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -284,7 +296,11 @@ public partial class FeatureTyping : IFeatureTyping [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("ISpecialization.General")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property ISpecialization.General"); + set => throw new InvalidOperationException("Redefined by property ISpecialization.General"); + } /// /// The TextualRepresentations that annotate this Element. @@ -293,7 +309,7 @@ public partial class FeatureTyping : IFeatureTyping [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } + public List textualRepresentation { get; internal set; } /// /// The Type that is being applied by this FeatureTyping. diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/Flow.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/Flow.cs index 76107e07..94a57816 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/Flow.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/Flow.cs @@ -62,7 +62,7 @@ public partial class Flow : IFlow [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IFlow.Interaction")] [Implements(implementation: "IConnector.Association")] - public List Association { get; internal set; } + List Kernel.Connectors.IConnector.association => throw new InvalidOperationException("Redefined by property IFlow.Interaction"); /// /// The Behaviors that type this Step. @@ -71,7 +71,7 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IFlow.Interaction")] [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IFlow.Interaction"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -83,7 +83,7 @@ public partial class Flow : IFlow /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } + public List chainingFeature { get; internal set; } /// /// The endFeatures of a Connector, which redefine the endFeatures of the associations of the Connector. @@ -93,7 +93,7 @@ public partial class Flow : IFlow [Property(xmiId: "_18_5_3_12e503d9_1556735067666_827798_21922", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [Implements(implementation: "IConnector.ConnectorEnd")] - public List ConnectorEnd { get; internal set; } + public List connectorEnd { get; internal set; } /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -103,7 +103,7 @@ public partial class Flow : IFlow /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } + public Guid? crossFeature { get; internal set; } /// /// The declared name of this Element. @@ -129,7 +129,7 @@ public partial class Flow : IFlow /// [Property(xmiId: "_2022x_2_12e503d9_1737751598145_444042_71", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IConnector.DefaultFeaturingType")] - public Guid? DefaultFeaturingType { get; internal set; } + public Guid? defaultFeaturingType { get; internal set; } /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -142,7 +142,7 @@ public partial class Flow : IFlow /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } + public List differencingType { get; internal set; } /// /// The features of this Type that have a non-null direction. @@ -151,7 +151,7 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -168,7 +168,7 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } + public List documentation { get; internal set; } /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -185,7 +185,7 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IConnector.ConnectorEnd")] [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } + List Core.Types.IType.endFeature => throw new InvalidOperationException("Redefined by property IConnector.ConnectorEnd"); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -195,7 +195,7 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } + public Guid? endOwningType { get; internal set; } /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -203,7 +203,7 @@ public partial class Flow : IFlow [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } + public List feature { get; internal set; } /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -212,14 +212,14 @@ public partial class Flow : IFlow /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } + public List featureMembership { get; internal set; } /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } + public Guid featureTarget { get; internal set; } /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -229,7 +229,7 @@ public partial class Flow : IFlow /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } + public List featuringType { get; internal set; } /// /// The connectorEnds of this Flow that are FlowEnds. @@ -237,7 +237,7 @@ public partial class Flow : IFlow [Property(xmiId: "_18_5_3_12e503d9_1563219311176_506548_20966", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 2, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1556735067666_827798_21922")] [Implements(implementation: "IFlow.FlowEnd")] - public List FlowEnd { get; internal set; } + public List flowEnd { get; internal set; } /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -245,7 +245,7 @@ public partial class Flow : IFlow [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } + public List importedMembership { get; internal set; } /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -253,7 +253,7 @@ public partial class Flow : IFlow [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } + public List inheritedFeature { get; internal set; } /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -262,7 +262,7 @@ public partial class Flow : IFlow [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } + public List inheritedMembership { get; internal set; } /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -270,7 +270,7 @@ public partial class Flow : IFlow [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } + public List input { get; internal set; } /// /// The Interactions that type this Flow. Interactions are both Associations and Behaviors, which can @@ -280,7 +280,7 @@ public partial class Flow : IFlow [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674983_471497_43284")] [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [Implements(implementation: "IFlow.Interaction")] - public List Interaction { get; internal set; } + public List interaction { get; internal set; } /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -293,7 +293,7 @@ public partial class Flow : IFlow /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } + public List intersectingType { get; internal set; } /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -317,7 +317,7 @@ public partial class Flow : IFlow /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } + public bool isConjugated { get; internal set; } /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -372,7 +372,7 @@ public partial class Flow : IFlow /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } + public bool isLibraryElement { get; internal set; } /// /// Whether an order exists for the values of this Feature or not. @@ -422,7 +422,7 @@ public partial class Flow : IFlow /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } + public List member { get; internal set; } /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -430,7 +430,7 @@ public partial class Flow : IFlow /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } + public List membership { get; internal set; } /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -440,7 +440,7 @@ public partial class Flow : IFlow [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } + public Guid? multiplicity { get; internal set; } /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -450,7 +450,7 @@ public partial class Flow : IFlow /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } + public string name { get; internal set; } /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -458,7 +458,7 @@ public partial class Flow : IFlow [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } + public List output { get; internal set; } /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -468,7 +468,7 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } + public List ownedAnnotation { get; internal set; } /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -477,7 +477,7 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } + public Guid? ownedConjugator { get; internal set; } /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -486,7 +486,7 @@ public partial class Flow : IFlow [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } + public Guid? ownedCrossSubsetting { get; internal set; } /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -496,7 +496,7 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } + public List ownedDifferencing { get; internal set; } /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -506,7 +506,7 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } + public List ownedDisjoining { get; internal set; } /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -514,7 +514,7 @@ public partial class Flow : IFlow /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } + public List ownedElement { get; internal set; } /// /// All endFeatures of this Type that are ownedFeatures. @@ -523,7 +523,7 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } + public List ownedEndFeature { get; internal set; } /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -531,7 +531,7 @@ public partial class Flow : IFlow [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } + public List ownedFeature { get; internal set; } /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -541,7 +541,7 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } + public List ownedFeatureChaining { get; internal set; } /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -551,7 +551,7 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } + public List ownedFeatureInverting { get; internal set; } /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -561,7 +561,7 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } + public List ownedFeatureMembership { get; internal set; } /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -571,7 +571,7 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } + public List ownedImport { get; internal set; } /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -580,7 +580,7 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } + public List ownedIntersecting { get; internal set; } /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -589,7 +589,7 @@ public partial class Flow : IFlow [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } + public List ownedMember { get; internal set; } /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -600,7 +600,7 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } + public List ownedMembership { get; internal set; } /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -609,7 +609,7 @@ public partial class Flow : IFlow [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } + public List ownedRedefinition { get; internal set; } /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -618,7 +618,7 @@ public partial class Flow : IFlow [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } + public Guid? ownedReferenceSubsetting { get; internal set; } /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -644,7 +644,7 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } + public List ownedSpecialization { get; internal set; } /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -654,7 +654,7 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } + public List ownedSubsetting { get; internal set; } /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -664,7 +664,7 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } + public List ownedTypeFeaturing { get; internal set; } /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -674,7 +674,7 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } + public List ownedTyping { get; internal set; } /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -683,7 +683,7 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } + public List ownedUnioning { get; internal set; } /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -691,7 +691,7 @@ public partial class Flow : IFlow /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } + public Guid? owner { get; internal set; } /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -699,7 +699,7 @@ public partial class Flow : IFlow [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } + public Guid? owningFeatureMembership { get; internal set; } /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -708,7 +708,7 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } + public Guid? owningMembership { get; internal set; } /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -717,7 +717,7 @@ public partial class Flow : IFlow [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } + public Guid? owningNamespace { get; internal set; } /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -743,7 +743,7 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } + public Guid? owningType { get; internal set; } /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -752,7 +752,7 @@ public partial class Flow : IFlow [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } + public List parameter { get; internal set; } /// /// The ownedFeature of the Flow that is a PayloadFeature (if any). @@ -760,14 +760,14 @@ public partial class Flow : IFlow [Property(xmiId: "_18_5_3_12e503d9_1563219424870_347345_21142", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IFlow.PayloadFeature")] - public Guid? PayloadFeature { get; internal set; } + public Guid? payloadFeature { get; internal set; } /// /// The type of values transferred, which is the type of the payloadFeature of the Flow. /// [Property(xmiId: "_18_5_3_b9102da_1536870569046_1672_18020", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFlow.PayloadType")] - public List PayloadType { get; internal set; } + public List payloadType { get; internal set; } /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -779,7 +779,7 @@ public partial class Flow : IFlow /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } + public string qualifiedName { get; internal set; } /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -788,7 +788,7 @@ public partial class Flow : IFlow [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedByProperty("IConnector.RelatedFeature")] [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } + List Root.Elements.IRelationship.relatedElement => throw new InvalidOperationException("Redefined by property IConnector.RelatedFeature"); /// /// The Features that are related by this Connector considered as a Relationship and that restrict the @@ -797,7 +797,7 @@ public partial class Flow : IFlow [Property(xmiId: "_18_5_3_12e503d9_1533160674968_916334_43210", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [Implements(implementation: "IConnector.RelatedFeature")] - public List RelatedFeature { get; internal set; } + public List relatedFeature { get; internal set; } /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -807,7 +807,7 @@ public partial class Flow : IFlow /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } + public string shortName { get; internal set; } /// /// The relatedElements from which this Relationship is considered to be directed. @@ -816,7 +816,11 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IConnector.SourceFeature")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + } /// /// The source relatedFeature for this Connector. It is the first relatedFeature. @@ -825,7 +829,7 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [Implements(implementation: "IConnector.SourceFeature")] - public Guid? SourceFeature { get; internal set; } + public Guid? sourceFeature { get; internal set; } /// /// The Feature that provides the items carried by the Flow. It must be a feature of the source of the @@ -833,7 +837,7 @@ public partial class Flow : IFlow /// [Property(xmiId: "_18_5_3_b9102da_1536870707078_57525_18088", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFlow.SourceOutputFeature")] - public Guid? SourceOutputFeature { get; internal set; } + public Guid? sourceOutputFeature { get; internal set; } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -842,7 +846,11 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IConnector.TargetFeature")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + } /// /// The target relatedFeatures for this Connector. This includes all the relatedFeatures other than the @@ -852,7 +860,7 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [Implements(implementation: "IConnector.TargetFeature")] - public List TargetFeature { get; internal set; } + public List targetFeature { get; internal set; } /// /// The Feature that receives the values carried by the Flow. It must be a feature of the target of the @@ -860,7 +868,7 @@ public partial class Flow : IFlow /// [Property(xmiId: "_18_5_3_b9102da_1536870573474_966268_18041", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFlow.TargetInputFeature")] - public Guid? TargetInputFeature { get; internal set; } + public Guid? targetInputFeature { get; internal set; } /// /// The TextualRepresentations that annotate this Element. @@ -869,7 +877,7 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } + public List textualRepresentation { get; internal set; } /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -880,7 +888,7 @@ public partial class Flow : IFlow [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IConnector.Association")] [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IConnector.Association"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -891,7 +899,7 @@ public partial class Flow : IFlow /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } + public List unioningType { get; internal set; } } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/FramedConcernMembership.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/FramedConcernMembership.cs index 07594a16..e3637471 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/FramedConcernMembership.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/FramedConcernMembership.cs @@ -78,7 +78,7 @@ public partial class FramedConcernMembership : IFramedConcernMembership [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } + public List documentation { get; internal set; } /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -112,7 +112,7 @@ public partial class FramedConcernMembership : IFramedConcernMembership /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } + public bool isLibraryElement { get; internal set; } /// /// The kind of an FramedConcernMembership must be requirement. @@ -120,7 +120,7 @@ public partial class FramedConcernMembership : IFramedConcernMembership [Property(xmiId: "_19_0_4_12e503d9_1617120451812_644221_3690", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "requirement")] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1584048161309_821854_390")] [Implements(implementation: "IFramedConcernMembership.Kind")] - RequirementConstraintKind IFramedConcernMembership.Kind { get; set; } + public RequirementConstraintKind Kind { get; set; } /// /// Whether the RequirementConstraintMembership is for an assumed or required ConstraintUsage. @@ -128,7 +128,11 @@ public partial class FramedConcernMembership : IFramedConcernMembership [Property(xmiId: "_19_0_2_12e503d9_1584048161309_821854_390", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IFramedConcernMembership.Kind")] [Implements(implementation: "IRequirementConstraintMembership.Kind")] - RequirementConstraintKind IRequirementConstraintMembership.Kind { get; set; } + RequirementConstraintKind IRequirementConstraintMembership.Kind + { + get => throw new InvalidOperationException("Redefined by property IFramedConcernMembership.Kind"); + set => throw new InvalidOperationException("Redefined by property IFramedConcernMembership.Kind"); + } /// /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. @@ -137,7 +141,11 @@ public partial class FramedConcernMembership : IFramedConcernMembership [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] [Implements(implementation: "IMembership.MemberElement")] - public Guid MemberElement { get; set; } + Guid Root.Namespaces.IMembership.MemberElement + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + } /// /// The elementId of the memberElement. @@ -145,7 +153,7 @@ public partial class FramedConcernMembership : IFramedConcernMembership [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] [Implements(implementation: "IMembership.MemberElementId")] - public string MemberElementId { get; internal set; } + string Root.Namespaces.IMembership.memberElementId => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElementId"); /// /// The name of the memberElement relative to the membershipOwningNamespace. @@ -153,7 +161,11 @@ public partial class FramedConcernMembership : IFramedConcernMembership [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberName")] [Implements(implementation: "IMembership.MemberName")] - public string MemberName { get; set; } + string Root.Namespaces.IMembership.MemberName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + } /// /// The Namespace of which the memberElement becomes a member due to this Membership. @@ -164,7 +176,7 @@ public partial class FramedConcernMembership : IFramedConcernMembership [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [RedefinedByProperty("IFeatureMembership.OwningType")] [Implements(implementation: "IMembership.MembershipOwningNamespace")] - public Guid MembershipOwningNamespace { get; internal set; } + Guid Root.Namespaces.IMembership.membershipOwningNamespace => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwningType"); /// /// The short name of the memberElement relative to the membershipOwningNamespace. @@ -172,7 +184,11 @@ public partial class FramedConcernMembership : IFramedConcernMembership [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] [Implements(implementation: "IMembership.MemberShortName")] - public string MemberShortName { get; set; } + string Root.Namespaces.IMembership.MemberShortName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + } /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -182,7 +198,7 @@ public partial class FramedConcernMembership : IFramedConcernMembership /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } + public string name { get; internal set; } /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -192,7 +208,7 @@ public partial class FramedConcernMembership : IFramedConcernMembership [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } + public List ownedAnnotation { get; internal set; } /// /// The ConcernUsage that is the ownedConstraint of this FramedConcernMembership. @@ -200,7 +216,7 @@ public partial class FramedConcernMembership : IFramedConcernMembership [Property(xmiId: "_19_0_4_12e503d9_1617120590170_490370_3748", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1584048366950_985767_426")] [Implements(implementation: "IFramedConcernMembership.OwnedConcern")] - public Guid OwnedConcern { get; internal set; } + public Guid ownedConcern { get; internal set; } /// /// The ConstraintUsage that is the ownedMemberFeature of this RequirementConstraintMembership. @@ -209,7 +225,7 @@ public partial class FramedConcernMembership : IFramedConcernMembership [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] [RedefinedByProperty("IFramedConcernMembership.OwnedConcern")] [Implements(implementation: "IRequirementConstraintMembership.OwnedConstraint")] - public Guid OwnedConstraint { get; internal set; } + Guid IRequirementConstraintMembership.ownedConstraint => throw new InvalidOperationException("Redefined by property IFramedConcernMembership.OwnedConcern"); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -217,7 +233,7 @@ public partial class FramedConcernMembership : IFramedConcernMembership /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } + public List ownedElement { get; internal set; } /// /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this @@ -228,7 +244,7 @@ public partial class FramedConcernMembership : IFramedConcernMembership [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] [RedefinedByProperty("IFeatureMembership.OwnedMemberFeature")] [Implements(implementation: "IOwningMembership.OwnedMemberElement")] - public Guid OwnedMemberElement { get; internal set; } + Guid Root.Namespaces.IOwningMembership.ownedMemberElement => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwnedMemberFeature"); /// /// The elementId of the ownedMemberElement. @@ -236,7 +252,7 @@ public partial class FramedConcernMembership : IFramedConcernMembership [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] - public string OwnedMemberElementId { get; internal set; } + public string ownedMemberElementId { get; internal set; } /// /// The Feature that this FeatureMembership relates to its owningType, making it an ownedFeature of the @@ -246,7 +262,7 @@ public partial class FramedConcernMembership : IFramedConcernMembership [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] [RedefinedByProperty("IRequirementConstraintMembership.OwnedConstraint")] [Implements(implementation: "IFeatureMembership.OwnedMemberFeature")] - public Guid OwnedMemberFeature { get; internal set; } + Guid Core.Types.IFeatureMembership.ownedMemberFeature => throw new InvalidOperationException("Redefined by property IRequirementConstraintMembership.OwnedConstraint"); /// /// The name of the ownedMemberElement. @@ -254,7 +270,7 @@ public partial class FramedConcernMembership : IFramedConcernMembership [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] [Implements(implementation: "IOwningMembership.OwnedMemberName")] - public string OwnedMemberName { get; internal set; } + public string ownedMemberName { get; internal set; } /// /// The shortName of the ownedMemberElement. @@ -262,7 +278,7 @@ public partial class FramedConcernMembership : IFramedConcernMembership [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] - public string OwnedMemberShortName { get; internal set; } + public string ownedMemberShortName { get; internal set; } /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -286,7 +302,7 @@ public partial class FramedConcernMembership : IFramedConcernMembership /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } + public Guid? owner { get; internal set; } /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -295,7 +311,7 @@ public partial class FramedConcernMembership : IFramedConcernMembership [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } + public Guid? owningMembership { get; internal set; } /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -304,7 +320,7 @@ public partial class FramedConcernMembership : IFramedConcernMembership [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } + public Guid? owningNamespace { get; internal set; } /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -329,7 +345,7 @@ public partial class FramedConcernMembership : IFramedConcernMembership [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866524_738482_486")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] [Implements(implementation: "IFeatureMembership.OwningType")] - public Guid OwningType { get; internal set; } + public Guid owningType { get; internal set; } /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -341,7 +357,7 @@ public partial class FramedConcernMembership : IFramedConcernMembership /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } + public string qualifiedName { get; internal set; } /// /// The ConcernUsage that is referenced through this FramedConcernMembership. It is the @@ -351,7 +367,7 @@ public partial class FramedConcernMembership : IFramedConcernMembership [Property(xmiId: "_19_0_4_12e503d9_1617120658044_92083_3773", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1617118807597_77864_3544")] [Implements(implementation: "IFramedConcernMembership.ReferencedConcern")] - public Guid ReferencedConcern { get; internal set; } + public Guid referencedConcern { get; internal set; } /// /// The ConstraintUsage that is referenced through this RequirementConstraintMembership. It is the @@ -361,7 +377,7 @@ public partial class FramedConcernMembership : IFramedConcernMembership [Property(xmiId: "_19_0_4_12e503d9_1617118807597_77864_3544", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IFramedConcernMembership.ReferencedConcern")] [Implements(implementation: "IRequirementConstraintMembership.ReferencedConstraint")] - public Guid ReferencedConstraint { get; internal set; } + Guid IRequirementConstraintMembership.referencedConstraint => throw new InvalidOperationException("Redefined by property IFramedConcernMembership.ReferencedConcern"); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -369,7 +385,7 @@ public partial class FramedConcernMembership : IFramedConcernMembership /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } + public List relatedElement { get; internal set; } /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -379,7 +395,7 @@ public partial class FramedConcernMembership : IFramedConcernMembership /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } + public string shortName { get; internal set; } /// /// The relatedElements from which this Relationship is considered to be directed. @@ -388,7 +404,11 @@ public partial class FramedConcernMembership : IFramedConcernMembership [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembership.MembershipOwningNamespace")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -397,7 +417,11 @@ public partial class FramedConcernMembership : IFramedConcernMembership [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembership.MemberElement")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + set => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + } /// /// The TextualRepresentations that annotate this Element. @@ -406,7 +430,7 @@ public partial class FramedConcernMembership : IFramedConcernMembership [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } + public List textualRepresentation { get; internal set; } /// /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IAnnotatingElement.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IAnnotatingElement.cs index ea795179..6c86eadf 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IAnnotatingElement.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IAnnotatingElement.cs @@ -46,7 +46,7 @@ public partial interface IAnnotatingElement : IElement /// AnnotatingElement. /// [Property(xmiId: "_19_0_2_12e503d9_1594145755058_99428_86", aggregation: AggregationKind.None, lowerValue: 1, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - List AnnotatedElement { get; } + List annotatedElement { get; } /// /// The Annotations that relate this AnnotatingElement to its annotatedElements. This includes the @@ -54,7 +54,7 @@ public partial interface IAnnotatingElement : IElement /// [Property(xmiId: "_18_5_3_12e503d9_1543094212714_953084_18407", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - List Annotation { get; } + List annotation { get; } /// /// The ownedRelationships of this AnnotatingElement that are Annotations, for which this @@ -63,7 +63,7 @@ public partial interface IAnnotatingElement : IElement [Property(xmiId: "_19_0_4_12e503d9_1703019570915_375100_18", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - List OwnedAnnotatingRelationship { get; } + List ownedAnnotatingRelationship { get; } /// /// The owningRelationship of this AnnotatingRelationship, if it is an Annotation @@ -71,7 +71,7 @@ public partial interface IAnnotatingElement : IElement [Property(xmiId: "_2022x_2_12e503d9_1735188506571_308678_376", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] - Guid? OwningAnnotatingRelationship { get; } + Guid? owningAnnotatingRelationship { get; } } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IAssociation.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IAssociation.cs index abbf321c..eb072d32 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IAssociation.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IAssociation.cs @@ -48,7 +48,7 @@ public partial interface IAssociation : IClassifier, IRelationship /// [Property(xmiId: "_18_5_3_12e503d9_1562477648742_24204_22901", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - List AssociationEnd { get; } + List associationEnd { get; } /// /// The types of the associationEnds of the Association, which are the relatedElements of the @@ -56,7 +56,7 @@ public partial interface IAssociation : IClassifier, IRelationship /// [Property(xmiId: "_18_5_3_12e503d9_1533160674994_4339_43349", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - List RelatedType { get; } + List relatedType { get; } /// /// The source relatedType for this Association. It is the first relatedType of the Association. @@ -64,7 +64,7 @@ public partial interface IAssociation : IClassifier, IRelationship [Property(xmiId: "_19_0_2_12e503d9_1594939013292_377668_3566", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - Guid? SourceType { get; } + Guid? sourceType { get; } /// /// The target relatedTypes for this Association. This includes all the relatedTypes other than the @@ -73,7 +73,7 @@ public partial interface IAssociation : IClassifier, IRelationship [Property(xmiId: "_19_0_2_12e503d9_1594939237325_861933_3707", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - List TargetType { get; } + List targetType { get; } } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IElement.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IElement.cs index 21e59289..fe2792cc 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IElement.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IElement.cs @@ -67,7 +67,7 @@ public partial interface IElement [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - List Documentation { get; } + List documentation { get; } /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -90,7 +90,7 @@ public partial interface IElement /// Whether this Element is contained in the ownership tree of a library model. /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - bool IsLibraryElement { get; } + bool isLibraryElement { get; } /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -99,7 +99,7 @@ public partial interface IElement /// null. /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - string Name { get; } + string name { get; } /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -108,14 +108,14 @@ public partial interface IElement [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - List OwnedAnnotation { get; } + List ownedAnnotation { get; } /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of /// this Element. /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - List OwnedElement { get; } + List ownedElement { get; } /// /// The Relationships for which this Element is the owningRelatedElement. @@ -129,7 +129,7 @@ public partial interface IElement /// Element, if any. /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - Guid? Owner { get; } + Guid? owner { get; } /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -137,7 +137,7 @@ public partial interface IElement [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - Guid? OwningMembership { get; } + Guid? owningMembership { get; } /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -145,7 +145,7 @@ public partial interface IElement /// [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - Guid? OwningNamespace { get; } + Guid? owningNamespace { get; } /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -163,7 +163,7 @@ public partial interface IElement /// then the qualifiedName is null for all such Elements other than the first. /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - string QualifiedName { get; } + string qualifiedName { get; } /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -172,7 +172,7 @@ public partial interface IElement /// when the declaredName is null. /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - string ShortName { get; } + string shortName { get; } /// /// The TextualRepresentations that annotate this Element. @@ -180,7 +180,7 @@ public partial interface IElement [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - List TextualRepresentation { get; } + List textualRepresentation { get; } } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IEnumerationDefinition.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IEnumerationDefinition.cs index 9d16308c..d92a8148 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IEnumerationDefinition.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IEnumerationDefinition.cs @@ -46,7 +46,7 @@ public partial interface IEnumerationDefinition : IAttributeDefinition /// [Property(xmiId: "_19_0_4_12e503d9_1606946634788_959145_265", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1590979457191_746167_951")] - List EnumeratedValue { get; } + List enumeratedValue { get; } /// /// An EnumerationDefinition is considered semantically to be a variation whose allowed variants are its diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IFeature.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IFeature.cs index 433c85ec..3f881d40 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IFeature.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IFeature.cs @@ -62,7 +62,7 @@ public partial interface IFeature : IType /// Feature in chainingFeatures, and so on, to values of the last Feature. /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - List ChainingFeature { get; } + List chainingFeature { get; } /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -71,7 +71,7 @@ public partial interface IFeature : IType /// owningType. /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - Guid? CrossFeature { get; } + Guid? crossFeature { get; } /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -87,13 +87,13 @@ public partial interface IFeature : IType [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - Guid? EndOwningType { get; } + Guid? endOwningType { get; } /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - Guid FeatureTarget { get; } + Guid featureTarget { get; } /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -102,7 +102,7 @@ public partial interface IFeature : IType /// featuringTypes of the chained Feature. /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - List FeaturingType { get; } + List featuringType { get; } /// /// Whether the Feature is a composite feature of its featuringType. If so, the values of the Feature @@ -170,7 +170,7 @@ public partial interface IFeature : IType /// [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - Guid? OwnedCrossSubsetting { get; } + Guid? ownedCrossSubsetting { get; } /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -179,7 +179,7 @@ public partial interface IFeature : IType [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - List OwnedFeatureChaining { get; } + List ownedFeatureChaining { get; } /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -188,7 +188,7 @@ public partial interface IFeature : IType [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - List OwnedFeatureInverting { get; } + List ownedFeatureInverting { get; } /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -196,7 +196,7 @@ public partial interface IFeature : IType /// [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - List OwnedRedefinition { get; } + List ownedRedefinition { get; } /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -204,7 +204,7 @@ public partial interface IFeature : IType /// [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - Guid? OwnedReferenceSubsetting { get; } + Guid? ownedReferenceSubsetting { get; } /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -213,7 +213,7 @@ public partial interface IFeature : IType [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - List OwnedSubsetting { get; } + List ownedSubsetting { get; } /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -222,7 +222,7 @@ public partial interface IFeature : IType [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - List OwnedTypeFeaturing { get; } + List ownedTypeFeaturing { get; } /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -231,14 +231,14 @@ public partial interface IFeature : IType [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - List OwnedTyping { get; } + List ownedTyping { get; } /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. /// [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - Guid? OwningFeatureMembership { get; } + Guid? owningFeatureMembership { get; } /// /// The Type that is the owningType of the owningFeatureMembership of this Feature. @@ -247,7 +247,7 @@ public partial interface IFeature : IType [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - Guid? OwningType { get; } + Guid? owningType { get; } /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -256,7 +256,7 @@ public partial interface IFeature : IType /// Feature. /// [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - List Type { get; } + List type { get; } } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IFeatureTyping.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IFeatureTyping.cs index 9e28109f..e4b3415f 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IFeatureTyping.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IFeatureTyping.cs @@ -47,7 +47,7 @@ public partial interface IFeatureTyping : ISpecialization [Property(xmiId: "_19_0_2_12e503d9_1596597427753_801746_43", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_13273_21101")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_573157_43226")] - Guid? OwningFeature { get; } + Guid? owningFeature { get; } /// /// The Type that is being applied by this FeatureTyping. diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IFlow.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IFlow.cs index 89c96ccd..eb6ba8ae 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IFlow.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IFlow.cs @@ -46,7 +46,7 @@ public partial interface IFlow : IConnector, IStep /// [Property(xmiId: "_18_5_3_12e503d9_1563219311176_506548_20966", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 2, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1556735067666_827798_21922")] - List FlowEnd { get; } + List flowEnd { get; } /// /// The Interactions that type this Flow. Interactions are both Associations and Behaviors, which can @@ -55,34 +55,34 @@ public partial interface IFlow : IConnector, IStep [Property(xmiId: "_19_0_4_12e503d9_1661900477937_518125_727", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674983_471497_43284")] [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - List Interaction { get; } + List interaction { get; } /// /// The ownedFeature of the Flow that is a PayloadFeature (if any). /// [Property(xmiId: "_18_5_3_12e503d9_1563219424870_347345_21142", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - Guid? PayloadFeature { get; } + Guid? payloadFeature { get; } /// /// The type of values transferred, which is the type of the payloadFeature of the Flow. /// [Property(xmiId: "_18_5_3_b9102da_1536870569046_1672_18020", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - List PayloadType { get; } + List payloadType { get; } /// /// The Feature that provides the items carried by the Flow. It must be a feature of the source of the /// Flow. /// [Property(xmiId: "_18_5_3_b9102da_1536870707078_57525_18088", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - Guid? SourceOutputFeature { get; } + Guid? sourceOutputFeature { get; } /// /// The Feature that receives the values carried by the Flow. It must be a feature of the target of the /// Flow. /// [Property(xmiId: "_18_5_3_b9102da_1536870573474_966268_18041", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - Guid? TargetInputFeature { get; } + Guid? targetInputFeature { get; } } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IFramedConcernMembership.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IFramedConcernMembership.cs index 499d7997..75b68861 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IFramedConcernMembership.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IFramedConcernMembership.cs @@ -52,7 +52,7 @@ public partial interface IFramedConcernMembership : IRequirementConstraintMember /// [Property(xmiId: "_19_0_4_12e503d9_1617120590170_490370_3748", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1584048366950_985767_426")] - Guid OwnedConcern { get; } + Guid ownedConcern { get; } /// /// The ConcernUsage that is referenced through this FramedConcernMembership. It is the @@ -61,7 +61,7 @@ public partial interface IFramedConcernMembership : IRequirementConstraintMember /// [Property(xmiId: "_19_0_4_12e503d9_1617120658044_92083_3773", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1617118807597_77864_3544")] - Guid ReferencedConcern { get; } + Guid referencedConcern { get; } } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IMembership.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IMembership.cs index 245455b6..cd31dbfc 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IMembership.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IMembership.cs @@ -56,7 +56,7 @@ public partial interface IMembership : IRelationship /// The elementId of the memberElement. /// [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - string MemberElementId { get; } + string memberElementId { get; } /// /// The name of the memberElement relative to the membershipOwningNamespace. @@ -71,7 +71,7 @@ public partial interface IMembership : IRelationship [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_531296_43182")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - Guid MembershipOwningNamespace { get; } + Guid membershipOwningNamespace { get; } /// /// The short name of the memberElement relative to the membershipOwningNamespace. diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IMultiplicityRange.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IMultiplicityRange.cs index 2369b4ee..5db88b13 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IMultiplicityRange.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IMultiplicityRange.cs @@ -51,7 +51,7 @@ public partial interface IMultiplicityRange : IMultiplicity /// [Property(xmiId: "_19_0_2_12e503d9_1573095221994_519580_5095", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 2, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - List Bound { get; } + List bound { get; } /// /// The Expression whose result provides the lower bound of the MultiplicityRange. If no lowerBound @@ -60,14 +60,14 @@ public partial interface IMultiplicityRange : IMultiplicity /// [Property(xmiId: "_19_0_2_12e503d9_1573094905677_801324_4744", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1573095221994_519580_5095")] - Guid? LowerBound { get; } + Guid? lowerBound { get; } /// /// The Expression whose result is the upper bound of the MultiplicityRange. /// [Property(xmiId: "_19_0_2_12e503d9_1573094947427_797440_4796", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1573095221994_519580_5095")] - Guid UpperBound { get; } + Guid upperBound { get; } } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IOwningMembership.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IOwningMembership.cs index e30761a8..6246fae2 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IOwningMembership.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IOwningMembership.cs @@ -46,28 +46,28 @@ public partial interface IOwningMembership : IMembership [Property(xmiId: "_18_5_3_12e503d9_1533160674965_501750_43196", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_59873_43302")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] - Guid OwnedMemberElement { get; } + Guid ownedMemberElement { get; } /// /// The elementId of the ownedMemberElement. /// [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] - string OwnedMemberElementId { get; } + string ownedMemberElementId { get; } /// /// The name of the ownedMemberElement. /// [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] - string OwnedMemberName { get; } + string ownedMemberName { get; } /// /// The shortName of the ownedMemberElement. /// [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] - string OwnedMemberShortName { get; } + string ownedMemberShortName { get; } } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IReferenceSubsetting.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IReferenceSubsetting.cs index 6ba40eea..9ecb44c5 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IReferenceSubsetting.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IReferenceSubsetting.cs @@ -55,7 +55,7 @@ public partial interface IReferenceSubsetting : ISubsetting [Property(xmiId: "_19_0_4_12e503d9_1661555161575_539076_256", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_236250_43311")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674967_140305_43206")] - Guid ReferencingFeature { get; } + Guid referencingFeature { get; } } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IRelationship.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IRelationship.cs index 0bb5f749..e8d5a9ec 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IRelationship.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IRelationship.cs @@ -74,7 +74,7 @@ public partial interface IRelationship : IElement /// Elements of the Relationship. /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - List RelatedElement { get; } + List relatedElement { get; } /// /// The relatedElements from which this Relationship is considered to be directed. diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IRequirementUsage.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IRequirementUsage.cs index adb01f7c..d7ff1ae5 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IRequirementUsage.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IRequirementUsage.cs @@ -46,7 +46,7 @@ public partial interface IRequirementUsage : IConstraintUsage [Property(xmiId: "_19_0_4_12e503d9_1621564075474_350859_2735", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - List ActorParameter { get; } + List actorParameter { get; } /// /// The owned ConstraintUsages that represent assumptions of this RequirementUsage, derived as the @@ -55,7 +55,7 @@ public partial interface IRequirementUsage : IConstraintUsage /// [Property(xmiId: "_19_0_2_12e503d9_1583377612865_991722_535", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - List AssumedConstraint { get; } + List assumedConstraint { get; } /// /// The ConcernUsages framed by this RequirementUsage, which are the ownedConcerns of all @@ -63,7 +63,7 @@ public partial interface IRequirementUsage : IConstraintUsage /// [Property(xmiId: "_19_0_4_12e503d9_1617116922864_514612_3264", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583377448339_252740_390")] - List FramedConcern { get; } + List framedConcern { get; } /// /// An optional modeler-specified identifier for this RequirementUsage (used, e.g., to link it to an @@ -81,14 +81,14 @@ public partial interface IRequirementUsage : IConstraintUsage /// [Property(xmiId: "_19_0_2_12e503d9_1583377448339_252740_390", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - List RequiredConstraint { get; } + List requiredConstraint { get; } /// /// The RequirementDefinition that is the single definition of this RequirementUsage. /// [Property(xmiId: "_19_0_2_12e503d9_1583000408905_769743_1223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1578067546711_751168_1745")] - Guid? RequirementDefinition { get; } + Guid? requirementDefinition { get; } /// /// The parameters of this RequirementUsage that represent stakeholders for the requirement. @@ -96,7 +96,7 @@ public partial interface IRequirementUsage : IConstraintUsage [Property(xmiId: "_19_0_4_12e503d9_1624032823963_328647_40107", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - List StakeholderParameter { get; } + List stakeholderParameter { get; } /// /// The parameter of this RequirementUsage that represents its subject. @@ -104,14 +104,14 @@ public partial interface IRequirementUsage : IConstraintUsage [Property(xmiId: "_19_0_2_12e503d9_1595189397261_941898_844", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - Guid SubjectParameter { get; } + Guid subjectParameter { get; } /// /// An optional textual statement of the requirement represented by this RequirementUsage, derived from /// the bodies of the documentation of the RequirementUsage. /// [Property(xmiId: "_19_0_2_12e503d9_1583376480942_745679_99", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - List Text { get; } + List text { get; } } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/ISubclassification.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/ISubclassification.cs index a12b9bc4..aeb84941 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/ISubclassification.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/ISubclassification.cs @@ -44,7 +44,7 @@ public partial interface ISubclassification : ISpecialization /// [Property(xmiId: "_18_5_3_12e503d9_1543189170642_857401_25506", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_573157_43226")] - Guid? OwningClassifier { get; } + Guid? owningClassifier { get; } /// /// The more specific Classifier in this Subclassification. diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/ITextualRepresentation.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/ITextualRepresentation.cs index 7e195a1c..58e630bb 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/ITextualRepresentation.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/ITextualRepresentation.cs @@ -78,7 +78,7 @@ public partial interface ITextualRepresentation : IAnnotatingElement [Property(xmiId: "_19_0_2_12e503d9_1594154758494_414887_3389", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_744477_17277")] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1594145755058_99428_86")] - Guid RepresentedElement { get; } + Guid representedElement { get; } } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IUsage.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IUsage.cs index 5fb28def..8066841a 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IUsage.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/IUsage.cs @@ -52,7 +52,7 @@ public partial interface IUsage : IFeature /// [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - List Definition { get; } + List definition { get; } /// /// The usages of this Usage that are directedFeatures. @@ -60,13 +60,13 @@ public partial interface IUsage : IFeature [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - List DirectedUsage { get; } + List directedUsage { get; } /// /// Whether this Usage is a referential Usage, that is, it has isComposite = false. /// [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - bool IsReference { get; } + bool isReference { get; } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -85,56 +85,56 @@ public partial interface IUsage : IFeature /// [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] - bool MayTimeVary { get; } + bool mayTimeVary { get; } /// /// The ActionUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - List NestedAction { get; } + List nestedAction { get; } /// /// The AllocationUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - List NestedAllocation { get; } + List nestedAllocation { get; } /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - List NestedAnalysisCase { get; } + List nestedAnalysisCase { get; } /// /// The code>AttributeUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - List NestedAttribute { get; } + List nestedAttribute { get; } /// /// The CalculationUsage that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - List NestedCalculation { get; } + List nestedCalculation { get; } /// /// The CaseUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] - List NestedCase { get; } + List nestedCase { get; } /// /// The ConcernUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - List NestedConcern { get; } + List nestedConcern { get; } /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -143,105 +143,105 @@ public partial interface IUsage : IFeature /// [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - List NestedConnection { get; } + List nestedConnection { get; } /// /// The ConstraintUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - List NestedConstraint { get; } + List nestedConstraint { get; } /// /// The code>EnumerationUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] - List NestedEnumeration { get; } + List nestedEnumeration { get; } /// /// The code>FlowUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - List NestedFlow { get; } + List nestedFlow { get; } /// /// The InterfaceUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - List NestedInterface { get; } + List nestedInterface { get; } /// /// The ItemUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - List NestedItem { get; } + List nestedItem { get; } /// /// The MetadataUsages that are nestedUsages of this of this Usage. /// [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - List NestedMetadata { get; } + List nestedMetadata { get; } /// /// The OccurrenceUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - List NestedOccurrence { get; } + List nestedOccurrence { get; } /// /// The PartUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - List NestedPart { get; } + List nestedPart { get; } /// /// The PortUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - List NestedPort { get; } + List nestedPort { get; } /// /// The ReferenceUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - List NestedReference { get; } + List nestedReference { get; } /// /// The RenderingUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - List NestedRendering { get; } + List nestedRendering { get; } /// /// The RequirementUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] - List NestedRequirement { get; } + List nestedRequirement { get; } /// /// The StateUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - List NestedState { get; } + List nestedState { get; } /// /// The TransitionUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - List NestedTransition { get; } + List nestedTransition { get; } /// /// The Usages that are ownedFeatures of this Usage. @@ -249,35 +249,35 @@ public partial interface IUsage : IFeature [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - List NestedUsage { get; } + List nestedUsage { get; } /// /// The UseCaseUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - List NestedUseCase { get; } + List nestedUseCase { get; } /// /// The VerificationCaseUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - List NestedVerificationCase { get; } + List nestedVerificationCase { get; } /// /// The ViewUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - List NestedView { get; } + List nestedView { get; } /// /// The ViewpointUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - List NestedViewpoint { get; } + List nestedViewpoint { get; } /// /// The Definition that owns this Usage (if any). @@ -285,21 +285,21 @@ public partial interface IUsage : IFeature [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] - Guid? OwningDefinition { get; } + Guid? owningDefinition { get; } /// /// The Usage in which this Usage is nested (if any). /// [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - Guid? OwningUsage { get; } + Guid? owningUsage { get; } /// /// The Usages that are features of this Usage (not necessarily owned). /// [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - List Usage { get; } + List usage { get; } /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -307,7 +307,7 @@ public partial interface IUsage : IFeature /// [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - List Variant { get; } + List variant { get; } /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -315,7 +315,7 @@ public partial interface IUsage : IFeature /// [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - List VariantMembership { get; } + List variantMembership { get; } } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/LiteralInteger.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/LiteralInteger.cs index c0d913d3..d9113989 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/LiteralInteger.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/LiteralInteger.cs @@ -60,7 +60,7 @@ public partial class LiteralInteger : ILiteralInteger [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IExpression.Function")] [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -72,7 +72,7 @@ public partial class LiteralInteger : ILiteralInteger /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } + public List chainingFeature { get; internal set; } /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -82,7 +82,7 @@ public partial class LiteralInteger : ILiteralInteger /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } + public Guid? crossFeature { get; internal set; } /// /// The declared name of this Element. @@ -112,7 +112,7 @@ public partial class LiteralInteger : ILiteralInteger /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } + public List differencingType { get; internal set; } /// /// The features of this Type that have a non-null direction. @@ -121,7 +121,7 @@ public partial class LiteralInteger : ILiteralInteger [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -138,7 +138,7 @@ public partial class LiteralInteger : ILiteralInteger [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } + public List documentation { get; internal set; } /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -154,7 +154,7 @@ public partial class LiteralInteger : ILiteralInteger [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } + public List endFeature { get; internal set; } /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -164,7 +164,7 @@ public partial class LiteralInteger : ILiteralInteger [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } + public Guid? endOwningType { get; internal set; } /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -172,7 +172,7 @@ public partial class LiteralInteger : ILiteralInteger [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } + public List feature { get; internal set; } /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -181,14 +181,14 @@ public partial class LiteralInteger : ILiteralInteger /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } + public List featureMembership { get; internal set; } /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } + public Guid featureTarget { get; internal set; } /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -198,7 +198,7 @@ public partial class LiteralInteger : ILiteralInteger /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } + public List featuringType { get; internal set; } /// /// The Function that types this Expression. @@ -206,7 +206,7 @@ public partial class LiteralInteger : ILiteralInteger [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [Implements(implementation: "IExpression.Function")] - public Guid? Function { get; internal set; } + public Guid? function { get; internal set; } /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -214,7 +214,7 @@ public partial class LiteralInteger : ILiteralInteger [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } + public List importedMembership { get; internal set; } /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -222,7 +222,7 @@ public partial class LiteralInteger : ILiteralInteger [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } + public List inheritedFeature { get; internal set; } /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -231,7 +231,7 @@ public partial class LiteralInteger : ILiteralInteger [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } + public List inheritedMembership { get; internal set; } /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -239,7 +239,7 @@ public partial class LiteralInteger : ILiteralInteger [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } + public List input { get; internal set; } /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -252,7 +252,7 @@ public partial class LiteralInteger : ILiteralInteger /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } + public List intersectingType { get; internal set; } /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -276,7 +276,7 @@ public partial class LiteralInteger : ILiteralInteger /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } + public bool isConjugated { get; internal set; } /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -323,7 +323,7 @@ public partial class LiteralInteger : ILiteralInteger /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } + public bool isLibraryElement { get; internal set; } /// /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, @@ -331,7 +331,7 @@ public partial class LiteralInteger : ILiteralInteger /// [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool IsModelLevelEvaluable { get; internal set; } + public bool isModelLevelEvaluable { get; internal set; } /// /// Whether an order exists for the values of this Feature or not. @@ -381,7 +381,7 @@ public partial class LiteralInteger : ILiteralInteger /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } + public List member { get; internal set; } /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -389,7 +389,7 @@ public partial class LiteralInteger : ILiteralInteger /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } + public List membership { get; internal set; } /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -399,7 +399,7 @@ public partial class LiteralInteger : ILiteralInteger [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } + public Guid? multiplicity { get; internal set; } /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -409,7 +409,7 @@ public partial class LiteralInteger : ILiteralInteger /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } + public string name { get; internal set; } /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -417,7 +417,7 @@ public partial class LiteralInteger : ILiteralInteger [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } + public List output { get; internal set; } /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -427,7 +427,7 @@ public partial class LiteralInteger : ILiteralInteger [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } + public List ownedAnnotation { get; internal set; } /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -436,7 +436,7 @@ public partial class LiteralInteger : ILiteralInteger [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } + public Guid? ownedConjugator { get; internal set; } /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -445,7 +445,7 @@ public partial class LiteralInteger : ILiteralInteger [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } + public Guid? ownedCrossSubsetting { get; internal set; } /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -455,7 +455,7 @@ public partial class LiteralInteger : ILiteralInteger [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } + public List ownedDifferencing { get; internal set; } /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -465,7 +465,7 @@ public partial class LiteralInteger : ILiteralInteger [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } + public List ownedDisjoining { get; internal set; } /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -473,7 +473,7 @@ public partial class LiteralInteger : ILiteralInteger /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } + public List ownedElement { get; internal set; } /// /// All endFeatures of this Type that are ownedFeatures. @@ -482,7 +482,7 @@ public partial class LiteralInteger : ILiteralInteger [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } + public List ownedEndFeature { get; internal set; } /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -490,7 +490,7 @@ public partial class LiteralInteger : ILiteralInteger [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } + public List ownedFeature { get; internal set; } /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -500,7 +500,7 @@ public partial class LiteralInteger : ILiteralInteger [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } + public List ownedFeatureChaining { get; internal set; } /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -510,7 +510,7 @@ public partial class LiteralInteger : ILiteralInteger [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } + public List ownedFeatureInverting { get; internal set; } /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -520,7 +520,7 @@ public partial class LiteralInteger : ILiteralInteger [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } + public List ownedFeatureMembership { get; internal set; } /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -530,7 +530,7 @@ public partial class LiteralInteger : ILiteralInteger [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } + public List ownedImport { get; internal set; } /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -539,7 +539,7 @@ public partial class LiteralInteger : ILiteralInteger [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } + public List ownedIntersecting { get; internal set; } /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -548,7 +548,7 @@ public partial class LiteralInteger : ILiteralInteger [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } + public List ownedMember { get; internal set; } /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -559,7 +559,7 @@ public partial class LiteralInteger : ILiteralInteger [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } + public List ownedMembership { get; internal set; } /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -568,7 +568,7 @@ public partial class LiteralInteger : ILiteralInteger [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } + public List ownedRedefinition { get; internal set; } /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -577,7 +577,7 @@ public partial class LiteralInteger : ILiteralInteger [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } + public Guid? ownedReferenceSubsetting { get; internal set; } /// /// The Relationships for which this Element is the owningRelatedElement. @@ -595,7 +595,7 @@ public partial class LiteralInteger : ILiteralInteger [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } + public List ownedSpecialization { get; internal set; } /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -605,7 +605,7 @@ public partial class LiteralInteger : ILiteralInteger [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } + public List ownedSubsetting { get; internal set; } /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -615,7 +615,7 @@ public partial class LiteralInteger : ILiteralInteger [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } + public List ownedTypeFeaturing { get; internal set; } /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -625,7 +625,7 @@ public partial class LiteralInteger : ILiteralInteger [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } + public List ownedTyping { get; internal set; } /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -634,7 +634,7 @@ public partial class LiteralInteger : ILiteralInteger [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } + public List ownedUnioning { get; internal set; } /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -642,7 +642,7 @@ public partial class LiteralInteger : ILiteralInteger /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } + public Guid? owner { get; internal set; } /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -650,7 +650,7 @@ public partial class LiteralInteger : ILiteralInteger [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } + public Guid? owningFeatureMembership { get; internal set; } /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -659,7 +659,7 @@ public partial class LiteralInteger : ILiteralInteger [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } + public Guid? owningMembership { get; internal set; } /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -668,7 +668,7 @@ public partial class LiteralInteger : ILiteralInteger [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } + public Guid? owningNamespace { get; internal set; } /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -686,7 +686,7 @@ public partial class LiteralInteger : ILiteralInteger [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } + public Guid? owningType { get; internal set; } /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -695,7 +695,7 @@ public partial class LiteralInteger : ILiteralInteger [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } + public List parameter { get; internal set; } /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -707,7 +707,7 @@ public partial class LiteralInteger : ILiteralInteger /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } + public string qualifiedName { get; internal set; } /// /// An output parameter of the Expression whose value is the result of the Expression. The result of an @@ -718,7 +718,7 @@ public partial class LiteralInteger : ILiteralInteger [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [Implements(implementation: "IExpression.Result")] - public Guid Result { get; internal set; } + public Guid result { get; internal set; } /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -728,7 +728,7 @@ public partial class LiteralInteger : ILiteralInteger /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } + public string shortName { get; internal set; } /// /// The TextualRepresentations that annotate this Element. @@ -737,7 +737,7 @@ public partial class LiteralInteger : ILiteralInteger [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } + public List textualRepresentation { get; internal set; } /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -747,7 +747,7 @@ public partial class LiteralInteger : ILiteralInteger /// [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } + public List type { get; internal set; } /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -758,7 +758,7 @@ public partial class LiteralInteger : ILiteralInteger /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } + public List unioningType { get; internal set; } /// /// The Integer value that is the result of evaluating this LiteralInteger. diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/LiteralRational.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/LiteralRational.cs index 4075eb85..1b51e80c 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/LiteralRational.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/LiteralRational.cs @@ -60,7 +60,7 @@ public partial class LiteralRational : ILiteralRational [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IExpression.Function")] [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -72,7 +72,7 @@ public partial class LiteralRational : ILiteralRational /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } + public List chainingFeature { get; internal set; } /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -82,7 +82,7 @@ public partial class LiteralRational : ILiteralRational /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } + public Guid? crossFeature { get; internal set; } /// /// The declared name of this Element. @@ -112,7 +112,7 @@ public partial class LiteralRational : ILiteralRational /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } + public List differencingType { get; internal set; } /// /// The features of this Type that have a non-null direction. @@ -121,7 +121,7 @@ public partial class LiteralRational : ILiteralRational [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -138,7 +138,7 @@ public partial class LiteralRational : ILiteralRational [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } + public List documentation { get; internal set; } /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -154,7 +154,7 @@ public partial class LiteralRational : ILiteralRational [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } + public List endFeature { get; internal set; } /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -164,7 +164,7 @@ public partial class LiteralRational : ILiteralRational [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } + public Guid? endOwningType { get; internal set; } /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -172,7 +172,7 @@ public partial class LiteralRational : ILiteralRational [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } + public List feature { get; internal set; } /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -181,14 +181,14 @@ public partial class LiteralRational : ILiteralRational /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } + public List featureMembership { get; internal set; } /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } + public Guid featureTarget { get; internal set; } /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -198,7 +198,7 @@ public partial class LiteralRational : ILiteralRational /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } + public List featuringType { get; internal set; } /// /// The Function that types this Expression. @@ -206,7 +206,7 @@ public partial class LiteralRational : ILiteralRational [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [Implements(implementation: "IExpression.Function")] - public Guid? Function { get; internal set; } + public Guid? function { get; internal set; } /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -214,7 +214,7 @@ public partial class LiteralRational : ILiteralRational [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } + public List importedMembership { get; internal set; } /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -222,7 +222,7 @@ public partial class LiteralRational : ILiteralRational [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } + public List inheritedFeature { get; internal set; } /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -231,7 +231,7 @@ public partial class LiteralRational : ILiteralRational [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } + public List inheritedMembership { get; internal set; } /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -239,7 +239,7 @@ public partial class LiteralRational : ILiteralRational [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } + public List input { get; internal set; } /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -252,7 +252,7 @@ public partial class LiteralRational : ILiteralRational /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } + public List intersectingType { get; internal set; } /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -276,7 +276,7 @@ public partial class LiteralRational : ILiteralRational /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } + public bool isConjugated { get; internal set; } /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -323,7 +323,7 @@ public partial class LiteralRational : ILiteralRational /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } + public bool isLibraryElement { get; internal set; } /// /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, @@ -331,7 +331,7 @@ public partial class LiteralRational : ILiteralRational /// [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool IsModelLevelEvaluable { get; internal set; } + public bool isModelLevelEvaluable { get; internal set; } /// /// Whether an order exists for the values of this Feature or not. @@ -381,7 +381,7 @@ public partial class LiteralRational : ILiteralRational /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } + public List member { get; internal set; } /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -389,7 +389,7 @@ public partial class LiteralRational : ILiteralRational /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } + public List membership { get; internal set; } /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -399,7 +399,7 @@ public partial class LiteralRational : ILiteralRational [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } + public Guid? multiplicity { get; internal set; } /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -409,7 +409,7 @@ public partial class LiteralRational : ILiteralRational /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } + public string name { get; internal set; } /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -417,7 +417,7 @@ public partial class LiteralRational : ILiteralRational [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } + public List output { get; internal set; } /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -427,7 +427,7 @@ public partial class LiteralRational : ILiteralRational [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } + public List ownedAnnotation { get; internal set; } /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -436,7 +436,7 @@ public partial class LiteralRational : ILiteralRational [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } + public Guid? ownedConjugator { get; internal set; } /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -445,7 +445,7 @@ public partial class LiteralRational : ILiteralRational [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } + public Guid? ownedCrossSubsetting { get; internal set; } /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -455,7 +455,7 @@ public partial class LiteralRational : ILiteralRational [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } + public List ownedDifferencing { get; internal set; } /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -465,7 +465,7 @@ public partial class LiteralRational : ILiteralRational [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } + public List ownedDisjoining { get; internal set; } /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -473,7 +473,7 @@ public partial class LiteralRational : ILiteralRational /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } + public List ownedElement { get; internal set; } /// /// All endFeatures of this Type that are ownedFeatures. @@ -482,7 +482,7 @@ public partial class LiteralRational : ILiteralRational [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } + public List ownedEndFeature { get; internal set; } /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -490,7 +490,7 @@ public partial class LiteralRational : ILiteralRational [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } + public List ownedFeature { get; internal set; } /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -500,7 +500,7 @@ public partial class LiteralRational : ILiteralRational [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } + public List ownedFeatureChaining { get; internal set; } /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -510,7 +510,7 @@ public partial class LiteralRational : ILiteralRational [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } + public List ownedFeatureInverting { get; internal set; } /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -520,7 +520,7 @@ public partial class LiteralRational : ILiteralRational [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } + public List ownedFeatureMembership { get; internal set; } /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -530,7 +530,7 @@ public partial class LiteralRational : ILiteralRational [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } + public List ownedImport { get; internal set; } /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -539,7 +539,7 @@ public partial class LiteralRational : ILiteralRational [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } + public List ownedIntersecting { get; internal set; } /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -548,7 +548,7 @@ public partial class LiteralRational : ILiteralRational [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } + public List ownedMember { get; internal set; } /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -559,7 +559,7 @@ public partial class LiteralRational : ILiteralRational [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } + public List ownedMembership { get; internal set; } /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -568,7 +568,7 @@ public partial class LiteralRational : ILiteralRational [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } + public List ownedRedefinition { get; internal set; } /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -577,7 +577,7 @@ public partial class LiteralRational : ILiteralRational [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } + public Guid? ownedReferenceSubsetting { get; internal set; } /// /// The Relationships for which this Element is the owningRelatedElement. @@ -595,7 +595,7 @@ public partial class LiteralRational : ILiteralRational [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } + public List ownedSpecialization { get; internal set; } /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -605,7 +605,7 @@ public partial class LiteralRational : ILiteralRational [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } + public List ownedSubsetting { get; internal set; } /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -615,7 +615,7 @@ public partial class LiteralRational : ILiteralRational [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } + public List ownedTypeFeaturing { get; internal set; } /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -625,7 +625,7 @@ public partial class LiteralRational : ILiteralRational [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } + public List ownedTyping { get; internal set; } /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -634,7 +634,7 @@ public partial class LiteralRational : ILiteralRational [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } + public List ownedUnioning { get; internal set; } /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -642,7 +642,7 @@ public partial class LiteralRational : ILiteralRational /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } + public Guid? owner { get; internal set; } /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -650,7 +650,7 @@ public partial class LiteralRational : ILiteralRational [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } + public Guid? owningFeatureMembership { get; internal set; } /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -659,7 +659,7 @@ public partial class LiteralRational : ILiteralRational [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } + public Guid? owningMembership { get; internal set; } /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -668,7 +668,7 @@ public partial class LiteralRational : ILiteralRational [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } + public Guid? owningNamespace { get; internal set; } /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -686,7 +686,7 @@ public partial class LiteralRational : ILiteralRational [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } + public Guid? owningType { get; internal set; } /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -695,7 +695,7 @@ public partial class LiteralRational : ILiteralRational [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } + public List parameter { get; internal set; } /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -707,7 +707,7 @@ public partial class LiteralRational : ILiteralRational /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } + public string qualifiedName { get; internal set; } /// /// An output parameter of the Expression whose value is the result of the Expression. The result of an @@ -718,7 +718,7 @@ public partial class LiteralRational : ILiteralRational [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [Implements(implementation: "IExpression.Result")] - public Guid Result { get; internal set; } + public Guid result { get; internal set; } /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -728,7 +728,7 @@ public partial class LiteralRational : ILiteralRational /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } + public string shortName { get; internal set; } /// /// The TextualRepresentations that annotate this Element. @@ -737,7 +737,7 @@ public partial class LiteralRational : ILiteralRational [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } + public List textualRepresentation { get; internal set; } /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -747,7 +747,7 @@ public partial class LiteralRational : ILiteralRational /// [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } + public List type { get; internal set; } /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -758,7 +758,7 @@ public partial class LiteralRational : ILiteralRational /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } + public List unioningType { get; internal set; } /// /// The value whose rational approximation is the result of evaluating this LiteralRational. diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/Membership.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/Membership.cs index 00ae96f6..31756695 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/Membership.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/Membership.cs @@ -83,7 +83,7 @@ public partial class Membership : IMembership [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } + public List documentation { get; internal set; } /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -117,7 +117,7 @@ public partial class Membership : IMembership /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } + public bool isLibraryElement { get; internal set; } /// /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. @@ -132,7 +132,7 @@ public partial class Membership : IMembership /// [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IMembership.MemberElementId")] - public string MemberElementId { get; internal set; } + public string memberElementId { get; internal set; } /// /// The name of the memberElement relative to the membershipOwningNamespace. @@ -149,7 +149,7 @@ public partial class Membership : IMembership [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [Implements(implementation: "IMembership.MembershipOwningNamespace")] - public Guid MembershipOwningNamespace { get; internal set; } + public Guid membershipOwningNamespace { get; internal set; } /// /// The short name of the memberElement relative to the membershipOwningNamespace. @@ -166,7 +166,7 @@ public partial class Membership : IMembership /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } + public string name { get; internal set; } /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -176,7 +176,7 @@ public partial class Membership : IMembership [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } + public List ownedAnnotation { get; internal set; } /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -184,7 +184,7 @@ public partial class Membership : IMembership /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } + public List ownedElement { get; internal set; } /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -208,7 +208,7 @@ public partial class Membership : IMembership /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } + public Guid? owner { get; internal set; } /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -217,7 +217,7 @@ public partial class Membership : IMembership [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } + public Guid? owningMembership { get; internal set; } /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -226,7 +226,7 @@ public partial class Membership : IMembership [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } + public Guid? owningNamespace { get; internal set; } /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -254,7 +254,7 @@ public partial class Membership : IMembership /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } + public string qualifiedName { get; internal set; } /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -262,7 +262,7 @@ public partial class Membership : IMembership /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } + public List relatedElement { get; internal set; } /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -272,7 +272,7 @@ public partial class Membership : IMembership /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } + public string shortName { get; internal set; } /// /// The relatedElements from which this Relationship is considered to be directed. @@ -281,7 +281,11 @@ public partial class Membership : IMembership [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembership.MembershipOwningNamespace")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -290,7 +294,11 @@ public partial class Membership : IMembership [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembership.MemberElement")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + set => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + } /// /// The TextualRepresentations that annotate this Element. @@ -299,7 +307,7 @@ public partial class Membership : IMembership [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } + public List textualRepresentation { get; internal set; } /// /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/MultiplicityRange.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/MultiplicityRange.cs index 0dc21051..f7d7ea20 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/MultiplicityRange.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/MultiplicityRange.cs @@ -66,7 +66,7 @@ public partial class MultiplicityRange : IMultiplicityRange [Property(xmiId: "_19_0_2_12e503d9_1573095221994_519580_5095", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 2, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IMultiplicityRange.Bound")] - public List Bound { get; internal set; } + public List bound { get; internal set; } /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -78,7 +78,7 @@ public partial class MultiplicityRange : IMultiplicityRange /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } + public List chainingFeature { get; internal set; } /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -88,7 +88,7 @@ public partial class MultiplicityRange : IMultiplicityRange /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } + public Guid? crossFeature { get; internal set; } /// /// The declared name of this Element. @@ -118,7 +118,7 @@ public partial class MultiplicityRange : IMultiplicityRange /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } + public List differencingType { get; internal set; } /// /// The features of this Type that have a non-null direction. @@ -126,7 +126,7 @@ public partial class MultiplicityRange : IMultiplicityRange [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } + public List directedFeature { get; internal set; } /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -143,7 +143,7 @@ public partial class MultiplicityRange : IMultiplicityRange [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } + public List documentation { get; internal set; } /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -159,7 +159,7 @@ public partial class MultiplicityRange : IMultiplicityRange [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } + public List endFeature { get; internal set; } /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -169,7 +169,7 @@ public partial class MultiplicityRange : IMultiplicityRange [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } + public Guid? endOwningType { get; internal set; } /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -177,7 +177,7 @@ public partial class MultiplicityRange : IMultiplicityRange [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } + public List feature { get; internal set; } /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -186,14 +186,14 @@ public partial class MultiplicityRange : IMultiplicityRange /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } + public List featureMembership { get; internal set; } /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } + public Guid featureTarget { get; internal set; } /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -203,7 +203,7 @@ public partial class MultiplicityRange : IMultiplicityRange /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } + public List featuringType { get; internal set; } /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -211,7 +211,7 @@ public partial class MultiplicityRange : IMultiplicityRange [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } + public List importedMembership { get; internal set; } /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -219,7 +219,7 @@ public partial class MultiplicityRange : IMultiplicityRange [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } + public List inheritedFeature { get; internal set; } /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -228,7 +228,7 @@ public partial class MultiplicityRange : IMultiplicityRange [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } + public List inheritedMembership { get; internal set; } /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -236,7 +236,7 @@ public partial class MultiplicityRange : IMultiplicityRange [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } + public List input { get; internal set; } /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -249,7 +249,7 @@ public partial class MultiplicityRange : IMultiplicityRange /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } + public List intersectingType { get; internal set; } /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -273,7 +273,7 @@ public partial class MultiplicityRange : IMultiplicityRange /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } + public bool isConjugated { get; internal set; } /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -320,7 +320,7 @@ public partial class MultiplicityRange : IMultiplicityRange /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } + public bool isLibraryElement { get; internal set; } /// /// Whether an order exists for the values of this Feature or not. @@ -372,7 +372,7 @@ public partial class MultiplicityRange : IMultiplicityRange [Property(xmiId: "_19_0_2_12e503d9_1573094905677_801324_4744", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1573095221994_519580_5095")] [Implements(implementation: "IMultiplicityRange.LowerBound")] - public Guid? LowerBound { get; internal set; } + public Guid? lowerBound { get; internal set; } /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -380,7 +380,7 @@ public partial class MultiplicityRange : IMultiplicityRange /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } + public List member { get; internal set; } /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -388,7 +388,7 @@ public partial class MultiplicityRange : IMultiplicityRange /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } + public List membership { get; internal set; } /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -398,7 +398,7 @@ public partial class MultiplicityRange : IMultiplicityRange [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } + public Guid? multiplicity { get; internal set; } /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -408,7 +408,7 @@ public partial class MultiplicityRange : IMultiplicityRange /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } + public string name { get; internal set; } /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -416,7 +416,7 @@ public partial class MultiplicityRange : IMultiplicityRange [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } + public List output { get; internal set; } /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -426,7 +426,7 @@ public partial class MultiplicityRange : IMultiplicityRange [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } + public List ownedAnnotation { get; internal set; } /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -435,7 +435,7 @@ public partial class MultiplicityRange : IMultiplicityRange [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } + public Guid? ownedConjugator { get; internal set; } /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -444,7 +444,7 @@ public partial class MultiplicityRange : IMultiplicityRange [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } + public Guid? ownedCrossSubsetting { get; internal set; } /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -454,7 +454,7 @@ public partial class MultiplicityRange : IMultiplicityRange [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } + public List ownedDifferencing { get; internal set; } /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -464,7 +464,7 @@ public partial class MultiplicityRange : IMultiplicityRange [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } + public List ownedDisjoining { get; internal set; } /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -472,7 +472,7 @@ public partial class MultiplicityRange : IMultiplicityRange /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } + public List ownedElement { get; internal set; } /// /// All endFeatures of this Type that are ownedFeatures. @@ -481,7 +481,7 @@ public partial class MultiplicityRange : IMultiplicityRange [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } + public List ownedEndFeature { get; internal set; } /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -489,7 +489,7 @@ public partial class MultiplicityRange : IMultiplicityRange [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } + public List ownedFeature { get; internal set; } /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -499,7 +499,7 @@ public partial class MultiplicityRange : IMultiplicityRange [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } + public List ownedFeatureChaining { get; internal set; } /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -509,7 +509,7 @@ public partial class MultiplicityRange : IMultiplicityRange [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } + public List ownedFeatureInverting { get; internal set; } /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -519,7 +519,7 @@ public partial class MultiplicityRange : IMultiplicityRange [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } + public List ownedFeatureMembership { get; internal set; } /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -529,7 +529,7 @@ public partial class MultiplicityRange : IMultiplicityRange [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } + public List ownedImport { get; internal set; } /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -538,7 +538,7 @@ public partial class MultiplicityRange : IMultiplicityRange [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } + public List ownedIntersecting { get; internal set; } /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -547,7 +547,7 @@ public partial class MultiplicityRange : IMultiplicityRange [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } + public List ownedMember { get; internal set; } /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -558,7 +558,7 @@ public partial class MultiplicityRange : IMultiplicityRange [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } + public List ownedMembership { get; internal set; } /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -567,7 +567,7 @@ public partial class MultiplicityRange : IMultiplicityRange [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } + public List ownedRedefinition { get; internal set; } /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -576,7 +576,7 @@ public partial class MultiplicityRange : IMultiplicityRange [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } + public Guid? ownedReferenceSubsetting { get; internal set; } /// /// The Relationships for which this Element is the owningRelatedElement. @@ -594,7 +594,7 @@ public partial class MultiplicityRange : IMultiplicityRange [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } + public List ownedSpecialization { get; internal set; } /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -604,7 +604,7 @@ public partial class MultiplicityRange : IMultiplicityRange [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } + public List ownedSubsetting { get; internal set; } /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -614,7 +614,7 @@ public partial class MultiplicityRange : IMultiplicityRange [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } + public List ownedTypeFeaturing { get; internal set; } /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -624,7 +624,7 @@ public partial class MultiplicityRange : IMultiplicityRange [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } + public List ownedTyping { get; internal set; } /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -633,7 +633,7 @@ public partial class MultiplicityRange : IMultiplicityRange [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } + public List ownedUnioning { get; internal set; } /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -641,7 +641,7 @@ public partial class MultiplicityRange : IMultiplicityRange /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } + public Guid? owner { get; internal set; } /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -649,7 +649,7 @@ public partial class MultiplicityRange : IMultiplicityRange [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } + public Guid? owningFeatureMembership { get; internal set; } /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -658,7 +658,7 @@ public partial class MultiplicityRange : IMultiplicityRange [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } + public Guid? owningMembership { get; internal set; } /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -667,7 +667,7 @@ public partial class MultiplicityRange : IMultiplicityRange [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } + public Guid? owningNamespace { get; internal set; } /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -685,7 +685,7 @@ public partial class MultiplicityRange : IMultiplicityRange [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } + public Guid? owningType { get; internal set; } /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -697,7 +697,7 @@ public partial class MultiplicityRange : IMultiplicityRange /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } + public string qualifiedName { get; internal set; } /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -707,7 +707,7 @@ public partial class MultiplicityRange : IMultiplicityRange /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } + public string shortName { get; internal set; } /// /// The TextualRepresentations that annotate this Element. @@ -716,7 +716,7 @@ public partial class MultiplicityRange : IMultiplicityRange [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } + public List textualRepresentation { get; internal set; } /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -726,7 +726,7 @@ public partial class MultiplicityRange : IMultiplicityRange /// [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } + public List type { get; internal set; } /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -737,7 +737,7 @@ public partial class MultiplicityRange : IMultiplicityRange /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } + public List unioningType { get; internal set; } /// /// The Expression whose result is the upper bound of the MultiplicityRange. @@ -745,7 +745,7 @@ public partial class MultiplicityRange : IMultiplicityRange [Property(xmiId: "_19_0_2_12e503d9_1573094947427_797440_4796", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1573095221994_519580_5095")] [Implements(implementation: "IMultiplicityRange.UpperBound")] - public Guid UpperBound { get; internal set; } + public Guid upperBound { get; internal set; } } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/OwningMembership.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/OwningMembership.cs index 222dfc6f..5b95f118 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/OwningMembership.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/OwningMembership.cs @@ -77,7 +77,7 @@ public partial class OwningMembership : IOwningMembership [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } + public List documentation { get; internal set; } /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -111,7 +111,7 @@ public partial class OwningMembership : IOwningMembership /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } + public bool isLibraryElement { get; internal set; } /// /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. @@ -120,7 +120,11 @@ public partial class OwningMembership : IOwningMembership [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] [Implements(implementation: "IMembership.MemberElement")] - public Guid MemberElement { get; set; } + Guid IMembership.MemberElement + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + } /// /// The elementId of the memberElement. @@ -128,7 +132,7 @@ public partial class OwningMembership : IOwningMembership [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] [Implements(implementation: "IMembership.MemberElementId")] - public string MemberElementId { get; internal set; } + string IMembership.memberElementId => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElementId"); /// /// The name of the memberElement relative to the membershipOwningNamespace. @@ -136,7 +140,11 @@ public partial class OwningMembership : IOwningMembership [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberName")] [Implements(implementation: "IMembership.MemberName")] - public string MemberName { get; set; } + string IMembership.MemberName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + } /// /// The Namespace of which the memberElement becomes a member due to this Membership. @@ -146,7 +154,7 @@ public partial class OwningMembership : IOwningMembership [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [Implements(implementation: "IMembership.MembershipOwningNamespace")] - public Guid MembershipOwningNamespace { get; internal set; } + public Guid membershipOwningNamespace { get; internal set; } /// /// The short name of the memberElement relative to the membershipOwningNamespace. @@ -154,7 +162,11 @@ public partial class OwningMembership : IOwningMembership [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] [Implements(implementation: "IMembership.MemberShortName")] - public string MemberShortName { get; set; } + string IMembership.MemberShortName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + } /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -164,7 +176,7 @@ public partial class OwningMembership : IOwningMembership /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } + public string name { get; internal set; } /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -174,7 +186,7 @@ public partial class OwningMembership : IOwningMembership [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } + public List ownedAnnotation { get; internal set; } /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -182,7 +194,7 @@ public partial class OwningMembership : IOwningMembership /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } + public List ownedElement { get; internal set; } /// /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this @@ -192,7 +204,7 @@ public partial class OwningMembership : IOwningMembership [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_59873_43302")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] [Implements(implementation: "IOwningMembership.OwnedMemberElement")] - public Guid OwnedMemberElement { get; internal set; } + public Guid ownedMemberElement { get; internal set; } /// /// The elementId of the ownedMemberElement. @@ -200,7 +212,7 @@ public partial class OwningMembership : IOwningMembership [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] - public string OwnedMemberElementId { get; internal set; } + public string ownedMemberElementId { get; internal set; } /// /// The name of the ownedMemberElement. @@ -208,7 +220,7 @@ public partial class OwningMembership : IOwningMembership [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] [Implements(implementation: "IOwningMembership.OwnedMemberName")] - public string OwnedMemberName { get; internal set; } + public string ownedMemberName { get; internal set; } /// /// The shortName of the ownedMemberElement. @@ -216,7 +228,7 @@ public partial class OwningMembership : IOwningMembership [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] - public string OwnedMemberShortName { get; internal set; } + public string ownedMemberShortName { get; internal set; } /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -240,7 +252,7 @@ public partial class OwningMembership : IOwningMembership /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } + public Guid? owner { get; internal set; } /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -249,7 +261,7 @@ public partial class OwningMembership : IOwningMembership [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - Guid? Root.Elements.IElement.OwningMembership { get; } + public Guid? owningMembership { get; internal set; } /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -258,7 +270,7 @@ public partial class OwningMembership : IOwningMembership [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } + public Guid? owningNamespace { get; internal set; } /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -286,7 +298,7 @@ public partial class OwningMembership : IOwningMembership /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } + public string qualifiedName { get; internal set; } /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -294,7 +306,7 @@ public partial class OwningMembership : IOwningMembership /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } + public List relatedElement { get; internal set; } /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -304,7 +316,7 @@ public partial class OwningMembership : IOwningMembership /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } + public string shortName { get; internal set; } /// /// The relatedElements from which this Relationship is considered to be directed. @@ -313,7 +325,11 @@ public partial class OwningMembership : IOwningMembership [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembership.MembershipOwningNamespace")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -322,7 +338,11 @@ public partial class OwningMembership : IOwningMembership [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembership.MemberElement")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + set => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + } /// /// The TextualRepresentations that annotate this Element. @@ -331,7 +351,7 @@ public partial class OwningMembership : IOwningMembership [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } + public List textualRepresentation { get; internal set; } /// /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/ReferenceSubsetting.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/ReferenceSubsetting.cs index 971a426a..cafc494b 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/ReferenceSubsetting.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/ReferenceSubsetting.cs @@ -80,7 +80,7 @@ public partial class ReferenceSubsetting : IReferenceSubsetting [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } + public List documentation { get; internal set; } /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -97,7 +97,11 @@ public partial class ReferenceSubsetting : IReferenceSubsetting [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [RedefinedByProperty("ISubsetting.SubsettedFeature")] [Implements(implementation: "ISpecialization.General")] - public Guid General { get; set; } + Guid Core.Types.ISpecialization.General + { + get => throw new InvalidOperationException("Redefined by property ISubsetting.SubsettedFeature"); + set => throw new InvalidOperationException("Redefined by property ISubsetting.SubsettedFeature"); + } /// /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being @@ -123,7 +127,7 @@ public partial class ReferenceSubsetting : IReferenceSubsetting /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } + public bool isLibraryElement { get; internal set; } /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -133,7 +137,7 @@ public partial class ReferenceSubsetting : IReferenceSubsetting /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } + public string name { get; internal set; } /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -143,7 +147,7 @@ public partial class ReferenceSubsetting : IReferenceSubsetting [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } + public List ownedAnnotation { get; internal set; } /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -151,7 +155,7 @@ public partial class ReferenceSubsetting : IReferenceSubsetting /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } + public List ownedElement { get; internal set; } /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -175,7 +179,7 @@ public partial class ReferenceSubsetting : IReferenceSubsetting /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } + public Guid? owner { get; internal set; } /// /// A subsettingFeature that is also the owningRelatedElement of this Subsetting. @@ -185,7 +189,7 @@ public partial class ReferenceSubsetting : IReferenceSubsetting [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_573157_43226")] [RedefinedByProperty("IReferenceSubsetting.ReferencingFeature")] [Implements(implementation: "ISubsetting.OwningFeature")] - public Guid? OwningFeature { get; internal set; } + Guid? ISubsetting.owningFeature => throw new InvalidOperationException("Redefined by property IReferenceSubsetting.ReferencingFeature"); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -194,7 +198,7 @@ public partial class ReferenceSubsetting : IReferenceSubsetting [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } + public Guid? owningMembership { get; internal set; } /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -203,7 +207,7 @@ public partial class ReferenceSubsetting : IReferenceSubsetting [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } + public Guid? owningNamespace { get; internal set; } /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -229,7 +233,7 @@ public partial class ReferenceSubsetting : IReferenceSubsetting [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] [RedefinedByProperty("ISubsetting.OwningFeature")] [Implements(implementation: "ISpecialization.OwningType")] - public Guid? OwningType { get; internal set; } + Guid? Core.Types.ISpecialization.owningType => throw new InvalidOperationException("Redefined by property ISubsetting.OwningFeature"); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -241,7 +245,7 @@ public partial class ReferenceSubsetting : IReferenceSubsetting /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } + public string qualifiedName { get; internal set; } /// /// The Feature that is referenced by the referencingFeature of this ReferenceSubsetting. @@ -258,7 +262,7 @@ public partial class ReferenceSubsetting : IReferenceSubsetting [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_236250_43311")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674967_140305_43206")] [Implements(implementation: "IReferenceSubsetting.ReferencingFeature")] - public Guid ReferencingFeature { get; internal set; } + public Guid referencingFeature { get; internal set; } /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -266,7 +270,7 @@ public partial class ReferenceSubsetting : IReferenceSubsetting /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } + public List relatedElement { get; internal set; } /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -276,7 +280,7 @@ public partial class ReferenceSubsetting : IReferenceSubsetting /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } + public string shortName { get; internal set; } /// /// The relatedElements from which this Relationship is considered to be directed. @@ -285,7 +289,11 @@ public partial class ReferenceSubsetting : IReferenceSubsetting [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("ISpecialization.Specific")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property ISpecialization.Specific"); + set => throw new InvalidOperationException("Redefined by property ISpecialization.Specific"); + } /// /// A Type with a subset of all instances of the general Type, which might be the same set. @@ -294,7 +302,11 @@ public partial class ReferenceSubsetting : IReferenceSubsetting [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [RedefinedByProperty("ISubsetting.SubsettingFeature")] [Implements(implementation: "ISpecialization.Specific")] - public Guid Specific { get; set; } + Guid Core.Types.ISpecialization.Specific + { + get => throw new InvalidOperationException("Redefined by property ISubsetting.SubsettingFeature"); + set => throw new InvalidOperationException("Redefined by property ISubsetting.SubsettingFeature"); + } /// /// The Feature that is subsetted by the subsettingFeature of this Subsetting. @@ -303,7 +315,11 @@ public partial class ReferenceSubsetting : IReferenceSubsetting [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_563969_43273")] [RedefinedByProperty("IReferenceSubsetting.ReferencedFeature")] [Implements(implementation: "ISubsetting.SubsettedFeature")] - public Guid SubsettedFeature { get; set; } + Guid ISubsetting.SubsettedFeature + { + get => throw new InvalidOperationException("Redefined by property IReferenceSubsetting.ReferencedFeature"); + set => throw new InvalidOperationException("Redefined by property IReferenceSubsetting.ReferencedFeature"); + } /// /// The Feature that is a subset of the subsettedFeature of this Subsetting. @@ -312,7 +328,11 @@ public partial class ReferenceSubsetting : IReferenceSubsetting [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] [RedefinedByProperty("IReferenceSubsetting.ReferencingFeature")] [Implements(implementation: "ISubsetting.SubsettingFeature")] - public Guid SubsettingFeature { get; set; } + Guid ISubsetting.SubsettingFeature + { + get => throw new InvalidOperationException("Redefined by property IReferenceSubsetting.ReferencingFeature"); + set => throw new InvalidOperationException("Redefined by property IReferenceSubsetting.ReferencingFeature"); + } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -321,7 +341,11 @@ public partial class ReferenceSubsetting : IReferenceSubsetting [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("ISpecialization.General")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property ISpecialization.General"); + set => throw new InvalidOperationException("Redefined by property ISpecialization.General"); + } /// /// The TextualRepresentations that annotate this Element. @@ -330,7 +354,7 @@ public partial class ReferenceSubsetting : IReferenceSubsetting [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } + public List textualRepresentation { get; internal set; } } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/RequirementUsage.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/RequirementUsage.cs index 12ac3b39..80d87414 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/RequirementUsage.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/RequirementUsage.cs @@ -54,7 +54,7 @@ public partial class RequirementUsage : IRequirementUsage [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IRequirementUsage.ActorParameter")] - public List ActorParameter { get; internal set; } + public List actorParameter { get; internal set; } /// /// Various alternative identifiers for this Element. Generally, these will be set by tools. @@ -71,7 +71,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_19_0_2_12e503d9_1583377612865_991722_535", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IRequirementUsage.AssumedConstraint")] - public List AssumedConstraint { get; internal set; } + public List assumedConstraint { get; internal set; } /// /// The Behaviors that type this Step. @@ -80,7 +80,7 @@ public partial class RequirementUsage : IRequirementUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IExpression.Function")] [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -92,7 +92,7 @@ public partial class RequirementUsage : IRequirementUsage /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } + public List chainingFeature { get; internal set; } /// /// The (single) Predicate that is the type of this ConstraintUsage. Nominally, this will be a @@ -103,7 +103,7 @@ public partial class RequirementUsage : IRequirementUsage [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1578025035149_386_969")] [RedefinedByProperty("IRequirementUsage.RequirementDefinition")] [Implements(implementation: "IConstraintUsage.ConstraintDefinition")] - public Guid? ConstraintDefinition { get; internal set; } + Guid? Systems.Constraints.IConstraintUsage.constraintDefinition => throw new InvalidOperationException("Redefined by property IRequirementUsage.RequirementDefinition"); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -113,7 +113,7 @@ public partial class RequirementUsage : IRequirementUsage /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } + public Guid? crossFeature { get; internal set; } /// /// The declared name of this Element. @@ -131,7 +131,11 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IRequirementUsage.ReqId")] [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } + string Root.Elements.IElement.DeclaredShortName + { + get => throw new InvalidOperationException("Redefined by property IRequirementUsage.ReqId"); + set => throw new InvalidOperationException("Redefined by property IRequirementUsage.ReqId"); + } /// /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds @@ -142,7 +146,7 @@ public partial class RequirementUsage : IRequirementUsage [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] [Implements(implementation: "IUsage.Definition")] - public List Definition { get; internal set; } + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -155,7 +159,7 @@ public partial class RequirementUsage : IRequirementUsage /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } + public List differencingType { get; internal set; } /// /// The features of this Type that have a non-null direction. @@ -164,7 +168,7 @@ public partial class RequirementUsage : IRequirementUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// The usages of this Usage that are directedFeatures. @@ -173,7 +177,7 @@ public partial class RequirementUsage : IRequirementUsage [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List DirectedUsage { get; internal set; } + public List directedUsage { get; internal set; } /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -190,7 +194,7 @@ public partial class RequirementUsage : IRequirementUsage [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } + public List documentation { get; internal set; } /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -206,7 +210,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } + public List endFeature { get; internal set; } /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -216,7 +220,7 @@ public partial class RequirementUsage : IRequirementUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } + public Guid? endOwningType { get; internal set; } /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -224,7 +228,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } + public List feature { get; internal set; } /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -233,14 +237,14 @@ public partial class RequirementUsage : IRequirementUsage /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } + public List featureMembership { get; internal set; } /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } + public Guid featureTarget { get; internal set; } /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -250,7 +254,7 @@ public partial class RequirementUsage : IRequirementUsage /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } + public List featuringType { get; internal set; } /// /// The ConcernUsages framed by this RequirementUsage, which are the ownedConcerns of all @@ -259,7 +263,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_19_0_4_12e503d9_1617116922864_514612_3264", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583377448339_252740_390")] [Implements(implementation: "IRequirementUsage.FramedConcern")] - public List FramedConcern { get; internal set; } + public List framedConcern { get; internal set; } /// /// The Function that types this Expression. @@ -268,7 +272,7 @@ public partial class RequirementUsage : IRequirementUsage [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [RedefinedByProperty("IBooleanExpression.Predicate")] [Implements(implementation: "IExpression.Function")] - public Guid? Function { get; internal set; } + Guid? Kernel.Functions.IExpression.function => throw new InvalidOperationException("Redefined by property IBooleanExpression.Predicate"); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -276,7 +280,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } + public List importedMembership { get; internal set; } /// /// The at most one occurrenceDefinition that has isIndividual = true. @@ -284,7 +288,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public Guid? IndividualDefinition { get; internal set; } + public Guid? individualDefinition { get; internal set; } /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -292,7 +296,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } + public List inheritedFeature { get; internal set; } /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -301,7 +305,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } + public List inheritedMembership { get; internal set; } /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -309,7 +313,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } + public List input { get; internal set; } /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -322,7 +326,7 @@ public partial class RequirementUsage : IRequirementUsage /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } + public List intersectingType { get; internal set; } /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -346,7 +350,7 @@ public partial class RequirementUsage : IRequirementUsage /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } + public bool isConjugated { get; internal set; } /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -401,7 +405,7 @@ public partial class RequirementUsage : IRequirementUsage /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } + public bool isLibraryElement { get; internal set; } /// /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, @@ -409,7 +413,7 @@ public partial class RequirementUsage : IRequirementUsage /// [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool IsModelLevelEvaluable { get; internal set; } + public bool isModelLevelEvaluable { get; internal set; } /// /// Whether an order exists for the values of this Feature or not. @@ -431,7 +435,7 @@ public partial class RequirementUsage : IRequirementUsage /// [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IUsage.IsReference")] - public bool IsReference { get; internal set; } + public bool isReference { get; internal set; } /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -459,7 +463,11 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -480,7 +488,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool MayTimeVary { get; internal set; } + public bool mayTimeVary { get; internal set; } /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -488,7 +496,7 @@ public partial class RequirementUsage : IRequirementUsage /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } + public List member { get; internal set; } /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -496,7 +504,7 @@ public partial class RequirementUsage : IRequirementUsage /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } + public List membership { get; internal set; } /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -506,7 +514,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } + public Guid? multiplicity { get; internal set; } /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -516,7 +524,7 @@ public partial class RequirementUsage : IRequirementUsage /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } + public string name { get; internal set; } /// /// The ActionUsages that are nestedUsages of this Usage. @@ -524,7 +532,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List NestedAction { get; internal set; } + public List nestedAction { get; internal set; } /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -532,7 +540,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List NestedAllocation { get; internal set; } + public List nestedAllocation { get; internal set; } /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -540,7 +548,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List NestedAnalysisCase { get; internal set; } + public List nestedAnalysisCase { get; internal set; } /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -548,7 +556,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List NestedAttribute { get; internal set; } + public List nestedAttribute { get; internal set; } /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -556,7 +564,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List NestedCalculation { get; internal set; } + public List nestedCalculation { get; internal set; } /// /// The CaseUsages that are nestedUsages of this Usage. @@ -564,7 +572,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List NestedCase { get; internal set; } + public List nestedCase { get; internal set; } /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -572,7 +580,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List NestedConcern { get; internal set; } + public List nestedConcern { get; internal set; } /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -582,7 +590,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List NestedConnection { get; internal set; } + public List nestedConnection { get; internal set; } /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -590,7 +598,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List NestedConstraint { get; internal set; } + public List nestedConstraint { get; internal set; } /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -598,7 +606,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List NestedEnumeration { get; internal set; } + public List nestedEnumeration { get; internal set; } /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -606,7 +614,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List NestedFlow { get; internal set; } + public List nestedFlow { get; internal set; } /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -614,7 +622,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List NestedInterface { get; internal set; } + public List nestedInterface { get; internal set; } /// /// The ItemUsages that are nestedUsages of this Usage. @@ -622,7 +630,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List NestedItem { get; internal set; } + public List nestedItem { get; internal set; } /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -630,7 +638,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List NestedMetadata { get; internal set; } + public List nestedMetadata { get; internal set; } /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -638,7 +646,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List NestedOccurrence { get; internal set; } + public List nestedOccurrence { get; internal set; } /// /// The PartUsages that are nestedUsages of this Usage. @@ -646,7 +654,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List NestedPart { get; internal set; } + public List nestedPart { get; internal set; } /// /// The PortUsages that are nestedUsages of this Usage. @@ -654,7 +662,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List NestedPort { get; internal set; } + public List nestedPort { get; internal set; } /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -662,7 +670,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List NestedReference { get; internal set; } + public List nestedReference { get; internal set; } /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -670,7 +678,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List NestedRendering { get; internal set; } + public List nestedRendering { get; internal set; } /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -678,7 +686,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List NestedRequirement { get; internal set; } + public List nestedRequirement { get; internal set; } /// /// The StateUsages that are nestedUsages of this Usage. @@ -686,7 +694,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List NestedState { get; internal set; } + public List nestedState { get; internal set; } /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -694,7 +702,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List NestedTransition { get; internal set; } + public List nestedTransition { get; internal set; } /// /// The Usages that are ownedFeatures of this Usage. @@ -703,7 +711,7 @@ public partial class RequirementUsage : IRequirementUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List NestedUsage { get; internal set; } + public List nestedUsage { get; internal set; } /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -711,7 +719,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List NestedUseCase { get; internal set; } + public List nestedUseCase { get; internal set; } /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -719,7 +727,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List NestedVerificationCase { get; internal set; } + public List nestedVerificationCase { get; internal set; } /// /// The ViewUsages that are nestedUsages of this Usage. @@ -727,7 +735,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List NestedView { get; internal set; } + public List nestedView { get; internal set; } /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -735,7 +743,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List NestedViewpoint { get; internal set; } + public List nestedViewpoint { get; internal set; } /// /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, @@ -745,7 +753,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List OccurrenceDefinition { get; internal set; } + public List occurrenceDefinition { get; internal set; } /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -753,7 +761,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } + public List output { get; internal set; } /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -763,7 +771,7 @@ public partial class RequirementUsage : IRequirementUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } + public List ownedAnnotation { get; internal set; } /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -772,7 +780,7 @@ public partial class RequirementUsage : IRequirementUsage [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } + public Guid? ownedConjugator { get; internal set; } /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -781,7 +789,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } + public Guid? ownedCrossSubsetting { get; internal set; } /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -791,7 +799,7 @@ public partial class RequirementUsage : IRequirementUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } + public List ownedDifferencing { get; internal set; } /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -801,7 +809,7 @@ public partial class RequirementUsage : IRequirementUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } + public List ownedDisjoining { get; internal set; } /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -809,7 +817,7 @@ public partial class RequirementUsage : IRequirementUsage /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } + public List ownedElement { get; internal set; } /// /// All endFeatures of this Type that are ownedFeatures. @@ -818,7 +826,7 @@ public partial class RequirementUsage : IRequirementUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } + public List ownedEndFeature { get; internal set; } /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -826,7 +834,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } + public List ownedFeature { get; internal set; } /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -836,7 +844,7 @@ public partial class RequirementUsage : IRequirementUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } + public List ownedFeatureChaining { get; internal set; } /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -846,7 +854,7 @@ public partial class RequirementUsage : IRequirementUsage [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } + public List ownedFeatureInverting { get; internal set; } /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -856,7 +864,7 @@ public partial class RequirementUsage : IRequirementUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } + public List ownedFeatureMembership { get; internal set; } /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -866,7 +874,7 @@ public partial class RequirementUsage : IRequirementUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } + public List ownedImport { get; internal set; } /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -875,7 +883,7 @@ public partial class RequirementUsage : IRequirementUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } + public List ownedIntersecting { get; internal set; } /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -884,7 +892,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } + public List ownedMember { get; internal set; } /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -895,7 +903,7 @@ public partial class RequirementUsage : IRequirementUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } + public List ownedMembership { get; internal set; } /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -904,7 +912,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } + public List ownedRedefinition { get; internal set; } /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -913,7 +921,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } + public Guid? ownedReferenceSubsetting { get; internal set; } /// /// The Relationships for which this Element is the owningRelatedElement. @@ -931,7 +939,7 @@ public partial class RequirementUsage : IRequirementUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } + public List ownedSpecialization { get; internal set; } /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -941,7 +949,7 @@ public partial class RequirementUsage : IRequirementUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } + public List ownedSubsetting { get; internal set; } /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -951,7 +959,7 @@ public partial class RequirementUsage : IRequirementUsage [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } + public List ownedTypeFeaturing { get; internal set; } /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -961,7 +969,7 @@ public partial class RequirementUsage : IRequirementUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } + public List ownedTyping { get; internal set; } /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -970,7 +978,7 @@ public partial class RequirementUsage : IRequirementUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } + public List ownedUnioning { get; internal set; } /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -978,7 +986,7 @@ public partial class RequirementUsage : IRequirementUsage /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } + public Guid? owner { get; internal set; } /// /// The Definition that owns this Usage (if any). @@ -987,7 +995,7 @@ public partial class RequirementUsage : IRequirementUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public Guid? OwningDefinition { get; internal set; } + public Guid? owningDefinition { get; internal set; } /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -995,7 +1003,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } + public Guid? owningFeatureMembership { get; internal set; } /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1004,7 +1012,7 @@ public partial class RequirementUsage : IRequirementUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } + public Guid? owningMembership { get; internal set; } /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1013,7 +1021,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } + public Guid? owningNamespace { get; internal set; } /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -1031,7 +1039,7 @@ public partial class RequirementUsage : IRequirementUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } + public Guid? owningType { get; internal set; } /// /// The Usage in which this Usage is nested (if any). @@ -1039,7 +1047,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public Guid? OwningUsage { get; internal set; } + public Guid? owningUsage { get; internal set; } /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -1048,7 +1056,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } + public List parameter { get; internal set; } /// /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If @@ -1066,7 +1074,7 @@ public partial class RequirementUsage : IRequirementUsage [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1543948477241_299049_20934")] [RedefinedByProperty("IConstraintUsage.ConstraintDefinition")] [Implements(implementation: "IBooleanExpression.Predicate")] - public Guid? Predicate { get; internal set; } + Guid? Kernel.Functions.IBooleanExpression.predicate => throw new InvalidOperationException("Redefined by property IConstraintUsage.ConstraintDefinition"); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -1078,7 +1086,7 @@ public partial class RequirementUsage : IRequirementUsage /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } + public string qualifiedName { get; internal set; } /// /// An optional modeler-specified identifier for this RequirementUsage (used, e.g., to link it to an @@ -1098,7 +1106,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_19_0_2_12e503d9_1583377448339_252740_390", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IRequirementUsage.RequiredConstraint")] - public List RequiredConstraint { get; internal set; } + public List requiredConstraint { get; internal set; } /// /// The RequirementDefinition that is the single definition of this RequirementUsage. @@ -1106,7 +1114,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_19_0_2_12e503d9_1583000408905_769743_1223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1578067546711_751168_1745")] [Implements(implementation: "IRequirementUsage.RequirementDefinition")] - public Guid? RequirementDefinition { get; internal set; } + public Guid? requirementDefinition { get; internal set; } /// /// An output parameter of the Expression whose value is the result of the Expression. The result of an @@ -1117,7 +1125,7 @@ public partial class RequirementUsage : IRequirementUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [Implements(implementation: "IExpression.Result")] - public Guid Result { get; internal set; } + public Guid result { get; internal set; } /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1127,7 +1135,7 @@ public partial class RequirementUsage : IRequirementUsage /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } + public string shortName { get; internal set; } /// /// The parameters of this RequirementUsage that represent stakeholders for the requirement. @@ -1136,7 +1144,7 @@ public partial class RequirementUsage : IRequirementUsage [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IRequirementUsage.StakeholderParameter")] - public List StakeholderParameter { get; internal set; } + public List stakeholderParameter { get; internal set; } /// /// The parameter of this RequirementUsage that represents its subject. @@ -1145,7 +1153,7 @@ public partial class RequirementUsage : IRequirementUsage [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IRequirementUsage.SubjectParameter")] - public Guid SubjectParameter { get; internal set; } + public Guid subjectParameter { get; internal set; } /// /// An optional textual statement of the requirement represented by this RequirementUsage, derived from @@ -1153,7 +1161,7 @@ public partial class RequirementUsage : IRequirementUsage /// [Property(xmiId: "_19_0_2_12e503d9_1583376480942_745679_99", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IRequirementUsage.Text")] - public List Text { get; internal set; } + public List text { get; internal set; } /// /// The TextualRepresentations that annotate this Element. @@ -1162,7 +1170,7 @@ public partial class RequirementUsage : IRequirementUsage [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } + public List textualRepresentation { get; internal set; } /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1173,7 +1181,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1184,7 +1192,7 @@ public partial class RequirementUsage : IRequirementUsage /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } + public List unioningType { get; internal set; } /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1192,7 +1200,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List Usage { get; internal set; } + public List usage { get; internal set; } /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1201,7 +1209,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List Variant { get; internal set; } + public List variant { get; internal set; } /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1210,7 +1218,7 @@ public partial class RequirementUsage : IRequirementUsage [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List VariantMembership { get; internal set; } + public List variantMembership { get; internal set; } } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/SelectExpression.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/SelectExpression.cs index c3ed2920..3168b9c3 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/SelectExpression.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/SelectExpression.cs @@ -61,7 +61,7 @@ public partial class SelectExpression : ISelectExpression /// [Property(xmiId: "_2022x_2_12e503d9_1739134437590_328753_108", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IInstantiationExpression.Argument")] - public List Argument { get; internal set; } + public List argument { get; internal set; } /// /// The Behaviors that type this Step. @@ -70,7 +70,7 @@ public partial class SelectExpression : ISelectExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IExpression.Function")] [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -82,7 +82,7 @@ public partial class SelectExpression : ISelectExpression /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } + public List chainingFeature { get; internal set; } /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -92,7 +92,7 @@ public partial class SelectExpression : ISelectExpression /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } + public Guid? crossFeature { get; internal set; } /// /// The declared name of this Element. @@ -122,7 +122,7 @@ public partial class SelectExpression : ISelectExpression /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } + public List differencingType { get; internal set; } /// /// The features of this Type that have a non-null direction. @@ -131,7 +131,7 @@ public partial class SelectExpression : ISelectExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -148,7 +148,7 @@ public partial class SelectExpression : ISelectExpression [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } + public List documentation { get; internal set; } /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -164,7 +164,7 @@ public partial class SelectExpression : ISelectExpression [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } + public List endFeature { get; internal set; } /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -174,7 +174,7 @@ public partial class SelectExpression : ISelectExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } + public Guid? endOwningType { get; internal set; } /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -182,7 +182,7 @@ public partial class SelectExpression : ISelectExpression [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } + public List feature { get; internal set; } /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -191,14 +191,14 @@ public partial class SelectExpression : ISelectExpression /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } + public List featureMembership { get; internal set; } /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } + public Guid featureTarget { get; internal set; } /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -208,7 +208,7 @@ public partial class SelectExpression : ISelectExpression /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } + public List featuringType { get; internal set; } /// /// The Function that types this Expression. @@ -216,7 +216,7 @@ public partial class SelectExpression : ISelectExpression [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [Implements(implementation: "IExpression.Function")] - public Guid? Function { get; internal set; } + public Guid? function { get; internal set; } /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -224,7 +224,7 @@ public partial class SelectExpression : ISelectExpression [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } + public List importedMembership { get; internal set; } /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -232,7 +232,7 @@ public partial class SelectExpression : ISelectExpression [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } + public List inheritedFeature { get; internal set; } /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -241,7 +241,7 @@ public partial class SelectExpression : ISelectExpression [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } + public List inheritedMembership { get; internal set; } /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -249,7 +249,7 @@ public partial class SelectExpression : ISelectExpression [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } + public List input { get; internal set; } /// /// The Type that is being instantiated. @@ -257,7 +257,7 @@ public partial class SelectExpression : ISelectExpression [Property(xmiId: "_2022x_2_12e503d9_1739134352572_416088_80", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IInstantiationExpression.InstantiatedType")] - public Guid InstantiatedType { get; internal set; } + public Guid instantiatedType { get; internal set; } /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -270,7 +270,7 @@ public partial class SelectExpression : ISelectExpression /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } + public List intersectingType { get; internal set; } /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -294,7 +294,7 @@ public partial class SelectExpression : ISelectExpression /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } + public bool isConjugated { get; internal set; } /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -341,7 +341,7 @@ public partial class SelectExpression : ISelectExpression /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } + public bool isLibraryElement { get; internal set; } /// /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, @@ -349,7 +349,7 @@ public partial class SelectExpression : ISelectExpression /// [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool IsModelLevelEvaluable { get; internal set; } + public bool isModelLevelEvaluable { get; internal set; } /// /// Whether an order exists for the values of this Feature or not. @@ -399,7 +399,7 @@ public partial class SelectExpression : ISelectExpression /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } + public List member { get; internal set; } /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -407,7 +407,7 @@ public partial class SelectExpression : ISelectExpression /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } + public List membership { get; internal set; } /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -417,7 +417,7 @@ public partial class SelectExpression : ISelectExpression [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } + public Guid? multiplicity { get; internal set; } /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -427,14 +427,14 @@ public partial class SelectExpression : ISelectExpression /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } + public string name { get; internal set; } /// /// [Property(xmiId: "_18_5_3_12e503d9_1559596728932_861031_29126", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "select")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1557528808100_646606_111674")] [Implements(implementation: "ISelectExpression.Operator")] - string ISelectExpression.Operator { get; set; } = "select"; + public string Operator { get; set; } = "select"; /// /// An operator symbol that names a corresponding Function from one of the standard packages from the @@ -443,7 +443,11 @@ public partial class SelectExpression : ISelectExpression [Property(xmiId: "_18_5_3_12e503d9_1557528808100_646606_111674", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("ISelectExpression.Operator")] [Implements(implementation: "IOperatorExpression.Operator")] - string IOperatorExpression.Operator { get; set; } + string IOperatorExpression.Operator + { + get => throw new InvalidOperationException("Redefined by property ISelectExpression.Operator"); + set => throw new InvalidOperationException("Redefined by property ISelectExpression.Operator"); + } /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -451,7 +455,7 @@ public partial class SelectExpression : ISelectExpression [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } + public List output { get; internal set; } /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -461,7 +465,7 @@ public partial class SelectExpression : ISelectExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } + public List ownedAnnotation { get; internal set; } /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -470,7 +474,7 @@ public partial class SelectExpression : ISelectExpression [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } + public Guid? ownedConjugator { get; internal set; } /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -479,7 +483,7 @@ public partial class SelectExpression : ISelectExpression [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } + public Guid? ownedCrossSubsetting { get; internal set; } /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -489,7 +493,7 @@ public partial class SelectExpression : ISelectExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } + public List ownedDifferencing { get; internal set; } /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -499,7 +503,7 @@ public partial class SelectExpression : ISelectExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } + public List ownedDisjoining { get; internal set; } /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -507,7 +511,7 @@ public partial class SelectExpression : ISelectExpression /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } + public List ownedElement { get; internal set; } /// /// All endFeatures of this Type that are ownedFeatures. @@ -516,7 +520,7 @@ public partial class SelectExpression : ISelectExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } + public List ownedEndFeature { get; internal set; } /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -524,7 +528,7 @@ public partial class SelectExpression : ISelectExpression [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } + public List ownedFeature { get; internal set; } /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -534,7 +538,7 @@ public partial class SelectExpression : ISelectExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } + public List ownedFeatureChaining { get; internal set; } /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -544,7 +548,7 @@ public partial class SelectExpression : ISelectExpression [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } + public List ownedFeatureInverting { get; internal set; } /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -554,7 +558,7 @@ public partial class SelectExpression : ISelectExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } + public List ownedFeatureMembership { get; internal set; } /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -564,7 +568,7 @@ public partial class SelectExpression : ISelectExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } + public List ownedImport { get; internal set; } /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -573,7 +577,7 @@ public partial class SelectExpression : ISelectExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } + public List ownedIntersecting { get; internal set; } /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -582,7 +586,7 @@ public partial class SelectExpression : ISelectExpression [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } + public List ownedMember { get; internal set; } /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -593,7 +597,7 @@ public partial class SelectExpression : ISelectExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } + public List ownedMembership { get; internal set; } /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -602,7 +606,7 @@ public partial class SelectExpression : ISelectExpression [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } + public List ownedRedefinition { get; internal set; } /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -611,7 +615,7 @@ public partial class SelectExpression : ISelectExpression [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } + public Guid? ownedReferenceSubsetting { get; internal set; } /// /// The Relationships for which this Element is the owningRelatedElement. @@ -629,7 +633,7 @@ public partial class SelectExpression : ISelectExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } + public List ownedSpecialization { get; internal set; } /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -639,7 +643,7 @@ public partial class SelectExpression : ISelectExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } + public List ownedSubsetting { get; internal set; } /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -649,7 +653,7 @@ public partial class SelectExpression : ISelectExpression [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } + public List ownedTypeFeaturing { get; internal set; } /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -659,7 +663,7 @@ public partial class SelectExpression : ISelectExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } + public List ownedTyping { get; internal set; } /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -668,7 +672,7 @@ public partial class SelectExpression : ISelectExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } + public List ownedUnioning { get; internal set; } /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -676,7 +680,7 @@ public partial class SelectExpression : ISelectExpression /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } + public Guid? owner { get; internal set; } /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -684,7 +688,7 @@ public partial class SelectExpression : ISelectExpression [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } + public Guid? owningFeatureMembership { get; internal set; } /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -693,7 +697,7 @@ public partial class SelectExpression : ISelectExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } + public Guid? owningMembership { get; internal set; } /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -702,7 +706,7 @@ public partial class SelectExpression : ISelectExpression [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } + public Guid? owningNamespace { get; internal set; } /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -720,7 +724,7 @@ public partial class SelectExpression : ISelectExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } + public Guid? owningType { get; internal set; } /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -729,7 +733,7 @@ public partial class SelectExpression : ISelectExpression [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } + public List parameter { get; internal set; } /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -741,7 +745,7 @@ public partial class SelectExpression : ISelectExpression /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } + public string qualifiedName { get; internal set; } /// /// An output parameter of the Expression whose value is the result of the Expression. The result of an @@ -752,7 +756,7 @@ public partial class SelectExpression : ISelectExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [Implements(implementation: "IExpression.Result")] - public Guid Result { get; internal set; } + public Guid result { get; internal set; } /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -762,7 +766,7 @@ public partial class SelectExpression : ISelectExpression /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } + public string shortName { get; internal set; } /// /// The TextualRepresentations that annotate this Element. @@ -771,7 +775,7 @@ public partial class SelectExpression : ISelectExpression [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } + public List textualRepresentation { get; internal set; } /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -781,7 +785,7 @@ public partial class SelectExpression : ISelectExpression /// [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } + public List type { get; internal set; } /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -792,7 +796,7 @@ public partial class SelectExpression : ISelectExpression /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } + public List unioningType { get; internal set; } } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/Subclassification.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/Subclassification.cs index 4edc024e..a411a2e6 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/Subclassification.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/Subclassification.cs @@ -77,7 +77,7 @@ public partial class Subclassification : ISubclassification [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } + public List documentation { get; internal set; } /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -94,7 +94,11 @@ public partial class Subclassification : ISubclassification [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [RedefinedByProperty("ISubclassification.Superclassifier")] [Implements(implementation: "ISpecialization.General")] - public Guid General { get; set; } + Guid Core.Types.ISpecialization.General + { + get => throw new InvalidOperationException("Redefined by property ISubclassification.Superclassifier"); + set => throw new InvalidOperationException("Redefined by property ISubclassification.Superclassifier"); + } /// /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being @@ -120,7 +124,7 @@ public partial class Subclassification : ISubclassification /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } + public bool isLibraryElement { get; internal set; } /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -130,7 +134,7 @@ public partial class Subclassification : ISubclassification /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } + public string name { get; internal set; } /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -140,7 +144,7 @@ public partial class Subclassification : ISubclassification [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } + public List ownedAnnotation { get; internal set; } /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -148,7 +152,7 @@ public partial class Subclassification : ISubclassification /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } + public List ownedElement { get; internal set; } /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -172,7 +176,7 @@ public partial class Subclassification : ISubclassification /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } + public Guid? owner { get; internal set; } /// /// The Classifier that owns this Subclassification relationship, which must also be its subclassifier. @@ -180,7 +184,7 @@ public partial class Subclassification : ISubclassification [Property(xmiId: "_18_5_3_12e503d9_1543189170642_857401_25506", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_573157_43226")] [Implements(implementation: "ISubclassification.OwningClassifier")] - public Guid? OwningClassifier { get; internal set; } + public Guid? owningClassifier { get; internal set; } /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -189,7 +193,7 @@ public partial class Subclassification : ISubclassification [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } + public Guid? owningMembership { get; internal set; } /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -198,7 +202,7 @@ public partial class Subclassification : ISubclassification [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } + public Guid? owningNamespace { get; internal set; } /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -224,7 +228,7 @@ public partial class Subclassification : ISubclassification [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] [RedefinedByProperty("ISubclassification.OwningClassifier")] [Implements(implementation: "ISpecialization.OwningType")] - public Guid? OwningType { get; internal set; } + Guid? Core.Types.ISpecialization.owningType => throw new InvalidOperationException("Redefined by property ISubclassification.OwningClassifier"); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -236,7 +240,7 @@ public partial class Subclassification : ISubclassification /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } + public string qualifiedName { get; internal set; } /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -244,7 +248,7 @@ public partial class Subclassification : ISubclassification /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } + public List relatedElement { get; internal set; } /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -254,7 +258,7 @@ public partial class Subclassification : ISubclassification /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } + public string shortName { get; internal set; } /// /// The relatedElements from which this Relationship is considered to be directed. @@ -263,7 +267,11 @@ public partial class Subclassification : ISubclassification [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("ISpecialization.Specific")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property ISpecialization.Specific"); + set => throw new InvalidOperationException("Redefined by property ISpecialization.Specific"); + } /// /// A Type with a subset of all instances of the general Type, which might be the same set. @@ -272,7 +280,11 @@ public partial class Subclassification : ISubclassification [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [RedefinedByProperty("ISubclassification.Subclassifier")] [Implements(implementation: "ISpecialization.Specific")] - public Guid Specific { get; set; } + Guid Core.Types.ISpecialization.Specific + { + get => throw new InvalidOperationException("Redefined by property ISubclassification.Subclassifier"); + set => throw new InvalidOperationException("Redefined by property ISubclassification.Subclassifier"); + } /// /// The more specific Classifier in this Subclassification. @@ -297,7 +309,11 @@ public partial class Subclassification : ISubclassification [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("ISpecialization.General")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property ISpecialization.General"); + set => throw new InvalidOperationException("Redefined by property ISpecialization.General"); + } /// /// The TextualRepresentations that annotate this Element. @@ -306,7 +322,7 @@ public partial class Subclassification : ISubclassification [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } + public List textualRepresentation { get; internal set; } } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/TextualRepresentation.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/TextualRepresentation.cs index 8073399e..323c9f2f 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/TextualRepresentation.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/TextualRepresentation.cs @@ -82,7 +82,7 @@ public partial class TextualRepresentation : ITextualRepresentation [Property(xmiId: "_19_0_2_12e503d9_1594145755058_99428_86", aggregation: AggregationKind.None, lowerValue: 1, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("ITextualRepresentation.RepresentedElement")] [Implements(implementation: "IAnnotatingElement.AnnotatedElement")] - public List AnnotatedElement { get; internal set; } + List IAnnotatingElement.annotatedElement => throw new InvalidOperationException("Redefined by property ITextualRepresentation.RepresentedElement"); /// /// The Annotations that relate this AnnotatingElement to its annotatedElements. This includes the @@ -91,7 +91,7 @@ public partial class TextualRepresentation : ITextualRepresentation [Property(xmiId: "_18_5_3_12e503d9_1543094212714_953084_18407", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IAnnotatingElement.Annotation")] - public List Annotation { get; internal set; } + public List annotation { get; internal set; } /// /// The textual representation of the representedElement in the given language. @@ -124,7 +124,7 @@ public partial class TextualRepresentation : ITextualRepresentation [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } + public List documentation { get; internal set; } /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -150,7 +150,7 @@ public partial class TextualRepresentation : ITextualRepresentation /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } + public bool isLibraryElement { get; internal set; } /// /// The natural or artifical language in which the body text is written. @@ -167,7 +167,7 @@ public partial class TextualRepresentation : ITextualRepresentation /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } + public string name { get; internal set; } /// /// The ownedRelationships of this AnnotatingElement that are Annotations, for which this @@ -177,7 +177,7 @@ public partial class TextualRepresentation : ITextualRepresentation [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IAnnotatingElement.OwnedAnnotatingRelationship")] - public List OwnedAnnotatingRelationship { get; internal set; } + public List ownedAnnotatingRelationship { get; internal set; } /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -187,7 +187,7 @@ public partial class TextualRepresentation : ITextualRepresentation [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } + public List ownedAnnotation { get; internal set; } /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -195,7 +195,7 @@ public partial class TextualRepresentation : ITextualRepresentation /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } + public List ownedElement { get; internal set; } /// /// The Relationships for which this Element is the owningRelatedElement. @@ -211,7 +211,7 @@ public partial class TextualRepresentation : ITextualRepresentation /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } + public Guid? owner { get; internal set; } /// /// The owningRelationship of this AnnotatingRelationship, if it is an Annotation @@ -220,7 +220,7 @@ public partial class TextualRepresentation : ITextualRepresentation [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] [Implements(implementation: "IAnnotatingElement.OwningAnnotatingRelationship")] - public Guid? OwningAnnotatingRelationship { get; internal set; } + public Guid? owningAnnotatingRelationship { get; internal set; } /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -229,7 +229,7 @@ public partial class TextualRepresentation : ITextualRepresentation [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } + public Guid? owningMembership { get; internal set; } /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -238,7 +238,7 @@ public partial class TextualRepresentation : ITextualRepresentation [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } + public Guid? owningNamespace { get; internal set; } /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -258,7 +258,7 @@ public partial class TextualRepresentation : ITextualRepresentation /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } + public string qualifiedName { get; internal set; } /// /// The Element that is represented by this TextualRepresentation. @@ -267,7 +267,7 @@ public partial class TextualRepresentation : ITextualRepresentation [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_744477_17277")] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1594145755058_99428_86")] [Implements(implementation: "ITextualRepresentation.RepresentedElement")] - public Guid RepresentedElement { get; internal set; } + public Guid representedElement { get; internal set; } /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -277,7 +277,7 @@ public partial class TextualRepresentation : ITextualRepresentation /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } + public string shortName { get; internal set; } /// /// The TextualRepresentations that annotate this Element. @@ -286,7 +286,7 @@ public partial class TextualRepresentation : ITextualRepresentation [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - List Root.Elements.IElement.TextualRepresentation { get; } + public List textualRepresentation { get; internal set; } } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/Usage.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/Usage.cs index fcc31f1d..19cd5c1d 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/Usage.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenDto/Usage.cs @@ -69,7 +69,7 @@ public partial class Usage : IUsage /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } + public List chainingFeature { get; internal set; } /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -79,7 +79,7 @@ public partial class Usage : IUsage /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } + public Guid? crossFeature { get; internal set; } /// /// The declared name of this Element. @@ -106,7 +106,7 @@ public partial class Usage : IUsage [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [Implements(implementation: "IUsage.Definition")] - public List Definition { get; internal set; } + public List definition { get; internal set; } /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -119,7 +119,7 @@ public partial class Usage : IUsage /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } + public List differencingType { get; internal set; } /// /// The features of this Type that have a non-null direction. @@ -127,7 +127,7 @@ public partial class Usage : IUsage [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } + public List directedFeature { get; internal set; } /// /// The usages of this Usage that are directedFeatures. @@ -136,7 +136,7 @@ public partial class Usage : IUsage [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List DirectedUsage { get; internal set; } + public List directedUsage { get; internal set; } /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -153,7 +153,7 @@ public partial class Usage : IUsage [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } + public List documentation { get; internal set; } /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -169,7 +169,7 @@ public partial class Usage : IUsage [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } + public List endFeature { get; internal set; } /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -179,7 +179,7 @@ public partial class Usage : IUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } + public Guid? endOwningType { get; internal set; } /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -187,7 +187,7 @@ public partial class Usage : IUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } + public List feature { get; internal set; } /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -196,14 +196,14 @@ public partial class Usage : IUsage /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } + public List featureMembership { get; internal set; } /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } + public Guid featureTarget { get; internal set; } /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -213,7 +213,7 @@ public partial class Usage : IUsage /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } + public List featuringType { get; internal set; } /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -221,7 +221,7 @@ public partial class Usage : IUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } + public List importedMembership { get; internal set; } /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -229,7 +229,7 @@ public partial class Usage : IUsage [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } + public List inheritedFeature { get; internal set; } /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -238,7 +238,7 @@ public partial class Usage : IUsage [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } + public List inheritedMembership { get; internal set; } /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -246,7 +246,7 @@ public partial class Usage : IUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } + public List input { get; internal set; } /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -259,7 +259,7 @@ public partial class Usage : IUsage /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } + public List intersectingType { get; internal set; } /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -283,7 +283,7 @@ public partial class Usage : IUsage /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } + public bool isConjugated { get; internal set; } /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -330,7 +330,7 @@ public partial class Usage : IUsage /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } + public bool isLibraryElement { get; internal set; } /// /// Whether an order exists for the values of this Feature or not. @@ -352,7 +352,7 @@ public partial class Usage : IUsage /// [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IUsage.IsReference")] - public bool IsReference { get; internal set; } + public bool isReference { get; internal set; } /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -380,7 +380,11 @@ public partial class Usage : IUsage [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -401,7 +405,7 @@ public partial class Usage : IUsage [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool MayTimeVary { get; internal set; } + public bool mayTimeVary { get; internal set; } /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -409,7 +413,7 @@ public partial class Usage : IUsage /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } + public List member { get; internal set; } /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -417,7 +421,7 @@ public partial class Usage : IUsage /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } + public List membership { get; internal set; } /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -427,7 +431,7 @@ public partial class Usage : IUsage [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } + public Guid? multiplicity { get; internal set; } /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -437,7 +441,7 @@ public partial class Usage : IUsage /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } + public string name { get; internal set; } /// /// The ActionUsages that are nestedUsages of this Usage. @@ -445,7 +449,7 @@ public partial class Usage : IUsage [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List NestedAction { get; internal set; } + public List nestedAction { get; internal set; } /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -453,7 +457,7 @@ public partial class Usage : IUsage [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List NestedAllocation { get; internal set; } + public List nestedAllocation { get; internal set; } /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -461,7 +465,7 @@ public partial class Usage : IUsage [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List NestedAnalysisCase { get; internal set; } + public List nestedAnalysisCase { get; internal set; } /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -469,7 +473,7 @@ public partial class Usage : IUsage [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List NestedAttribute { get; internal set; } + public List nestedAttribute { get; internal set; } /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -477,7 +481,7 @@ public partial class Usage : IUsage [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List NestedCalculation { get; internal set; } + public List nestedCalculation { get; internal set; } /// /// The CaseUsages that are nestedUsages of this Usage. @@ -485,7 +489,7 @@ public partial class Usage : IUsage [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List NestedCase { get; internal set; } + public List nestedCase { get; internal set; } /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -493,7 +497,7 @@ public partial class Usage : IUsage [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List NestedConcern { get; internal set; } + public List nestedConcern { get; internal set; } /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -503,7 +507,7 @@ public partial class Usage : IUsage [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List NestedConnection { get; internal set; } + public List nestedConnection { get; internal set; } /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -511,7 +515,7 @@ public partial class Usage : IUsage [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List NestedConstraint { get; internal set; } + public List nestedConstraint { get; internal set; } /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -519,7 +523,7 @@ public partial class Usage : IUsage [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List NestedEnumeration { get; internal set; } + public List nestedEnumeration { get; internal set; } /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -527,7 +531,7 @@ public partial class Usage : IUsage [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List NestedFlow { get; internal set; } + public List nestedFlow { get; internal set; } /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -535,7 +539,7 @@ public partial class Usage : IUsage [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List NestedInterface { get; internal set; } + public List nestedInterface { get; internal set; } /// /// The ItemUsages that are nestedUsages of this Usage. @@ -543,7 +547,7 @@ public partial class Usage : IUsage [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List NestedItem { get; internal set; } + public List nestedItem { get; internal set; } /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -551,7 +555,7 @@ public partial class Usage : IUsage [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List NestedMetadata { get; internal set; } + public List nestedMetadata { get; internal set; } /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -559,7 +563,7 @@ public partial class Usage : IUsage [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List NestedOccurrence { get; internal set; } + public List nestedOccurrence { get; internal set; } /// /// The PartUsages that are nestedUsages of this Usage. @@ -567,7 +571,7 @@ public partial class Usage : IUsage [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List NestedPart { get; internal set; } + public List nestedPart { get; internal set; } /// /// The PortUsages that are nestedUsages of this Usage. @@ -575,7 +579,7 @@ public partial class Usage : IUsage [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List NestedPort { get; internal set; } + public List nestedPort { get; internal set; } /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -583,7 +587,7 @@ public partial class Usage : IUsage [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List NestedReference { get; internal set; } + public List nestedReference { get; internal set; } /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -591,7 +595,7 @@ public partial class Usage : IUsage [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List NestedRendering { get; internal set; } + public List nestedRendering { get; internal set; } /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -599,7 +603,7 @@ public partial class Usage : IUsage [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List NestedRequirement { get; internal set; } + public List nestedRequirement { get; internal set; } /// /// The StateUsages that are nestedUsages of this Usage. @@ -607,7 +611,7 @@ public partial class Usage : IUsage [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List NestedState { get; internal set; } + public List nestedState { get; internal set; } /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -615,7 +619,7 @@ public partial class Usage : IUsage [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List NestedTransition { get; internal set; } + public List nestedTransition { get; internal set; } /// /// The Usages that are ownedFeatures of this Usage. @@ -624,7 +628,7 @@ public partial class Usage : IUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List NestedUsage { get; internal set; } + public List nestedUsage { get; internal set; } /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -632,7 +636,7 @@ public partial class Usage : IUsage [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List NestedUseCase { get; internal set; } + public List nestedUseCase { get; internal set; } /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -640,7 +644,7 @@ public partial class Usage : IUsage [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List NestedVerificationCase { get; internal set; } + public List nestedVerificationCase { get; internal set; } /// /// The ViewUsages that are nestedUsages of this Usage. @@ -648,7 +652,7 @@ public partial class Usage : IUsage [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List NestedView { get; internal set; } + public List nestedView { get; internal set; } /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -656,7 +660,7 @@ public partial class Usage : IUsage [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List NestedViewpoint { get; internal set; } + public List nestedViewpoint { get; internal set; } /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -664,7 +668,7 @@ public partial class Usage : IUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } + public List output { get; internal set; } /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -674,7 +678,7 @@ public partial class Usage : IUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } + public List ownedAnnotation { get; internal set; } /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -683,7 +687,7 @@ public partial class Usage : IUsage [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } + public Guid? ownedConjugator { get; internal set; } /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -692,7 +696,7 @@ public partial class Usage : IUsage [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } + public Guid? ownedCrossSubsetting { get; internal set; } /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -702,7 +706,7 @@ public partial class Usage : IUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } + public List ownedDifferencing { get; internal set; } /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -712,7 +716,7 @@ public partial class Usage : IUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } + public List ownedDisjoining { get; internal set; } /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -720,7 +724,7 @@ public partial class Usage : IUsage /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } + public List ownedElement { get; internal set; } /// /// All endFeatures of this Type that are ownedFeatures. @@ -729,7 +733,7 @@ public partial class Usage : IUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } + public List ownedEndFeature { get; internal set; } /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -737,7 +741,7 @@ public partial class Usage : IUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } + public List ownedFeature { get; internal set; } /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -747,7 +751,7 @@ public partial class Usage : IUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } + public List ownedFeatureChaining { get; internal set; } /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -757,7 +761,7 @@ public partial class Usage : IUsage [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } + public List ownedFeatureInverting { get; internal set; } /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -767,7 +771,7 @@ public partial class Usage : IUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } + public List ownedFeatureMembership { get; internal set; } /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -777,7 +781,7 @@ public partial class Usage : IUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } + public List ownedImport { get; internal set; } /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -786,7 +790,7 @@ public partial class Usage : IUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } + public List ownedIntersecting { get; internal set; } /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -795,7 +799,7 @@ public partial class Usage : IUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } + public List ownedMember { get; internal set; } /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -806,7 +810,7 @@ public partial class Usage : IUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } + public List ownedMembership { get; internal set; } /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -815,7 +819,7 @@ public partial class Usage : IUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } + public List ownedRedefinition { get; internal set; } /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -824,7 +828,7 @@ public partial class Usage : IUsage [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } + public Guid? ownedReferenceSubsetting { get; internal set; } /// /// The Relationships for which this Element is the owningRelatedElement. @@ -842,7 +846,7 @@ public partial class Usage : IUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } + public List ownedSpecialization { get; internal set; } /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -852,7 +856,7 @@ public partial class Usage : IUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } + public List ownedSubsetting { get; internal set; } /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -862,7 +866,7 @@ public partial class Usage : IUsage [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } + public List ownedTypeFeaturing { get; internal set; } /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -872,7 +876,7 @@ public partial class Usage : IUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } + public List ownedTyping { get; internal set; } /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -881,7 +885,7 @@ public partial class Usage : IUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } + public List ownedUnioning { get; internal set; } /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -889,7 +893,7 @@ public partial class Usage : IUsage /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } + public Guid? owner { get; internal set; } /// /// The Definition that owns this Usage (if any). @@ -898,7 +902,7 @@ public partial class Usage : IUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public Guid? OwningDefinition { get; internal set; } + public Guid? owningDefinition { get; internal set; } /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -906,7 +910,7 @@ public partial class Usage : IUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } + public Guid? owningFeatureMembership { get; internal set; } /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -915,7 +919,7 @@ public partial class Usage : IUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } + public Guid? owningMembership { get; internal set; } /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -924,7 +928,7 @@ public partial class Usage : IUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } + public Guid? owningNamespace { get; internal set; } /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -942,7 +946,7 @@ public partial class Usage : IUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } + public Guid? owningType { get; internal set; } /// /// The Usage in which this Usage is nested (if any). @@ -950,7 +954,7 @@ public partial class Usage : IUsage [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public Guid? OwningUsage { get; internal set; } + public Guid? owningUsage { get; internal set; } /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -962,7 +966,7 @@ public partial class Usage : IUsage /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } + public string qualifiedName { get; internal set; } /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -972,7 +976,7 @@ public partial class Usage : IUsage /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } + public string shortName { get; internal set; } /// /// The TextualRepresentations that annotate this Element. @@ -981,7 +985,7 @@ public partial class Usage : IUsage [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } + public List textualRepresentation { get; internal set; } /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -992,7 +996,7 @@ public partial class Usage : IUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1003,7 +1007,7 @@ public partial class Usage : IUsage /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } + public List unioningType { get; internal set; } /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1011,7 +1015,7 @@ public partial class Usage : IUsage [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - List IUsage.Usage { get; } + public List usage { get; internal set; } /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1020,7 +1024,7 @@ public partial class Usage : IUsage [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List Variant { get; internal set; } + public List variant { get; internal set; } /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1029,7 +1033,7 @@ public partial class Usage : IUsage [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List VariantMembership { get; internal set; } + public List variantMembership { get; internal set; } } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenElementFactory/EnumerationDefinitionFactory.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenElementFactory/EnumerationDefinitionFactory.cs index aaf9c0e1..4eeaf66d 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenElementFactory/EnumerationDefinitionFactory.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenElementFactory/EnumerationDefinitionFactory.cs @@ -62,8 +62,7 @@ public Core.POCO.Systems.Enumerations.EnumerationDefinition Create(Core.DTO.Syst poco.IsAbstract = dto.IsAbstract; poco.IsImpliedIncluded = dto.IsImpliedIncluded; poco.IsSufficient = dto.IsSufficient; - ((Core.POCO.Systems.Enumerations.IEnumerationDefinition)poco).IsVariation = ((Core.DTO.Systems.Enumerations.IEnumerationDefinition)dto).IsVariation; - ((Core.POCO.Systems.DefinitionAndUsage.IDefinition)poco).IsVariation = ((Core.DTO.Systems.DefinitionAndUsage.IDefinition)dto).IsVariation; + poco.IsVariation = dto.IsVariation; return poco; } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenElementFactory/FramedConcernMembershipFactory.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenElementFactory/FramedConcernMembershipFactory.cs index 56fa97d6..81a74e09 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenElementFactory/FramedConcernMembershipFactory.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenElementFactory/FramedConcernMembershipFactory.cs @@ -61,10 +61,7 @@ public Core.POCO.Systems.Requirements.FramedConcernMembership Create(Core.DTO.Sy poco.ElementId = dto.ElementId; poco.IsImplied = dto.IsImplied; poco.IsImpliedIncluded = dto.IsImpliedIncluded; - ((Core.POCO.Systems.Requirements.IFramedConcernMembership)poco).Kind = ((Core.DTO.Systems.Requirements.IFramedConcernMembership)dto).Kind; - ((Core.POCO.Systems.Requirements.IRequirementConstraintMembership)poco).Kind = ((Core.DTO.Systems.Requirements.IRequirementConstraintMembership)dto).Kind; - poco.MemberName = dto.MemberName; - poco.MemberShortName = dto.MemberShortName; + poco.Kind = dto.Kind; poco.Visibility = dto.Visibility; return poco; diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenElementFactory/OwningMembershipFactory.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenElementFactory/OwningMembershipFactory.cs index 7926722f..9141e471 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenElementFactory/OwningMembershipFactory.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenElementFactory/OwningMembershipFactory.cs @@ -61,8 +61,6 @@ public Core.POCO.Root.Namespaces.OwningMembership Create(Core.DTO.Root.Namespace poco.ElementId = dto.ElementId; poco.IsImplied = dto.IsImplied; poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.MemberName = dto.MemberName; - poco.MemberShortName = dto.MemberShortName; poco.Visibility = dto.Visibility; return poco; diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenElementFactory/RequirementUsageFactory.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenElementFactory/RequirementUsageFactory.cs index 696f52e2..a9a1f811 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenElementFactory/RequirementUsageFactory.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenElementFactory/RequirementUsageFactory.cs @@ -57,7 +57,6 @@ public Core.POCO.Systems.Requirements.RequirementUsage Create(Core.DTO.Systems.R poco.Id = dto.Id; poco.AliasIds = dto.AliasIds; poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; poco.Direction = dto.Direction; poco.ElementId = dto.ElementId; poco.IsAbstract = dto.IsAbstract; @@ -71,7 +70,6 @@ public Core.POCO.Systems.Requirements.RequirementUsage Create(Core.DTO.Systems.R poco.IsPortion = dto.IsPortion; poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; poco.IsVariation = dto.IsVariation; poco.PortionKind = dto.PortionKind; poco.ReqId = dto.ReqId; diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenElementFactory/SelectExpressionFactory.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenElementFactory/SelectExpressionFactory.cs index 237c2f0f..afb2eddc 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenElementFactory/SelectExpressionFactory.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenElementFactory/SelectExpressionFactory.cs @@ -71,8 +71,7 @@ public Core.POCO.Kernel.Expressions.SelectExpression Create(Core.DTO.Kernel.Expr poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; poco.IsVariable = dto.IsVariable; - ((Core.POCO.Kernel.Expressions.ISelectExpression)poco).Operator = ((Core.DTO.Kernel.Expressions.ISelectExpression)dto).Operator; - ((Core.POCO.Kernel.Expressions.IOperatorExpression)poco).Operator = ((Core.DTO.Kernel.Expressions.IOperatorExpression)dto).Operator; + poco.Operator = dto.Operator; return poco; } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenElementFactory/UsageFactory.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenElementFactory/UsageFactory.cs index 734e3a46..f34aa5a4 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenElementFactory/UsageFactory.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenElementFactory/UsageFactory.cs @@ -70,7 +70,6 @@ public Core.POCO.Systems.DefinitionAndUsage.Usage Create(Core.DTO.Systems.Defini poco.IsPortion = dto.IsPortion; poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; poco.IsVariation = dto.IsVariation; return poco; diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/AnnotatingElement.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/AnnotatingElement.cs index be4660ab..163d17d5 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/AnnotatingElement.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/AnnotatingElement.cs @@ -62,10 +62,7 @@ public partial class AnnotatingElement : IAnnotatingElement /// [Property(xmiId: "_19_0_2_12e503d9_1594145755058_99428_86", aggregation: AggregationKind.None, lowerValue: 1, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IAnnotatingElement.AnnotatedElement")] - public List QueryAnnotatedElement() - { - return this.ComputeAnnotatedElement(); - } + public List annotatedElement => this.ComputeAnnotatedElement(); /// /// The Annotations that relate this AnnotatingElement to its annotatedElements. This includes the @@ -74,10 +71,7 @@ public List QueryAnnotatedElement() [Property(xmiId: "_18_5_3_12e503d9_1543094212714_953084_18407", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IAnnotatingElement.Annotation")] - public List QueryAnnotation() - { - return this.ComputeAnnotation(); - } + public List annotation => this.ComputeAnnotation(); /// /// The declared name of this Element. @@ -103,10 +97,7 @@ public List QueryAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -132,10 +123,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -145,10 +133,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this AnnotatingElement that are Annotations, for which this @@ -158,10 +143,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IAnnotatingElement.OwnedAnnotatingRelationship")] - public List QueryOwnedAnnotatingRelationship() - { - return this.ComputeOwnedAnnotatingRelationship(); - } + public List ownedAnnotatingRelationship => this.ComputeOwnedAnnotatingRelationship(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -171,10 +153,7 @@ public List QueryOwnedAnnotatingRelationship() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -182,10 +161,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -201,10 +177,7 @@ public List QueryOwnedElement() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this AnnotatingRelationship, if it is an Annotation @@ -213,10 +186,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] [Implements(implementation: "IAnnotatingElement.OwningAnnotatingRelationship")] - public IAnnotation QueryOwningAnnotatingRelationship() - { - return this.ComputeOwningAnnotatingRelationship(); - } + public IAnnotation owningAnnotatingRelationship => this.ComputeOwningAnnotatingRelationship(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -225,10 +195,7 @@ public IAnnotation QueryOwningAnnotatingRelationship() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -237,10 +204,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -260,10 +224,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -273,10 +234,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -285,10 +243,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/Association.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/Association.cs index bb67bd86..711af2c6 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/Association.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/Association.cs @@ -67,10 +67,7 @@ public partial class Association : IAssociation [Property(xmiId: "_18_5_3_12e503d9_1562477648742_24204_22901", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [Implements(implementation: "IAssociation.AssociationEnd")] - public List QueryAssociationEnd() - { - return this.ComputeAssociationEnd(); - } + public List associationEnd => this.ComputeAssociationEnd(); /// /// The declared name of this Element. @@ -100,10 +97,7 @@ public List QueryAssociationEnd() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -111,10 +105,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// The Documentation owned by this Element. @@ -123,10 +114,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -143,10 +131,7 @@ public List QueryDocumentation() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IAssociation.AssociationEnd")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + List Core.Types.IType.endFeature => throw new InvalidOperationException("Redefined by property IAssociation.AssociationEnd"); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -154,10 +139,7 @@ public List QueryEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -166,10 +148,7 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -177,10 +156,7 @@ public List QueryFeatureMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -188,10 +164,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -200,10 +173,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -211,10 +181,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -227,10 +194,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -245,10 +209,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being @@ -274,10 +235,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -297,10 +255,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -308,10 +263,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -321,10 +273,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -334,10 +283,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -345,10 +291,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -358,10 +301,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -370,10 +310,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -383,10 +320,7 @@ public IConjugation QueryOwnedConjugator() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -396,10 +330,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -407,10 +338,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -419,10 +347,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -430,10 +355,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -443,10 +365,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -456,10 +375,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -468,10 +384,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -480,10 +393,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -494,10 +404,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -523,10 +430,7 @@ public List QueryOwnedMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier @@ -535,10 +439,7 @@ public List QueryOwnedSpecialization() [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List QueryOwnedSubclassification() - { - return this.ComputeOwnedSubclassification(); - } + public List ownedSubclassification => this.ComputeOwnedSubclassification(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -547,10 +448,7 @@ public List QueryOwnedSubclassification() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -558,10 +456,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -570,10 +465,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -582,10 +474,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -613,10 +502,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -625,10 +511,7 @@ public string QueryQualifiedName() [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedByProperty("IAssociation.RelatedType")] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + List Root.Elements.IRelationship.relatedElement => throw new InvalidOperationException("Redefined by property IAssociation.RelatedType"); /// /// The types of the associationEnds of the Association, which are the relatedElements of the @@ -637,10 +520,7 @@ public List QueryRelatedElement() [Property(xmiId: "_18_5_3_12e503d9_1533160674994_4339_43349", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [Implements(implementation: "IAssociation.RelatedType")] - public List QueryRelatedType() - { - return this.ComputeRelatedType(); - } + public List relatedType => this.ComputeRelatedType(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -650,10 +530,7 @@ public List QueryRelatedType() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -662,7 +539,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IAssociation.SourceType")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IAssociation.SourceType"); + set => throw new InvalidOperationException("Redefined by property IAssociation.SourceType"); + } /// /// The source relatedType for this Association. It is the first relatedType of the Association. @@ -671,10 +552,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [Implements(implementation: "IAssociation.SourceType")] - public IType QuerySourceType() - { - return this.ComputeSourceType(); - } + public IType sourceType => this.ComputeSourceType(); /// /// The relatedElements to which this Relationship is considered to be directed. @@ -683,7 +561,11 @@ public IType QuerySourceType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IAssociation.TargetType")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IAssociation.TargetType"); + set => throw new InvalidOperationException("Redefined by property IAssociation.TargetType"); + } /// /// The target relatedTypes for this Association. This includes all the relatedTypes other than the @@ -693,10 +575,7 @@ public IType QuerySourceType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [Implements(implementation: "IAssociation.TargetType")] - public List QueryTargetType() - { - return this.ComputeTargetType(); - } + public List targetType => this.ComputeTargetType(); /// /// The TextualRepresentations that annotate this Element. @@ -705,10 +584,7 @@ public List QueryTargetType() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -719,10 +595,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/Dependency.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/Dependency.cs index 1f4763f8..d48cfc10 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/Dependency.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/Dependency.cs @@ -89,10 +89,7 @@ public partial class Dependency : IDependency [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -126,10 +123,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -139,10 +133,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -152,10 +143,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -163,10 +151,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -190,10 +175,7 @@ public List QueryOwnedElement() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -202,10 +184,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -214,10 +193,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -245,10 +221,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -256,10 +229,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + public List relatedElement => this.ComputeRelatedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -269,10 +239,7 @@ public List QueryRelatedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -281,7 +248,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IDependency.Client")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IDependency.Client"); + set => throw new InvalidOperationException("Redefined by property IDependency.Client"); + } /// /// The Element or Elements on which the client Elements depend in some respect. @@ -298,7 +269,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IDependency.Supplier")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IDependency.Supplier"); + set => throw new InvalidOperationException("Redefined by property IDependency.Supplier"); + } /// /// The TextualRepresentations that annotate this Element. @@ -307,10 +282,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/EnumerationDefinition.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/EnumerationDefinition.cs index 87d8a66d..689f9ff5 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/EnumerationDefinition.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/EnumerationDefinition.cs @@ -108,10 +108,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -119,10 +116,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// The usages of this Definition that are directedFeatures. @@ -131,10 +125,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// The Documentation owned by this Element. @@ -143,10 +134,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -162,10 +150,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// EnumerationUsages of this EnumerationDefinitionthat have distinct, fixed values. Each @@ -174,10 +159,7 @@ public List QueryEndFeature() [Property(xmiId: "_19_0_4_12e503d9_1606946634788_959145_265", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1590979457191_746167_951")] [Implements(implementation: "IEnumerationDefinition.EnumeratedValue")] - public List QueryEnumeratedValue() - { - return this.ComputeEnumeratedValue(); - } + public List enumeratedValue => this.ComputeEnumeratedValue(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -185,10 +167,7 @@ public List QueryEnumeratedValue() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -197,10 +176,7 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -208,10 +184,7 @@ public List QueryFeatureMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -219,10 +192,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -231,10 +201,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -242,10 +209,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -258,10 +222,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -276,10 +237,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// Whether all necessary implied Relationships have been included in the ownedRelationships of this @@ -297,10 +255,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -321,7 +276,7 @@ public bool QueryIsLibraryElement() [Property(xmiId: "_19_0_4_12e503d9_1606946783667_895456_287", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1590978283180_265362_419")] [Implements(implementation: "IEnumerationDefinition.IsVariation")] - bool IEnumerationDefinition.IsVariation { get; set; } + public bool IsVariation { get; set; } /// /// Whether this Definition is for a variation point or not. If true, then all the memberships of the @@ -330,7 +285,11 @@ public bool QueryIsLibraryElement() [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IEnumerationDefinition.IsVariation")] [Implements(implementation: "IDefinition.IsVariation")] - bool Systems.DefinitionAndUsage.IDefinition.IsVariation { get; set; } + bool Systems.DefinitionAndUsage.IDefinition.IsVariation + { + get => throw new InvalidOperationException("Redefined by property IEnumerationDefinition.IsVariation"); + set => throw new InvalidOperationException("Redefined by property IEnumerationDefinition.IsVariation"); + } /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -338,10 +297,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -349,10 +305,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -362,10 +315,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -375,10 +325,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -386,10 +333,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ActionUsages that are ownedUsages of this Definition. @@ -397,10 +341,7 @@ public List QueryOutput() [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedAction")] - public List QueryOwnedAction() - { - return this.ComputeOwnedAction(); - } + public List ownedAction => this.ComputeOwnedAction(); /// /// The AllocationUsages that are ownedUsages of this Definition. @@ -408,10 +349,7 @@ public List QueryOwnedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedAllocation")] - public List QueryOwnedAllocation() - { - return this.ComputeOwnedAllocation(); - } + public List ownedAllocation => this.ComputeOwnedAllocation(); /// /// The AnalysisCaseUsages that are ownedUsages of this Definition. @@ -419,10 +357,7 @@ public List QueryOwnedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List QueryOwnedAnalysisCase() - { - return this.ComputeOwnedAnalysisCase(); - } + public List ownedAnalysisCase => this.ComputeOwnedAnalysisCase(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -432,10 +367,7 @@ public List QueryOwnedAnalysisCase() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The AttributeUsages that are ownedUsages of this Definition. @@ -443,10 +375,7 @@ public List QueryOwnedAnnotation() [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedAttribute")] - public List QueryOwnedAttribute() - { - return this.ComputeOwnedAttribute(); - } + public List ownedAttribute => this.ComputeOwnedAttribute(); /// /// The CalculationUsages that are ownedUsages of this Definition. @@ -454,10 +383,7 @@ public List QueryOwnedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedCalculation")] - public List QueryOwnedCalculation() - { - return this.ComputeOwnedCalculation(); - } + public List ownedCalculation => this.ComputeOwnedCalculation(); /// /// The code>CaseUsages that are ownedUsages of this Definition. @@ -465,10 +391,7 @@ public List QueryOwnedCalculation() [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] [Implements(implementation: "IDefinition.OwnedCase")] - public List QueryOwnedCase() - { - return this.ComputeOwnedCase(); - } + public List ownedCase => this.ComputeOwnedCase(); /// /// The ConcernUsages that are ownedUsages of this Definition. @@ -476,10 +399,7 @@ public List QueryOwnedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedConcern")] - public List QueryOwnedConcern() - { - return this.ComputeOwnedConcern(); - } + public List ownedConcern => this.ComputeOwnedConcern(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -488,10 +408,7 @@ public List QueryOwnedConcern() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes @@ -501,10 +418,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedConnection")] - public List QueryOwnedConnection() - { - return this.ComputeOwnedConnection(); - } + public List ownedConnection => this.ComputeOwnedConnection(); /// /// The ConstraintUsages that are ownedUsages of this Definition. @@ -512,10 +426,7 @@ public List QueryOwnedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedConstraint")] - public List QueryOwnedConstraint() - { - return this.ComputeOwnedConstraint(); - } + public List ownedConstraint => this.ComputeOwnedConstraint(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -525,10 +436,7 @@ public List QueryOwnedConstraint() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -538,10 +446,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -549,10 +454,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -561,10 +463,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The EnumerationUsages that are ownedUsages of this Definition. @@ -572,10 +471,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List QueryOwnedEnumeration() - { - return this.ComputeOwnedEnumeration(); - } + public List ownedEnumeration => this.ComputeOwnedEnumeration(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -583,10 +479,7 @@ public List QueryOwnedEnumeration() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -596,10 +489,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The FlowUsages that are ownedUsages of this Definition. @@ -607,10 +497,7 @@ public List QueryOwnedFeatureMembership() [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedFlow")] - public List QueryOwnedFlow() - { - return this.ComputeOwnedFlow(); - } + public List ownedFlow => this.ComputeOwnedFlow(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -620,10 +507,7 @@ public List QueryOwnedFlow() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The InterfaceUsages that are ownedUsages of this Definition. @@ -631,10 +515,7 @@ public List QueryOwnedImport() [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedInterface")] - public List QueryOwnedInterface() - { - return this.ComputeOwnedInterface(); - } + public List ownedInterface => this.ComputeOwnedInterface(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -643,10 +524,7 @@ public List QueryOwnedInterface() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The ItemUsages that are ownedUsages of this Definition. @@ -654,10 +532,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedItem")] - public List QueryOwnedItem() - { - return this.ComputeOwnedItem(); - } + public List ownedItem => this.ComputeOwnedItem(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -666,10 +541,7 @@ public List QueryOwnedItem() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -680,10 +552,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The MetadataUsages that are ownedUsages of this Definition. @@ -691,10 +560,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedMetadata")] - public List QueryOwnedMetadata() - { - return this.ComputeOwnedMetadata(); - } + public List ownedMetadata => this.ComputeOwnedMetadata(); /// /// The OccurrenceUsages that are ownedUsages of this Definition. @@ -702,10 +568,7 @@ public List QueryOwnedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List QueryOwnedOccurrence() - { - return this.ComputeOwnedOccurrence(); - } + public List ownedOccurrence => this.ComputeOwnedOccurrence(); /// /// The PartUsages that are ownedUsages of this Definition. @@ -713,10 +576,7 @@ public List QueryOwnedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedPart")] - public List QueryOwnedPart() - { - return this.ComputeOwnedPart(); - } + public List ownedPart => this.ComputeOwnedPart(); /// /// The PortUsages that are ownedUsages of this Definition. @@ -724,10 +584,7 @@ public List QueryOwnedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedPort")] - public List QueryOwnedPort() - { - return this.ComputeOwnedPort(); - } + public List ownedPort => this.ComputeOwnedPort(); /// /// The ReferenceUsages that are ownedUsages of this Definition. @@ -735,10 +592,7 @@ public List QueryOwnedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedReference")] - public List QueryOwnedReference() - { - return this.ComputeOwnedReference(); - } + public List ownedReference => this.ComputeOwnedReference(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -754,10 +608,7 @@ public List QueryOwnedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedRendering")] - public List QueryOwnedRendering() - { - return this.ComputeOwnedRendering(); - } + public List ownedRendering => this.ComputeOwnedRendering(); /// /// The RequirementUsages that are ownedUsages of this Definition. @@ -765,10 +616,7 @@ public List QueryOwnedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] [Implements(implementation: "IDefinition.OwnedRequirement")] - public List QueryOwnedRequirement() - { - return this.ComputeOwnedRequirement(); - } + public List ownedRequirement => this.ComputeOwnedRequirement(); /// /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific @@ -778,10 +626,7 @@ public List QueryOwnedRequirement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The StateUsages that are ownedUsages of this Definition. @@ -789,10 +634,7 @@ public List QueryOwnedSpecialization() [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedState")] - public List QueryOwnedState() - { - return this.ComputeOwnedState(); - } + public List ownedState => this.ComputeOwnedState(); /// /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier @@ -801,10 +643,7 @@ public List QueryOwnedState() [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List QueryOwnedSubclassification() - { - return this.ComputeOwnedSubclassification(); - } + public List ownedSubclassification => this.ComputeOwnedSubclassification(); /// /// The TransitionUsages that are ownedUsages of this Definition. @@ -812,10 +651,7 @@ public List QueryOwnedSubclassification() [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedTransition")] - public List QueryOwnedTransition() - { - return this.ComputeOwnedTransition(); - } + public List ownedTransition => this.ComputeOwnedTransition(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -824,10 +660,7 @@ public List QueryOwnedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The Usages that are ownedFeatures of this Definition. @@ -836,10 +669,7 @@ public List QueryOwnedUnioning() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.OwnedUsage")] - public List QueryOwnedUsage() - { - return this.ComputeOwnedUsage(); - } + public List ownedUsage => this.ComputeOwnedUsage(); /// /// The UseCaseUsages that are ownedUsages of this Definition. @@ -847,10 +677,7 @@ public List QueryOwnedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedUseCase")] - public List QueryOwnedUseCase() - { - return this.ComputeOwnedUseCase(); - } + public List ownedUseCase => this.ComputeOwnedUseCase(); /// /// The VerificationCaseUsages that are ownedUsages of this Definition. @@ -858,10 +685,7 @@ public List QueryOwnedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List QueryOwnedVerificationCase() - { - return this.ComputeOwnedVerificationCase(); - } + public List ownedVerificationCase => this.ComputeOwnedVerificationCase(); /// /// The ViewUsages that are ownedUsages of this Definition. @@ -869,10 +693,7 @@ public List QueryOwnedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedView")] - public List QueryOwnedView() - { - return this.ComputeOwnedView(); - } + public List ownedView => this.ComputeOwnedView(); /// /// The ViewpointUsages that are ownedUsages of this Definition. @@ -880,10 +701,7 @@ public List QueryOwnedView() [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List QueryOwnedViewpoint() - { - return this.ComputeOwnedViewpoint(); - } + public List ownedViewpoint => this.ComputeOwnedViewpoint(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -891,10 +709,7 @@ public List QueryOwnedViewpoint() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -903,10 +718,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -915,10 +727,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -938,10 +747,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -951,10 +757,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -963,10 +766,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -977,10 +777,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Definition (not necessarily owned). @@ -988,10 +785,7 @@ public List QueryUnioningType() [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IDefinition.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Definition as a variation point Definition, if @@ -1001,10 +795,7 @@ public List QueryUsage() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [RedefinedByProperty("IEnumerationDefinition.EnumeratedValue")] [Implements(implementation: "IDefinition.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + List Systems.DefinitionAndUsage.IDefinition.variant => throw new InvalidOperationException("Redefined by property IEnumerationDefinition.EnumeratedValue"); /// /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then @@ -1014,10 +805,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IDefinition.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/Feature.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/Feature.cs index 79150ccb..a7d13585 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/Feature.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/Feature.cs @@ -80,10 +80,7 @@ public partial class Feature : IFeature /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -93,10 +90,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -126,10 +120,7 @@ public IFeature QueryCrossFeature() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -137,10 +128,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -157,10 +145,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -176,10 +161,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -189,10 +171,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -200,10 +179,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -212,20 +188,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -235,10 +205,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -246,10 +213,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -257,10 +221,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -269,10 +230,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -280,10 +238,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -296,10 +251,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -323,10 +275,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -373,10 +322,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -426,10 +372,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -437,10 +380,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -450,10 +390,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -463,10 +400,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -474,10 +408,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -487,10 +418,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -499,10 +427,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -511,10 +436,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -524,10 +446,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -537,10 +456,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -548,10 +464,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -560,10 +473,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -571,10 +481,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -584,10 +491,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -597,10 +501,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -610,10 +511,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -623,10 +521,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -635,10 +530,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -647,10 +539,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -661,10 +550,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -673,10 +559,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -685,10 +568,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -706,10 +586,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -719,10 +596,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -732,10 +606,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -745,10 +616,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -757,10 +625,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -768,10 +633,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -779,10 +641,7 @@ public IElement QueryOwner() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -791,10 +650,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -803,10 +659,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -824,10 +677,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -839,10 +689,7 @@ public IType QueryOwningType() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -852,10 +699,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -864,10 +708,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -877,10 +718,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + public List type => this.ComputeType(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -891,10 +729,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/FeatureTyping.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/FeatureTyping.cs index 1c7fd2e9..46d2ca25 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/FeatureTyping.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/FeatureTyping.cs @@ -82,10 +82,7 @@ public partial class FeatureTyping : IFeatureTyping [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -102,7 +99,11 @@ public List QueryDocumentation() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [RedefinedByProperty("IFeatureTyping.Type")] [Implements(implementation: "ISpecialization.General")] - public IType General { get; set; } + IType Core.Types.ISpecialization.General + { + get => throw new InvalidOperationException("Redefined by property IFeatureTyping.Type"); + set => throw new InvalidOperationException("Redefined by property IFeatureTyping.Type"); + } /// /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being @@ -128,10 +129,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -141,10 +139,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -154,10 +149,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -165,10 +157,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -192,10 +181,7 @@ public List QueryOwnedElement() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// A typedFeature that is also the owningRelatedElement of this FeatureTyping. @@ -204,10 +190,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_13273_21101")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_573157_43226")] [Implements(implementation: "IFeatureTyping.OwningFeature")] - public IFeature QueryOwningFeature() - { - return this.ComputeOwningFeature(); - } + public IFeature owningFeature => this.ComputeOwningFeature(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -216,10 +199,7 @@ public IFeature QueryOwningFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -228,10 +208,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -257,10 +234,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] [RedefinedByProperty("IFeatureTyping.OwningFeature")] [Implements(implementation: "ISpecialization.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + IType Core.Types.ISpecialization.owningType => throw new InvalidOperationException("Redefined by property IFeatureTyping.OwningFeature"); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -272,10 +246,7 @@ public IType QueryOwningType() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -283,10 +254,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + public List relatedElement => this.ComputeRelatedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -296,10 +264,7 @@ public List QueryRelatedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -308,7 +273,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("ISpecialization.Specific")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property ISpecialization.Specific"); + set => throw new InvalidOperationException("Redefined by property ISpecialization.Specific"); + } /// /// A Type with a subset of all instances of the general Type, which might be the same set. @@ -317,7 +286,11 @@ public string QueryShortName() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [RedefinedByProperty("IFeatureTyping.TypedFeature")] [Implements(implementation: "ISpecialization.Specific")] - public IType Specific { get; set; } + IType Core.Types.ISpecialization.Specific + { + get => throw new InvalidOperationException("Redefined by property IFeatureTyping.TypedFeature"); + set => throw new InvalidOperationException("Redefined by property IFeatureTyping.TypedFeature"); + } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -326,7 +299,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("ISpecialization.General")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property ISpecialization.General"); + set => throw new InvalidOperationException("Redefined by property ISpecialization.General"); + } /// /// The TextualRepresentations that annotate this Element. @@ -335,10 +312,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// The Type that is being applied by this FeatureTyping. diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/Flow.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/Flow.cs index cb201d75..aee7d623 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/Flow.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/Flow.cs @@ -69,10 +69,7 @@ public partial class Flow : IFlow [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IFlow.Interaction")] [Implements(implementation: "IConnector.Association")] - public List QueryAssociation() - { - return this.ComputeAssociation(); - } + List Kernel.Connectors.IConnector.association => throw new InvalidOperationException("Redefined by property IFlow.Interaction"); /// /// The Behaviors that type this Step. @@ -81,10 +78,7 @@ public List QueryAssociation() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IFlow.Interaction")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IFlow.Interaction"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -96,10 +90,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The endFeatures of a Connector, which redefine the endFeatures of the associations of the Connector. @@ -109,10 +100,7 @@ public List QueryChainingFeature() [Property(xmiId: "_18_5_3_12e503d9_1556735067666_827798_21922", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [Implements(implementation: "IConnector.ConnectorEnd")] - public List QueryConnectorEnd() - { - return this.ComputeConnectorEnd(); - } + public List connectorEnd => this.ComputeConnectorEnd(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -122,10 +110,7 @@ public List QueryConnectorEnd() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -151,10 +136,7 @@ public IFeature QueryCrossFeature() /// [Property(xmiId: "_2022x_2_12e503d9_1737751598145_444042_71", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IConnector.DefaultFeaturingType")] - public IType QueryDefaultFeaturingType() - { - return this.ComputeDefaultFeaturingType(); - } + public IType defaultFeaturingType => this.ComputeDefaultFeaturingType(); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -167,10 +149,7 @@ public IType QueryDefaultFeaturingType() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -179,10 +158,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -199,10 +175,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -219,10 +192,7 @@ public List QueryDocumentation() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IConnector.ConnectorEnd")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + List Core.Types.IType.endFeature => throw new InvalidOperationException("Redefined by property IConnector.ConnectorEnd"); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -232,10 +202,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -243,10 +210,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -255,20 +219,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -278,10 +236,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The connectorEnds of this Flow that are FlowEnds. @@ -289,10 +244,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1563219311176_506548_20966", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 2, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1556735067666_827798_21922")] [Implements(implementation: "IFlow.FlowEnd")] - public List QueryFlowEnd() - { - return this.ComputeFlowEnd(); - } + public List flowEnd => this.ComputeFlowEnd(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -300,10 +252,7 @@ public List QueryFlowEnd() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -311,10 +260,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -323,10 +269,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -334,10 +277,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The Interactions that type this Flow. Interactions are both Associations and Behaviors, which can @@ -347,10 +287,7 @@ public List QueryInput() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674983_471497_43284")] [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [Implements(implementation: "IFlow.Interaction")] - public List QueryInteraction() - { - return this.ComputeInteraction(); - } + public List interaction => this.ComputeInteraction(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -363,10 +300,7 @@ public List QueryInteraction() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -390,10 +324,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -448,10 +379,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -501,10 +429,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -512,10 +437,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -525,10 +447,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -538,10 +457,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -549,10 +465,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -562,10 +475,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -574,10 +484,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -586,10 +493,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -599,10 +503,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -612,10 +513,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -623,10 +521,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -635,10 +530,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -646,10 +538,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -659,10 +548,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -672,10 +558,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -685,10 +568,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -698,10 +578,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -710,10 +587,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -722,10 +596,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -736,10 +607,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -748,10 +616,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -760,10 +625,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -789,10 +651,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -802,10 +661,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -815,10 +671,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -828,10 +681,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -840,10 +690,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -851,10 +698,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -862,10 +706,7 @@ public IElement QueryOwner() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -874,10 +715,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -886,10 +724,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -915,10 +750,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -927,10 +759,7 @@ public IType QueryOwningType() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The ownedFeature of the Flow that is a PayloadFeature (if any). @@ -938,20 +767,14 @@ public List QueryParameter() [Property(xmiId: "_18_5_3_12e503d9_1563219424870_347345_21142", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IFlow.PayloadFeature")] - public IPayloadFeature QueryPayloadFeature() - { - return this.ComputePayloadFeature(); - } + public IPayloadFeature payloadFeature => this.ComputePayloadFeature(); /// /// The type of values transferred, which is the type of the payloadFeature of the Flow. /// [Property(xmiId: "_18_5_3_b9102da_1536870569046_1672_18020", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFlow.PayloadType")] - public List QueryPayloadType() - { - return this.ComputePayloadType(); - } + public List payloadType => this.ComputePayloadType(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -963,10 +786,7 @@ public List QueryPayloadType() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -975,10 +795,7 @@ public string QueryQualifiedName() [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedByProperty("IConnector.RelatedFeature")] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + List Root.Elements.IRelationship.relatedElement => throw new InvalidOperationException("Redefined by property IConnector.RelatedFeature"); /// /// The Features that are related by this Connector considered as a Relationship and that restrict the @@ -987,10 +804,7 @@ public List QueryRelatedElement() [Property(xmiId: "_18_5_3_12e503d9_1533160674968_916334_43210", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [Implements(implementation: "IConnector.RelatedFeature")] - public List QueryRelatedFeature() - { - return this.ComputeRelatedFeature(); - } + public List relatedFeature => this.ComputeRelatedFeature(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1000,10 +814,7 @@ public List QueryRelatedFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -1012,7 +823,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IConnector.SourceFeature")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + } /// /// The source relatedFeature for this Connector. It is the first relatedFeature. @@ -1021,10 +836,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [Implements(implementation: "IConnector.SourceFeature")] - public IFeature QuerySourceFeature() - { - return this.ComputeSourceFeature(); - } + public IFeature sourceFeature => this.ComputeSourceFeature(); /// /// The Feature that provides the items carried by the Flow. It must be a feature of the source of the @@ -1032,10 +844,7 @@ public IFeature QuerySourceFeature() /// [Property(xmiId: "_18_5_3_b9102da_1536870707078_57525_18088", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFlow.SourceOutputFeature")] - public IFeature QuerySourceOutputFeature() - { - return this.ComputeSourceOutputFeature(); - } + public IFeature sourceOutputFeature => this.ComputeSourceOutputFeature(); /// /// The relatedElements to which this Relationship is considered to be directed. @@ -1044,7 +853,11 @@ public IFeature QuerySourceOutputFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IConnector.TargetFeature")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + } /// /// The target relatedFeatures for this Connector. This includes all the relatedFeatures other than the @@ -1054,10 +867,7 @@ public IFeature QuerySourceOutputFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [Implements(implementation: "IConnector.TargetFeature")] - public List QueryTargetFeature() - { - return this.ComputeTargetFeature(); - } + public List targetFeature => this.ComputeTargetFeature(); /// /// The Feature that receives the values carried by the Flow. It must be a feature of the target of the @@ -1065,10 +875,7 @@ public List QueryTargetFeature() /// [Property(xmiId: "_18_5_3_b9102da_1536870573474_966268_18041", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFlow.TargetInputFeature")] - public IFeature QueryTargetInputFeature() - { - return this.ComputeTargetInputFeature(); - } + public IFeature targetInputFeature => this.ComputeTargetInputFeature(); /// /// The TextualRepresentations that annotate this Element. @@ -1077,10 +884,7 @@ public IFeature QueryTargetInputFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1091,10 +895,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IConnector.Association")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IConnector.Association"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1105,10 +906,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/FramedConcernMembership.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/FramedConcernMembership.cs index 9e725183..0abcb027 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/FramedConcernMembership.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/FramedConcernMembership.cs @@ -84,10 +84,7 @@ public partial class FramedConcernMembership : IFramedConcernMembership [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -121,10 +118,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// The kind of an FramedConcernMembership must be requirement. @@ -132,7 +126,7 @@ public bool QueryIsLibraryElement() [Property(xmiId: "_19_0_4_12e503d9_1617120451812_644221_3690", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "requirement")] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1584048161309_821854_390")] [Implements(implementation: "IFramedConcernMembership.Kind")] - RequirementConstraintKind IFramedConcernMembership.Kind { get; set; } + public RequirementConstraintKind Kind { get; set; } /// /// Whether the RequirementConstraintMembership is for an assumed or required ConstraintUsage. @@ -140,7 +134,11 @@ public bool QueryIsLibraryElement() [Property(xmiId: "_19_0_2_12e503d9_1584048161309_821854_390", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IFramedConcernMembership.Kind")] [Implements(implementation: "IRequirementConstraintMembership.Kind")] - RequirementConstraintKind IRequirementConstraintMembership.Kind { get; set; } + RequirementConstraintKind IRequirementConstraintMembership.Kind + { + get => throw new InvalidOperationException("Redefined by property IFramedConcernMembership.Kind"); + set => throw new InvalidOperationException("Redefined by property IFramedConcernMembership.Kind"); + } /// /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. @@ -149,7 +147,11 @@ public bool QueryIsLibraryElement() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] [Implements(implementation: "IMembership.MemberElement")] - public IElement MemberElement { get; set; } + IElement Root.Namespaces.IMembership.MemberElement + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + } /// /// The elementId of the memberElement. @@ -157,10 +159,7 @@ public bool QueryIsLibraryElement() [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] [Implements(implementation: "IMembership.MemberElementId")] - public string QueryMemberElementId() - { - return this.ComputeMemberElementId(); - } + string Root.Namespaces.IMembership.memberElementId => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElementId"); /// /// The name of the memberElement relative to the membershipOwningNamespace. @@ -168,7 +167,11 @@ public string QueryMemberElementId() [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberName")] [Implements(implementation: "IMembership.MemberName")] - public string MemberName { get; set; } + string Root.Namespaces.IMembership.MemberName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + } /// /// The Namespace of which the memberElement becomes a member due to this Membership. @@ -179,10 +182,7 @@ public string QueryMemberElementId() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [RedefinedByProperty("IFeatureMembership.OwningType")] [Implements(implementation: "IMembership.MembershipOwningNamespace")] - public INamespace QueryMembershipOwningNamespace() - { - return this.ComputeMembershipOwningNamespace(); - } + INamespace Root.Namespaces.IMembership.membershipOwningNamespace => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwningType"); /// /// The short name of the memberElement relative to the membershipOwningNamespace. @@ -190,7 +190,11 @@ public INamespace QueryMembershipOwningNamespace() [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] [Implements(implementation: "IMembership.MemberShortName")] - public string MemberShortName { get; set; } + string Root.Namespaces.IMembership.MemberShortName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + } /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -200,10 +204,7 @@ public INamespace QueryMembershipOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -213,10 +214,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The ConcernUsage that is the ownedConstraint of this FramedConcernMembership. @@ -224,10 +222,7 @@ public List QueryOwnedAnnotation() [Property(xmiId: "_19_0_4_12e503d9_1617120590170_490370_3748", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1584048366950_985767_426")] [Implements(implementation: "IFramedConcernMembership.OwnedConcern")] - public IConcernUsage QueryOwnedConcern() - { - return this.ComputeOwnedConcern(); - } + public IConcernUsage ownedConcern => this.ComputeOwnedConcern(); /// /// The ConstraintUsage that is the ownedMemberFeature of this RequirementConstraintMembership. @@ -236,10 +231,7 @@ public IConcernUsage QueryOwnedConcern() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] [RedefinedByProperty("IFramedConcernMembership.OwnedConcern")] [Implements(implementation: "IRequirementConstraintMembership.OwnedConstraint")] - public IConstraintUsage QueryOwnedConstraint() - { - return this.ComputeOwnedConstraint(); - } + IConstraintUsage IRequirementConstraintMembership.ownedConstraint => throw new InvalidOperationException("Redefined by property IFramedConcernMembership.OwnedConcern"); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -247,10 +239,7 @@ public IConstraintUsage QueryOwnedConstraint() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this @@ -261,10 +250,7 @@ public List QueryOwnedElement() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] [RedefinedByProperty("IFeatureMembership.OwnedMemberFeature")] [Implements(implementation: "IOwningMembership.OwnedMemberElement")] - public IElement QueryOwnedMemberElement() - { - return this.ComputeOwnedMemberElement(); - } + IElement Root.Namespaces.IOwningMembership.ownedMemberElement => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwnedMemberFeature"); /// /// The elementId of the ownedMemberElement. @@ -272,10 +258,7 @@ public IElement QueryOwnedMemberElement() [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] - public string QueryOwnedMemberElementId() - { - return this.ComputeOwnedMemberElementId(); - } + public string ownedMemberElementId => this.ComputeOwnedMemberElementId(); /// /// The Feature that this FeatureMembership relates to its owningType, making it an ownedFeature of the @@ -285,10 +268,7 @@ public string QueryOwnedMemberElementId() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] [RedefinedByProperty("IRequirementConstraintMembership.OwnedConstraint")] [Implements(implementation: "IFeatureMembership.OwnedMemberFeature")] - public IFeature QueryOwnedMemberFeature() - { - return this.ComputeOwnedMemberFeature(); - } + IFeature Core.Types.IFeatureMembership.ownedMemberFeature => throw new InvalidOperationException("Redefined by property IRequirementConstraintMembership.OwnedConstraint"); /// /// The name of the ownedMemberElement. @@ -296,10 +276,7 @@ public IFeature QueryOwnedMemberFeature() [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] [Implements(implementation: "IOwningMembership.OwnedMemberName")] - public string QueryOwnedMemberName() - { - return this.ComputeOwnedMemberName(); - } + public string ownedMemberName => this.ComputeOwnedMemberName(); /// /// The shortName of the ownedMemberElement. @@ -307,10 +284,7 @@ public string QueryOwnedMemberName() [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] - public string QueryOwnedMemberShortName() - { - return this.ComputeOwnedMemberShortName(); - } + public string ownedMemberShortName => this.ComputeOwnedMemberShortName(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -334,10 +308,7 @@ public string QueryOwnedMemberShortName() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -346,10 +317,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -358,10 +326,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -386,10 +351,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866524_738482_486")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] [Implements(implementation: "IFeatureMembership.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -401,10 +363,7 @@ public IType QueryOwningType() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The ConcernUsage that is referenced through this FramedConcernMembership. It is the @@ -414,10 +373,7 @@ public string QueryQualifiedName() [Property(xmiId: "_19_0_4_12e503d9_1617120658044_92083_3773", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1617118807597_77864_3544")] [Implements(implementation: "IFramedConcernMembership.ReferencedConcern")] - public IConcernUsage QueryReferencedConcern() - { - return this.ComputeReferencedConcern(); - } + public IConcernUsage referencedConcern => this.ComputeReferencedConcern(); /// /// The ConstraintUsage that is referenced through this RequirementConstraintMembership. It is the @@ -427,10 +383,7 @@ public IConcernUsage QueryReferencedConcern() [Property(xmiId: "_19_0_4_12e503d9_1617118807597_77864_3544", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IFramedConcernMembership.ReferencedConcern")] [Implements(implementation: "IRequirementConstraintMembership.ReferencedConstraint")] - public IConstraintUsage QueryReferencedConstraint() - { - return this.ComputeReferencedConstraint(); - } + IConstraintUsage IRequirementConstraintMembership.referencedConstraint => throw new InvalidOperationException("Redefined by property IFramedConcernMembership.ReferencedConcern"); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -438,10 +391,7 @@ public IConstraintUsage QueryReferencedConstraint() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + public List relatedElement => this.ComputeRelatedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -451,10 +401,7 @@ public List QueryRelatedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -463,7 +410,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembership.MembershipOwningNamespace")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -472,7 +423,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembership.MemberElement")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + set => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + } /// /// The TextualRepresentations that annotate this Element. @@ -481,10 +436,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IAnnotatingElement.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IAnnotatingElement.cs index e6b8df17..92e9d897 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IAnnotatingElement.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IAnnotatingElement.cs @@ -47,7 +47,7 @@ public partial interface IAnnotatingElement : IElement /// AnnotatingElement. /// [Property(xmiId: "_19_0_2_12e503d9_1594145755058_99428_86", aggregation: AggregationKind.None, lowerValue: 1, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - List QueryAnnotatedElement(); + List annotatedElement { get; } /// /// The Annotations that relate this AnnotatingElement to its annotatedElements. This includes the @@ -55,7 +55,7 @@ public partial interface IAnnotatingElement : IElement /// [Property(xmiId: "_18_5_3_12e503d9_1543094212714_953084_18407", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - List QueryAnnotation(); + List annotation { get; } /// /// The ownedRelationships of this AnnotatingElement that are Annotations, for which this @@ -64,7 +64,7 @@ public partial interface IAnnotatingElement : IElement [Property(xmiId: "_19_0_4_12e503d9_1703019570915_375100_18", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - List QueryOwnedAnnotatingRelationship(); + List ownedAnnotatingRelationship { get; } /// /// The owningRelationship of this AnnotatingRelationship, if it is an Annotation @@ -72,7 +72,7 @@ public partial interface IAnnotatingElement : IElement [Property(xmiId: "_2022x_2_12e503d9_1735188506571_308678_376", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] - IAnnotation QueryOwningAnnotatingRelationship(); + IAnnotation owningAnnotatingRelationship { get; } } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IAssociation.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IAssociation.cs index 10049504..7c99bafc 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IAssociation.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IAssociation.cs @@ -52,7 +52,7 @@ public partial interface IAssociation : IClassifier, IRelationship /// [Property(xmiId: "_18_5_3_12e503d9_1562477648742_24204_22901", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - List QueryAssociationEnd(); + List associationEnd { get; } /// /// The types of the associationEnds of the Association, which are the relatedElements of the @@ -60,7 +60,7 @@ public partial interface IAssociation : IClassifier, IRelationship /// [Property(xmiId: "_18_5_3_12e503d9_1533160674994_4339_43349", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - List QueryRelatedType(); + List relatedType { get; } /// /// The source relatedType for this Association. It is the first relatedType of the Association. @@ -68,7 +68,7 @@ public partial interface IAssociation : IClassifier, IRelationship [Property(xmiId: "_19_0_2_12e503d9_1594939013292_377668_3566", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - IType QuerySourceType(); + IType sourceType { get; } /// /// The target relatedTypes for this Association. This includes all the relatedTypes other than the @@ -77,7 +77,7 @@ public partial interface IAssociation : IClassifier, IRelationship [Property(xmiId: "_19_0_2_12e503d9_1594939237325_861933_3707", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - List QueryTargetType(); + List targetType { get; } } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IElement.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IElement.cs index 2d09a488..f9db6f50 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IElement.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IElement.cs @@ -69,7 +69,7 @@ public partial interface IElement [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - List QueryDocumentation(); + List documentation { get; } /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -92,7 +92,7 @@ public partial interface IElement /// Whether this Element is contained in the ownership tree of a library model. /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - bool QueryIsLibraryElement(); + bool isLibraryElement { get; } /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -101,7 +101,7 @@ public partial interface IElement /// null. /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - string QueryName(); + string name { get; } /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -110,14 +110,14 @@ public partial interface IElement [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - List QueryOwnedAnnotation(); + List ownedAnnotation { get; } /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of /// this Element. /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - List QueryOwnedElement(); + List ownedElement { get; } /// /// The Relationships for which this Element is the owningRelatedElement. @@ -131,7 +131,7 @@ public partial interface IElement /// Element, if any. /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - IElement QueryOwner(); + IElement owner { get; } /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -139,7 +139,7 @@ public partial interface IElement [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - IOwningMembership QueryOwningMembership(); + IOwningMembership owningMembership { get; } /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -147,7 +147,7 @@ public partial interface IElement /// [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - INamespace QueryOwningNamespace(); + INamespace owningNamespace { get; } /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -165,7 +165,7 @@ public partial interface IElement /// then the qualifiedName is null for all such Elements other than the first. /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - string QueryQualifiedName(); + string qualifiedName { get; } /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -174,7 +174,7 @@ public partial interface IElement /// when the declaredName is null. /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - string QueryShortName(); + string shortName { get; } /// /// The TextualRepresentations that annotate this Element. @@ -182,7 +182,7 @@ public partial interface IElement [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - List QueryTextualRepresentation(); + List textualRepresentation { get; } } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IEnumerationDefinition.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IEnumerationDefinition.cs index ebf06830..20c55399 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IEnumerationDefinition.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IEnumerationDefinition.cs @@ -72,7 +72,7 @@ public partial interface IEnumerationDefinition : IAttributeDefinition /// [Property(xmiId: "_19_0_4_12e503d9_1606946634788_959145_265", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1590979457191_746167_951")] - List QueryEnumeratedValue(); + List enumeratedValue { get; } /// /// An EnumerationDefinition is considered semantically to be a variation whose allowed variants are its diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IFeature.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IFeature.cs index 623335fe..1f2b35be 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IFeature.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IFeature.cs @@ -65,7 +65,7 @@ public partial interface IFeature : IType /// Feature in chainingFeatures, and so on, to values of the last Feature. /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - List QueryChainingFeature(); + List chainingFeature { get; } /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -74,7 +74,7 @@ public partial interface IFeature : IType /// owningType. /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - IFeature QueryCrossFeature(); + IFeature crossFeature { get; } /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -90,13 +90,13 @@ public partial interface IFeature : IType [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - IType QueryEndOwningType(); + IType endOwningType { get; } /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - IFeature QueryFeatureTarget(); + IFeature featureTarget { get; } /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -105,7 +105,7 @@ public partial interface IFeature : IType /// featuringTypes of the chained Feature. /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - List QueryFeaturingType(); + List featuringType { get; } /// /// Whether the Feature is a composite feature of its featuringType. If so, the values of the Feature @@ -173,7 +173,7 @@ public partial interface IFeature : IType /// [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - ICrossSubsetting QueryOwnedCrossSubsetting(); + ICrossSubsetting ownedCrossSubsetting { get; } /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -182,7 +182,7 @@ public partial interface IFeature : IType [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - List QueryOwnedFeatureChaining(); + List ownedFeatureChaining { get; } /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -191,7 +191,7 @@ public partial interface IFeature : IType [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - List QueryOwnedFeatureInverting(); + List ownedFeatureInverting { get; } /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -199,7 +199,7 @@ public partial interface IFeature : IType /// [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - List QueryOwnedRedefinition(); + List ownedRedefinition { get; } /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -207,7 +207,7 @@ public partial interface IFeature : IType /// [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - IReferenceSubsetting QueryOwnedReferenceSubsetting(); + IReferenceSubsetting ownedReferenceSubsetting { get; } /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -216,7 +216,7 @@ public partial interface IFeature : IType [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - List QueryOwnedSubsetting(); + List ownedSubsetting { get; } /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -225,7 +225,7 @@ public partial interface IFeature : IType [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - List QueryOwnedTypeFeaturing(); + List ownedTypeFeaturing { get; } /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -234,14 +234,14 @@ public partial interface IFeature : IType [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - List QueryOwnedTyping(); + List ownedTyping { get; } /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. /// [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - IFeatureMembership QueryOwningFeatureMembership(); + IFeatureMembership owningFeatureMembership { get; } /// /// The Type that is the owningType of the owningFeatureMembership of this Feature. @@ -250,7 +250,7 @@ public partial interface IFeature : IType [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - IType QueryOwningType(); + IType owningType { get; } /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -259,7 +259,7 @@ public partial interface IFeature : IType /// Feature. /// [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - List QueryType(); + List type { get; } } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IFeatureTyping.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IFeatureTyping.cs index 793cdb48..1dd9607b 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IFeatureTyping.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IFeatureTyping.cs @@ -50,7 +50,7 @@ public partial interface IFeatureTyping : ISpecialization [Property(xmiId: "_19_0_2_12e503d9_1596597427753_801746_43", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_13273_21101")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_573157_43226")] - IFeature QueryOwningFeature(); + IFeature owningFeature { get; } /// /// The Type that is being applied by this FeatureTyping. diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IFlow.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IFlow.cs index ea83f1bc..7eeeaf1b 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IFlow.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IFlow.cs @@ -53,7 +53,7 @@ public partial interface IFlow : IConnector, IStep /// [Property(xmiId: "_18_5_3_12e503d9_1563219311176_506548_20966", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 2, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1556735067666_827798_21922")] - List QueryFlowEnd(); + List flowEnd { get; } /// /// The Interactions that type this Flow. Interactions are both Associations and Behaviors, which can @@ -62,34 +62,34 @@ public partial interface IFlow : IConnector, IStep [Property(xmiId: "_19_0_4_12e503d9_1661900477937_518125_727", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674983_471497_43284")] [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - List QueryInteraction(); + List interaction { get; } /// /// The ownedFeature of the Flow that is a PayloadFeature (if any). /// [Property(xmiId: "_18_5_3_12e503d9_1563219424870_347345_21142", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - IPayloadFeature QueryPayloadFeature(); + IPayloadFeature payloadFeature { get; } /// /// The type of values transferred, which is the type of the payloadFeature of the Flow. /// [Property(xmiId: "_18_5_3_b9102da_1536870569046_1672_18020", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - List QueryPayloadType(); + List payloadType { get; } /// /// The Feature that provides the items carried by the Flow. It must be a feature of the source of the /// Flow. /// [Property(xmiId: "_18_5_3_b9102da_1536870707078_57525_18088", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - IFeature QuerySourceOutputFeature(); + IFeature sourceOutputFeature { get; } /// /// The Feature that receives the values carried by the Flow. It must be a feature of the target of the /// Flow. /// [Property(xmiId: "_18_5_3_b9102da_1536870573474_966268_18041", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - IFeature QueryTargetInputFeature(); + IFeature targetInputFeature { get; } } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IFramedConcernMembership.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IFramedConcernMembership.cs index e9abf8ed..902458f5 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IFramedConcernMembership.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IFramedConcernMembership.cs @@ -58,7 +58,7 @@ public partial interface IFramedConcernMembership : IRequirementConstraintMember /// [Property(xmiId: "_19_0_4_12e503d9_1617120590170_490370_3748", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1584048366950_985767_426")] - IConcernUsage QueryOwnedConcern(); + IConcernUsage ownedConcern { get; } /// /// The ConcernUsage that is referenced through this FramedConcernMembership. It is the @@ -67,7 +67,7 @@ public partial interface IFramedConcernMembership : IRequirementConstraintMember /// [Property(xmiId: "_19_0_4_12e503d9_1617120658044_92083_3773", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1617118807597_77864_3544")] - IConcernUsage QueryReferencedConcern(); + IConcernUsage referencedConcern { get; } } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IMembership.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IMembership.cs index afe21431..7fa7e28b 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IMembership.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IMembership.cs @@ -57,7 +57,7 @@ public partial interface IMembership : IRelationship /// The elementId of the memberElement. /// [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - string QueryMemberElementId(); + string memberElementId { get; } /// /// The name of the memberElement relative to the membershipOwningNamespace. @@ -72,7 +72,7 @@ public partial interface IMembership : IRelationship [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_531296_43182")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - INamespace QueryMembershipOwningNamespace(); + INamespace membershipOwningNamespace { get; } /// /// The short name of the memberElement relative to the membershipOwningNamespace. diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IMultiplicityRange.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IMultiplicityRange.cs index e1981b18..c51a7671 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IMultiplicityRange.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IMultiplicityRange.cs @@ -56,7 +56,7 @@ public partial interface IMultiplicityRange : IMultiplicity /// [Property(xmiId: "_19_0_2_12e503d9_1573095221994_519580_5095", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 2, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - List QueryBound(); + List bound { get; } /// /// The Expression whose result provides the lower bound of the MultiplicityRange. If no lowerBound @@ -65,14 +65,14 @@ public partial interface IMultiplicityRange : IMultiplicity /// [Property(xmiId: "_19_0_2_12e503d9_1573094905677_801324_4744", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1573095221994_519580_5095")] - IExpression QueryLowerBound(); + IExpression lowerBound { get; } /// /// The Expression whose result is the upper bound of the MultiplicityRange. /// [Property(xmiId: "_19_0_2_12e503d9_1573094947427_797440_4796", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1573095221994_519580_5095")] - IExpression QueryUpperBound(); + IExpression upperBound { get; } } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IOwningMembership.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IOwningMembership.cs index 98daac12..9d6b471e 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IOwningMembership.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IOwningMembership.cs @@ -48,28 +48,28 @@ public partial interface IOwningMembership : IMembership [Property(xmiId: "_18_5_3_12e503d9_1533160674965_501750_43196", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_59873_43302")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] - IElement QueryOwnedMemberElement(); + IElement ownedMemberElement { get; } /// /// The elementId of the ownedMemberElement. /// [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] - string QueryOwnedMemberElementId(); + string ownedMemberElementId { get; } /// /// The name of the ownedMemberElement. /// [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] - string QueryOwnedMemberName(); + string ownedMemberName { get; } /// /// The shortName of the ownedMemberElement. /// [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] - string QueryOwnedMemberShortName(); + string ownedMemberShortName { get; } } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IReferenceSubsetting.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IReferenceSubsetting.cs index bbd740fb..b1d73052 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IReferenceSubsetting.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IReferenceSubsetting.cs @@ -59,7 +59,7 @@ public partial interface IReferenceSubsetting : ISubsetting [Property(xmiId: "_19_0_4_12e503d9_1661555161575_539076_256", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_236250_43311")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674967_140305_43206")] - IFeature QueryReferencingFeature(); + IFeature referencingFeature { get; } } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IRelationship.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IRelationship.cs index 15b928f2..6357e0d5 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IRelationship.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IRelationship.cs @@ -76,7 +76,7 @@ public partial interface IRelationship : IElement /// Elements of the Relationship. /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - List QueryRelatedElement(); + List relatedElement { get; } /// /// The relatedElements from which this Relationship is considered to be directed. diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IRequirementUsage.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IRequirementUsage.cs index 24a76083..1052b087 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IRequirementUsage.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IRequirementUsage.cs @@ -75,7 +75,7 @@ public partial interface IRequirementUsage : IConstraintUsage [Property(xmiId: "_19_0_4_12e503d9_1621564075474_350859_2735", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - List QueryActorParameter(); + List actorParameter { get; } /// /// The owned ConstraintUsages that represent assumptions of this RequirementUsage, derived as the @@ -84,7 +84,7 @@ public partial interface IRequirementUsage : IConstraintUsage /// [Property(xmiId: "_19_0_2_12e503d9_1583377612865_991722_535", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - List QueryAssumedConstraint(); + List assumedConstraint { get; } /// /// The ConcernUsages framed by this RequirementUsage, which are the ownedConcerns of all @@ -92,7 +92,7 @@ public partial interface IRequirementUsage : IConstraintUsage /// [Property(xmiId: "_19_0_4_12e503d9_1617116922864_514612_3264", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583377448339_252740_390")] - List QueryFramedConcern(); + List framedConcern { get; } /// /// An optional modeler-specified identifier for this RequirementUsage (used, e.g., to link it to an @@ -110,14 +110,14 @@ public partial interface IRequirementUsage : IConstraintUsage /// [Property(xmiId: "_19_0_2_12e503d9_1583377448339_252740_390", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - List QueryRequiredConstraint(); + List requiredConstraint { get; } /// /// The RequirementDefinition that is the single definition of this RequirementUsage. /// [Property(xmiId: "_19_0_2_12e503d9_1583000408905_769743_1223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1578067546711_751168_1745")] - IRequirementDefinition QueryRequirementDefinition(); + IRequirementDefinition requirementDefinition { get; } /// /// The parameters of this RequirementUsage that represent stakeholders for the requirement. @@ -125,7 +125,7 @@ public partial interface IRequirementUsage : IConstraintUsage [Property(xmiId: "_19_0_4_12e503d9_1624032823963_328647_40107", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - List QueryStakeholderParameter(); + List stakeholderParameter { get; } /// /// The parameter of this RequirementUsage that represents its subject. @@ -133,14 +133,14 @@ public partial interface IRequirementUsage : IConstraintUsage [Property(xmiId: "_19_0_2_12e503d9_1595189397261_941898_844", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - IUsage QuerySubjectParameter(); + IUsage subjectParameter { get; } /// /// An optional textual statement of the requirement represented by this RequirementUsage, derived from /// the bodies of the documentation of the RequirementUsage. /// [Property(xmiId: "_19_0_2_12e503d9_1583376480942_745679_99", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - List QueryText(); + List text { get; } } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/ISubclassification.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/ISubclassification.cs index 75fba217..5b69ea49 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/ISubclassification.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/ISubclassification.cs @@ -47,7 +47,7 @@ public partial interface ISubclassification : ISpecialization /// [Property(xmiId: "_18_5_3_12e503d9_1543189170642_857401_25506", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_573157_43226")] - IClassifier QueryOwningClassifier(); + IClassifier owningClassifier { get; } /// /// The more specific Classifier in this Subclassification. diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/ITextualRepresentation.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/ITextualRepresentation.cs index fa02183b..a9764b55 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/ITextualRepresentation.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/ITextualRepresentation.cs @@ -80,7 +80,7 @@ public partial interface ITextualRepresentation : IAnnotatingElement [Property(xmiId: "_19_0_2_12e503d9_1594154758494_414887_3389", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_744477_17277")] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1594145755058_99428_86")] - IElement QueryRepresentedElement(); + IElement representedElement { get; } } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IUsage.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IUsage.cs index 6f3f58d9..7eea6815 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IUsage.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/IUsage.cs @@ -78,7 +78,7 @@ public partial interface IUsage : IFeature /// [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - List QueryDefinition(); + List definition { get; } /// /// The usages of this Usage that are directedFeatures. @@ -86,13 +86,13 @@ public partial interface IUsage : IFeature [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - List QueryDirectedUsage(); + List directedUsage { get; } /// /// Whether this Usage is a referential Usage, that is, it has isComposite = false. /// [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - bool QueryIsReference(); + bool isReference { get; } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -111,56 +111,56 @@ public partial interface IUsage : IFeature /// [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] - bool QueryMayTimeVary(); + bool mayTimeVary { get; } /// /// The ActionUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - List QueryNestedAction(); + List nestedAction { get; } /// /// The AllocationUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - List QueryNestedAllocation(); + List nestedAllocation { get; } /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - List QueryNestedAnalysisCase(); + List nestedAnalysisCase { get; } /// /// The code>AttributeUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - List QueryNestedAttribute(); + List nestedAttribute { get; } /// /// The CalculationUsage that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - List QueryNestedCalculation(); + List nestedCalculation { get; } /// /// The CaseUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] - List QueryNestedCase(); + List nestedCase { get; } /// /// The ConcernUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - List QueryNestedConcern(); + List nestedConcern { get; } /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -169,105 +169,105 @@ public partial interface IUsage : IFeature /// [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - List QueryNestedConnection(); + List nestedConnection { get; } /// /// The ConstraintUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - List QueryNestedConstraint(); + List nestedConstraint { get; } /// /// The code>EnumerationUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] - List QueryNestedEnumeration(); + List nestedEnumeration { get; } /// /// The code>FlowUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - List QueryNestedFlow(); + List nestedFlow { get; } /// /// The InterfaceUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - List QueryNestedInterface(); + List nestedInterface { get; } /// /// The ItemUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - List QueryNestedItem(); + List nestedItem { get; } /// /// The MetadataUsages that are nestedUsages of this of this Usage. /// [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - List QueryNestedMetadata(); + List nestedMetadata { get; } /// /// The OccurrenceUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - List QueryNestedOccurrence(); + List nestedOccurrence { get; } /// /// The PartUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - List QueryNestedPart(); + List nestedPart { get; } /// /// The PortUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - List QueryNestedPort(); + List nestedPort { get; } /// /// The ReferenceUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - List QueryNestedReference(); + List nestedReference { get; } /// /// The RenderingUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - List QueryNestedRendering(); + List nestedRendering { get; } /// /// The RequirementUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] - List QueryNestedRequirement(); + List nestedRequirement { get; } /// /// The StateUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - List QueryNestedState(); + List nestedState { get; } /// /// The TransitionUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - List QueryNestedTransition(); + List nestedTransition { get; } /// /// The Usages that are ownedFeatures of this Usage. @@ -275,35 +275,35 @@ public partial interface IUsage : IFeature [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - List QueryNestedUsage(); + List nestedUsage { get; } /// /// The UseCaseUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - List QueryNestedUseCase(); + List nestedUseCase { get; } /// /// The VerificationCaseUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - List QueryNestedVerificationCase(); + List nestedVerificationCase { get; } /// /// The ViewUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - List QueryNestedView(); + List nestedView { get; } /// /// The ViewpointUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - List QueryNestedViewpoint(); + List nestedViewpoint { get; } /// /// The Definition that owns this Usage (if any). @@ -311,21 +311,21 @@ public partial interface IUsage : IFeature [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] - IDefinition QueryOwningDefinition(); + IDefinition owningDefinition { get; } /// /// The Usage in which this Usage is nested (if any). /// [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - IUsage QueryOwningUsage(); + IUsage owningUsage { get; } /// /// The Usages that are features of this Usage (not necessarily owned). /// [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - List QueryUsage(); + List usage { get; } /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -333,7 +333,7 @@ public partial interface IUsage : IFeature /// [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - List QueryVariant(); + List variant { get; } /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -341,7 +341,7 @@ public partial interface IUsage : IFeature /// [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - List QueryVariantMembership(); + List variantMembership { get; } } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/LiteralInteger.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/LiteralInteger.cs index dd5762e0..e493d0f9 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/LiteralInteger.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/LiteralInteger.cs @@ -67,10 +67,7 @@ public partial class LiteralInteger : ILiteralInteger [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IExpression.Function")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -82,10 +79,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -95,10 +89,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -128,10 +119,7 @@ public IFeature QueryCrossFeature() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -140,10 +128,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -160,10 +145,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -179,10 +161,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -192,10 +171,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -203,10 +179,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -215,20 +188,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -238,10 +205,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Function that types this Expression. @@ -249,10 +213,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [Implements(implementation: "IExpression.Function")] - public IFunction QueryFunction() - { - return this.ComputeFunction(); - } + public IFunction function => this.ComputeFunction(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -260,10 +221,7 @@ public IFunction QueryFunction() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -271,10 +229,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -283,10 +238,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -294,10 +246,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -310,10 +259,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -337,10 +283,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -387,10 +330,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, @@ -398,10 +338,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool QueryIsModelLevelEvaluable() - { - return this.ComputeIsModelLevelEvaluable(); - } + public bool isModelLevelEvaluable => this.ComputeIsModelLevelEvaluable(); /// /// Whether an order exists for the values of this Feature or not. @@ -451,10 +388,7 @@ public bool QueryIsModelLevelEvaluable() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -462,10 +396,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -475,10 +406,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -488,10 +416,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -499,10 +424,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -512,10 +434,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -524,10 +443,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -536,10 +452,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -549,10 +462,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -562,10 +472,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -573,10 +480,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -585,10 +489,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -596,10 +497,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -609,10 +507,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -622,10 +517,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -635,10 +527,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -648,10 +537,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -660,10 +546,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -672,10 +555,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -686,10 +566,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -698,10 +575,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -710,10 +584,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -731,10 +602,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -744,10 +612,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -757,10 +622,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -770,10 +632,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -782,10 +641,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -793,10 +649,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -804,10 +657,7 @@ public IElement QueryOwner() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -816,10 +666,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -828,10 +675,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -849,10 +693,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -861,10 +702,7 @@ public IType QueryOwningType() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -876,10 +714,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// An output parameter of the Expression whose value is the result of the Expression. The result of an @@ -890,10 +725,7 @@ public string QueryQualifiedName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [Implements(implementation: "IExpression.Result")] - public IFeature QueryResult() - { - return this.ComputeResult(); - } + public IFeature result => this.ComputeResult(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -903,10 +735,7 @@ public IFeature QueryResult() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -915,10 +744,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -928,10 +754,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + public List type => this.ComputeType(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -942,10 +765,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Integer value that is the result of evaluating this LiteralInteger. diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/LiteralRational.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/LiteralRational.cs index 072b0637..fe657ae3 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/LiteralRational.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/LiteralRational.cs @@ -67,10 +67,7 @@ public partial class LiteralRational : ILiteralRational [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IExpression.Function")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -82,10 +79,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -95,10 +89,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -128,10 +119,7 @@ public IFeature QueryCrossFeature() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -140,10 +128,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -160,10 +145,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -179,10 +161,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -192,10 +171,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -203,10 +179,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -215,20 +188,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -238,10 +205,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Function that types this Expression. @@ -249,10 +213,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [Implements(implementation: "IExpression.Function")] - public IFunction QueryFunction() - { - return this.ComputeFunction(); - } + public IFunction function => this.ComputeFunction(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -260,10 +221,7 @@ public IFunction QueryFunction() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -271,10 +229,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -283,10 +238,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -294,10 +246,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -310,10 +259,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -337,10 +283,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -387,10 +330,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, @@ -398,10 +338,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool QueryIsModelLevelEvaluable() - { - return this.ComputeIsModelLevelEvaluable(); - } + public bool isModelLevelEvaluable => this.ComputeIsModelLevelEvaluable(); /// /// Whether an order exists for the values of this Feature or not. @@ -451,10 +388,7 @@ public bool QueryIsModelLevelEvaluable() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -462,10 +396,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -475,10 +406,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -488,10 +416,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -499,10 +424,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -512,10 +434,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -524,10 +443,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -536,10 +452,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -549,10 +462,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -562,10 +472,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -573,10 +480,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -585,10 +489,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -596,10 +497,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -609,10 +507,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -622,10 +517,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -635,10 +527,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -648,10 +537,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -660,10 +546,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -672,10 +555,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -686,10 +566,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -698,10 +575,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -710,10 +584,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -731,10 +602,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -744,10 +612,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -757,10 +622,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -770,10 +632,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -782,10 +641,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -793,10 +649,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -804,10 +657,7 @@ public IElement QueryOwner() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -816,10 +666,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -828,10 +675,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -849,10 +693,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -861,10 +702,7 @@ public IType QueryOwningType() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -876,10 +714,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// An output parameter of the Expression whose value is the result of the Expression. The result of an @@ -890,10 +725,7 @@ public string QueryQualifiedName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [Implements(implementation: "IExpression.Result")] - public IFeature QueryResult() - { - return this.ComputeResult(); - } + public IFeature result => this.ComputeResult(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -903,10 +735,7 @@ public IFeature QueryResult() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -915,10 +744,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -928,10 +754,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + public List type => this.ComputeType(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -942,10 +765,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The value whose rational approximation is the result of evaluating this LiteralRational. diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/Membership.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/Membership.cs index 7e95788b..7bbc73b8 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/Membership.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/Membership.cs @@ -84,10 +84,7 @@ public partial class Membership : IMembership [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -121,10 +118,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. @@ -139,10 +133,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IMembership.MemberElementId")] - public string QueryMemberElementId() - { - return this.ComputeMemberElementId(); - } + public string memberElementId => this.ComputeMemberElementId(); /// /// The name of the memberElement relative to the membershipOwningNamespace. @@ -159,10 +150,7 @@ public string QueryMemberElementId() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [Implements(implementation: "IMembership.MembershipOwningNamespace")] - public INamespace QueryMembershipOwningNamespace() - { - return this.ComputeMembershipOwningNamespace(); - } + public INamespace membershipOwningNamespace => this.ComputeMembershipOwningNamespace(); /// /// The short name of the memberElement relative to the membershipOwningNamespace. @@ -179,10 +167,7 @@ public INamespace QueryMembershipOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -192,10 +177,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -203,10 +185,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -230,10 +209,7 @@ public List QueryOwnedElement() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -242,10 +218,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -254,10 +227,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -285,10 +255,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -296,10 +263,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + public List relatedElement => this.ComputeRelatedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -309,10 +273,7 @@ public List QueryRelatedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -321,7 +282,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembership.MembershipOwningNamespace")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -330,7 +295,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembership.MemberElement")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + set => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + } /// /// The TextualRepresentations that annotate this Element. @@ -339,10 +308,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/MultiplicityRange.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/MultiplicityRange.cs index 4318018d..056ff8cd 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/MultiplicityRange.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/MultiplicityRange.cs @@ -71,10 +71,7 @@ public partial class MultiplicityRange : IMultiplicityRange [Property(xmiId: "_19_0_2_12e503d9_1573095221994_519580_5095", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 2, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IMultiplicityRange.Bound")] - public List QueryBound() - { - return this.ComputeBound(); - } + public List bound => this.ComputeBound(); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -86,10 +83,7 @@ public List QueryBound() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -99,10 +93,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -132,10 +123,7 @@ public IFeature QueryCrossFeature() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -143,10 +131,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -163,10 +148,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -182,10 +164,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -195,10 +174,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -206,10 +182,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -218,20 +191,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -241,10 +208,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -252,10 +216,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -263,10 +224,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -275,10 +233,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -286,10 +241,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -302,10 +254,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -329,10 +278,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -379,10 +325,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -434,10 +377,7 @@ public bool QueryIsLibraryElement() [Property(xmiId: "_19_0_2_12e503d9_1573094905677_801324_4744", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1573095221994_519580_5095")] [Implements(implementation: "IMultiplicityRange.LowerBound")] - public IExpression QueryLowerBound() - { - return this.ComputeLowerBound(); - } + public IExpression lowerBound => this.ComputeLowerBound(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -445,10 +385,7 @@ public IExpression QueryLowerBound() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -456,10 +393,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -469,10 +403,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -482,10 +413,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -493,10 +421,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -506,10 +431,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -518,10 +440,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -530,10 +449,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -543,10 +459,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -556,10 +469,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -567,10 +477,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -579,10 +486,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -590,10 +494,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -603,10 +504,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -616,10 +514,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -629,10 +524,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -642,10 +534,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -654,10 +543,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -666,10 +552,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -680,10 +563,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -692,10 +572,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -704,10 +581,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -725,10 +599,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -738,10 +609,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -751,10 +619,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -764,10 +629,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -776,10 +638,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -787,10 +646,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -798,10 +654,7 @@ public IElement QueryOwner() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -810,10 +663,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -822,10 +672,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -843,10 +690,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -858,10 +702,7 @@ public IType QueryOwningType() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -871,10 +712,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -883,10 +721,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -896,10 +731,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + public List type => this.ComputeType(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -910,10 +742,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Expression whose result is the upper bound of the MultiplicityRange. @@ -921,10 +750,7 @@ public List QueryUnioningType() [Property(xmiId: "_19_0_2_12e503d9_1573094947427_797440_4796", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1573095221994_519580_5095")] [Implements(implementation: "IMultiplicityRange.UpperBound")] - public IExpression QueryUpperBound() - { - return this.ComputeUpperBound(); - } + public IExpression upperBound => this.ComputeUpperBound(); } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/OwningMembership.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/OwningMembership.cs index 0e4b9fa5..4f24127c 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/OwningMembership.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/OwningMembership.cs @@ -79,10 +79,7 @@ public partial class OwningMembership : IOwningMembership [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -116,10 +113,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. @@ -128,7 +122,11 @@ public bool QueryIsLibraryElement() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] [Implements(implementation: "IMembership.MemberElement")] - public IElement MemberElement { get; set; } + IElement IMembership.MemberElement + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + } /// /// The elementId of the memberElement. @@ -136,10 +134,7 @@ public bool QueryIsLibraryElement() [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] [Implements(implementation: "IMembership.MemberElementId")] - public string QueryMemberElementId() - { - return this.ComputeMemberElementId(); - } + string IMembership.memberElementId => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElementId"); /// /// The name of the memberElement relative to the membershipOwningNamespace. @@ -147,7 +142,11 @@ public string QueryMemberElementId() [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberName")] [Implements(implementation: "IMembership.MemberName")] - public string MemberName { get; set; } + string IMembership.MemberName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + } /// /// The Namespace of which the memberElement becomes a member due to this Membership. @@ -157,10 +156,7 @@ public string QueryMemberElementId() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [Implements(implementation: "IMembership.MembershipOwningNamespace")] - public INamespace QueryMembershipOwningNamespace() - { - return this.ComputeMembershipOwningNamespace(); - } + public INamespace membershipOwningNamespace => this.ComputeMembershipOwningNamespace(); /// /// The short name of the memberElement relative to the membershipOwningNamespace. @@ -168,7 +164,11 @@ public INamespace QueryMembershipOwningNamespace() [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] [Implements(implementation: "IMembership.MemberShortName")] - public string MemberShortName { get; set; } + string IMembership.MemberShortName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + } /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -178,10 +178,7 @@ public INamespace QueryMembershipOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -191,10 +188,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -202,10 +196,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this @@ -215,10 +206,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_59873_43302")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] [Implements(implementation: "IOwningMembership.OwnedMemberElement")] - public IElement QueryOwnedMemberElement() - { - return this.ComputeOwnedMemberElement(); - } + public IElement ownedMemberElement => this.ComputeOwnedMemberElement(); /// /// The elementId of the ownedMemberElement. @@ -226,10 +214,7 @@ public IElement QueryOwnedMemberElement() [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] - public string QueryOwnedMemberElementId() - { - return this.ComputeOwnedMemberElementId(); - } + public string ownedMemberElementId => this.ComputeOwnedMemberElementId(); /// /// The name of the ownedMemberElement. @@ -237,10 +222,7 @@ public string QueryOwnedMemberElementId() [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] [Implements(implementation: "IOwningMembership.OwnedMemberName")] - public string QueryOwnedMemberName() - { - return this.ComputeOwnedMemberName(); - } + public string ownedMemberName => this.ComputeOwnedMemberName(); /// /// The shortName of the ownedMemberElement. @@ -248,10 +230,7 @@ public string QueryOwnedMemberName() [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] - public string QueryOwnedMemberShortName() - { - return this.ComputeOwnedMemberShortName(); - } + public string ownedMemberShortName => this.ComputeOwnedMemberShortName(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -275,10 +254,7 @@ public string QueryOwnedMemberShortName() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -287,10 +263,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -299,10 +272,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -330,10 +300,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -341,10 +308,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + public List relatedElement => this.ComputeRelatedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -354,10 +318,7 @@ public List QueryRelatedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -366,7 +327,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembership.MembershipOwningNamespace")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -375,7 +340,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembership.MemberElement")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + set => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + } /// /// The TextualRepresentations that annotate this Element. @@ -384,10 +353,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/ReferenceSubsetting.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/ReferenceSubsetting.cs index 8aafc969..5d2dd944 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/ReferenceSubsetting.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/ReferenceSubsetting.cs @@ -84,10 +84,7 @@ public partial class ReferenceSubsetting : IReferenceSubsetting [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -104,7 +101,11 @@ public List QueryDocumentation() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [RedefinedByProperty("ISubsetting.SubsettedFeature")] [Implements(implementation: "ISpecialization.General")] - public IType General { get; set; } + IType Core.Types.ISpecialization.General + { + get => throw new InvalidOperationException("Redefined by property ISubsetting.SubsettedFeature"); + set => throw new InvalidOperationException("Redefined by property ISubsetting.SubsettedFeature"); + } /// /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being @@ -130,10 +131,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -143,10 +141,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -156,10 +151,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -167,10 +159,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -194,10 +183,7 @@ public List QueryOwnedElement() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// A subsettingFeature that is also the owningRelatedElement of this Subsetting. @@ -207,10 +193,7 @@ public IElement QueryOwner() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_573157_43226")] [RedefinedByProperty("IReferenceSubsetting.ReferencingFeature")] [Implements(implementation: "ISubsetting.OwningFeature")] - public IFeature QueryOwningFeature() - { - return this.ComputeOwningFeature(); - } + IFeature ISubsetting.owningFeature => throw new InvalidOperationException("Redefined by property IReferenceSubsetting.ReferencingFeature"); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -219,10 +202,7 @@ public IFeature QueryOwningFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -231,10 +211,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -260,10 +237,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] [RedefinedByProperty("ISubsetting.OwningFeature")] [Implements(implementation: "ISpecialization.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + IType Core.Types.ISpecialization.owningType => throw new InvalidOperationException("Redefined by property ISubsetting.OwningFeature"); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -275,10 +249,7 @@ public IType QueryOwningType() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Feature that is referenced by the referencingFeature of this ReferenceSubsetting. @@ -295,10 +266,7 @@ public string QueryQualifiedName() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_236250_43311")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674967_140305_43206")] [Implements(implementation: "IReferenceSubsetting.ReferencingFeature")] - public IFeature QueryReferencingFeature() - { - return this.ComputeReferencingFeature(); - } + public IFeature referencingFeature => this.ComputeReferencingFeature(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -306,10 +274,7 @@ public IFeature QueryReferencingFeature() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + public List relatedElement => this.ComputeRelatedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -319,10 +284,7 @@ public List QueryRelatedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -331,7 +293,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("ISpecialization.Specific")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property ISpecialization.Specific"); + set => throw new InvalidOperationException("Redefined by property ISpecialization.Specific"); + } /// /// A Type with a subset of all instances of the general Type, which might be the same set. @@ -340,7 +306,11 @@ public string QueryShortName() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [RedefinedByProperty("ISubsetting.SubsettingFeature")] [Implements(implementation: "ISpecialization.Specific")] - public IType Specific { get; set; } + IType Core.Types.ISpecialization.Specific + { + get => throw new InvalidOperationException("Redefined by property ISubsetting.SubsettingFeature"); + set => throw new InvalidOperationException("Redefined by property ISubsetting.SubsettingFeature"); + } /// /// The Feature that is subsetted by the subsettingFeature of this Subsetting. @@ -349,7 +319,11 @@ public string QueryShortName() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_563969_43273")] [RedefinedByProperty("IReferenceSubsetting.ReferencedFeature")] [Implements(implementation: "ISubsetting.SubsettedFeature")] - public IFeature SubsettedFeature { get; set; } + IFeature ISubsetting.SubsettedFeature + { + get => throw new InvalidOperationException("Redefined by property IReferenceSubsetting.ReferencedFeature"); + set => throw new InvalidOperationException("Redefined by property IReferenceSubsetting.ReferencedFeature"); + } /// /// The Feature that is a subset of the subsettedFeature of this Subsetting. @@ -358,7 +332,11 @@ public string QueryShortName() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] [RedefinedByProperty("IReferenceSubsetting.ReferencingFeature")] [Implements(implementation: "ISubsetting.SubsettingFeature")] - public IFeature SubsettingFeature { get; set; } + IFeature ISubsetting.SubsettingFeature + { + get => throw new InvalidOperationException("Redefined by property IReferenceSubsetting.ReferencingFeature"); + set => throw new InvalidOperationException("Redefined by property IReferenceSubsetting.ReferencingFeature"); + } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -367,7 +345,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("ISpecialization.General")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property ISpecialization.General"); + set => throw new InvalidOperationException("Redefined by property ISpecialization.General"); + } /// /// The TextualRepresentations that annotate this Element. @@ -376,10 +358,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/RequirementUsage.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/RequirementUsage.cs index eb77b1cb..a40973f2 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/RequirementUsage.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/RequirementUsage.cs @@ -83,10 +83,7 @@ public partial class RequirementUsage : IRequirementUsage [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IRequirementUsage.ActorParameter")] - public List QueryActorParameter() - { - return this.ComputeActorParameter(); - } + public List actorParameter => this.ComputeActorParameter(); /// /// Various alternative identifiers for this Element. Generally, these will be set by tools. @@ -103,10 +100,7 @@ public List QueryActorParameter() [Property(xmiId: "_19_0_2_12e503d9_1583377612865_991722_535", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IRequirementUsage.AssumedConstraint")] - public List QueryAssumedConstraint() - { - return this.ComputeAssumedConstraint(); - } + public List assumedConstraint => this.ComputeAssumedConstraint(); /// /// The Behaviors that type this Step. @@ -115,10 +109,7 @@ public List QueryAssumedConstraint() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IExpression.Function")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -130,10 +121,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The (single) Predicate that is the type of this ConstraintUsage. Nominally, this will be a @@ -144,10 +132,7 @@ public List QueryChainingFeature() [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1578025035149_386_969")] [RedefinedByProperty("IRequirementUsage.RequirementDefinition")] [Implements(implementation: "IConstraintUsage.ConstraintDefinition")] - public IPredicate QueryConstraintDefinition() - { - return this.ComputeConstraintDefinition(); - } + IPredicate Systems.Constraints.IConstraintUsage.constraintDefinition => throw new InvalidOperationException("Redefined by property IRequirementUsage.RequirementDefinition"); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -157,10 +142,7 @@ public IPredicate QueryConstraintDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -178,7 +160,11 @@ public IFeature QueryCrossFeature() [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IRequirementUsage.ReqId")] [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } + string Root.Elements.IElement.DeclaredShortName + { + get => throw new InvalidOperationException("Redefined by property IRequirementUsage.ReqId"); + set => throw new InvalidOperationException("Redefined by property IRequirementUsage.ReqId"); + } /// /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds @@ -189,10 +175,7 @@ public IFeature QueryCrossFeature() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] [Implements(implementation: "IUsage.Definition")] - public List QueryDefinition() - { - return this.ComputeDefinition(); - } + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -205,10 +188,7 @@ public List QueryDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -217,10 +197,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// The usages of this Usage that are directedFeatures. @@ -229,10 +206,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -249,10 +223,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -268,10 +239,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -281,10 +249,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -292,10 +257,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -304,20 +266,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -327,10 +283,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The ConcernUsages framed by this RequirementUsage, which are the ownedConcerns of all @@ -339,10 +292,7 @@ public List QueryFeaturingType() [Property(xmiId: "_19_0_4_12e503d9_1617116922864_514612_3264", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583377448339_252740_390")] [Implements(implementation: "IRequirementUsage.FramedConcern")] - public List QueryFramedConcern() - { - return this.ComputeFramedConcern(); - } + public List framedConcern => this.ComputeFramedConcern(); /// /// The Function that types this Expression. @@ -351,10 +301,7 @@ public List QueryFramedConcern() [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [RedefinedByProperty("IBooleanExpression.Predicate")] [Implements(implementation: "IExpression.Function")] - public IFunction QueryFunction() - { - return this.ComputeFunction(); - } + IFunction Kernel.Functions.IExpression.function => throw new InvalidOperationException("Redefined by property IBooleanExpression.Predicate"); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -362,10 +309,7 @@ public IFunction QueryFunction() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// The at most one occurrenceDefinition that has isIndividual = true. @@ -373,10 +317,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public IOccurrenceDefinition QueryIndividualDefinition() - { - return this.ComputeIndividualDefinition(); - } + public IOccurrenceDefinition individualDefinition => this.ComputeIndividualDefinition(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -384,10 +325,7 @@ public IOccurrenceDefinition QueryIndividualDefinition() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -396,10 +334,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -407,10 +342,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -423,10 +355,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -450,10 +379,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -508,10 +434,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, @@ -519,10 +442,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool QueryIsModelLevelEvaluable() - { - return this.ComputeIsModelLevelEvaluable(); - } + public bool isModelLevelEvaluable => this.ComputeIsModelLevelEvaluable(); /// /// Whether an order exists for the values of this Feature or not. @@ -544,10 +464,7 @@ public bool QueryIsModelLevelEvaluable() /// [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IUsage.IsReference")] - public bool QueryIsReference() - { - return this.ComputeIsReference(); - } + public bool isReference => this.ComputeIsReference(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -575,7 +492,11 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -596,10 +517,7 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool QueryMayTimeVary() - { - return this.ComputeMayTimeVary(); - } + public bool mayTimeVary => this.ComputeMayTimeVary(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -607,10 +525,7 @@ public bool QueryMayTimeVary() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -618,10 +533,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -631,10 +543,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -644,10 +553,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ActionUsages that are nestedUsages of this Usage. @@ -655,10 +561,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List QueryNestedAction() - { - return this.ComputeNestedAction(); - } + public List nestedAction => this.ComputeNestedAction(); /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -666,10 +569,7 @@ public List QueryNestedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List QueryNestedAllocation() - { - return this.ComputeNestedAllocation(); - } + public List nestedAllocation => this.ComputeNestedAllocation(); /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -677,10 +577,7 @@ public List QueryNestedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List QueryNestedAnalysisCase() - { - return this.ComputeNestedAnalysisCase(); - } + public List nestedAnalysisCase => this.ComputeNestedAnalysisCase(); /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -688,10 +585,7 @@ public List QueryNestedAnalysisCase() [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List QueryNestedAttribute() - { - return this.ComputeNestedAttribute(); - } + public List nestedAttribute => this.ComputeNestedAttribute(); /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -699,10 +593,7 @@ public List QueryNestedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List QueryNestedCalculation() - { - return this.ComputeNestedCalculation(); - } + public List nestedCalculation => this.ComputeNestedCalculation(); /// /// The CaseUsages that are nestedUsages of this Usage. @@ -710,10 +601,7 @@ public List QueryNestedCalculation() [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List QueryNestedCase() - { - return this.ComputeNestedCase(); - } + public List nestedCase => this.ComputeNestedCase(); /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -721,10 +609,7 @@ public List QueryNestedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List QueryNestedConcern() - { - return this.ComputeNestedConcern(); - } + public List nestedConcern => this.ComputeNestedConcern(); /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -734,10 +619,7 @@ public List QueryNestedConcern() [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List QueryNestedConnection() - { - return this.ComputeNestedConnection(); - } + public List nestedConnection => this.ComputeNestedConnection(); /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -745,10 +627,7 @@ public List QueryNestedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List QueryNestedConstraint() - { - return this.ComputeNestedConstraint(); - } + public List nestedConstraint => this.ComputeNestedConstraint(); /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -756,10 +635,7 @@ public List QueryNestedConstraint() [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List QueryNestedEnumeration() - { - return this.ComputeNestedEnumeration(); - } + public List nestedEnumeration => this.ComputeNestedEnumeration(); /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -767,10 +643,7 @@ public List QueryNestedEnumeration() [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List QueryNestedFlow() - { - return this.ComputeNestedFlow(); - } + public List nestedFlow => this.ComputeNestedFlow(); /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -778,10 +651,7 @@ public List QueryNestedFlow() [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List QueryNestedInterface() - { - return this.ComputeNestedInterface(); - } + public List nestedInterface => this.ComputeNestedInterface(); /// /// The ItemUsages that are nestedUsages of this Usage. @@ -789,10 +659,7 @@ public List QueryNestedInterface() [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List QueryNestedItem() - { - return this.ComputeNestedItem(); - } + public List nestedItem => this.ComputeNestedItem(); /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -800,10 +667,7 @@ public List QueryNestedItem() [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List QueryNestedMetadata() - { - return this.ComputeNestedMetadata(); - } + public List nestedMetadata => this.ComputeNestedMetadata(); /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -811,10 +675,7 @@ public List QueryNestedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List QueryNestedOccurrence() - { - return this.ComputeNestedOccurrence(); - } + public List nestedOccurrence => this.ComputeNestedOccurrence(); /// /// The PartUsages that are nestedUsages of this Usage. @@ -822,10 +683,7 @@ public List QueryNestedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List QueryNestedPart() - { - return this.ComputeNestedPart(); - } + public List nestedPart => this.ComputeNestedPart(); /// /// The PortUsages that are nestedUsages of this Usage. @@ -833,10 +691,7 @@ public List QueryNestedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List QueryNestedPort() - { - return this.ComputeNestedPort(); - } + public List nestedPort => this.ComputeNestedPort(); /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -844,10 +699,7 @@ public List QueryNestedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List QueryNestedReference() - { - return this.ComputeNestedReference(); - } + public List nestedReference => this.ComputeNestedReference(); /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -855,10 +707,7 @@ public List QueryNestedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List QueryNestedRendering() - { - return this.ComputeNestedRendering(); - } + public List nestedRendering => this.ComputeNestedRendering(); /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -866,10 +715,7 @@ public List QueryNestedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List QueryNestedRequirement() - { - return this.ComputeNestedRequirement(); - } + public List nestedRequirement => this.ComputeNestedRequirement(); /// /// The StateUsages that are nestedUsages of this Usage. @@ -877,10 +723,7 @@ public List QueryNestedRequirement() [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List QueryNestedState() - { - return this.ComputeNestedState(); - } + public List nestedState => this.ComputeNestedState(); /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -888,10 +731,7 @@ public List QueryNestedState() [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List QueryNestedTransition() - { - return this.ComputeNestedTransition(); - } + public List nestedTransition => this.ComputeNestedTransition(); /// /// The Usages that are ownedFeatures of this Usage. @@ -900,10 +740,7 @@ public List QueryNestedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List QueryNestedUsage() - { - return this.ComputeNestedUsage(); - } + public List nestedUsage => this.ComputeNestedUsage(); /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -911,10 +748,7 @@ public List QueryNestedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List QueryNestedUseCase() - { - return this.ComputeNestedUseCase(); - } + public List nestedUseCase => this.ComputeNestedUseCase(); /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -922,10 +756,7 @@ public List QueryNestedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List QueryNestedVerificationCase() - { - return this.ComputeNestedVerificationCase(); - } + public List nestedVerificationCase => this.ComputeNestedVerificationCase(); /// /// The ViewUsages that are nestedUsages of this Usage. @@ -933,10 +764,7 @@ public List QueryNestedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List QueryNestedView() - { - return this.ComputeNestedView(); - } + public List nestedView => this.ComputeNestedView(); /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -944,10 +772,7 @@ public List QueryNestedView() [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List QueryNestedViewpoint() - { - return this.ComputeNestedViewpoint(); - } + public List nestedViewpoint => this.ComputeNestedViewpoint(); /// /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, @@ -957,10 +782,7 @@ public List QueryNestedViewpoint() [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List QueryOccurrenceDefinition() - { - return this.ComputeOccurrenceDefinition(); - } + public List occurrenceDefinition => this.ComputeOccurrenceDefinition(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -968,10 +790,7 @@ public List QueryOccurrenceDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -981,10 +800,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -993,10 +809,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -1005,10 +818,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -1018,10 +828,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -1031,10 +838,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -1042,10 +846,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -1054,10 +855,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -1065,10 +863,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -1078,10 +873,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -1091,10 +883,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -1104,10 +893,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -1117,10 +903,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -1129,10 +912,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -1141,10 +921,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -1155,10 +932,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -1167,10 +941,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -1179,10 +950,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -1200,10 +968,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -1213,10 +978,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -1226,10 +988,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -1239,10 +998,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1251,10 +1007,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1262,10 +1015,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The Definition that owns this Usage (if any). @@ -1274,10 +1024,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public IDefinition QueryOwningDefinition() - { - return this.ComputeOwningDefinition(); - } + public IDefinition owningDefinition => this.ComputeOwningDefinition(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1285,10 +1032,7 @@ public IDefinition QueryOwningDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1297,10 +1041,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1309,10 +1050,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -1330,10 +1068,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The Usage in which this Usage is nested (if any). @@ -1341,10 +1076,7 @@ public IType QueryOwningType() [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public IUsage QueryOwningUsage() - { - return this.ComputeOwningUsage(); - } + public IUsage owningUsage => this.ComputeOwningUsage(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -1353,10 +1085,7 @@ public IUsage QueryOwningUsage() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If @@ -1374,10 +1103,7 @@ public List QueryParameter() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1543948477241_299049_20934")] [RedefinedByProperty("IConstraintUsage.ConstraintDefinition")] [Implements(implementation: "IBooleanExpression.Predicate")] - public IPredicate QueryPredicate() - { - return this.ComputePredicate(); - } + IPredicate Kernel.Functions.IBooleanExpression.predicate => throw new InvalidOperationException("Redefined by property IConstraintUsage.ConstraintDefinition"); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -1389,10 +1115,7 @@ public IPredicate QueryPredicate() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// An optional modeler-specified identifier for this RequirementUsage (used, e.g., to link it to an @@ -1412,10 +1135,7 @@ public string QueryQualifiedName() [Property(xmiId: "_19_0_2_12e503d9_1583377448339_252740_390", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IRequirementUsage.RequiredConstraint")] - public List QueryRequiredConstraint() - { - return this.ComputeRequiredConstraint(); - } + public List requiredConstraint => this.ComputeRequiredConstraint(); /// /// The RequirementDefinition that is the single definition of this RequirementUsage. @@ -1423,10 +1143,7 @@ public List QueryRequiredConstraint() [Property(xmiId: "_19_0_2_12e503d9_1583000408905_769743_1223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1578067546711_751168_1745")] [Implements(implementation: "IRequirementUsage.RequirementDefinition")] - public IRequirementDefinition QueryRequirementDefinition() - { - return this.ComputeRequirementDefinition(); - } + public IRequirementDefinition requirementDefinition => this.ComputeRequirementDefinition(); /// /// An output parameter of the Expression whose value is the result of the Expression. The result of an @@ -1437,10 +1154,7 @@ public IRequirementDefinition QueryRequirementDefinition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [Implements(implementation: "IExpression.Result")] - public IFeature QueryResult() - { - return this.ComputeResult(); - } + public IFeature result => this.ComputeResult(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1450,10 +1164,7 @@ public IFeature QueryResult() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The parameters of this RequirementUsage that represent stakeholders for the requirement. @@ -1462,10 +1173,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IRequirementUsage.StakeholderParameter")] - public List QueryStakeholderParameter() - { - return this.ComputeStakeholderParameter(); - } + public List stakeholderParameter => this.ComputeStakeholderParameter(); /// /// The parameter of this RequirementUsage that represents its subject. @@ -1474,10 +1182,7 @@ public List QueryStakeholderParameter() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IRequirementUsage.SubjectParameter")] - public IUsage QuerySubjectParameter() - { - return this.ComputeSubjectParameter(); - } + public IUsage subjectParameter => this.ComputeSubjectParameter(); /// /// An optional textual statement of the requirement represented by this RequirementUsage, derived from @@ -1485,10 +1190,7 @@ public IUsage QuerySubjectParameter() /// [Property(xmiId: "_19_0_2_12e503d9_1583376480942_745679_99", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IRequirementUsage.Text")] - public List QueryText() - { - return this.ComputeText(); - } + public List text => this.ComputeText(); /// /// The TextualRepresentations that annotate this Element. @@ -1497,10 +1199,7 @@ public List QueryText() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1511,10 +1210,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1525,10 +1221,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1536,10 +1229,7 @@ public List QueryUnioningType() [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1548,10 +1238,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1560,10 +1247,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/SelectExpression.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/SelectExpression.cs index e1843905..959697e0 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/SelectExpression.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/SelectExpression.cs @@ -68,10 +68,7 @@ public partial class SelectExpression : ISelectExpression /// [Property(xmiId: "_2022x_2_12e503d9_1739134437590_328753_108", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IInstantiationExpression.Argument")] - public List QueryArgument() - { - return this.ComputeArgument(); - } + public List argument => this.ComputeArgument(); /// /// The Behaviors that type this Step. @@ -80,10 +77,7 @@ public List QueryArgument() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IExpression.Function")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -95,10 +89,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -108,10 +99,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -141,10 +129,7 @@ public IFeature QueryCrossFeature() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -153,10 +138,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -173,10 +155,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -192,10 +171,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -205,10 +181,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -216,10 +189,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -228,20 +198,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -251,10 +215,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Function that types this Expression. @@ -262,10 +223,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [Implements(implementation: "IExpression.Function")] - public IFunction QueryFunction() - { - return this.ComputeFunction(); - } + public IFunction function => this.ComputeFunction(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -273,10 +231,7 @@ public IFunction QueryFunction() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -284,10 +239,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -296,10 +248,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -307,10 +256,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The Type that is being instantiated. @@ -318,10 +264,7 @@ public List QueryInput() [Property(xmiId: "_2022x_2_12e503d9_1739134352572_416088_80", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IInstantiationExpression.InstantiatedType")] - public IType QueryInstantiatedType() - { - return this.ComputeInstantiatedType(); - } + public IType instantiatedType => this.ComputeInstantiatedType(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -334,10 +277,7 @@ public IType QueryInstantiatedType() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -361,10 +301,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -411,10 +348,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, @@ -422,10 +356,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool QueryIsModelLevelEvaluable() - { - return this.ComputeIsModelLevelEvaluable(); - } + public bool isModelLevelEvaluable => this.ComputeIsModelLevelEvaluable(); /// /// Whether an order exists for the values of this Feature or not. @@ -475,10 +406,7 @@ public bool QueryIsModelLevelEvaluable() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -486,10 +414,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -499,10 +424,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -512,17 +434,14 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// [Property(xmiId: "_18_5_3_12e503d9_1559596728932_861031_29126", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "select")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1557528808100_646606_111674")] [Implements(implementation: "ISelectExpression.Operator")] - string ISelectExpression.Operator { get; set; } + public string Operator { get; set; } /// /// An operator symbol that names a corresponding Function from one of the standard packages from the @@ -531,7 +450,11 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1557528808100_646606_111674", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("ISelectExpression.Operator")] [Implements(implementation: "IOperatorExpression.Operator")] - string IOperatorExpression.Operator { get; set; } + string IOperatorExpression.Operator + { + get => throw new InvalidOperationException("Redefined by property ISelectExpression.Operator"); + set => throw new InvalidOperationException("Redefined by property ISelectExpression.Operator"); + } /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -539,10 +462,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -552,10 +472,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -564,10 +481,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -576,10 +490,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -589,10 +500,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -602,10 +510,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -613,10 +518,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -625,10 +527,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -636,10 +535,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -649,10 +545,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -662,10 +555,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -675,10 +565,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -688,10 +575,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -700,10 +584,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -712,10 +593,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -726,10 +604,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -738,10 +613,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -750,10 +622,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -771,10 +640,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -784,10 +650,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -797,10 +660,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -810,10 +670,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -822,10 +679,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -833,10 +687,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -844,10 +695,7 @@ public IElement QueryOwner() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -856,10 +704,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -868,10 +713,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -889,10 +731,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -901,10 +740,7 @@ public IType QueryOwningType() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -916,10 +752,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// An output parameter of the Expression whose value is the result of the Expression. The result of an @@ -930,10 +763,7 @@ public string QueryQualifiedName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [Implements(implementation: "IExpression.Result")] - public IFeature QueryResult() - { - return this.ComputeResult(); - } + public IFeature result => this.ComputeResult(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -943,10 +773,7 @@ public IFeature QueryResult() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -955,10 +782,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -968,10 +792,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + public List type => this.ComputeType(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -982,10 +803,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/Subclassification.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/Subclassification.cs index 1e35fc8e..78b228ee 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/Subclassification.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/Subclassification.cs @@ -80,10 +80,7 @@ public partial class Subclassification : ISubclassification [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -100,7 +97,11 @@ public List QueryDocumentation() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [RedefinedByProperty("ISubclassification.Superclassifier")] [Implements(implementation: "ISpecialization.General")] - public IType General { get; set; } + IType Core.Types.ISpecialization.General + { + get => throw new InvalidOperationException("Redefined by property ISubclassification.Superclassifier"); + set => throw new InvalidOperationException("Redefined by property ISubclassification.Superclassifier"); + } /// /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being @@ -126,10 +127,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -139,10 +137,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -152,10 +147,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -163,10 +155,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -190,10 +179,7 @@ public List QueryOwnedElement() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The Classifier that owns this Subclassification relationship, which must also be its subclassifier. @@ -201,10 +187,7 @@ public IElement QueryOwner() [Property(xmiId: "_18_5_3_12e503d9_1543189170642_857401_25506", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_573157_43226")] [Implements(implementation: "ISubclassification.OwningClassifier")] - public IClassifier QueryOwningClassifier() - { - return this.ComputeOwningClassifier(); - } + public IClassifier owningClassifier => this.ComputeOwningClassifier(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -213,10 +196,7 @@ public IClassifier QueryOwningClassifier() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -225,10 +205,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -254,10 +231,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] [RedefinedByProperty("ISubclassification.OwningClassifier")] [Implements(implementation: "ISpecialization.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + IType Core.Types.ISpecialization.owningType => throw new InvalidOperationException("Redefined by property ISubclassification.OwningClassifier"); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -269,10 +243,7 @@ public IType QueryOwningType() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -280,10 +251,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + public List relatedElement => this.ComputeRelatedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -293,10 +261,7 @@ public List QueryRelatedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -305,7 +270,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("ISpecialization.Specific")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property ISpecialization.Specific"); + set => throw new InvalidOperationException("Redefined by property ISpecialization.Specific"); + } /// /// A Type with a subset of all instances of the general Type, which might be the same set. @@ -314,7 +283,11 @@ public string QueryShortName() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [RedefinedByProperty("ISubclassification.Subclassifier")] [Implements(implementation: "ISpecialization.Specific")] - public IType Specific { get; set; } + IType Core.Types.ISpecialization.Specific + { + get => throw new InvalidOperationException("Redefined by property ISubclassification.Subclassifier"); + set => throw new InvalidOperationException("Redefined by property ISubclassification.Subclassifier"); + } /// /// The more specific Classifier in this Subclassification. @@ -339,7 +312,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("ISpecialization.General")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property ISpecialization.General"); + set => throw new InvalidOperationException("Redefined by property ISpecialization.General"); + } /// /// The TextualRepresentations that annotate this Element. @@ -348,10 +325,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/TextualRepresentation.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/TextualRepresentation.cs index 318f2ab1..1127fb28 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/TextualRepresentation.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/TextualRepresentation.cs @@ -84,10 +84,7 @@ public partial class TextualRepresentation : ITextualRepresentation [Property(xmiId: "_19_0_2_12e503d9_1594145755058_99428_86", aggregation: AggregationKind.None, lowerValue: 1, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("ITextualRepresentation.RepresentedElement")] [Implements(implementation: "IAnnotatingElement.AnnotatedElement")] - public List QueryAnnotatedElement() - { - return this.ComputeAnnotatedElement(); - } + List IAnnotatingElement.annotatedElement => throw new InvalidOperationException("Redefined by property ITextualRepresentation.RepresentedElement"); /// /// The Annotations that relate this AnnotatingElement to its annotatedElements. This includes the @@ -96,10 +93,7 @@ public List QueryAnnotatedElement() [Property(xmiId: "_18_5_3_12e503d9_1543094212714_953084_18407", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IAnnotatingElement.Annotation")] - public List QueryAnnotation() - { - return this.ComputeAnnotation(); - } + public List annotation => this.ComputeAnnotation(); /// /// The textual representation of the representedElement in the given language. @@ -132,10 +126,7 @@ public List QueryAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -161,10 +152,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// The natural or artifical language in which the body text is written. @@ -181,10 +169,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this AnnotatingElement that are Annotations, for which this @@ -194,10 +179,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IAnnotatingElement.OwnedAnnotatingRelationship")] - public List QueryOwnedAnnotatingRelationship() - { - return this.ComputeOwnedAnnotatingRelationship(); - } + public List ownedAnnotatingRelationship => this.ComputeOwnedAnnotatingRelationship(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -207,10 +189,7 @@ public List QueryOwnedAnnotatingRelationship() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -218,10 +197,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -237,10 +213,7 @@ public List QueryOwnedElement() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this AnnotatingRelationship, if it is an Annotation @@ -249,10 +222,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] [Implements(implementation: "IAnnotatingElement.OwningAnnotatingRelationship")] - public IAnnotation QueryOwningAnnotatingRelationship() - { - return this.ComputeOwningAnnotatingRelationship(); - } + public IAnnotation owningAnnotatingRelationship => this.ComputeOwningAnnotatingRelationship(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -261,10 +231,7 @@ public IAnnotation QueryOwningAnnotatingRelationship() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -273,10 +240,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -296,10 +260,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Element that is represented by this TextualRepresentation. @@ -308,10 +269,7 @@ public string QueryQualifiedName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_744477_17277")] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1594145755058_99428_86")] [Implements(implementation: "ITextualRepresentation.RepresentedElement")] - public IElement QueryRepresentedElement() - { - return this.ComputeRepresentedElement(); - } + public IElement representedElement => this.ComputeRepresentedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -321,10 +279,7 @@ public IElement QueryRepresentedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -333,10 +288,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/Usage.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/Usage.cs index 063e4b5c..93e8d842 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/Usage.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPoco/Usage.cs @@ -95,10 +95,7 @@ public partial class Usage : IUsage /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -108,10 +105,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -138,10 +132,7 @@ public IFeature QueryCrossFeature() [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [Implements(implementation: "IUsage.Definition")] - public List QueryDefinition() - { - return this.ComputeDefinition(); - } + public List definition => this.ComputeDefinition(); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -154,10 +145,7 @@ public List QueryDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -165,10 +153,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// The usages of this Usage that are directedFeatures. @@ -177,10 +162,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -197,10 +179,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -216,10 +195,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -229,10 +205,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -240,10 +213,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -252,20 +222,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -275,10 +239,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -286,10 +247,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -297,10 +255,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -309,10 +264,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -320,10 +272,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -336,10 +285,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -363,10 +309,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -413,10 +356,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -438,10 +378,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IUsage.IsReference")] - public bool QueryIsReference() - { - return this.ComputeIsReference(); - } + public bool isReference => this.ComputeIsReference(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -469,7 +406,11 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -490,10 +431,7 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool QueryMayTimeVary() - { - return this.ComputeMayTimeVary(); - } + public bool mayTimeVary => this.ComputeMayTimeVary(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -501,10 +439,7 @@ public bool QueryMayTimeVary() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -512,10 +447,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -525,10 +457,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -538,10 +467,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ActionUsages that are nestedUsages of this Usage. @@ -549,10 +475,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List QueryNestedAction() - { - return this.ComputeNestedAction(); - } + public List nestedAction => this.ComputeNestedAction(); /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -560,10 +483,7 @@ public List QueryNestedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List QueryNestedAllocation() - { - return this.ComputeNestedAllocation(); - } + public List nestedAllocation => this.ComputeNestedAllocation(); /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -571,10 +491,7 @@ public List QueryNestedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List QueryNestedAnalysisCase() - { - return this.ComputeNestedAnalysisCase(); - } + public List nestedAnalysisCase => this.ComputeNestedAnalysisCase(); /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -582,10 +499,7 @@ public List QueryNestedAnalysisCase() [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List QueryNestedAttribute() - { - return this.ComputeNestedAttribute(); - } + public List nestedAttribute => this.ComputeNestedAttribute(); /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -593,10 +507,7 @@ public List QueryNestedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List QueryNestedCalculation() - { - return this.ComputeNestedCalculation(); - } + public List nestedCalculation => this.ComputeNestedCalculation(); /// /// The CaseUsages that are nestedUsages of this Usage. @@ -604,10 +515,7 @@ public List QueryNestedCalculation() [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List QueryNestedCase() - { - return this.ComputeNestedCase(); - } + public List nestedCase => this.ComputeNestedCase(); /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -615,10 +523,7 @@ public List QueryNestedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List QueryNestedConcern() - { - return this.ComputeNestedConcern(); - } + public List nestedConcern => this.ComputeNestedConcern(); /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -628,10 +533,7 @@ public List QueryNestedConcern() [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List QueryNestedConnection() - { - return this.ComputeNestedConnection(); - } + public List nestedConnection => this.ComputeNestedConnection(); /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -639,10 +541,7 @@ public List QueryNestedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List QueryNestedConstraint() - { - return this.ComputeNestedConstraint(); - } + public List nestedConstraint => this.ComputeNestedConstraint(); /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -650,10 +549,7 @@ public List QueryNestedConstraint() [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List QueryNestedEnumeration() - { - return this.ComputeNestedEnumeration(); - } + public List nestedEnumeration => this.ComputeNestedEnumeration(); /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -661,10 +557,7 @@ public List QueryNestedEnumeration() [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List QueryNestedFlow() - { - return this.ComputeNestedFlow(); - } + public List nestedFlow => this.ComputeNestedFlow(); /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -672,10 +565,7 @@ public List QueryNestedFlow() [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List QueryNestedInterface() - { - return this.ComputeNestedInterface(); - } + public List nestedInterface => this.ComputeNestedInterface(); /// /// The ItemUsages that are nestedUsages of this Usage. @@ -683,10 +573,7 @@ public List QueryNestedInterface() [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List QueryNestedItem() - { - return this.ComputeNestedItem(); - } + public List nestedItem => this.ComputeNestedItem(); /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -694,10 +581,7 @@ public List QueryNestedItem() [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List QueryNestedMetadata() - { - return this.ComputeNestedMetadata(); - } + public List nestedMetadata => this.ComputeNestedMetadata(); /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -705,10 +589,7 @@ public List QueryNestedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List QueryNestedOccurrence() - { - return this.ComputeNestedOccurrence(); - } + public List nestedOccurrence => this.ComputeNestedOccurrence(); /// /// The PartUsages that are nestedUsages of this Usage. @@ -716,10 +597,7 @@ public List QueryNestedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List QueryNestedPart() - { - return this.ComputeNestedPart(); - } + public List nestedPart => this.ComputeNestedPart(); /// /// The PortUsages that are nestedUsages of this Usage. @@ -727,10 +605,7 @@ public List QueryNestedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List QueryNestedPort() - { - return this.ComputeNestedPort(); - } + public List nestedPort => this.ComputeNestedPort(); /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -738,10 +613,7 @@ public List QueryNestedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List QueryNestedReference() - { - return this.ComputeNestedReference(); - } + public List nestedReference => this.ComputeNestedReference(); /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -749,10 +621,7 @@ public List QueryNestedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List QueryNestedRendering() - { - return this.ComputeNestedRendering(); - } + public List nestedRendering => this.ComputeNestedRendering(); /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -760,10 +629,7 @@ public List QueryNestedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List QueryNestedRequirement() - { - return this.ComputeNestedRequirement(); - } + public List nestedRequirement => this.ComputeNestedRequirement(); /// /// The StateUsages that are nestedUsages of this Usage. @@ -771,10 +637,7 @@ public List QueryNestedRequirement() [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List QueryNestedState() - { - return this.ComputeNestedState(); - } + public List nestedState => this.ComputeNestedState(); /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -782,10 +645,7 @@ public List QueryNestedState() [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List QueryNestedTransition() - { - return this.ComputeNestedTransition(); - } + public List nestedTransition => this.ComputeNestedTransition(); /// /// The Usages that are ownedFeatures of this Usage. @@ -794,10 +654,7 @@ public List QueryNestedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List QueryNestedUsage() - { - return this.ComputeNestedUsage(); - } + public List nestedUsage => this.ComputeNestedUsage(); /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -805,10 +662,7 @@ public List QueryNestedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List QueryNestedUseCase() - { - return this.ComputeNestedUseCase(); - } + public List nestedUseCase => this.ComputeNestedUseCase(); /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -816,10 +670,7 @@ public List QueryNestedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List QueryNestedVerificationCase() - { - return this.ComputeNestedVerificationCase(); - } + public List nestedVerificationCase => this.ComputeNestedVerificationCase(); /// /// The ViewUsages that are nestedUsages of this Usage. @@ -827,10 +678,7 @@ public List QueryNestedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List QueryNestedView() - { - return this.ComputeNestedView(); - } + public List nestedView => this.ComputeNestedView(); /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -838,10 +686,7 @@ public List QueryNestedView() [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List QueryNestedViewpoint() - { - return this.ComputeNestedViewpoint(); - } + public List nestedViewpoint => this.ComputeNestedViewpoint(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -849,10 +694,7 @@ public List QueryNestedViewpoint() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -862,10 +704,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -874,10 +713,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -886,10 +722,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -899,10 +732,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -912,10 +742,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -923,10 +750,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -935,10 +759,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -946,10 +767,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -959,10 +777,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -972,10 +787,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -985,10 +797,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -998,10 +807,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -1010,10 +816,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -1022,10 +825,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -1036,10 +836,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -1048,10 +845,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -1060,10 +854,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -1081,10 +872,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -1094,10 +882,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -1107,10 +892,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -1120,10 +902,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1132,10 +911,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1143,10 +919,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The Definition that owns this Usage (if any). @@ -1155,10 +928,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public IDefinition QueryOwningDefinition() - { - return this.ComputeOwningDefinition(); - } + public IDefinition owningDefinition => this.ComputeOwningDefinition(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1166,10 +936,7 @@ public IDefinition QueryOwningDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1178,10 +945,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1190,10 +954,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -1211,10 +972,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The Usage in which this Usage is nested (if any). @@ -1222,10 +980,7 @@ public IType QueryOwningType() [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public IUsage QueryOwningUsage() - { - return this.ComputeOwningUsage(); - } + public IUsage owningUsage => this.ComputeOwningUsage(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -1237,10 +992,7 @@ public IUsage QueryOwningUsage() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1250,10 +1002,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -1262,10 +1011,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1276,10 +1022,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1290,10 +1033,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1301,10 +1041,7 @@ public List QueryUnioningType() [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1313,10 +1050,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1325,10 +1059,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/AnnotatingElementExtensions.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/AnnotatingElementExtensions.cs index b991d48a..3953c3d4 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/AnnotatingElementExtensions.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/AnnotatingElementExtensions.cs @@ -68,15 +68,10 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -86,7 +81,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/AssociationExtensions.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/AssociationExtensions.cs index eb055ce6..1b037f19 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/AssociationExtensions.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/AssociationExtensions.cs @@ -68,21 +68,13 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsSufficient = dto.IsSufficient; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -91,7 +83,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -101,23 +92,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - - return identifiersOfObjectsToDelete; } @@ -193,26 +167,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Kernel.Associations. poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -241,8 +195,6 @@ public static Core.DTO.Kernel.Associations.Association ToDto(this Core.POCO.Kern dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); return dto; } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/DependencyExtensions.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/DependencyExtensions.cs index e1e1e651..82abc735 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/DependencyExtensions.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/DependencyExtensions.cs @@ -68,7 +68,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - var clientToDelete = poco.Client.Select(x => x.Id).Except(dto.Client); foreach (var identifier in clientToDelete) @@ -76,17 +75,11 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t poco.Client.Remove(poco.Client.Single(x => x.Id == identifier)); } - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -95,7 +88,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -104,15 +96,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - var supplierToDelete = poco.Supplier.Select(x => x.Id).Except(dto.Supplier); foreach (var identifier in supplierToDelete) @@ -121,15 +104,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - - return identifiersOfObjectsToDelete; } @@ -215,16 +189,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Root.Dependencies.De poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - var supplierToAdd = dto.Supplier.Except(poco.Supplier.Select(x => x.Id)); foreach (var identifier in supplierToAdd) @@ -235,16 +199,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Root.Dependencies.De } } - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -272,9 +226,7 @@ public static Core.DTO.Root.Dependencies.Dependency ToDto(this Core.POCO.Root.De dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); dto.Supplier = poco.Supplier.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); return dto; } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/EnumerationDefinitionExtensions.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/EnumerationDefinitionExtensions.cs index c7e6df9a..bd5f5355 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/EnumerationDefinitionExtensions.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/EnumerationDefinitionExtensions.cs @@ -68,23 +68,13 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsSufficient = dto.IsSufficient; - - ((Core.POCO.Systems.Enumerations.IEnumerationDefinition)poco).IsVariation = ((Core.DTO.Systems.Enumerations.IEnumerationDefinition)dto).IsVariation; - - ((Core.POCO.Systems.DefinitionAndUsage.IDefinition)poco).IsVariation = ((Core.DTO.Systems.DefinitionAndUsage.IDefinition)dto).IsVariation; - + poco.IsVariation = dto.IsVariation; var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -94,7 +84,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } @@ -174,8 +163,7 @@ public static Core.DTO.Systems.Enumerations.EnumerationDefinition ToDto(this Cor dto.IsAbstract = poco.IsAbstract; dto.IsImpliedIncluded = poco.IsImpliedIncluded; dto.IsSufficient = poco.IsSufficient; - ((Core.DTO.Systems.Enumerations.IEnumerationDefinition)dto).IsVariation = ((Core.POCO.Systems.Enumerations.IEnumerationDefinition)poco).IsVariation; - ((Core.DTO.Systems.DefinitionAndUsage.IDefinition)dto).IsVariation = ((Core.POCO.Systems.DefinitionAndUsage.IDefinition)poco).IsVariation; + dto.IsVariation = poco.IsVariation; dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelationship = poco.OwningRelationship?.Id; diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/FeatureExtensions.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/FeatureExtensions.cs index 60d9d7a0..575191df 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/FeatureExtensions.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/FeatureExtensions.cs @@ -68,37 +68,21 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -108,7 +92,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/FeatureTypingExtensions.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/FeatureTypingExtensions.cs index 87fc2ee5..d19b8ab4 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/FeatureTypingExtensions.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/FeatureTypingExtensions.cs @@ -68,17 +68,11 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -87,7 +81,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -97,23 +90,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - - return identifiersOfObjectsToDelete; } @@ -151,15 +127,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Core.Features.Featur Lazy lazyPoco; - if (cache.TryGetValue(dto.General, out lazyPoco)) - { - poco.General = (Core.POCO.Core.Types.Type)lazyPoco.Value; - } - else - { - poco.General = null; - } - var ownedRelatedElementToAdd = dto.OwnedRelatedElement.Except(poco.OwnedRelatedElement.Select(x => x.Id)); foreach (var identifier in ownedRelatedElementToAdd) @@ -198,35 +165,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Core.Features.Featur poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - if (cache.TryGetValue(dto.Specific, out lazyPoco)) - { - poco.Specific = (Core.POCO.Core.Types.Type)lazyPoco.Value; - } - else - { - poco.Specific = null; - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - if (cache.TryGetValue(dto.Type, out lazyPoco)) { poco.Type = (Core.POCO.Core.Types.Type)lazyPoco.Value; @@ -265,16 +203,12 @@ public static Core.DTO.Core.Features.FeatureTyping ToDto(this Core.POCO.Core.Fea dto.DeclaredName = poco.DeclaredName; dto.DeclaredShortName = poco.DeclaredShortName; dto.ElementId = poco.ElementId; - dto.General = poco.General.Id; dto.IsImplied = poco.IsImplied; dto.IsImpliedIncluded = poco.IsImpliedIncluded; dto.OwnedRelatedElement = poco.OwnedRelatedElement.Select(x => x.Id).ToList(); dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Specific = poco.Specific.Id; - dto.Target = poco.Target.Select(x => x.Id).ToList(); dto.Type = poco.Type.Id; dto.TypedFeature = poco.TypedFeature.Id; diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/FlowExtensions.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/FlowExtensions.cs index 41e08951..29962a7f 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/FlowExtensions.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/FlowExtensions.cs @@ -68,39 +68,22 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -109,7 +92,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -119,23 +101,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - - return identifiersOfObjectsToDelete; } @@ -211,26 +176,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Kernel.Interactions. poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -268,8 +213,6 @@ public static Core.DTO.Kernel.Interactions.Flow ToDto(this Core.POCO.Kernel.Inte dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); return dto; } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/FramedConcernMembershipExtensions.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/FramedConcernMembershipExtensions.cs index 715e2131..129a3f80 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/FramedConcernMembershipExtensions.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/FramedConcernMembershipExtensions.cs @@ -68,25 +68,12 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - - ((Core.POCO.Systems.Requirements.IFramedConcernMembership)poco).Kind = ((Core.DTO.Systems.Requirements.IFramedConcernMembership)dto).Kind; - - ((Core.POCO.Systems.Requirements.IRequirementConstraintMembership)poco).Kind = ((Core.DTO.Systems.Requirements.IRequirementConstraintMembership)dto).Kind; - - poco.MemberName = dto.MemberName; - - poco.MemberShortName = dto.MemberShortName; - + poco.Kind = dto.Kind; var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -95,7 +82,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -104,26 +90,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - poco.Visibility = dto.Visibility; - return identifiersOfObjectsToDelete; } @@ -161,15 +129,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Systems.Requirements Lazy lazyPoco; - if (cache.TryGetValue(dto.MemberElement, out lazyPoco)) - { - poco.MemberElement = (Core.POCO.Root.Elements.IElement)lazyPoco.Value; - } - else - { - poco.MemberElement = null; - } - var ownedRelatedElementToAdd = dto.OwnedRelatedElement.Except(poco.OwnedRelatedElement.Select(x => x.Id)); foreach (var identifier in ownedRelatedElementToAdd) @@ -208,26 +167,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Systems.Requirements poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -250,17 +189,11 @@ public static Core.DTO.Systems.Requirements.FramedConcernMembership ToDto(this C dto.ElementId = poco.ElementId; dto.IsImplied = poco.IsImplied; dto.IsImpliedIncluded = poco.IsImpliedIncluded; - ((Core.DTO.Systems.Requirements.IFramedConcernMembership)dto).Kind = ((Core.POCO.Systems.Requirements.IFramedConcernMembership)poco).Kind; - ((Core.DTO.Systems.Requirements.IRequirementConstraintMembership)dto).Kind = ((Core.POCO.Systems.Requirements.IRequirementConstraintMembership)poco).Kind; - dto.MemberElement = poco.MemberElement.Id; - dto.MemberName = poco.MemberName; - dto.MemberShortName = poco.MemberShortName; + dto.Kind = poco.Kind; dto.OwnedRelatedElement = poco.OwnedRelatedElement.Select(x => x.Id).ToList(); dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); dto.Visibility = poco.Visibility; return dto; diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/LiteralIntegerExtensions.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/LiteralIntegerExtensions.cs index af4a307f..e2c1f051 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/LiteralIntegerExtensions.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/LiteralIntegerExtensions.cs @@ -68,37 +68,21 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -107,10 +91,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - poco.Value = dto.Value; - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/LiteralRationalExtensions.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/LiteralRationalExtensions.cs index 44218203..9fa36872 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/LiteralRationalExtensions.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/LiteralRationalExtensions.cs @@ -68,37 +68,21 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -107,10 +91,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - poco.Value = dto.Value; - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/MembershipExtensions.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/MembershipExtensions.cs index 92d75722..7ea26fd2 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/MembershipExtensions.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/MembershipExtensions.cs @@ -68,21 +68,13 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.MemberName = dto.MemberName; - poco.MemberShortName = dto.MemberShortName; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -91,7 +83,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -100,26 +91,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - poco.Visibility = dto.Visibility; - return identifiersOfObjectsToDelete; } @@ -204,26 +177,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Root.Namespaces.Memb poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -253,8 +206,6 @@ public static Core.DTO.Root.Namespaces.Membership ToDto(this Core.POCO.Root.Name dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); dto.Visibility = poco.Visibility; return dto; diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/MultiplicityRangeExtensions.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/MultiplicityRangeExtensions.cs index e64f2408..511302f9 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/MultiplicityRangeExtensions.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/MultiplicityRangeExtensions.cs @@ -68,37 +68,21 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -108,7 +92,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/OwningMembershipExtensions.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/OwningMembershipExtensions.cs index 4bef18f5..16b1753f 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/OwningMembershipExtensions.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/OwningMembershipExtensions.cs @@ -68,21 +68,11 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - - poco.MemberName = dto.MemberName; - - poco.MemberShortName = dto.MemberShortName; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -91,7 +81,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -100,26 +89,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - poco.Visibility = dto.Visibility; - return identifiersOfObjectsToDelete; } @@ -157,15 +128,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Root.Namespaces.Owni Lazy lazyPoco; - if (cache.TryGetValue(dto.MemberElement, out lazyPoco)) - { - poco.MemberElement = (Core.POCO.Root.Elements.IElement)lazyPoco.Value; - } - else - { - poco.MemberElement = null; - } - var ownedRelatedElementToAdd = dto.OwnedRelatedElement.Except(poco.OwnedRelatedElement.Select(x => x.Id)); foreach (var identifier in ownedRelatedElementToAdd) @@ -204,26 +166,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Root.Namespaces.Owni poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -246,15 +188,10 @@ public static Core.DTO.Root.Namespaces.OwningMembership ToDto(this Core.POCO.Roo dto.ElementId = poco.ElementId; dto.IsImplied = poco.IsImplied; dto.IsImpliedIncluded = poco.IsImpliedIncluded; - dto.MemberElement = poco.MemberElement.Id; - dto.MemberName = poco.MemberName; - dto.MemberShortName = poco.MemberShortName; dto.OwnedRelatedElement = poco.OwnedRelatedElement.Select(x => x.Id).ToList(); dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); dto.Visibility = poco.Visibility; return dto; diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/ReferenceSubsettingExtensions.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/ReferenceSubsettingExtensions.cs index 7ffa1865..b863f67d 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/ReferenceSubsettingExtensions.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/ReferenceSubsettingExtensions.cs @@ -68,17 +68,11 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -87,7 +81,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -97,23 +90,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - - return identifiersOfObjectsToDelete; } @@ -151,15 +127,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Core.Features.Refere Lazy lazyPoco; - if (cache.TryGetValue(dto.General, out lazyPoco)) - { - poco.General = (Core.POCO.Core.Types.Type)lazyPoco.Value; - } - else - { - poco.General = null; - } - var ownedRelatedElementToAdd = dto.OwnedRelatedElement.Except(poco.OwnedRelatedElement.Select(x => x.Id)); foreach (var identifier in ownedRelatedElementToAdd) @@ -207,53 +174,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Core.Features.Refere poco.ReferencedFeature = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - if (cache.TryGetValue(dto.Specific, out lazyPoco)) - { - poco.Specific = (Core.POCO.Core.Types.Type)lazyPoco.Value; - } - else - { - poco.Specific = null; - } - - if (cache.TryGetValue(dto.SubsettedFeature, out lazyPoco)) - { - poco.SubsettedFeature = (Core.POCO.Core.Features.Feature)lazyPoco.Value; - } - else - { - poco.SubsettedFeature = null; - } - - if (cache.TryGetValue(dto.SubsettingFeature, out lazyPoco)) - { - poco.SubsettingFeature = (Core.POCO.Core.Features.Feature)lazyPoco.Value; - } - else - { - poco.SubsettingFeature = null; - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -274,7 +194,6 @@ public static Core.DTO.Core.Features.ReferenceSubsetting ToDto(this Core.POCO.Co dto.DeclaredName = poco.DeclaredName; dto.DeclaredShortName = poco.DeclaredShortName; dto.ElementId = poco.ElementId; - dto.General = poco.General.Id; dto.IsImplied = poco.IsImplied; dto.IsImpliedIncluded = poco.IsImpliedIncluded; dto.OwnedRelatedElement = poco.OwnedRelatedElement.Select(x => x.Id).ToList(); @@ -282,11 +201,6 @@ public static Core.DTO.Core.Features.ReferenceSubsetting ToDto(this Core.POCO.Co dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; dto.ReferencedFeature = poco.ReferencedFeature.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Specific = poco.Specific.Id; - dto.SubsettedFeature = poco.SubsettedFeature.Id; - dto.SubsettingFeature = poco.SubsettingFeature.Id; - dto.Target = poco.Target.Select(x => x.Id).ToList(); return dto; } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/RequirementUsageExtensions.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/RequirementUsageExtensions.cs index 7ad1ded2..c282e7cc 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/RequirementUsageExtensions.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/RequirementUsageExtensions.cs @@ -68,41 +68,21 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - - poco.IsVariable = dto.IsVariable; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -111,12 +91,9 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - poco.PortionKind = dto.PortionKind; - poco.ReqId = dto.ReqId; - return identifiersOfObjectsToDelete; } @@ -191,7 +168,6 @@ public static Core.DTO.Systems.Requirements.RequirementUsage ToDto(this Core.POC dto.Id = poco.Id; dto.AliasIds = poco.AliasIds; dto.DeclaredName = poco.DeclaredName; - dto.DeclaredShortName = poco.DeclaredShortName; dto.Direction = poco.Direction; dto.ElementId = poco.ElementId; dto.IsAbstract = poco.IsAbstract; @@ -205,7 +181,6 @@ public static Core.DTO.Systems.Requirements.RequirementUsage ToDto(this Core.POC dto.IsPortion = poco.IsPortion; dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; - dto.IsVariable = poco.IsVariable; dto.IsVariation = poco.IsVariation; dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelationship = poco.OwningRelationship?.Id; diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/SelectExpressionExtensions.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/SelectExpressionExtensions.cs index 59354981..30e30649 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/SelectExpressionExtensions.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/SelectExpressionExtensions.cs @@ -68,41 +68,22 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; - - ((Core.POCO.Kernel.Expressions.ISelectExpression)poco).Operator = ((Core.DTO.Kernel.Expressions.ISelectExpression)dto).Operator; - - ((Core.POCO.Kernel.Expressions.IOperatorExpression)poco).Operator = ((Core.DTO.Kernel.Expressions.IOperatorExpression)dto).Operator; - + poco.Operator = dto.Operator; var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -112,7 +93,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } @@ -201,8 +181,7 @@ public static Core.DTO.Kernel.Expressions.SelectExpression ToDto(this Core.POCO. dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; dto.IsVariable = poco.IsVariable; - ((Core.DTO.Kernel.Expressions.ISelectExpression)dto).Operator = ((Core.POCO.Kernel.Expressions.ISelectExpression)poco).Operator; - ((Core.DTO.Kernel.Expressions.IOperatorExpression)dto).Operator = ((Core.POCO.Kernel.Expressions.IOperatorExpression)poco).Operator; + dto.Operator = poco.Operator; dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelationship = poco.OwningRelationship?.Id; diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/SubclassificationExtensions.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/SubclassificationExtensions.cs index b9b0d83d..72aa25f4 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/SubclassificationExtensions.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/SubclassificationExtensions.cs @@ -68,17 +68,11 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -87,7 +81,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -97,23 +90,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - - return identifiersOfObjectsToDelete; } @@ -151,15 +127,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Core.Classifiers.Sub Lazy lazyPoco; - if (cache.TryGetValue(dto.General, out lazyPoco)) - { - poco.General = (Core.POCO.Core.Types.Type)lazyPoco.Value; - } - else - { - poco.General = null; - } - var ownedRelatedElementToAdd = dto.OwnedRelatedElement.Except(poco.OwnedRelatedElement.Select(x => x.Id)); foreach (var identifier in ownedRelatedElementToAdd) @@ -198,25 +165,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Core.Classifiers.Sub poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - if (cache.TryGetValue(dto.Specific, out lazyPoco)) - { - poco.Specific = (Core.POCO.Core.Types.Type)lazyPoco.Value; - } - else - { - poco.Specific = null; - } - if (cache.TryGetValue(dto.Subclassifier, out lazyPoco)) { poco.Subclassifier = (Core.POCO.Core.Classifiers.Classifier)lazyPoco.Value; @@ -235,16 +183,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Core.Classifiers.Sub poco.Superclassifier = null; } - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -265,18 +203,14 @@ public static Core.DTO.Core.Classifiers.Subclassification ToDto(this Core.POCO.C dto.DeclaredName = poco.DeclaredName; dto.DeclaredShortName = poco.DeclaredShortName; dto.ElementId = poco.ElementId; - dto.General = poco.General.Id; dto.IsImplied = poco.IsImplied; dto.IsImpliedIncluded = poco.IsImpliedIncluded; dto.OwnedRelatedElement = poco.OwnedRelatedElement.Select(x => x.Id).ToList(); dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Specific = poco.Specific.Id; dto.Subclassifier = poco.Subclassifier.Id; dto.Superclassifier = poco.Superclassifier.Id; - dto.Target = poco.Target.Select(x => x.Id).ToList(); return dto; } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/TextualRepresentationExtensions.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/TextualRepresentationExtensions.cs index 131872f7..9f7a71ed 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/TextualRepresentationExtensions.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/TextualRepresentationExtensions.cs @@ -68,19 +68,12 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.Body = dto.Body; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.Language = dto.Language; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -90,7 +83,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/UsageExtensions.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/UsageExtensions.cs index 8519e813..83cf4d01 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/UsageExtensions.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenPocoExtension/UsageExtensions.cs @@ -68,39 +68,21 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - - poco.IsVariable = dto.IsVariable; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -110,7 +92,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } @@ -198,7 +179,6 @@ public static Core.DTO.Systems.DefinitionAndUsage.Usage ToDto(this Core.POCO.Sys dto.IsPortion = poco.IsPortion; dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; - dto.IsVariable = poco.IsVariable; dto.IsVariation = poco.IsVariation; dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelationship = poco.OwningRelationship?.Id; diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenSerializer/AssociationSerializer.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenSerializer/AssociationSerializer.cs index 342db4f4..07548804 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenSerializer/AssociationSerializer.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenSerializer/AssociationSerializer.cs @@ -146,30 +146,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iAssociation.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iAssociation.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WriteEndObject(); } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenSerializer/DependencySerializer.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenSerializer/DependencySerializer.cs index 9c43de48..5e7cd7aa 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenSerializer/DependencySerializer.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenSerializer/DependencySerializer.cs @@ -152,18 +152,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iDependency.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WriteStartArray("supplier"u8); foreach (var item in iDependency.Supplier) @@ -176,18 +164,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteEndArray(); - writer.WriteStartArray("target"u8); - - foreach (var item in iDependency.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WriteEndObject(); } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenSerializer/FeatureTypingSerializer.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenSerializer/FeatureTypingSerializer.cs index 4cf8dc1d..d43ba423 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenSerializer/FeatureTypingSerializer.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenSerializer/FeatureTypingSerializer.cs @@ -82,12 +82,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("elementId"u8); writer.WriteStringValue(iFeatureTyping.ElementId); - writer.WritePropertyName("general"u8); - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(iFeatureTyping.General); - writer.WriteEndObject(); - writer.WritePropertyName("isImplied"u8); writer.WriteBooleanValue(iFeatureTyping.IsImplied); @@ -146,36 +140,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iFeatureTyping.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WritePropertyName("specific"u8); - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(iFeatureTyping.Specific); - writer.WriteEndObject(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iFeatureTyping.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WritePropertyName("type"u8); writer.WriteStartObject(); writer.WritePropertyName("@id"u8); diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenSerializer/FlowSerializer.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenSerializer/FlowSerializer.cs index ab8b7b38..c52406d5 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenSerializer/FlowSerializer.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenSerializer/FlowSerializer.cs @@ -181,30 +181,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iFlow.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iFlow.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WriteEndObject(); } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenSerializer/FramedConcernMembershipSerializer.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenSerializer/FramedConcernMembershipSerializer.cs index 7c439839..a6a5ee0e 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenSerializer/FramedConcernMembershipSerializer.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenSerializer/FramedConcernMembershipSerializer.cs @@ -91,18 +91,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("kind"u8); writer.WriteStringValue(iFramedConcernMembership.Kind.ToString().ToLower()); - writer.WritePropertyName("memberElement"u8); - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(iFramedConcernMembership.MemberElement); - writer.WriteEndObject(); - - writer.WritePropertyName("memberName"u8); - writer.WriteStringValue(iFramedConcernMembership.MemberName); - - writer.WritePropertyName("memberShortName"u8); - writer.WriteStringValue(iFramedConcernMembership.MemberShortName); - writer.WriteStartArray("ownedRelatedElement"u8); foreach (var item in iFramedConcernMembership.OwnedRelatedElement) @@ -155,30 +143,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iFramedConcernMembership.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iFramedConcernMembership.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WritePropertyName("visibility"u8); writer.WriteStringValue(iFramedConcernMembership.Visibility.ToString().ToLower()); diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenSerializer/MembershipSerializer.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenSerializer/MembershipSerializer.cs index cbe185da..d5b066fd 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenSerializer/MembershipSerializer.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenSerializer/MembershipSerializer.cs @@ -152,30 +152,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iMembership.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iMembership.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WritePropertyName("visibility"u8); writer.WriteStringValue(iMembership.Visibility.ToString().ToLower()); diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenSerializer/OwningMembershipSerializer.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenSerializer/OwningMembershipSerializer.cs index 4436a354..2f835ba7 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenSerializer/OwningMembershipSerializer.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenSerializer/OwningMembershipSerializer.cs @@ -88,18 +88,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isImpliedIncluded"u8); writer.WriteBooleanValue(iOwningMembership.IsImpliedIncluded); - writer.WritePropertyName("memberElement"u8); - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(iOwningMembership.MemberElement); - writer.WriteEndObject(); - - writer.WritePropertyName("memberName"u8); - writer.WriteStringValue(iOwningMembership.MemberName); - - writer.WritePropertyName("memberShortName"u8); - writer.WriteStringValue(iOwningMembership.MemberShortName); - writer.WriteStartArray("ownedRelatedElement"u8); foreach (var item in iOwningMembership.OwnedRelatedElement) @@ -152,30 +140,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iOwningMembership.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iOwningMembership.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WritePropertyName("visibility"u8); writer.WriteStringValue(iOwningMembership.Visibility.ToString().ToLower()); diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenSerializer/ReferenceSubsettingSerializer.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenSerializer/ReferenceSubsettingSerializer.cs index 6a5da831..217a3753 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenSerializer/ReferenceSubsettingSerializer.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenSerializer/ReferenceSubsettingSerializer.cs @@ -82,12 +82,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("elementId"u8); writer.WriteStringValue(iReferenceSubsetting.ElementId); - writer.WritePropertyName("general"u8); - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(iReferenceSubsetting.General); - writer.WriteEndObject(); - writer.WritePropertyName("isImplied"u8); writer.WriteBooleanValue(iReferenceSubsetting.IsImplied); @@ -152,48 +146,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteStringValue(iReferenceSubsetting.ReferencedFeature); writer.WriteEndObject(); - writer.WriteStartArray("source"u8); - - foreach (var item in iReferenceSubsetting.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WritePropertyName("specific"u8); - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(iReferenceSubsetting.Specific); - writer.WriteEndObject(); - - writer.WritePropertyName("subsettedFeature"u8); - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(iReferenceSubsetting.SubsettedFeature); - writer.WriteEndObject(); - - writer.WritePropertyName("subsettingFeature"u8); - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(iReferenceSubsetting.SubsettingFeature); - writer.WriteEndObject(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iReferenceSubsetting.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WriteEndObject(); } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenSerializer/RequirementUsageSerializer.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenSerializer/RequirementUsageSerializer.cs index 4ac823a5..2f5726f5 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenSerializer/RequirementUsageSerializer.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenSerializer/RequirementUsageSerializer.cs @@ -76,9 +76,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("declaredName"u8); writer.WriteStringValue(iRequirementUsage.DeclaredName); - writer.WritePropertyName("declaredShortName"u8); - writer.WriteStringValue(iRequirementUsage.DeclaredShortName); - writer.WritePropertyName("direction"u8); if (iRequirementUsage.Direction.HasValue) @@ -126,9 +123,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isUnique"u8); writer.WriteBooleanValue(iRequirementUsage.IsUnique); - writer.WritePropertyName("isVariable"u8); - writer.WriteBooleanValue(iRequirementUsage.IsVariable); - writer.WritePropertyName("isVariation"u8); writer.WriteBooleanValue(iRequirementUsage.IsVariation); diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenSerializer/SubclassificationSerializer.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenSerializer/SubclassificationSerializer.cs index a80c2909..cdc3d335 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenSerializer/SubclassificationSerializer.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenSerializer/SubclassificationSerializer.cs @@ -82,12 +82,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("elementId"u8); writer.WriteStringValue(iSubclassification.ElementId); - writer.WritePropertyName("general"u8); - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(iSubclassification.General); - writer.WriteEndObject(); - writer.WritePropertyName("isImplied"u8); writer.WriteBooleanValue(iSubclassification.IsImplied); @@ -146,24 +140,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iSubclassification.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WritePropertyName("specific"u8); - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(iSubclassification.Specific); - writer.WriteEndObject(); - writer.WritePropertyName("subclassifier"u8); writer.WriteStartObject(); writer.WritePropertyName("@id"u8); @@ -176,18 +152,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteStringValue(iSubclassification.Superclassifier); writer.WriteEndObject(); - writer.WriteStartArray("target"u8); - - foreach (var item in iSubclassification.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WriteEndObject(); } } diff --git a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenSerializer/UsageSerializer.cs b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenSerializer/UsageSerializer.cs index 0fbca245..ff294503 100644 --- a/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenSerializer/UsageSerializer.cs +++ b/SysML2.NET.CodeGenerator.Tests/Expected/UML/Core/AutoGenSerializer/UsageSerializer.cs @@ -123,9 +123,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isUnique"u8); writer.WriteBooleanValue(iUsage.IsUnique); - writer.WritePropertyName("isVariable"u8); - writer.WriteBooleanValue(iUsage.IsVariable); - writer.WritePropertyName("isVariation"u8); writer.WriteBooleanValue(iUsage.IsVariation); diff --git a/SysML2.NET.CodeGenerator.Tests/SysML2.NET.CodeGenerator.Tests.csproj b/SysML2.NET.CodeGenerator.Tests/SysML2.NET.CodeGenerator.Tests.csproj index 90716cf6..51d14a6c 100644 --- a/SysML2.NET.CodeGenerator.Tests/SysML2.NET.CodeGenerator.Tests.csproj +++ b/SysML2.NET.CodeGenerator.Tests/SysML2.NET.CodeGenerator.Tests.csproj @@ -1074,87 +1074,6 @@ Always - - - - - - - - Always - - - - Always - - - - Always - - - - Always - - - - Always - - - - Always - - - - Always - - - - Always - - - - Always - - - - Always - - - - Always - - - - Always - - - - Always - - - - Always - - - - Always - - - - Always - - - - Always - - - - Always - - - - Always - Always @@ -1231,6 +1150,82 @@ Always + + + Always + + + + Always + + + + Always + + + + Always + + + + Always + + + + Always + + + + Always + + + + Always + + + + Always + + + + Always + + + + Always + + + + Always + + + + Always + + + + Always + + + + Always + + + + Always + + + + Always + + + + Always + + + + Always + diff --git a/SysML2.NET.CodeGenerator/HandleBarHelpers/PropertyHelper.cs b/SysML2.NET.CodeGenerator/HandleBarHelpers/PropertyHelper.cs index 6c0dfd39..5e9ec4e6 100644 --- a/SysML2.NET.CodeGenerator/HandleBarHelpers/PropertyHelper.cs +++ b/SysML2.NET.CodeGenerator/HandleBarHelpers/PropertyHelper.cs @@ -103,9 +103,9 @@ public static void RegisterPropertyHelper(this IHandlebars handlebars) var propertyName = StringExtensions.CapitalizeFirstLetter(property.Name); - if (property.IsReadOnly || property.IsDerived || property.IsDerivedUnion) + if (property.IsDerived || property.IsDerivedUnion) { - propertyName = $"{propertyName}"; + propertyName = StringExtensions.LowerCaseFirstLetter(propertyName); } sb.Append(propertyName); @@ -135,10 +135,9 @@ public static void RegisterPropertyHelper(this IHandlebars handlebars) var sb = new StringBuilder(); var propertyName = StringExtensions.CapitalizeFirstLetter(property.Name); - var hasSameNameAsClass = generatedClass.Name == propertyName; - var classHaveToImplementTwiceSameProperty = generatedClass.QueryAllProperties().Count(x => x.Name == property.Name) > 1; + var isRedefinedByProperty = property.TryQueryRedefinedByProperty(generatedClass, out var redefiningProperty); - if (!hasSameNameAsClass && !classHaveToImplementTwiceSameProperty) + if (!isRedefinedByProperty) { sb.Append(property.Visibility.ToString().ToLower(CultureInfo.InvariantCulture)); sb.Append(' '); @@ -183,12 +182,12 @@ public static void RegisterPropertyHelper(this IHandlebars handlebars) } } - if (property.IsReadOnly || property.IsDerived || property.IsDerivedUnion) + if (property.IsDerived || property.IsDerivedUnion) { - propertyName = $"{propertyName}"; + propertyName = StringExtensions.LowerCaseFirstLetter(propertyName); } - if (hasSameNameAsClass || classHaveToImplementTwiceSameProperty) + if (isRedefinedByProperty) { var owner = (INamedElement)property.Owner; propertyName = $"I{owner.Name}.{propertyName}"; @@ -206,25 +205,45 @@ public static void RegisterPropertyHelper(this IHandlebars handlebars) if (property.IsReadOnly || property.IsDerived || property.IsDerivedUnion) { - sb.Append($"{{ get; {(hasSameNameAsClass || classHaveToImplementTwiceSameProperty ? "" : "internal set;" )}}}"); + if (isRedefinedByProperty) + { + var owningClass = redefiningProperty.Owner as IClass; + sb.Append($"=> throw new InvalidOperationException(\"Redefined by property I{owningClass?.Name}.{StringExtensions.CapitalizeFirstLetter(redefiningProperty.Name)}\");"); + } + else + { + sb.Append("{ get; internal set; }"); + } } else { - sb.Append("{ get; set; }"); - - if (property.QueryIsEnumerable()) + if (isRedefinedByProperty) { - sb.Append(" = [];"); + var owningClass = redefiningProperty.Owner as IClass; + + sb.AppendLine("{"); + sb.AppendLine($" get => throw new InvalidOperationException(\"Redefined by property I{owningClass?.Name}.{StringExtensions.CapitalizeFirstLetter(redefiningProperty.Name)}\");"); + sb.AppendLine($" set => throw new InvalidOperationException(\"Redefined by property I{owningClass?.Name}.{StringExtensions.CapitalizeFirstLetter(redefiningProperty.Name)}\");"); + sb.Append('}'); } - else if (property.QueryIsDefaultValueDifferentThanDefault()) + else { - if (property.QueryIsString()) + sb.Append("{ get; set; }"); + + if (property.QueryIsEnumerable()) { - sb.Append($" = \"{property.QueryDefaultValueAsString()}\";"); + sb.Append(" = [];"); } - else + else if (property.QueryIsDefaultValueDifferentThanDefault()) { - sb.Append($" = {property.QueryDefaultValueAsString()};"); + if (property.QueryIsString()) + { + sb.Append($" = \"{property.QueryDefaultValueAsString()}\";"); + } + else + { + sb.Append($" = {property.QueryDefaultValueAsString()};"); + } } } } @@ -241,7 +260,7 @@ public static void RegisterPropertyHelper(this IHandlebars handlebars) var sb = new StringBuilder(); var typeName = property.QueryCSharpTypeName(); - + if (property.RedefinedProperty.Any(x => x.Name == property.Name)) { sb.Append("new "); @@ -272,16 +291,12 @@ public static void RegisterPropertyHelper(this IHandlebars handlebars) if (property.IsDerived || property.IsDerivedUnion) { - propertyName = $"Query{propertyName}"; + propertyName = StringExtensions.LowerCaseFirstLetter(propertyName); } sb.Append(propertyName); - - if (property.IsDerived || property.IsDerivedUnion) - { - sb.Append("();"); - } - else if (property.IsReadOnly) + + if (property.IsReadOnly || property.IsDerived || property.IsDerivedUnion) { sb.Append(" { get; }"); } @@ -311,13 +326,12 @@ public static void RegisterPropertyHelper(this IHandlebars handlebars) } var sb = new StringBuilder(); + var isRedefinedByProperty = property.TryQueryRedefinedByProperty(generatedClass, out var redefiningProperty); var typeName = property.QueryCSharpTypeName(); var propertyName = StringExtensions.CapitalizeFirstLetter(property.Name); - var hasSameNameAsClass = !property.IsDerived && !property.IsDerivedUnion && generatedClass.Name == propertyName; - var classHaveToImplementTwiceSameProperty = generatedClass.QueryAllProperties().Count(x => x.Name == property.Name) > 1; - if (!hasSameNameAsClass && !classHaveToImplementTwiceSameProperty) + if (!isRedefinedByProperty) { sb.Append(property.Visibility.ToString().ToLower(CultureInfo.InvariantCulture)); sb.Append(' '); @@ -346,10 +360,10 @@ public static void RegisterPropertyHelper(this IHandlebars handlebars) if (property.IsDerived || property.IsDerivedUnion) { - propertyName = $"Query{propertyName}"; + propertyName = StringExtensions.LowerCaseFirstLetter(propertyName); } - if (hasSameNameAsClass || classHaveToImplementTwiceSameProperty) + if (isRedefinedByProperty) { var owner = (INamedElement)property.Owner; propertyName = $"I{owner.Name}.{propertyName}"; @@ -364,25 +378,50 @@ public static void RegisterPropertyHelper(this IHandlebars handlebars) sb.Append(propertyName); - if (property.IsDerived || property.IsDerivedUnion) + if ( property.IsDerived || property.IsDerivedUnion) { - sb.Append("()"); - sb.AppendLine("{"); - sb.AppendLine($"\treturn this.Compute{StringExtensions.CapitalizeFirstLetter(property.Name)}();"); - sb.Append('}'); + if (isRedefinedByProperty) + { + var owningClass = redefiningProperty.Owner as IClass; + sb.Append($"=> throw new InvalidOperationException(\"Redefined by property I{owningClass?.Name}.{StringExtensions.CapitalizeFirstLetter(redefiningProperty.Name)}\");"); + } + else + { + sb.Append($"=> this.Compute{StringExtensions.CapitalizeFirstLetter(property.Name)}();"); + } } else if (property.IsReadOnly) { - sb.Append(" { get; }"); + if (isRedefinedByProperty) + { + var owningClass = redefiningProperty.Owner as IClass; + sb.Append($"=> throw new InvalidOperationException(\"Redefined by property I{owningClass?.Name}.{StringExtensions.CapitalizeFirstLetter(redefiningProperty.Name)}\");"); + } + else + { + sb.Append(" { get; }"); + } } else { - sb.Append(" { get; set; }"); - } + if (isRedefinedByProperty) + { + var owningClass = redefiningProperty.Owner as IClass; - if (!property.IsReadOnly && !property.IsDerived && !property.IsDerivedUnion && property.QueryIsEnumerable()) - { - sb.Append(" = [];"); + sb.AppendLine("{"); + sb.AppendLine($" get => throw new InvalidOperationException(\"Redefined by property I{owningClass?.Name}.{StringExtensions.CapitalizeFirstLetter(redefiningProperty.Name)}\");"); + sb.AppendLine($" set => throw new InvalidOperationException(\"Redefined by property I{owningClass?.Name}.{StringExtensions.CapitalizeFirstLetter(redefiningProperty.Name)}\");"); + sb.Append('}'); + } + else + { + sb.Append(" { get; set; }"); + + if (property.QueryIsEnumerable()) + { + sb.Append(" = [];"); + } + } } writer.WriteSafeString(sb + Environment.NewLine); @@ -420,30 +459,24 @@ public static void RegisterPropertyHelper(this IHandlebars handlebars) writer.WriteSafeString(sb); }); - handlebars.RegisterHelper("Property.ContainsPropertyRedifinitionWithSameName", (context, arguments) => + handlebars.RegisterHelper("Property.IsPropertyRedefinedInClass", (context, arguments) => { if (context.Value is not IProperty property) { - throw new ArgumentException("The #Property.ContainsPropertyRedifinitionWithSameName context supposed to be IProperty"); + throw new ArgumentException("The #Property.IsPropertyRedefinedInClass context supposed to be IProperty"); } if (arguments.Length != 2) { - throw new ArgumentException("The #Property.ContainsPropertyRedifinitionWithSameName supposed to be have 2 arguments IProperty"); + throw new ArgumentException("The #Property.IsPropertyRedefinedInClass supposed to be have 2 arguments IProperty"); } if (arguments[1] is not IClass generatedClass) { - throw new ArgumentException("The #Property.ContainsPropertyRedifinitionWithSameName supposed to be have an IClass as second argument"); - } - - if (!property.QueryIsRedefined()) - { - return false; + throw new ArgumentException("The #Property.IsPropertyRedefinedInClass supposed to be have an IClass as second argument"); } - var allProperties = generatedClass.QueryAllProperties(); - return property.RedefinedProperty.Where(x => x.Name == property.Name).Any(x => allProperties.Contains(x)); + return property.TryQueryRedefinedByProperty(generatedClass, out _); }); handlebars.RegisterHelper("Property.IsRedefinedOrRedifines", (context, arguments) => diff --git a/SysML2.NET.CodeGenerator/Templates/Uml/core-dal-poco-uml-extensions.hbs b/SysML2.NET.CodeGenerator/Templates/Uml/core-dal-poco-uml-extensions.hbs index e877310d..51732db4 100644 --- a/SysML2.NET.CodeGenerator/Templates/Uml/core-dal-poco-uml-extensions.hbs +++ b/SysML2.NET.CodeGenerator/Templates/Uml/core-dal-poco-uml-extensions.hbs @@ -66,10 +66,11 @@ namespace SysML2.NET.Dal } var identifiersOfObjectsToDelete = new List(); - + {{#each (Class.QueryAllProperties this) as | property |}} {{#unless property.IsDerived }} {{#unless property.IsTransient }} + {{#unless (Property.IsPropertyRedefinedInClass this ../this)}} {{#if (Property.QueryIsReferenceProperty property)}} {{#if (Property.QueryIsEnumerable property) }} var {{ property.Name}}ToDelete = poco.{{ String.PascalCase property.Name}}.Select(x => x.Id).Except(dto.{{ String.PascalCase property.Name}}); @@ -82,18 +83,13 @@ namespace SysML2.NET.Dal {{#if property.IsComposite }} identifiersOfObjectsToDelete.AddRange({{ property.Name}}ToDelete); {{/if}} - {{/if}} {{else}} - {{#if (Property.IsRedefinedOrRedifines this ../this)}} - ((Core.POCO.{{ #NamedElement.WriteFullyQualifiedNameSpace property.Owner }}.I{{property.Owner.Name}})poco).{{ String.PascalCase property.Name }} = ((Core.DTO.{{ #NamedElement.WriteFullyQualifiedNameSpace property.Owner }}.I{{property.Owner.Name}})dto).{{ String.PascalCase property.Name }}; - {{else}} - poco.{{ String.PascalCase property.Name }} = dto.{{ String.PascalCase property.Name }}; - {{/if}} - + poco.{{ String.PascalCase property.Name }} = dto.{{ String.PascalCase property.Name }}; {{/if}} {{/unless}} {{/unless}} + {{/unless}} {{/each}} return identifiersOfObjectsToDelete; @@ -136,7 +132,8 @@ namespace SysML2.NET.Dal {{#each (Class.QueryAllProperties this) as | property |}} {{#unless property.IsDerived }} {{#unless property.IsTransient }} - {{#if (Property.QueryIsReferenceProperty property)}} + {{#unless (Property.IsPropertyRedefinedInClass this ../this)}} + {{#if (Property.QueryIsReferenceProperty property)}} {{#if (Property.QueryIsEnumerable property) }} var {{ property.Name}}ToAdd = dto.{{ String.PascalCase property.Name}}.Except(poco.{{ String.PascalCase property.Name}}.Select(x => x.Id)); @@ -184,6 +181,7 @@ namespace SysML2.NET.Dal {{/if}} {{/unless}} {{/unless}} + {{/unless}} {{/each}} } @@ -204,7 +202,8 @@ namespace SysML2.NET.Dal {{#each (Class.QueryAllProperties this) as | property |}} {{#unless property.IsDerived }} {{#unless property.IsTransient }} - {{#if (Property.QueryIsReferenceProperty property) }} + {{#unless (Property.IsPropertyRedefinedInClass this ../this)}} + {{#if (Property.QueryIsReferenceProperty property) }} {{#if (Property.QueryIsEnumerable property)}} dto.{{ String.PascalCase property.Name }} = poco.{{ String.PascalCase property.Name }}.Select(x => x.Id).ToList(); {{ else if (Property.QueryIsNullable property)}} @@ -213,14 +212,11 @@ namespace SysML2.NET.Dal dto.{{ String.PascalCase property.Name }} = poco.{{ String.PascalCase property.Name }}.Id; {{/if}} {{ else }} - {{#if (Property.IsRedefinedOrRedifines this ../this)}} - ((Core.DTO.{{ #NamedElement.WriteFullyQualifiedNameSpace property.Owner }}.I{{property.Owner.Name}})dto).{{ String.PascalCase property.Name }} = ((Core.POCO.{{ #NamedElement.WriteFullyQualifiedNameSpace property.Owner }}.I{{property.Owner.Name}})poco).{{ String.PascalCase property.Name }}; - {{else}} dto.{{ String.PascalCase property.Name }} = poco.{{ String.PascalCase property.Name }}; - {{/if}} {{/if}} {{/unless}} {{/unless}} + {{/unless}} {{/each}} return dto; diff --git a/SysML2.NET.CodeGenerator/Templates/Uml/core-json-dto-deserializer-uml-template.hbs b/SysML2.NET.CodeGenerator/Templates/Uml/core-json-dto-deserializer-uml-template.hbs index 6d93c504..4a416e58 100644 --- a/SysML2.NET.CodeGenerator/Templates/Uml/core-json-dto-deserializer-uml-template.hbs +++ b/SysML2.NET.CodeGenerator/Templates/Uml/core-json-dto-deserializer-uml-template.hbs @@ -69,7 +69,7 @@ namespace SysML2.NET.Serializer.Json.Core.DTO throw new InvalidOperationException($"The {{ this.Name }}DeSerializer can only be used to deserialize objects of type I{{ this.Name }}, a {@type.GetString()} was provided"); } - I{{ this.Name }} dtoInstance = new SysML2.NET.Core.DTO.{{ #NamedElement.WriteFullyQualifiedNameSpace this }}.{{ this.Name }}(); + var dtoInstance = new SysML2.NET.Core.DTO.{{ #NamedElement.WriteFullyQualifiedNameSpace this }}.{{ this.Name }}(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -89,7 +89,7 @@ namespace SysML2.NET.Serializer.Json.Core.DTO {{ #each (Class.QueryAllProperties this) as | property | }} {{#unless this.IsDerived}} {{#unless this.IsTransient}} - {{#unless (Property.ContainsPropertyRedifinitionWithSameName this class)}} + {{#unless (Property.IsPropertyRedefinedInClass this class)}} if (jsonElement.TryGetProperty("{{ property.Name }}"u8, out var {{ property.Name }}Property)) { {{#if (Property.QueryIsReferenceProperty property)}} diff --git a/SysML2.NET.CodeGenerator/Templates/Uml/core-json-dto-serializer-uml-template.hbs b/SysML2.NET.CodeGenerator/Templates/Uml/core-json-dto-serializer-uml-template.hbs index d49eb321..0b7f480a 100644 --- a/SysML2.NET.CodeGenerator/Templates/Uml/core-json-dto-serializer-uml-template.hbs +++ b/SysML2.NET.CodeGenerator/Templates/Uml/core-json-dto-serializer-uml-template.hbs @@ -68,7 +68,7 @@ namespace SysML2.NET.Serializer.Json.Core.DTO {{ #each (Class.QueryAllProperties this) as | property | }} {{#unless this.IsDerived}} {{#unless this.IsTransient}} - {{#unless (Property.ContainsPropertyRedifinitionWithSameName this class)}} + {{#unless (Property.IsPropertyRedefinedInClass this class)}} {{#if (Property.QueryIsEnumerable property)}} writer.WriteStartArray("{{String.LowerCaseFirstLetter property.Name }}"u8); diff --git a/SysML2.NET.CodeGenerator/Templates/Uml/core-poco-dal-uml-factory.hbs b/SysML2.NET.CodeGenerator/Templates/Uml/core-poco-dal-uml-factory.hbs index 9386fdc1..71536ff7 100644 --- a/SysML2.NET.CodeGenerator/Templates/Uml/core-poco-dal-uml-factory.hbs +++ b/SysML2.NET.CodeGenerator/Templates/Uml/core-poco-dal-uml-factory.hbs @@ -59,12 +59,10 @@ namespace SysML2.NET.Dal {{#each (Class.QueryAllProperties this) as | property |}} {{#unless property.IsDerived }} {{#unless property.IsTransient }} - {{#unless (Property.QueryIsReferenceProperty property) }} - {{#if (Property.IsRedefinedOrRedifines this ../this)}} - ((Core.POCO.{{ #NamedElement.WriteFullyQualifiedNameSpace property.Owner }}.I{{property.Owner.Name}})poco).{{String.CapitalizeFirstLetter property.Name }} = ((Core.DTO.{{ #NamedElement.WriteFullyQualifiedNameSpace property.Owner }}.I{{property.Owner.Name}})dto).{{String.CapitalizeFirstLetter property.Name }}; - {{else}} + {{#unless (Property.QueryIsReferenceProperty property) }} + {{#unless (Property.IsPropertyRedefinedInClass this ../this)}} poco.{{String.CapitalizeFirstLetter property.Name }} = dto.{{String.CapitalizeFirstLetter property.Name }}; - {{/if}} + {{/unless}} {{/unless}} {{/unless}} {{/unless}} diff --git a/SysML2.NET.Dal.Tests/AssemblerTestFixture.cs b/SysML2.NET.Dal.Tests/AssemblerTestFixture.cs index 7b78cbb0..3d7c46c2 100644 --- a/SysML2.NET.Dal.Tests/AssemblerTestFixture.cs +++ b/SysML2.NET.Dal.Tests/AssemblerTestFixture.cs @@ -66,8 +66,7 @@ public void Verify_that_synchronize_Works_as_Expected() var membershipDto = new Core.DTO.Root.Namespaces.Membership { Id = Guid.Parse("215054ad-eb1d-45f6-8537-d43a3470e73c"), - Source = new List { packageDto.Id }, - Target = new List { featureDto.Id }, + OwnedRelatedElement = new List { packageDto.Id, featureDto.Id } }; dtos.Add(packageDto); @@ -84,16 +83,19 @@ public void Verify_that_synchronize_Works_as_Expected() featurePoco = (Core.POCO.Core.Features.Feature)this.lazyPoco.Value; } - Assert.That(featurePoco.Id, Is.EqualTo(featureDto.Id)); - Assert.That(featurePoco.DeclaredName, Is.EqualTo(featureDto.DeclaredName)); - Assert.That(featurePoco.DeclaredShortName, Is.EqualTo(featureDto.DeclaredShortName)); + using (Assert.EnterMultipleScope()) + { + Assert.That(featurePoco.Id, Is.EqualTo(featureDto.Id)); + Assert.That(featurePoco.DeclaredName, Is.EqualTo(featureDto.DeclaredName)); + Assert.That(featurePoco.DeclaredShortName, Is.EqualTo(featureDto.DeclaredShortName)); + } if (this.assembler.Cache.TryGetValue(membershipDto.Id, out this.lazyPoco)) { membershipPoco = (Core.POCO.Root.Namespaces.Membership)this.lazyPoco.Value; } - Assert.That(membershipPoco.Target.Contains(featurePoco), Is.True); + Assert.That(membershipPoco.OwnedRelatedElement.Contains(featurePoco), Is.True); dtos.Clear(); diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/AcceptActionUsageFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/AcceptActionUsageFactory.cs index bc455593..9f92e593 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/AcceptActionUsageFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/AcceptActionUsageFactory.cs @@ -71,7 +71,6 @@ public Core.POCO.Systems.Actions.AcceptActionUsage Create(Core.DTO.Systems.Actio poco.IsPortion = dto.IsPortion; poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; poco.IsVariation = dto.IsVariation; poco.PortionKind = dto.PortionKind; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/ActionUsageFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/ActionUsageFactory.cs index 61550645..1a0c0c86 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/ActionUsageFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/ActionUsageFactory.cs @@ -71,7 +71,6 @@ public Core.POCO.Systems.Actions.ActionUsage Create(Core.DTO.Systems.Actions.Act poco.IsPortion = dto.IsPortion; poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; poco.IsVariation = dto.IsVariation; poco.PortionKind = dto.PortionKind; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/ActorMembershipFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/ActorMembershipFactory.cs index 895a78c9..4a5e4671 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/ActorMembershipFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/ActorMembershipFactory.cs @@ -61,8 +61,6 @@ public Core.POCO.Systems.Requirements.ActorMembership Create(Core.DTO.Systems.Re poco.ElementId = dto.ElementId; poco.IsImplied = dto.IsImplied; poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.MemberName = dto.MemberName; - poco.MemberShortName = dto.MemberShortName; poco.Visibility = dto.Visibility; return poco; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/AllocationDefinitionFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/AllocationDefinitionFactory.cs index 0f991567..8c484641 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/AllocationDefinitionFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/AllocationDefinitionFactory.cs @@ -63,8 +63,7 @@ public Core.POCO.Systems.Allocations.AllocationDefinition Create(Core.DTO.System poco.IsImplied = dto.IsImplied; poco.IsImpliedIncluded = dto.IsImpliedIncluded; poco.IsIndividual = dto.IsIndividual; - ((Core.POCO.Systems.Connections.IConnectionDefinition)poco).IsSufficient = ((Core.DTO.Systems.Connections.IConnectionDefinition)dto).IsSufficient; - ((Core.POCO.Core.Types.IType)poco).IsSufficient = ((Core.DTO.Core.Types.IType)dto).IsSufficient; + poco.IsSufficient = dto.IsSufficient; poco.IsVariation = dto.IsVariation; return poco; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/AllocationUsageFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/AllocationUsageFactory.cs index 838954a5..50fcef8d 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/AllocationUsageFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/AllocationUsageFactory.cs @@ -72,7 +72,6 @@ public Core.POCO.Systems.Allocations.AllocationUsage Create(Core.DTO.Systems.All poco.IsPortion = dto.IsPortion; poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; poco.IsVariation = dto.IsVariation; poco.PortionKind = dto.PortionKind; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/AnalysisCaseUsageFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/AnalysisCaseUsageFactory.cs index 9481caf9..2d4386a5 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/AnalysisCaseUsageFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/AnalysisCaseUsageFactory.cs @@ -71,7 +71,6 @@ public Core.POCO.Systems.AnalysisCases.AnalysisCaseUsage Create(Core.DTO.Systems poco.IsPortion = dto.IsPortion; poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; poco.IsVariation = dto.IsVariation; poco.PortionKind = dto.PortionKind; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/AssertConstraintUsageFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/AssertConstraintUsageFactory.cs index b83cff42..44a7b4ba 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/AssertConstraintUsageFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/AssertConstraintUsageFactory.cs @@ -72,7 +72,6 @@ public Core.POCO.Systems.Constraints.AssertConstraintUsage Create(Core.DTO.Syste poco.IsPortion = dto.IsPortion; poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; poco.IsVariation = dto.IsVariation; poco.PortionKind = dto.PortionKind; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/AssignmentActionUsageFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/AssignmentActionUsageFactory.cs index 0257d256..8de84510 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/AssignmentActionUsageFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/AssignmentActionUsageFactory.cs @@ -71,7 +71,6 @@ public Core.POCO.Systems.Actions.AssignmentActionUsage Create(Core.DTO.Systems.A poco.IsPortion = dto.IsPortion; poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; poco.IsVariation = dto.IsVariation; poco.PortionKind = dto.PortionKind; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/AttributeUsageFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/AttributeUsageFactory.cs index 31412a0b..7f6a6a61 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/AttributeUsageFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/AttributeUsageFactory.cs @@ -70,7 +70,6 @@ public Core.POCO.Systems.Attributes.AttributeUsage Create(Core.DTO.Systems.Attri poco.IsPortion = dto.IsPortion; poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; poco.IsVariation = dto.IsVariation; return poco; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/BindingConnectorAsUsageFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/BindingConnectorAsUsageFactory.cs index b3be136a..c378a54a 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/BindingConnectorAsUsageFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/BindingConnectorAsUsageFactory.cs @@ -71,7 +71,6 @@ public Core.POCO.Systems.Connections.BindingConnectorAsUsage Create(Core.DTO.Sys poco.IsPortion = dto.IsPortion; poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; poco.IsVariation = dto.IsVariation; return poco; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/CalculationUsageFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/CalculationUsageFactory.cs index 154ede3f..ef86d59a 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/CalculationUsageFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/CalculationUsageFactory.cs @@ -71,7 +71,6 @@ public Core.POCO.Systems.Calculations.CalculationUsage Create(Core.DTO.Systems.C poco.IsPortion = dto.IsPortion; poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; poco.IsVariation = dto.IsVariation; poco.PortionKind = dto.PortionKind; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/CaseUsageFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/CaseUsageFactory.cs index 4c0db303..22311744 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/CaseUsageFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/CaseUsageFactory.cs @@ -71,7 +71,6 @@ public Core.POCO.Systems.Cases.CaseUsage Create(Core.DTO.Systems.Cases.CaseUsage poco.IsPortion = dto.IsPortion; poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; poco.IsVariation = dto.IsVariation; poco.PortionKind = dto.PortionKind; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/CollectExpressionFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/CollectExpressionFactory.cs index 36910cff..90e813fb 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/CollectExpressionFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/CollectExpressionFactory.cs @@ -71,8 +71,7 @@ public Core.POCO.Kernel.Expressions.CollectExpression Create(Core.DTO.Kernel.Exp poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; poco.IsVariable = dto.IsVariable; - ((Core.POCO.Kernel.Expressions.ICollectExpression)poco).Operator = ((Core.DTO.Kernel.Expressions.ICollectExpression)dto).Operator; - ((Core.POCO.Kernel.Expressions.IOperatorExpression)poco).Operator = ((Core.DTO.Kernel.Expressions.IOperatorExpression)dto).Operator; + poco.Operator = dto.Operator; return poco; } diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/ConcernDefinitionFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/ConcernDefinitionFactory.cs index eef1fce9..0d6120c4 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/ConcernDefinitionFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/ConcernDefinitionFactory.cs @@ -57,7 +57,6 @@ public Core.POCO.Systems.Requirements.ConcernDefinition Create(Core.DTO.Systems. poco.Id = dto.Id; poco.AliasIds = dto.AliasIds; poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; poco.ElementId = dto.ElementId; poco.IsAbstract = dto.IsAbstract; poco.IsImpliedIncluded = dto.IsImpliedIncluded; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/ConcernUsageFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/ConcernUsageFactory.cs index 2f3c7608..002bd620 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/ConcernUsageFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/ConcernUsageFactory.cs @@ -57,7 +57,6 @@ public Core.POCO.Systems.Requirements.ConcernUsage Create(Core.DTO.Systems.Requi poco.Id = dto.Id; poco.AliasIds = dto.AliasIds; poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; poco.Direction = dto.Direction; poco.ElementId = dto.ElementId; poco.IsAbstract = dto.IsAbstract; @@ -71,7 +70,6 @@ public Core.POCO.Systems.Requirements.ConcernUsage Create(Core.DTO.Systems.Requi poco.IsPortion = dto.IsPortion; poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; poco.IsVariation = dto.IsVariation; poco.PortionKind = dto.PortionKind; poco.ReqId = dto.ReqId; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/ConnectionDefinitionFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/ConnectionDefinitionFactory.cs index 753c2480..56631595 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/ConnectionDefinitionFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/ConnectionDefinitionFactory.cs @@ -63,8 +63,7 @@ public Core.POCO.Systems.Connections.ConnectionDefinition Create(Core.DTO.System poco.IsImplied = dto.IsImplied; poco.IsImpliedIncluded = dto.IsImpliedIncluded; poco.IsIndividual = dto.IsIndividual; - ((Core.POCO.Systems.Connections.IConnectionDefinition)poco).IsSufficient = ((Core.DTO.Systems.Connections.IConnectionDefinition)dto).IsSufficient; - ((Core.POCO.Core.Types.IType)poco).IsSufficient = ((Core.DTO.Core.Types.IType)dto).IsSufficient; + poco.IsSufficient = dto.IsSufficient; poco.IsVariation = dto.IsVariation; return poco; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/ConnectionUsageFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/ConnectionUsageFactory.cs index 3520ac82..db2fcc4a 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/ConnectionUsageFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/ConnectionUsageFactory.cs @@ -72,7 +72,6 @@ public Core.POCO.Systems.Connections.ConnectionUsage Create(Core.DTO.Systems.Con poco.IsPortion = dto.IsPortion; poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; poco.IsVariation = dto.IsVariation; poco.PortionKind = dto.PortionKind; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/ConstraintUsageFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/ConstraintUsageFactory.cs index 3cb862a0..53d18efa 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/ConstraintUsageFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/ConstraintUsageFactory.cs @@ -71,7 +71,6 @@ public Core.POCO.Systems.Constraints.ConstraintUsage Create(Core.DTO.Systems.Con poco.IsPortion = dto.IsPortion; poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; poco.IsVariation = dto.IsVariation; poco.PortionKind = dto.PortionKind; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/DecisionNodeFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/DecisionNodeFactory.cs index 967ab496..e8a3d307 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/DecisionNodeFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/DecisionNodeFactory.cs @@ -71,7 +71,6 @@ public Core.POCO.Systems.Actions.DecisionNode Create(Core.DTO.Systems.Actions.De poco.IsPortion = dto.IsPortion; poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; poco.IsVariation = dto.IsVariation; poco.PortionKind = dto.PortionKind; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/ElementFilterMembershipFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/ElementFilterMembershipFactory.cs index 7e6df47f..106eca07 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/ElementFilterMembershipFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/ElementFilterMembershipFactory.cs @@ -61,8 +61,6 @@ public Core.POCO.Kernel.Packages.ElementFilterMembership Create(Core.DTO.Kernel. poco.ElementId = dto.ElementId; poco.IsImplied = dto.IsImplied; poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.MemberName = dto.MemberName; - poco.MemberShortName = dto.MemberShortName; poco.Visibility = dto.Visibility; return poco; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/EndFeatureMembershipFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/EndFeatureMembershipFactory.cs index aae2c537..fb869669 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/EndFeatureMembershipFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/EndFeatureMembershipFactory.cs @@ -61,8 +61,6 @@ public Core.POCO.Core.Features.EndFeatureMembership Create(Core.DTO.Core.Feature poco.ElementId = dto.ElementId; poco.IsImplied = dto.IsImplied; poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.MemberName = dto.MemberName; - poco.MemberShortName = dto.MemberShortName; poco.Visibility = dto.Visibility; return poco; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/EnumerationDefinitionFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/EnumerationDefinitionFactory.cs index c9481177..24d26878 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/EnumerationDefinitionFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/EnumerationDefinitionFactory.cs @@ -62,8 +62,7 @@ public Core.POCO.Systems.Enumerations.EnumerationDefinition Create(Core.DTO.Syst poco.IsAbstract = dto.IsAbstract; poco.IsImpliedIncluded = dto.IsImpliedIncluded; poco.IsSufficient = dto.IsSufficient; - ((Core.POCO.Systems.Enumerations.IEnumerationDefinition)poco).IsVariation = ((Core.DTO.Systems.Enumerations.IEnumerationDefinition)dto).IsVariation; - ((Core.POCO.Systems.DefinitionAndUsage.IDefinition)poco).IsVariation = ((Core.DTO.Systems.DefinitionAndUsage.IDefinition)dto).IsVariation; + poco.IsVariation = dto.IsVariation; return poco; } diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/EnumerationUsageFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/EnumerationUsageFactory.cs index 924f51e6..8710b09a 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/EnumerationUsageFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/EnumerationUsageFactory.cs @@ -70,7 +70,6 @@ public Core.POCO.Systems.Enumerations.EnumerationUsage Create(Core.DTO.Systems.E poco.IsPortion = dto.IsPortion; poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; poco.IsVariation = dto.IsVariation; return poco; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/EventOccurrenceUsageFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/EventOccurrenceUsageFactory.cs index c345da24..fe028d28 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/EventOccurrenceUsageFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/EventOccurrenceUsageFactory.cs @@ -71,7 +71,6 @@ public Core.POCO.Systems.Occurrences.EventOccurrenceUsage Create(Core.DTO.System poco.IsPortion = dto.IsPortion; poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; poco.IsVariation = dto.IsVariation; poco.PortionKind = dto.PortionKind; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/ExhibitStateUsageFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/ExhibitStateUsageFactory.cs index c1f165a0..addcf1ee 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/ExhibitStateUsageFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/ExhibitStateUsageFactory.cs @@ -72,7 +72,6 @@ public Core.POCO.Systems.States.ExhibitStateUsage Create(Core.DTO.Systems.States poco.IsPortion = dto.IsPortion; poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; poco.IsVariation = dto.IsVariation; poco.PortionKind = dto.PortionKind; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/FeatureChainExpressionFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/FeatureChainExpressionFactory.cs index 80c28698..2b0a43ad 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/FeatureChainExpressionFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/FeatureChainExpressionFactory.cs @@ -71,8 +71,7 @@ public Core.POCO.Kernel.Expressions.FeatureChainExpression Create(Core.DTO.Kerne poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; poco.IsVariable = dto.IsVariable; - ((Core.POCO.Kernel.Expressions.IFeatureChainExpression)poco).Operator = ((Core.DTO.Kernel.Expressions.IFeatureChainExpression)dto).Operator; - ((Core.POCO.Kernel.Expressions.IOperatorExpression)poco).Operator = ((Core.DTO.Kernel.Expressions.IOperatorExpression)dto).Operator; + poco.Operator = dto.Operator; return poco; } diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/FeatureMembershipFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/FeatureMembershipFactory.cs index 1fe41a0c..661f48b9 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/FeatureMembershipFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/FeatureMembershipFactory.cs @@ -61,8 +61,6 @@ public Core.POCO.Core.Types.FeatureMembership Create(Core.DTO.Core.Types.Feature poco.ElementId = dto.ElementId; poco.IsImplied = dto.IsImplied; poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.MemberName = dto.MemberName; - poco.MemberShortName = dto.MemberShortName; poco.Visibility = dto.Visibility; return poco; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/FeatureValueFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/FeatureValueFactory.cs index 49aafc32..03f2b47f 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/FeatureValueFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/FeatureValueFactory.cs @@ -63,8 +63,6 @@ public Core.POCO.Kernel.FeatureValues.FeatureValue Create(Core.DTO.Kernel.Featur poco.IsImplied = dto.IsImplied; poco.IsImpliedIncluded = dto.IsImpliedIncluded; poco.IsInitial = dto.IsInitial; - poco.MemberName = dto.MemberName; - poco.MemberShortName = dto.MemberShortName; poco.Visibility = dto.Visibility; return poco; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/FlowUsageFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/FlowUsageFactory.cs index 5cadbd5c..8748d3ad 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/FlowUsageFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/FlowUsageFactory.cs @@ -72,7 +72,6 @@ public Core.POCO.Systems.Flows.FlowUsage Create(Core.DTO.Systems.Flows.FlowUsage poco.IsPortion = dto.IsPortion; poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; poco.IsVariation = dto.IsVariation; poco.PortionKind = dto.PortionKind; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/ForLoopActionUsageFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/ForLoopActionUsageFactory.cs index 0ef4155a..60f5cb7a 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/ForLoopActionUsageFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/ForLoopActionUsageFactory.cs @@ -71,7 +71,6 @@ public Core.POCO.Systems.Actions.ForLoopActionUsage Create(Core.DTO.Systems.Acti poco.IsPortion = dto.IsPortion; poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; poco.IsVariation = dto.IsVariation; poco.PortionKind = dto.PortionKind; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/ForkNodeFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/ForkNodeFactory.cs index 908ed399..208fd27b 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/ForkNodeFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/ForkNodeFactory.cs @@ -71,7 +71,6 @@ public Core.POCO.Systems.Actions.ForkNode Create(Core.DTO.Systems.Actions.ForkNo poco.IsPortion = dto.IsPortion; poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; poco.IsVariation = dto.IsVariation; poco.PortionKind = dto.PortionKind; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/FramedConcernMembershipFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/FramedConcernMembershipFactory.cs index 836dda19..76fb9702 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/FramedConcernMembershipFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/FramedConcernMembershipFactory.cs @@ -61,10 +61,7 @@ public Core.POCO.Systems.Requirements.FramedConcernMembership Create(Core.DTO.Sy poco.ElementId = dto.ElementId; poco.IsImplied = dto.IsImplied; poco.IsImpliedIncluded = dto.IsImpliedIncluded; - ((Core.POCO.Systems.Requirements.IFramedConcernMembership)poco).Kind = ((Core.DTO.Systems.Requirements.IFramedConcernMembership)dto).Kind; - ((Core.POCO.Systems.Requirements.IRequirementConstraintMembership)poco).Kind = ((Core.DTO.Systems.Requirements.IRequirementConstraintMembership)dto).Kind; - poco.MemberName = dto.MemberName; - poco.MemberShortName = dto.MemberShortName; + poco.Kind = dto.Kind; poco.Visibility = dto.Visibility; return poco; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/IfActionUsageFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/IfActionUsageFactory.cs index 3d4f3861..171f36bc 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/IfActionUsageFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/IfActionUsageFactory.cs @@ -71,7 +71,6 @@ public Core.POCO.Systems.Actions.IfActionUsage Create(Core.DTO.Systems.Actions.I poco.IsPortion = dto.IsPortion; poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; poco.IsVariation = dto.IsVariation; poco.PortionKind = dto.PortionKind; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/IncludeUseCaseUsageFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/IncludeUseCaseUsageFactory.cs index bb9b12b5..b5f6f034 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/IncludeUseCaseUsageFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/IncludeUseCaseUsageFactory.cs @@ -71,7 +71,6 @@ public Core.POCO.Systems.UseCases.IncludeUseCaseUsage Create(Core.DTO.Systems.Us poco.IsPortion = dto.IsPortion; poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; poco.IsVariation = dto.IsVariation; poco.PortionKind = dto.PortionKind; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/IndexExpressionFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/IndexExpressionFactory.cs index 35dccd20..34fec89b 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/IndexExpressionFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/IndexExpressionFactory.cs @@ -71,8 +71,7 @@ public Core.POCO.Kernel.Expressions.IndexExpression Create(Core.DTO.Kernel.Expre poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; poco.IsVariable = dto.IsVariable; - ((Core.POCO.Kernel.Expressions.IIndexExpression)poco).Operator = ((Core.DTO.Kernel.Expressions.IIndexExpression)dto).Operator; - ((Core.POCO.Kernel.Expressions.IOperatorExpression)poco).Operator = ((Core.DTO.Kernel.Expressions.IOperatorExpression)dto).Operator; + poco.Operator = dto.Operator; return poco; } diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/InterfaceDefinitionFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/InterfaceDefinitionFactory.cs index c743e8c2..a70e05f7 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/InterfaceDefinitionFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/InterfaceDefinitionFactory.cs @@ -63,8 +63,7 @@ public Core.POCO.Systems.Interfaces.InterfaceDefinition Create(Core.DTO.Systems. poco.IsImplied = dto.IsImplied; poco.IsImpliedIncluded = dto.IsImpliedIncluded; poco.IsIndividual = dto.IsIndividual; - ((Core.POCO.Systems.Connections.IConnectionDefinition)poco).IsSufficient = ((Core.DTO.Systems.Connections.IConnectionDefinition)dto).IsSufficient; - ((Core.POCO.Core.Types.IType)poco).IsSufficient = ((Core.DTO.Core.Types.IType)dto).IsSufficient; + poco.IsSufficient = dto.IsSufficient; poco.IsVariation = dto.IsVariation; return poco; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/InterfaceUsageFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/InterfaceUsageFactory.cs index b8919afd..f6680c62 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/InterfaceUsageFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/InterfaceUsageFactory.cs @@ -72,7 +72,6 @@ public Core.POCO.Systems.Interfaces.InterfaceUsage Create(Core.DTO.Systems.Inter poco.IsPortion = dto.IsPortion; poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; poco.IsVariation = dto.IsVariation; poco.PortionKind = dto.PortionKind; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/ItemUsageFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/ItemUsageFactory.cs index 5d6fdce0..9845e7ab 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/ItemUsageFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/ItemUsageFactory.cs @@ -71,7 +71,6 @@ public Core.POCO.Systems.Items.ItemUsage Create(Core.DTO.Systems.Items.ItemUsage poco.IsPortion = dto.IsPortion; poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; poco.IsVariation = dto.IsVariation; poco.PortionKind = dto.PortionKind; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/JoinNodeFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/JoinNodeFactory.cs index 27d87dd4..7ff22c27 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/JoinNodeFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/JoinNodeFactory.cs @@ -71,7 +71,6 @@ public Core.POCO.Systems.Actions.JoinNode Create(Core.DTO.Systems.Actions.JoinNo poco.IsPortion = dto.IsPortion; poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; poco.IsVariation = dto.IsVariation; poco.PortionKind = dto.PortionKind; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/MembershipExposeFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/MembershipExposeFactory.cs index 217f5188..66eafa9b 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/MembershipExposeFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/MembershipExposeFactory.cs @@ -61,11 +61,9 @@ public Core.POCO.Systems.Views.MembershipExpose Create(Core.DTO.Systems.Views.Me poco.ElementId = dto.ElementId; poco.IsImplied = dto.IsImplied; poco.IsImpliedIncluded = dto.IsImpliedIncluded; - ((Core.POCO.Root.Namespaces.IImport)poco).IsImportAll = ((Core.DTO.Root.Namespaces.IImport)dto).IsImportAll; - ((Core.POCO.Systems.Views.IExpose)poco).IsImportAll = ((Core.DTO.Systems.Views.IExpose)dto).IsImportAll; + poco.IsImportAll = dto.IsImportAll; poco.IsRecursive = dto.IsRecursive; - ((Core.POCO.Root.Namespaces.IImport)poco).Visibility = ((Core.DTO.Root.Namespaces.IImport)dto).Visibility; - ((Core.POCO.Systems.Views.IExpose)poco).Visibility = ((Core.DTO.Systems.Views.IExpose)dto).Visibility; + poco.Visibility = dto.Visibility; return poco; } diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/MergeNodeFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/MergeNodeFactory.cs index ee65410e..4a3968de 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/MergeNodeFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/MergeNodeFactory.cs @@ -71,7 +71,6 @@ public Core.POCO.Systems.Actions.MergeNode Create(Core.DTO.Systems.Actions.Merge poco.IsPortion = dto.IsPortion; poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; poco.IsVariation = dto.IsVariation; poco.PortionKind = dto.PortionKind; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/MetadataUsageFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/MetadataUsageFactory.cs index 258cef0b..69eb2e21 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/MetadataUsageFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/MetadataUsageFactory.cs @@ -71,7 +71,6 @@ public Core.POCO.Systems.Metadata.MetadataUsage Create(Core.DTO.Systems.Metadata poco.IsPortion = dto.IsPortion; poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; poco.IsVariation = dto.IsVariation; poco.PortionKind = dto.PortionKind; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/NamespaceExposeFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/NamespaceExposeFactory.cs index 150b68ea..c8f14e0d 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/NamespaceExposeFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/NamespaceExposeFactory.cs @@ -61,11 +61,9 @@ public Core.POCO.Systems.Views.NamespaceExpose Create(Core.DTO.Systems.Views.Nam poco.ElementId = dto.ElementId; poco.IsImplied = dto.IsImplied; poco.IsImpliedIncluded = dto.IsImpliedIncluded; - ((Core.POCO.Systems.Views.IExpose)poco).IsImportAll = ((Core.DTO.Systems.Views.IExpose)dto).IsImportAll; - ((Core.POCO.Root.Namespaces.IImport)poco).IsImportAll = ((Core.DTO.Root.Namespaces.IImport)dto).IsImportAll; + poco.IsImportAll = dto.IsImportAll; poco.IsRecursive = dto.IsRecursive; - ((Core.POCO.Systems.Views.IExpose)poco).Visibility = ((Core.DTO.Systems.Views.IExpose)dto).Visibility; - ((Core.POCO.Root.Namespaces.IImport)poco).Visibility = ((Core.DTO.Root.Namespaces.IImport)dto).Visibility; + poco.Visibility = dto.Visibility; return poco; } diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/ObjectiveMembershipFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/ObjectiveMembershipFactory.cs index 1600cb14..f6fbd0a7 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/ObjectiveMembershipFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/ObjectiveMembershipFactory.cs @@ -61,8 +61,6 @@ public Core.POCO.Systems.Cases.ObjectiveMembership Create(Core.DTO.Systems.Cases poco.ElementId = dto.ElementId; poco.IsImplied = dto.IsImplied; poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.MemberName = dto.MemberName; - poco.MemberShortName = dto.MemberShortName; poco.Visibility = dto.Visibility; return poco; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/OccurrenceUsageFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/OccurrenceUsageFactory.cs index d182e776..f1cc8512 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/OccurrenceUsageFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/OccurrenceUsageFactory.cs @@ -71,7 +71,6 @@ public Core.POCO.Systems.Occurrences.OccurrenceUsage Create(Core.DTO.Systems.Occ poco.IsPortion = dto.IsPortion; poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; poco.IsVariation = dto.IsVariation; poco.PortionKind = dto.PortionKind; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/OwningMembershipFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/OwningMembershipFactory.cs index e34df956..95e0f117 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/OwningMembershipFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/OwningMembershipFactory.cs @@ -61,8 +61,6 @@ public Core.POCO.Root.Namespaces.OwningMembership Create(Core.DTO.Root.Namespace poco.ElementId = dto.ElementId; poco.IsImplied = dto.IsImplied; poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.MemberName = dto.MemberName; - poco.MemberShortName = dto.MemberShortName; poco.Visibility = dto.Visibility; return poco; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/ParameterMembershipFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/ParameterMembershipFactory.cs index 491c1887..dab6dd40 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/ParameterMembershipFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/ParameterMembershipFactory.cs @@ -61,8 +61,6 @@ public Core.POCO.Kernel.Behaviors.ParameterMembership Create(Core.DTO.Kernel.Beh poco.ElementId = dto.ElementId; poco.IsImplied = dto.IsImplied; poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.MemberName = dto.MemberName; - poco.MemberShortName = dto.MemberShortName; poco.Visibility = dto.Visibility; return poco; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/PartUsageFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/PartUsageFactory.cs index 97928686..065833e4 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/PartUsageFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/PartUsageFactory.cs @@ -71,7 +71,6 @@ public Core.POCO.Systems.Parts.PartUsage Create(Core.DTO.Systems.Parts.PartUsage poco.IsPortion = dto.IsPortion; poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; poco.IsVariation = dto.IsVariation; poco.PortionKind = dto.PortionKind; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/PerformActionUsageFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/PerformActionUsageFactory.cs index 86854198..b550dc51 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/PerformActionUsageFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/PerformActionUsageFactory.cs @@ -71,7 +71,6 @@ public Core.POCO.Systems.Actions.PerformActionUsage Create(Core.DTO.Systems.Acti poco.IsPortion = dto.IsPortion; poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; poco.IsVariation = dto.IsVariation; poco.PortionKind = dto.PortionKind; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/PortUsageFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/PortUsageFactory.cs index 5d9fb491..8c119f65 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/PortUsageFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/PortUsageFactory.cs @@ -71,7 +71,6 @@ public Core.POCO.Systems.Ports.PortUsage Create(Core.DTO.Systems.Ports.PortUsage poco.IsPortion = dto.IsPortion; poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; poco.IsVariation = dto.IsVariation; poco.PortionKind = dto.PortionKind; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/ReferenceUsageFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/ReferenceUsageFactory.cs index 7df4a19f..93e412ed 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/ReferenceUsageFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/ReferenceUsageFactory.cs @@ -70,7 +70,6 @@ public Core.POCO.Systems.DefinitionAndUsage.ReferenceUsage Create(Core.DTO.Syste poco.IsPortion = dto.IsPortion; poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; poco.IsVariation = dto.IsVariation; return poco; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/RenderingUsageFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/RenderingUsageFactory.cs index ceede372..aad7c7e9 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/RenderingUsageFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/RenderingUsageFactory.cs @@ -71,7 +71,6 @@ public Core.POCO.Systems.Views.RenderingUsage Create(Core.DTO.Systems.Views.Rend poco.IsPortion = dto.IsPortion; poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; poco.IsVariation = dto.IsVariation; poco.PortionKind = dto.PortionKind; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/RequirementConstraintMembershipFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/RequirementConstraintMembershipFactory.cs index ff8867ed..5d3ddac7 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/RequirementConstraintMembershipFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/RequirementConstraintMembershipFactory.cs @@ -62,8 +62,6 @@ public Core.POCO.Systems.Requirements.RequirementConstraintMembership Create(Cor poco.IsImplied = dto.IsImplied; poco.IsImpliedIncluded = dto.IsImpliedIncluded; poco.Kind = dto.Kind; - poco.MemberName = dto.MemberName; - poco.MemberShortName = dto.MemberShortName; poco.Visibility = dto.Visibility; return poco; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/RequirementDefinitionFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/RequirementDefinitionFactory.cs index acb4785f..7594ade6 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/RequirementDefinitionFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/RequirementDefinitionFactory.cs @@ -57,7 +57,6 @@ public Core.POCO.Systems.Requirements.RequirementDefinition Create(Core.DTO.Syst poco.Id = dto.Id; poco.AliasIds = dto.AliasIds; poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; poco.ElementId = dto.ElementId; poco.IsAbstract = dto.IsAbstract; poco.IsImpliedIncluded = dto.IsImpliedIncluded; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/RequirementUsageFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/RequirementUsageFactory.cs index 49939bff..2bd2dd51 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/RequirementUsageFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/RequirementUsageFactory.cs @@ -57,7 +57,6 @@ public Core.POCO.Systems.Requirements.RequirementUsage Create(Core.DTO.Systems.R poco.Id = dto.Id; poco.AliasIds = dto.AliasIds; poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; poco.Direction = dto.Direction; poco.ElementId = dto.ElementId; poco.IsAbstract = dto.IsAbstract; @@ -71,7 +70,6 @@ public Core.POCO.Systems.Requirements.RequirementUsage Create(Core.DTO.Systems.R poco.IsPortion = dto.IsPortion; poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; poco.IsVariation = dto.IsVariation; poco.PortionKind = dto.PortionKind; poco.ReqId = dto.ReqId; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/RequirementVerificationMembershipFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/RequirementVerificationMembershipFactory.cs index 800b1f76..825c21f5 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/RequirementVerificationMembershipFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/RequirementVerificationMembershipFactory.cs @@ -61,10 +61,7 @@ public Core.POCO.Systems.VerificationCases.RequirementVerificationMembership Cre poco.ElementId = dto.ElementId; poco.IsImplied = dto.IsImplied; poco.IsImpliedIncluded = dto.IsImpliedIncluded; - ((Core.POCO.Systems.VerificationCases.IRequirementVerificationMembership)poco).Kind = ((Core.DTO.Systems.VerificationCases.IRequirementVerificationMembership)dto).Kind; - ((Core.POCO.Systems.Requirements.IRequirementConstraintMembership)poco).Kind = ((Core.DTO.Systems.Requirements.IRequirementConstraintMembership)dto).Kind; - poco.MemberName = dto.MemberName; - poco.MemberShortName = dto.MemberShortName; + poco.Kind = dto.Kind; poco.Visibility = dto.Visibility; return poco; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/ResultExpressionMembershipFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/ResultExpressionMembershipFactory.cs index f957afac..3c6eb575 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/ResultExpressionMembershipFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/ResultExpressionMembershipFactory.cs @@ -61,8 +61,6 @@ public Core.POCO.Kernel.Functions.ResultExpressionMembership Create(Core.DTO.Ker poco.ElementId = dto.ElementId; poco.IsImplied = dto.IsImplied; poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.MemberName = dto.MemberName; - poco.MemberShortName = dto.MemberShortName; poco.Visibility = dto.Visibility; return poco; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/ReturnParameterMembershipFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/ReturnParameterMembershipFactory.cs index b192a822..92d8a468 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/ReturnParameterMembershipFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/ReturnParameterMembershipFactory.cs @@ -61,8 +61,6 @@ public Core.POCO.Kernel.Functions.ReturnParameterMembership Create(Core.DTO.Kern poco.ElementId = dto.ElementId; poco.IsImplied = dto.IsImplied; poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.MemberName = dto.MemberName; - poco.MemberShortName = dto.MemberShortName; poco.Visibility = dto.Visibility; return poco; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/SatisfyRequirementUsageFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/SatisfyRequirementUsageFactory.cs index 9f6d2eba..6cfb3a77 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/SatisfyRequirementUsageFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/SatisfyRequirementUsageFactory.cs @@ -57,7 +57,6 @@ public Core.POCO.Systems.Requirements.SatisfyRequirementUsage Create(Core.DTO.Sy poco.Id = dto.Id; poco.AliasIds = dto.AliasIds; poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; poco.Direction = dto.Direction; poco.ElementId = dto.ElementId; poco.IsAbstract = dto.IsAbstract; @@ -72,7 +71,6 @@ public Core.POCO.Systems.Requirements.SatisfyRequirementUsage Create(Core.DTO.Sy poco.IsPortion = dto.IsPortion; poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; poco.IsVariation = dto.IsVariation; poco.PortionKind = dto.PortionKind; poco.ReqId = dto.ReqId; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/SelectExpressionFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/SelectExpressionFactory.cs index b38a858c..9603de20 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/SelectExpressionFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/SelectExpressionFactory.cs @@ -71,8 +71,7 @@ public Core.POCO.Kernel.Expressions.SelectExpression Create(Core.DTO.Kernel.Expr poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; poco.IsVariable = dto.IsVariable; - ((Core.POCO.Kernel.Expressions.ISelectExpression)poco).Operator = ((Core.DTO.Kernel.Expressions.ISelectExpression)dto).Operator; - ((Core.POCO.Kernel.Expressions.IOperatorExpression)poco).Operator = ((Core.DTO.Kernel.Expressions.IOperatorExpression)dto).Operator; + poco.Operator = dto.Operator; return poco; } diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/SendActionUsageFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/SendActionUsageFactory.cs index 5c194803..1d1c60ce 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/SendActionUsageFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/SendActionUsageFactory.cs @@ -71,7 +71,6 @@ public Core.POCO.Systems.Actions.SendActionUsage Create(Core.DTO.Systems.Actions poco.IsPortion = dto.IsPortion; poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; poco.IsVariation = dto.IsVariation; poco.PortionKind = dto.PortionKind; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/StakeholderMembershipFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/StakeholderMembershipFactory.cs index bb0fb3e4..4bea22ca 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/StakeholderMembershipFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/StakeholderMembershipFactory.cs @@ -61,8 +61,6 @@ public Core.POCO.Systems.Requirements.StakeholderMembership Create(Core.DTO.Syst poco.ElementId = dto.ElementId; poco.IsImplied = dto.IsImplied; poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.MemberName = dto.MemberName; - poco.MemberShortName = dto.MemberShortName; poco.Visibility = dto.Visibility; return poco; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/StateSubactionMembershipFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/StateSubactionMembershipFactory.cs index dc6f3a8f..602ac4c2 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/StateSubactionMembershipFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/StateSubactionMembershipFactory.cs @@ -62,8 +62,6 @@ public Core.POCO.Systems.States.StateSubactionMembership Create(Core.DTO.Systems poco.IsImplied = dto.IsImplied; poco.IsImpliedIncluded = dto.IsImpliedIncluded; poco.Kind = dto.Kind; - poco.MemberName = dto.MemberName; - poco.MemberShortName = dto.MemberShortName; poco.Visibility = dto.Visibility; return poco; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/StateUsageFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/StateUsageFactory.cs index 62cbe00b..7861d295 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/StateUsageFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/StateUsageFactory.cs @@ -72,7 +72,6 @@ public Core.POCO.Systems.States.StateUsage Create(Core.DTO.Systems.States.StateU poco.IsPortion = dto.IsPortion; poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; poco.IsVariation = dto.IsVariation; poco.PortionKind = dto.PortionKind; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/SubjectMembershipFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/SubjectMembershipFactory.cs index 46fbd464..377ac9ee 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/SubjectMembershipFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/SubjectMembershipFactory.cs @@ -61,8 +61,6 @@ public Core.POCO.Systems.Requirements.SubjectMembership Create(Core.DTO.Systems. poco.ElementId = dto.ElementId; poco.IsImplied = dto.IsImplied; poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.MemberName = dto.MemberName; - poco.MemberShortName = dto.MemberShortName; poco.Visibility = dto.Visibility; return poco; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/SuccessionAsUsageFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/SuccessionAsUsageFactory.cs index 2b82fa92..e52c2d70 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/SuccessionAsUsageFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/SuccessionAsUsageFactory.cs @@ -71,7 +71,6 @@ public Core.POCO.Systems.Connections.SuccessionAsUsage Create(Core.DTO.Systems.C poco.IsPortion = dto.IsPortion; poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; poco.IsVariation = dto.IsVariation; return poco; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/SuccessionFlowUsageFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/SuccessionFlowUsageFactory.cs index ab4d0625..f04e43ba 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/SuccessionFlowUsageFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/SuccessionFlowUsageFactory.cs @@ -72,7 +72,6 @@ public Core.POCO.Systems.Flows.SuccessionFlowUsage Create(Core.DTO.Systems.Flows poco.IsPortion = dto.IsPortion; poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; poco.IsVariation = dto.IsVariation; poco.PortionKind = dto.PortionKind; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/TerminateActionUsageFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/TerminateActionUsageFactory.cs index 45830861..b1ce3a2a 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/TerminateActionUsageFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/TerminateActionUsageFactory.cs @@ -71,7 +71,6 @@ public Core.POCO.Systems.Actions.TerminateActionUsage Create(Core.DTO.Systems.Ac poco.IsPortion = dto.IsPortion; poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; poco.IsVariation = dto.IsVariation; poco.PortionKind = dto.PortionKind; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/TransitionFeatureMembershipFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/TransitionFeatureMembershipFactory.cs index 5190acc2..6dc74076 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/TransitionFeatureMembershipFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/TransitionFeatureMembershipFactory.cs @@ -62,8 +62,6 @@ public Core.POCO.Systems.States.TransitionFeatureMembership Create(Core.DTO.Syst poco.IsImplied = dto.IsImplied; poco.IsImpliedIncluded = dto.IsImpliedIncluded; poco.Kind = dto.Kind; - poco.MemberName = dto.MemberName; - poco.MemberShortName = dto.MemberShortName; poco.Visibility = dto.Visibility; return poco; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/TransitionUsageFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/TransitionUsageFactory.cs index 1f158c66..83c63405 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/TransitionUsageFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/TransitionUsageFactory.cs @@ -71,7 +71,6 @@ public Core.POCO.Systems.States.TransitionUsage Create(Core.DTO.Systems.States.T poco.IsPortion = dto.IsPortion; poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; poco.IsVariation = dto.IsVariation; poco.PortionKind = dto.PortionKind; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/UsageFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/UsageFactory.cs index 48ce4641..5f081bd2 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/UsageFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/UsageFactory.cs @@ -70,7 +70,6 @@ public Core.POCO.Systems.DefinitionAndUsage.Usage Create(Core.DTO.Systems.Defini poco.IsPortion = dto.IsPortion; poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; poco.IsVariation = dto.IsVariation; return poco; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/UseCaseUsageFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/UseCaseUsageFactory.cs index b818b748..64704257 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/UseCaseUsageFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/UseCaseUsageFactory.cs @@ -71,7 +71,6 @@ public Core.POCO.Systems.UseCases.UseCaseUsage Create(Core.DTO.Systems.UseCases. poco.IsPortion = dto.IsPortion; poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; poco.IsVariation = dto.IsVariation; poco.PortionKind = dto.PortionKind; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/VariantMembershipFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/VariantMembershipFactory.cs index 5da54c4b..bdaf6886 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/VariantMembershipFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/VariantMembershipFactory.cs @@ -61,8 +61,6 @@ public Core.POCO.Systems.DefinitionAndUsage.VariantMembership Create(Core.DTO.Sy poco.ElementId = dto.ElementId; poco.IsImplied = dto.IsImplied; poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.MemberName = dto.MemberName; - poco.MemberShortName = dto.MemberShortName; poco.Visibility = dto.Visibility; return poco; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/VerificationCaseUsageFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/VerificationCaseUsageFactory.cs index 1950f478..40fad252 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/VerificationCaseUsageFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/VerificationCaseUsageFactory.cs @@ -71,7 +71,6 @@ public Core.POCO.Systems.VerificationCases.VerificationCaseUsage Create(Core.DTO poco.IsPortion = dto.IsPortion; poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; poco.IsVariation = dto.IsVariation; poco.PortionKind = dto.PortionKind; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/ViewRenderingMembershipFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/ViewRenderingMembershipFactory.cs index abe8b993..642b7660 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/ViewRenderingMembershipFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/ViewRenderingMembershipFactory.cs @@ -61,8 +61,6 @@ public Core.POCO.Systems.Views.ViewRenderingMembership Create(Core.DTO.Systems.V poco.ElementId = dto.ElementId; poco.IsImplied = dto.IsImplied; poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.MemberName = dto.MemberName; - poco.MemberShortName = dto.MemberShortName; poco.Visibility = dto.Visibility; return poco; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/ViewUsageFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/ViewUsageFactory.cs index 770450e8..876e0c6d 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/ViewUsageFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/ViewUsageFactory.cs @@ -71,7 +71,6 @@ public Core.POCO.Systems.Views.ViewUsage Create(Core.DTO.Systems.Views.ViewUsage poco.IsPortion = dto.IsPortion; poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; poco.IsVariation = dto.IsVariation; poco.PortionKind = dto.PortionKind; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/ViewpointDefinitionFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/ViewpointDefinitionFactory.cs index ab1119e9..3d2f38fc 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/ViewpointDefinitionFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/ViewpointDefinitionFactory.cs @@ -57,7 +57,6 @@ public Core.POCO.Systems.Views.ViewpointDefinition Create(Core.DTO.Systems.Views poco.Id = dto.Id; poco.AliasIds = dto.AliasIds; poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; poco.ElementId = dto.ElementId; poco.IsAbstract = dto.IsAbstract; poco.IsImpliedIncluded = dto.IsImpliedIncluded; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/ViewpointUsageFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/ViewpointUsageFactory.cs index 60af4240..fdb77be8 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/ViewpointUsageFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/ViewpointUsageFactory.cs @@ -57,7 +57,6 @@ public Core.POCO.Systems.Views.ViewpointUsage Create(Core.DTO.Systems.Views.View poco.Id = dto.Id; poco.AliasIds = dto.AliasIds; poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; poco.Direction = dto.Direction; poco.ElementId = dto.ElementId; poco.IsAbstract = dto.IsAbstract; @@ -71,7 +70,6 @@ public Core.POCO.Systems.Views.ViewpointUsage Create(Core.DTO.Systems.Views.View poco.IsPortion = dto.IsPortion; poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; poco.IsVariation = dto.IsVariation; poco.PortionKind = dto.PortionKind; poco.ReqId = dto.ReqId; diff --git a/SysML2.NET.Dal/Core/AutoGenElementFactory/WhileLoopActionUsageFactory.cs b/SysML2.NET.Dal/Core/AutoGenElementFactory/WhileLoopActionUsageFactory.cs index bdec50d6..a25d5246 100644 --- a/SysML2.NET.Dal/Core/AutoGenElementFactory/WhileLoopActionUsageFactory.cs +++ b/SysML2.NET.Dal/Core/AutoGenElementFactory/WhileLoopActionUsageFactory.cs @@ -71,7 +71,6 @@ public Core.POCO.Systems.Actions.WhileLoopActionUsage Create(Core.DTO.Systems.Ac poco.IsPortion = dto.IsPortion; poco.IsSufficient = dto.IsSufficient; poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; poco.IsVariation = dto.IsVariation; poco.PortionKind = dto.PortionKind; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/AcceptActionUsageExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/AcceptActionUsageExtensions.cs index 174da1e8..d89a2fa4 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/AcceptActionUsageExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/AcceptActionUsageExtensions.cs @@ -68,41 +68,22 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - - poco.IsVariable = dto.IsVariable; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -111,10 +92,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - poco.PortionKind = dto.PortionKind; - return identifiersOfObjectsToDelete; } @@ -203,7 +182,6 @@ public static Core.DTO.Systems.Actions.AcceptActionUsage ToDto(this Core.POCO.Sy dto.IsPortion = poco.IsPortion; dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; - dto.IsVariable = poco.IsVariable; dto.IsVariation = poco.IsVariation; dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelationship = poco.OwningRelationship?.Id; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ActionDefinitionExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ActionDefinitionExtensions.cs index 5d3ddcd5..50fb81ad 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ActionDefinitionExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ActionDefinitionExtensions.cs @@ -68,23 +68,14 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsSufficient = dto.IsSufficient; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -94,7 +85,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ActionUsageExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ActionUsageExtensions.cs index 8d563db7..f458bd43 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ActionUsageExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ActionUsageExtensions.cs @@ -68,41 +68,22 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - - poco.IsVariable = dto.IsVariable; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -111,10 +92,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - poco.PortionKind = dto.PortionKind; - return identifiersOfObjectsToDelete; } @@ -203,7 +182,6 @@ public static Core.DTO.Systems.Actions.ActionUsage ToDto(this Core.POCO.Systems. dto.IsPortion = poco.IsPortion; dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; - dto.IsVariable = poco.IsVariable; dto.IsVariation = poco.IsVariation; dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelationship = poco.OwningRelationship?.Id; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ActorMembershipExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ActorMembershipExtensions.cs index 2f4f625f..c4de17c2 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ActorMembershipExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ActorMembershipExtensions.cs @@ -68,21 +68,11 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - - poco.MemberName = dto.MemberName; - - poco.MemberShortName = dto.MemberShortName; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -91,7 +81,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -100,26 +89,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - poco.Visibility = dto.Visibility; - return identifiersOfObjectsToDelete; } @@ -157,15 +128,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Systems.Requirements Lazy lazyPoco; - if (cache.TryGetValue(dto.MemberElement, out lazyPoco)) - { - poco.MemberElement = (Core.POCO.Root.Elements.IElement)lazyPoco.Value; - } - else - { - poco.MemberElement = null; - } - var ownedRelatedElementToAdd = dto.OwnedRelatedElement.Except(poco.OwnedRelatedElement.Select(x => x.Id)); foreach (var identifier in ownedRelatedElementToAdd) @@ -204,26 +166,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Systems.Requirements poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -246,15 +188,10 @@ public static Core.DTO.Systems.Requirements.ActorMembership ToDto(this Core.POCO dto.ElementId = poco.ElementId; dto.IsImplied = poco.IsImplied; dto.IsImpliedIncluded = poco.IsImpliedIncluded; - dto.MemberElement = poco.MemberElement.Id; - dto.MemberName = poco.MemberName; - dto.MemberShortName = poco.MemberShortName; dto.OwnedRelatedElement = poco.OwnedRelatedElement.Select(x => x.Id).ToList(); dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); dto.Visibility = poco.Visibility; return dto; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/AllocationDefinitionExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/AllocationDefinitionExtensions.cs index b99e4fbd..fc444819 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/AllocationDefinitionExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/AllocationDefinitionExtensions.cs @@ -68,27 +68,15 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - - ((Core.POCO.Systems.Connections.IConnectionDefinition)poco).IsSufficient = ((Core.DTO.Systems.Connections.IConnectionDefinition)dto).IsSufficient; - - ((Core.POCO.Core.Types.IType)poco).IsSufficient = ((Core.DTO.Core.Types.IType)dto).IsSufficient; - + poco.IsSufficient = dto.IsSufficient; poco.IsVariation = dto.IsVariation; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -97,7 +85,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -107,23 +94,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - - return identifiersOfObjectsToDelete; } @@ -199,26 +169,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Systems.Allocations. poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -243,15 +193,12 @@ public static Core.DTO.Systems.Allocations.AllocationDefinition ToDto(this Core. dto.IsImplied = poco.IsImplied; dto.IsImpliedIncluded = poco.IsImpliedIncluded; dto.IsIndividual = poco.IsIndividual; - ((Core.DTO.Systems.Connections.IConnectionDefinition)dto).IsSufficient = ((Core.POCO.Systems.Connections.IConnectionDefinition)poco).IsSufficient; - ((Core.DTO.Core.Types.IType)dto).IsSufficient = ((Core.POCO.Core.Types.IType)poco).IsSufficient; + dto.IsSufficient = poco.IsSufficient; dto.IsVariation = poco.IsVariation; dto.OwnedRelatedElement = poco.OwnedRelatedElement.Select(x => x.Id).ToList(); dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); return dto; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/AllocationUsageExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/AllocationUsageExtensions.cs index ce476be1..ceecc4a2 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/AllocationUsageExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/AllocationUsageExtensions.cs @@ -68,43 +68,23 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - - poco.IsVariable = dto.IsVariable; - poco.IsVariation = dto.IsVariation; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -113,7 +93,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -122,26 +101,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - poco.PortionKind = dto.PortionKind; - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - - return identifiersOfObjectsToDelete; } @@ -217,26 +178,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Systems.Allocations. poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -270,15 +211,12 @@ public static Core.DTO.Systems.Allocations.AllocationUsage ToDto(this Core.POCO. dto.IsPortion = poco.IsPortion; dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; - dto.IsVariable = poco.IsVariable; dto.IsVariation = poco.IsVariation; dto.OwnedRelatedElement = poco.OwnedRelatedElement.Select(x => x.Id).ToList(); dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; dto.PortionKind = poco.PortionKind; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); return dto; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/AnalysisCaseDefinitionExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/AnalysisCaseDefinitionExtensions.cs index 5ada24a1..d93da9ef 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/AnalysisCaseDefinitionExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/AnalysisCaseDefinitionExtensions.cs @@ -68,23 +68,14 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsSufficient = dto.IsSufficient; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -94,7 +85,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/AnalysisCaseUsageExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/AnalysisCaseUsageExtensions.cs index a373af54..e6c47695 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/AnalysisCaseUsageExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/AnalysisCaseUsageExtensions.cs @@ -68,41 +68,22 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - - poco.IsVariable = dto.IsVariable; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -111,10 +92,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - poco.PortionKind = dto.PortionKind; - return identifiersOfObjectsToDelete; } @@ -203,7 +182,6 @@ public static Core.DTO.Systems.AnalysisCases.AnalysisCaseUsage ToDto(this Core.P dto.IsPortion = poco.IsPortion; dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; - dto.IsVariable = poco.IsVariable; dto.IsVariation = poco.IsVariation; dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelationship = poco.OwningRelationship?.Id; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/AnnotatingElementExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/AnnotatingElementExtensions.cs index 2972cfc4..749fe196 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/AnnotatingElementExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/AnnotatingElementExtensions.cs @@ -68,15 +68,10 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -86,7 +81,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/AnnotationExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/AnnotationExtensions.cs index d346f0d0..9e59da20 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/AnnotationExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/AnnotationExtensions.cs @@ -68,17 +68,11 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -87,7 +81,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -97,23 +90,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - - return identifiersOfObjectsToDelete; } @@ -198,26 +174,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Root.Annotations.Ann poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -245,8 +201,6 @@ public static Core.DTO.Root.Annotations.Annotation ToDto(this Core.POCO.Root.Ann dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); return dto; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/AssertConstraintUsageExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/AssertConstraintUsageExtensions.cs index 75f3b149..e4b44c91 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/AssertConstraintUsageExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/AssertConstraintUsageExtensions.cs @@ -68,43 +68,23 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsNegated = dto.IsNegated; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - - poco.IsVariable = dto.IsVariable; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -113,10 +93,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - poco.PortionKind = dto.PortionKind; - return identifiersOfObjectsToDelete; } @@ -206,7 +184,6 @@ public static Core.DTO.Systems.Constraints.AssertConstraintUsage ToDto(this Core dto.IsPortion = poco.IsPortion; dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; - dto.IsVariable = poco.IsVariable; dto.IsVariation = poco.IsVariation; dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelationship = poco.OwningRelationship?.Id; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/AssignmentActionUsageExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/AssignmentActionUsageExtensions.cs index 27ba258d..f1531530 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/AssignmentActionUsageExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/AssignmentActionUsageExtensions.cs @@ -68,41 +68,22 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - - poco.IsVariable = dto.IsVariable; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -111,10 +92,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - poco.PortionKind = dto.PortionKind; - return identifiersOfObjectsToDelete; } @@ -203,7 +182,6 @@ public static Core.DTO.Systems.Actions.AssignmentActionUsage ToDto(this Core.POC dto.IsPortion = poco.IsPortion; dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; - dto.IsVariable = poco.IsVariable; dto.IsVariation = poco.IsVariation; dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelationship = poco.OwningRelationship?.Id; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/AssociationExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/AssociationExtensions.cs index 89cf57d7..063c406f 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/AssociationExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/AssociationExtensions.cs @@ -68,21 +68,13 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsSufficient = dto.IsSufficient; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -91,7 +83,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -101,23 +92,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - - return identifiersOfObjectsToDelete; } @@ -193,26 +167,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Kernel.Associations. poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -241,8 +195,6 @@ public static Core.DTO.Kernel.Associations.Association ToDto(this Core.POCO.Kern dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); return dto; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/AssociationStructureExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/AssociationStructureExtensions.cs index 0f81e08d..a9df0079 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/AssociationStructureExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/AssociationStructureExtensions.cs @@ -68,21 +68,13 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsSufficient = dto.IsSufficient; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -91,7 +83,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -101,23 +92,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - - return identifiersOfObjectsToDelete; } @@ -193,26 +167,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Kernel.Associations. poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -241,8 +195,6 @@ public static Core.DTO.Kernel.Associations.AssociationStructure ToDto(this Core. dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); return dto; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/AttributeDefinitionExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/AttributeDefinitionExtensions.cs index 4e772abf..21079b60 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/AttributeDefinitionExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/AttributeDefinitionExtensions.cs @@ -68,21 +68,13 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsSufficient = dto.IsSufficient; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -92,7 +84,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/AttributeUsageExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/AttributeUsageExtensions.cs index 6d4e3374..a0d36127 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/AttributeUsageExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/AttributeUsageExtensions.cs @@ -68,39 +68,21 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - - poco.IsVariable = dto.IsVariable; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -110,7 +92,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } @@ -198,7 +179,6 @@ public static Core.DTO.Systems.Attributes.AttributeUsage ToDto(this Core.POCO.Sy dto.IsPortion = poco.IsPortion; dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; - dto.IsVariable = poco.IsVariable; dto.IsVariation = poco.IsVariation; dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelationship = poco.OwningRelationship?.Id; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/BehaviorExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/BehaviorExtensions.cs index 6c24bf11..a6512c92 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/BehaviorExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/BehaviorExtensions.cs @@ -68,19 +68,12 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsSufficient = dto.IsSufficient; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -90,7 +83,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/BindingConnectorAsUsageExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/BindingConnectorAsUsageExtensions.cs index 759d9360..3a314714 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/BindingConnectorAsUsageExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/BindingConnectorAsUsageExtensions.cs @@ -68,41 +68,22 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - - poco.IsVariable = dto.IsVariable; - poco.IsVariation = dto.IsVariation; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -111,7 +92,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -121,23 +101,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - - return identifiersOfObjectsToDelete; } @@ -213,26 +176,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Systems.Connections. poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -265,14 +208,11 @@ public static Core.DTO.Systems.Connections.BindingConnectorAsUsage ToDto(this Co dto.IsPortion = poco.IsPortion; dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; - dto.IsVariable = poco.IsVariable; dto.IsVariation = poco.IsVariation; dto.OwnedRelatedElement = poco.OwnedRelatedElement.Select(x => x.Id).ToList(); dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); return dto; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/BindingConnectorExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/BindingConnectorExtensions.cs index 04dda530..3b7a003c 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/BindingConnectorExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/BindingConnectorExtensions.cs @@ -68,39 +68,22 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -109,7 +92,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -119,23 +101,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - - return identifiersOfObjectsToDelete; } @@ -211,26 +176,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Kernel.Connectors.Bi poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -268,8 +213,6 @@ public static Core.DTO.Kernel.Connectors.BindingConnector ToDto(this Core.POCO.K dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); return dto; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/BooleanExpressionExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/BooleanExpressionExtensions.cs index da4bcfd0..d33ec9e7 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/BooleanExpressionExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/BooleanExpressionExtensions.cs @@ -68,37 +68,21 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -108,7 +92,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/CalculationDefinitionExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/CalculationDefinitionExtensions.cs index 28b65f19..058b1d06 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/CalculationDefinitionExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/CalculationDefinitionExtensions.cs @@ -68,23 +68,14 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsSufficient = dto.IsSufficient; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -94,7 +85,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/CalculationUsageExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/CalculationUsageExtensions.cs index 9ef8c8b9..22debeb3 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/CalculationUsageExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/CalculationUsageExtensions.cs @@ -68,41 +68,22 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - - poco.IsVariable = dto.IsVariable; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -111,10 +92,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - poco.PortionKind = dto.PortionKind; - return identifiersOfObjectsToDelete; } @@ -203,7 +182,6 @@ public static Core.DTO.Systems.Calculations.CalculationUsage ToDto(this Core.POC dto.IsPortion = poco.IsPortion; dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; - dto.IsVariable = poco.IsVariable; dto.IsVariation = poco.IsVariation; dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelationship = poco.OwningRelationship?.Id; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/CaseDefinitionExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/CaseDefinitionExtensions.cs index 2214c77b..434b3729 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/CaseDefinitionExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/CaseDefinitionExtensions.cs @@ -68,23 +68,14 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsSufficient = dto.IsSufficient; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -94,7 +85,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/CaseUsageExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/CaseUsageExtensions.cs index 0a4db1aa..03b19975 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/CaseUsageExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/CaseUsageExtensions.cs @@ -68,41 +68,22 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - - poco.IsVariable = dto.IsVariable; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -111,10 +92,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - poco.PortionKind = dto.PortionKind; - return identifiersOfObjectsToDelete; } @@ -203,7 +182,6 @@ public static Core.DTO.Systems.Cases.CaseUsage ToDto(this Core.POCO.Systems.Case dto.IsPortion = poco.IsPortion; dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; - dto.IsVariable = poco.IsVariable; dto.IsVariation = poco.IsVariation; dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelationship = poco.OwningRelationship?.Id; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ClassExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ClassExtensions.cs index d2ced00a..3f5c1932 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ClassExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ClassExtensions.cs @@ -68,19 +68,12 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsSufficient = dto.IsSufficient; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -90,7 +83,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ClassifierExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ClassifierExtensions.cs index 65845272..9772140e 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ClassifierExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ClassifierExtensions.cs @@ -68,19 +68,12 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsSufficient = dto.IsSufficient; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -90,7 +83,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/CollectExpressionExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/CollectExpressionExtensions.cs index 62c2f68b..22d87cea 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/CollectExpressionExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/CollectExpressionExtensions.cs @@ -68,41 +68,22 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; - - ((Core.POCO.Kernel.Expressions.ICollectExpression)poco).Operator = ((Core.DTO.Kernel.Expressions.ICollectExpression)dto).Operator; - - ((Core.POCO.Kernel.Expressions.IOperatorExpression)poco).Operator = ((Core.DTO.Kernel.Expressions.IOperatorExpression)dto).Operator; - + poco.Operator = dto.Operator; var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -112,7 +93,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } @@ -201,8 +181,7 @@ public static Core.DTO.Kernel.Expressions.CollectExpression ToDto(this Core.POCO dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; dto.IsVariable = poco.IsVariable; - ((Core.DTO.Kernel.Expressions.ICollectExpression)dto).Operator = ((Core.POCO.Kernel.Expressions.ICollectExpression)poco).Operator; - ((Core.DTO.Kernel.Expressions.IOperatorExpression)dto).Operator = ((Core.POCO.Kernel.Expressions.IOperatorExpression)poco).Operator; + dto.Operator = poco.Operator; dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelationship = poco.OwningRelationship?.Id; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/CommentExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/CommentExtensions.cs index 14798571..d42ed45e 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/CommentExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/CommentExtensions.cs @@ -68,19 +68,12 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.Body = dto.Body; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.Locale = dto.Locale; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -90,7 +83,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ConcernDefinitionExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ConcernDefinitionExtensions.cs index 5a5de59d..4804203b 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ConcernDefinitionExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ConcernDefinitionExtensions.cs @@ -68,23 +68,13 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsSufficient = dto.IsSufficient; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -93,10 +83,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - poco.ReqId = dto.ReqId; - return identifiersOfObjectsToDelete; } @@ -171,7 +159,6 @@ public static Core.DTO.Systems.Requirements.ConcernDefinition ToDto(this Core.PO dto.Id = poco.Id; dto.AliasIds = poco.AliasIds; dto.DeclaredName = poco.DeclaredName; - dto.DeclaredShortName = poco.DeclaredShortName; dto.ElementId = poco.ElementId; dto.IsAbstract = poco.IsAbstract; dto.IsImpliedIncluded = poco.IsImpliedIncluded; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ConcernUsageExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ConcernUsageExtensions.cs index a46fbce5..8856a02f 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ConcernUsageExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ConcernUsageExtensions.cs @@ -68,41 +68,21 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - - poco.IsVariable = dto.IsVariable; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -111,12 +91,9 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - poco.PortionKind = dto.PortionKind; - poco.ReqId = dto.ReqId; - return identifiersOfObjectsToDelete; } @@ -191,7 +168,6 @@ public static Core.DTO.Systems.Requirements.ConcernUsage ToDto(this Core.POCO.Sy dto.Id = poco.Id; dto.AliasIds = poco.AliasIds; dto.DeclaredName = poco.DeclaredName; - dto.DeclaredShortName = poco.DeclaredShortName; dto.Direction = poco.Direction; dto.ElementId = poco.ElementId; dto.IsAbstract = poco.IsAbstract; @@ -205,7 +181,6 @@ public static Core.DTO.Systems.Requirements.ConcernUsage ToDto(this Core.POCO.Sy dto.IsPortion = poco.IsPortion; dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; - dto.IsVariable = poco.IsVariable; dto.IsVariation = poco.IsVariation; dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelationship = poco.OwningRelationship?.Id; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ConjugatedPortDefinitionExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ConjugatedPortDefinitionExtensions.cs index c2502266..2f0d12e5 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ConjugatedPortDefinitionExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ConjugatedPortDefinitionExtensions.cs @@ -68,23 +68,14 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsSufficient = dto.IsSufficient; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -94,7 +85,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ConjugatedPortTypingExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ConjugatedPortTypingExtensions.cs index e8e4ca37..585fa3b7 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ConjugatedPortTypingExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ConjugatedPortTypingExtensions.cs @@ -68,17 +68,11 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -87,7 +81,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -97,23 +90,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - - return identifiersOfObjectsToDelete; } @@ -160,15 +136,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Systems.Ports.Conjug poco.ConjugatedPortDefinition = null; } - if (cache.TryGetValue(dto.General, out lazyPoco)) - { - poco.General = (Core.POCO.Core.Types.Type)lazyPoco.Value; - } - else - { - poco.General = null; - } - var ownedRelatedElementToAdd = dto.OwnedRelatedElement.Except(poco.OwnedRelatedElement.Select(x => x.Id)); foreach (var identifier in ownedRelatedElementToAdd) @@ -207,44 +174,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Systems.Ports.Conjug poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - if (cache.TryGetValue(dto.Specific, out lazyPoco)) - { - poco.Specific = (Core.POCO.Core.Types.Type)lazyPoco.Value; - } - else - { - poco.Specific = null; - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - if (cache.TryGetValue(dto.Type, out lazyPoco)) - { - poco.Type = (Core.POCO.Core.Types.Type)lazyPoco.Value; - } - else - { - poco.Type = null; - } - if (cache.TryGetValue(dto.TypedFeature, out lazyPoco)) { poco.TypedFeature = (Core.POCO.Core.Features.Feature)lazyPoco.Value; @@ -275,17 +204,12 @@ public static Core.DTO.Systems.Ports.ConjugatedPortTyping ToDto(this Core.POCO.S dto.DeclaredName = poco.DeclaredName; dto.DeclaredShortName = poco.DeclaredShortName; dto.ElementId = poco.ElementId; - dto.General = poco.General.Id; dto.IsImplied = poco.IsImplied; dto.IsImpliedIncluded = poco.IsImpliedIncluded; dto.OwnedRelatedElement = poco.OwnedRelatedElement.Select(x => x.Id).ToList(); dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Specific = poco.Specific.Id; - dto.Target = poco.Target.Select(x => x.Id).ToList(); - dto.Type = poco.Type.Id; dto.TypedFeature = poco.TypedFeature.Id; return dto; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ConjugationExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ConjugationExtensions.cs index fc4d3a85..01c485bf 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ConjugationExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ConjugationExtensions.cs @@ -68,17 +68,11 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -87,7 +81,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -97,23 +90,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - - return identifiersOfObjectsToDelete; } @@ -207,26 +183,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Core.Types.Conjugati poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -255,8 +211,6 @@ public static Core.DTO.Core.Types.Conjugation ToDto(this Core.POCO.Core.Types.Co dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); return dto; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ConnectionDefinitionExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ConnectionDefinitionExtensions.cs index 5a65c915..6f112f62 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ConnectionDefinitionExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ConnectionDefinitionExtensions.cs @@ -68,27 +68,15 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - - ((Core.POCO.Systems.Connections.IConnectionDefinition)poco).IsSufficient = ((Core.DTO.Systems.Connections.IConnectionDefinition)dto).IsSufficient; - - ((Core.POCO.Core.Types.IType)poco).IsSufficient = ((Core.DTO.Core.Types.IType)dto).IsSufficient; - + poco.IsSufficient = dto.IsSufficient; poco.IsVariation = dto.IsVariation; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -97,7 +85,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -107,23 +94,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - - return identifiersOfObjectsToDelete; } @@ -199,26 +169,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Systems.Connections. poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -243,15 +193,12 @@ public static Core.DTO.Systems.Connections.ConnectionDefinition ToDto(this Core. dto.IsImplied = poco.IsImplied; dto.IsImpliedIncluded = poco.IsImpliedIncluded; dto.IsIndividual = poco.IsIndividual; - ((Core.DTO.Systems.Connections.IConnectionDefinition)dto).IsSufficient = ((Core.POCO.Systems.Connections.IConnectionDefinition)poco).IsSufficient; - ((Core.DTO.Core.Types.IType)dto).IsSufficient = ((Core.POCO.Core.Types.IType)poco).IsSufficient; + dto.IsSufficient = poco.IsSufficient; dto.IsVariation = poco.IsVariation; dto.OwnedRelatedElement = poco.OwnedRelatedElement.Select(x => x.Id).ToList(); dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); return dto; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ConnectionUsageExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ConnectionUsageExtensions.cs index 14ecffa2..77b74567 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ConnectionUsageExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ConnectionUsageExtensions.cs @@ -68,43 +68,23 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - - poco.IsVariable = dto.IsVariable; - poco.IsVariation = dto.IsVariation; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -113,7 +93,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -122,26 +101,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - poco.PortionKind = dto.PortionKind; - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - - return identifiersOfObjectsToDelete; } @@ -217,26 +178,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Systems.Connections. poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -270,15 +211,12 @@ public static Core.DTO.Systems.Connections.ConnectionUsage ToDto(this Core.POCO. dto.IsPortion = poco.IsPortion; dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; - dto.IsVariable = poco.IsVariable; dto.IsVariation = poco.IsVariation; dto.OwnedRelatedElement = poco.OwnedRelatedElement.Select(x => x.Id).ToList(); dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; dto.PortionKind = poco.PortionKind; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); return dto; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ConnectorExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ConnectorExtensions.cs index fb725520..364b0abe 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ConnectorExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ConnectorExtensions.cs @@ -68,39 +68,22 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -109,7 +92,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -119,23 +101,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - - return identifiersOfObjectsToDelete; } @@ -211,26 +176,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Kernel.Connectors.Co poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -268,8 +213,6 @@ public static Core.DTO.Kernel.Connectors.Connector ToDto(this Core.POCO.Kernel.C dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); return dto; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ConstraintDefinitionExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ConstraintDefinitionExtensions.cs index 97d92701..e07fd768 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ConstraintDefinitionExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ConstraintDefinitionExtensions.cs @@ -68,23 +68,14 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsSufficient = dto.IsSufficient; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -94,7 +85,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ConstraintUsageExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ConstraintUsageExtensions.cs index 36788a15..c46a0c09 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ConstraintUsageExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ConstraintUsageExtensions.cs @@ -68,41 +68,22 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - - poco.IsVariable = dto.IsVariable; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -111,10 +92,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - poco.PortionKind = dto.PortionKind; - return identifiersOfObjectsToDelete; } @@ -203,7 +182,6 @@ public static Core.DTO.Systems.Constraints.ConstraintUsage ToDto(this Core.POCO. dto.IsPortion = poco.IsPortion; dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; - dto.IsVariable = poco.IsVariable; dto.IsVariation = poco.IsVariation; dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelationship = poco.OwningRelationship?.Id; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ConstructorExpressionExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ConstructorExpressionExtensions.cs index 35b6e88a..40bca7b6 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ConstructorExpressionExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ConstructorExpressionExtensions.cs @@ -68,37 +68,21 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -108,7 +92,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/CrossSubsettingExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/CrossSubsettingExtensions.cs index 1c376b8a..1c31ebf6 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/CrossSubsettingExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/CrossSubsettingExtensions.cs @@ -68,17 +68,11 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -87,7 +81,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -97,23 +90,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - - return identifiersOfObjectsToDelete; } @@ -160,15 +136,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Core.Features.CrossS poco.CrossedFeature = null; } - if (cache.TryGetValue(dto.General, out lazyPoco)) - { - poco.General = (Core.POCO.Core.Types.Type)lazyPoco.Value; - } - else - { - poco.General = null; - } - var ownedRelatedElementToAdd = dto.OwnedRelatedElement.Except(poco.OwnedRelatedElement.Select(x => x.Id)); foreach (var identifier in ownedRelatedElementToAdd) @@ -207,53 +174,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Core.Features.CrossS poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - if (cache.TryGetValue(dto.Specific, out lazyPoco)) - { - poco.Specific = (Core.POCO.Core.Types.Type)lazyPoco.Value; - } - else - { - poco.Specific = null; - } - - if (cache.TryGetValue(dto.SubsettedFeature, out lazyPoco)) - { - poco.SubsettedFeature = (Core.POCO.Core.Features.Feature)lazyPoco.Value; - } - else - { - poco.SubsettedFeature = null; - } - - if (cache.TryGetValue(dto.SubsettingFeature, out lazyPoco)) - { - poco.SubsettingFeature = (Core.POCO.Core.Features.Feature)lazyPoco.Value; - } - else - { - poco.SubsettingFeature = null; - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -275,18 +195,12 @@ public static Core.DTO.Core.Features.CrossSubsetting ToDto(this Core.POCO.Core.F dto.DeclaredName = poco.DeclaredName; dto.DeclaredShortName = poco.DeclaredShortName; dto.ElementId = poco.ElementId; - dto.General = poco.General.Id; dto.IsImplied = poco.IsImplied; dto.IsImpliedIncluded = poco.IsImpliedIncluded; dto.OwnedRelatedElement = poco.OwnedRelatedElement.Select(x => x.Id).ToList(); dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Specific = poco.Specific.Id; - dto.SubsettedFeature = poco.SubsettedFeature.Id; - dto.SubsettingFeature = poco.SubsettingFeature.Id; - dto.Target = poco.Target.Select(x => x.Id).ToList(); return dto; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/DataTypeExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/DataTypeExtensions.cs index ec49678a..1676fd54 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/DataTypeExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/DataTypeExtensions.cs @@ -68,19 +68,12 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsSufficient = dto.IsSufficient; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -90,7 +83,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/DecisionNodeExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/DecisionNodeExtensions.cs index 49e8c68a..8f675851 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/DecisionNodeExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/DecisionNodeExtensions.cs @@ -68,41 +68,22 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - - poco.IsVariable = dto.IsVariable; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -111,10 +92,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - poco.PortionKind = dto.PortionKind; - return identifiersOfObjectsToDelete; } @@ -203,7 +182,6 @@ public static Core.DTO.Systems.Actions.DecisionNode ToDto(this Core.POCO.Systems dto.IsPortion = poco.IsPortion; dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; - dto.IsVariable = poco.IsVariable; dto.IsVariation = poco.IsVariation; dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelationship = poco.OwningRelationship?.Id; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/DefinitionExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/DefinitionExtensions.cs index 2c358cda..04be6bde 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/DefinitionExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/DefinitionExtensions.cs @@ -68,21 +68,13 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsSufficient = dto.IsSufficient; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -92,7 +84,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/DependencyExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/DependencyExtensions.cs index 2ce40690..96646614 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/DependencyExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/DependencyExtensions.cs @@ -68,7 +68,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - var clientToDelete = poco.Client.Select(x => x.Id).Except(dto.Client); foreach (var identifier in clientToDelete) @@ -76,17 +75,11 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t poco.Client.Remove(poco.Client.Single(x => x.Id == identifier)); } - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -95,7 +88,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -104,15 +96,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - var supplierToDelete = poco.Supplier.Select(x => x.Id).Except(dto.Supplier); foreach (var identifier in supplierToDelete) @@ -121,15 +104,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - - return identifiersOfObjectsToDelete; } @@ -215,16 +189,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Root.Dependencies.De poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - var supplierToAdd = dto.Supplier.Except(poco.Supplier.Select(x => x.Id)); foreach (var identifier in supplierToAdd) @@ -235,16 +199,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Root.Dependencies.De } } - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -272,9 +226,7 @@ public static Core.DTO.Root.Dependencies.Dependency ToDto(this Core.POCO.Root.De dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); dto.Supplier = poco.Supplier.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); return dto; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/DifferencingExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/DifferencingExtensions.cs index 61ce3c80..3ebfb726 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/DifferencingExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/DifferencingExtensions.cs @@ -68,17 +68,11 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -87,7 +81,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -97,23 +90,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - - return identifiersOfObjectsToDelete; } @@ -198,26 +174,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Core.Types.Differenc poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -245,8 +201,6 @@ public static Core.DTO.Core.Types.Differencing ToDto(this Core.POCO.Core.Types.D dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); return dto; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/DisjoiningExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/DisjoiningExtensions.cs index 6fd8b52b..af25db93 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/DisjoiningExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/DisjoiningExtensions.cs @@ -68,17 +68,11 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -87,7 +81,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -97,23 +90,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - - return identifiersOfObjectsToDelete; } @@ -198,26 +174,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Core.Types.Disjoinin poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - if (cache.TryGetValue(dto.TypeDisjoined, out lazyPoco)) { poco.TypeDisjoined = (Core.POCO.Core.Types.Type)lazyPoco.Value; @@ -254,8 +210,6 @@ public static Core.DTO.Core.Types.Disjoining ToDto(this Core.POCO.Core.Types.Dis dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); dto.TypeDisjoined = poco.TypeDisjoined.Id; return dto; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/DocumentationExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/DocumentationExtensions.cs index b52da375..d85226a7 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/DocumentationExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/DocumentationExtensions.cs @@ -68,19 +68,12 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.Body = dto.Body; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.Locale = dto.Locale; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -90,7 +83,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ElementFilterMembershipExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ElementFilterMembershipExtensions.cs index a6d7cc8e..157c177d 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ElementFilterMembershipExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ElementFilterMembershipExtensions.cs @@ -68,21 +68,11 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - - poco.MemberName = dto.MemberName; - - poco.MemberShortName = dto.MemberShortName; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -91,7 +81,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -100,26 +89,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - poco.Visibility = dto.Visibility; - return identifiersOfObjectsToDelete; } @@ -157,15 +128,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Kernel.Packages.Elem Lazy lazyPoco; - if (cache.TryGetValue(dto.MemberElement, out lazyPoco)) - { - poco.MemberElement = (Core.POCO.Root.Elements.IElement)lazyPoco.Value; - } - else - { - poco.MemberElement = null; - } - var ownedRelatedElementToAdd = dto.OwnedRelatedElement.Except(poco.OwnedRelatedElement.Select(x => x.Id)); foreach (var identifier in ownedRelatedElementToAdd) @@ -204,26 +166,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Kernel.Packages.Elem poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -246,15 +188,10 @@ public static Core.DTO.Kernel.Packages.ElementFilterMembership ToDto(this Core.P dto.ElementId = poco.ElementId; dto.IsImplied = poco.IsImplied; dto.IsImpliedIncluded = poco.IsImpliedIncluded; - dto.MemberElement = poco.MemberElement.Id; - dto.MemberName = poco.MemberName; - dto.MemberShortName = poco.MemberShortName; dto.OwnedRelatedElement = poco.OwnedRelatedElement.Select(x => x.Id).ToList(); dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); dto.Visibility = poco.Visibility; return dto; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/EndFeatureMembershipExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/EndFeatureMembershipExtensions.cs index 963535cc..7178783c 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/EndFeatureMembershipExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/EndFeatureMembershipExtensions.cs @@ -68,21 +68,11 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - - poco.MemberName = dto.MemberName; - - poco.MemberShortName = dto.MemberShortName; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -91,7 +81,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -100,26 +89,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - poco.Visibility = dto.Visibility; - return identifiersOfObjectsToDelete; } @@ -157,15 +128,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Core.Features.EndFea Lazy lazyPoco; - if (cache.TryGetValue(dto.MemberElement, out lazyPoco)) - { - poco.MemberElement = (Core.POCO.Root.Elements.IElement)lazyPoco.Value; - } - else - { - poco.MemberElement = null; - } - var ownedRelatedElementToAdd = dto.OwnedRelatedElement.Except(poco.OwnedRelatedElement.Select(x => x.Id)); foreach (var identifier in ownedRelatedElementToAdd) @@ -204,26 +166,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Core.Features.EndFea poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -246,15 +188,10 @@ public static Core.DTO.Core.Features.EndFeatureMembership ToDto(this Core.POCO.C dto.ElementId = poco.ElementId; dto.IsImplied = poco.IsImplied; dto.IsImpliedIncluded = poco.IsImpliedIncluded; - dto.MemberElement = poco.MemberElement.Id; - dto.MemberName = poco.MemberName; - dto.MemberShortName = poco.MemberShortName; dto.OwnedRelatedElement = poco.OwnedRelatedElement.Select(x => x.Id).ToList(); dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); dto.Visibility = poco.Visibility; return dto; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/EnumerationDefinitionExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/EnumerationDefinitionExtensions.cs index a9e1be22..6ef61b74 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/EnumerationDefinitionExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/EnumerationDefinitionExtensions.cs @@ -68,23 +68,13 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsSufficient = dto.IsSufficient; - - ((Core.POCO.Systems.Enumerations.IEnumerationDefinition)poco).IsVariation = ((Core.DTO.Systems.Enumerations.IEnumerationDefinition)dto).IsVariation; - - ((Core.POCO.Systems.DefinitionAndUsage.IDefinition)poco).IsVariation = ((Core.DTO.Systems.DefinitionAndUsage.IDefinition)dto).IsVariation; - + poco.IsVariation = dto.IsVariation; var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -94,7 +84,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } @@ -174,8 +163,7 @@ public static Core.DTO.Systems.Enumerations.EnumerationDefinition ToDto(this Cor dto.IsAbstract = poco.IsAbstract; dto.IsImpliedIncluded = poco.IsImpliedIncluded; dto.IsSufficient = poco.IsSufficient; - ((Core.DTO.Systems.Enumerations.IEnumerationDefinition)dto).IsVariation = ((Core.POCO.Systems.Enumerations.IEnumerationDefinition)poco).IsVariation; - ((Core.DTO.Systems.DefinitionAndUsage.IDefinition)dto).IsVariation = ((Core.POCO.Systems.DefinitionAndUsage.IDefinition)poco).IsVariation; + dto.IsVariation = poco.IsVariation; dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelationship = poco.OwningRelationship?.Id; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/EnumerationUsageExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/EnumerationUsageExtensions.cs index 170ea392..941c141d 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/EnumerationUsageExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/EnumerationUsageExtensions.cs @@ -68,39 +68,21 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - - poco.IsVariable = dto.IsVariable; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -110,7 +92,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } @@ -198,7 +179,6 @@ public static Core.DTO.Systems.Enumerations.EnumerationUsage ToDto(this Core.POC dto.IsPortion = poco.IsPortion; dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; - dto.IsVariable = poco.IsVariable; dto.IsVariation = poco.IsVariation; dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelationship = poco.OwningRelationship?.Id; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/EventOccurrenceUsageExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/EventOccurrenceUsageExtensions.cs index bfead464..fbb38140 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/EventOccurrenceUsageExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/EventOccurrenceUsageExtensions.cs @@ -68,41 +68,22 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - - poco.IsVariable = dto.IsVariable; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -111,10 +92,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - poco.PortionKind = dto.PortionKind; - return identifiersOfObjectsToDelete; } @@ -203,7 +182,6 @@ public static Core.DTO.Systems.Occurrences.EventOccurrenceUsage ToDto(this Core. dto.IsPortion = poco.IsPortion; dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; - dto.IsVariable = poco.IsVariable; dto.IsVariation = poco.IsVariation; dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelationship = poco.OwningRelationship?.Id; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ExhibitStateUsageExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ExhibitStateUsageExtensions.cs index bac6c7f2..172cb836 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ExhibitStateUsageExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ExhibitStateUsageExtensions.cs @@ -68,43 +68,23 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsOrdered = dto.IsOrdered; - poco.IsParallel = dto.IsParallel; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - - poco.IsVariable = dto.IsVariable; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -113,10 +93,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - poco.PortionKind = dto.PortionKind; - return identifiersOfObjectsToDelete; } @@ -206,7 +184,6 @@ public static Core.DTO.Systems.States.ExhibitStateUsage ToDto(this Core.POCO.Sys dto.IsPortion = poco.IsPortion; dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; - dto.IsVariable = poco.IsVariable; dto.IsVariation = poco.IsVariation; dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelationship = poco.OwningRelationship?.Id; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ExpressionExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ExpressionExtensions.cs index d4db25d1..b39ba2ce 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ExpressionExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ExpressionExtensions.cs @@ -68,37 +68,21 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -108,7 +92,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/FeatureChainExpressionExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/FeatureChainExpressionExtensions.cs index 612ec92e..a7dff53a 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/FeatureChainExpressionExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/FeatureChainExpressionExtensions.cs @@ -68,41 +68,22 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; - - ((Core.POCO.Kernel.Expressions.IFeatureChainExpression)poco).Operator = ((Core.DTO.Kernel.Expressions.IFeatureChainExpression)dto).Operator; - - ((Core.POCO.Kernel.Expressions.IOperatorExpression)poco).Operator = ((Core.DTO.Kernel.Expressions.IOperatorExpression)dto).Operator; - + poco.Operator = dto.Operator; var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -112,7 +93,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } @@ -201,8 +181,7 @@ public static Core.DTO.Kernel.Expressions.FeatureChainExpression ToDto(this Core dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; dto.IsVariable = poco.IsVariable; - ((Core.DTO.Kernel.Expressions.IFeatureChainExpression)dto).Operator = ((Core.POCO.Kernel.Expressions.IFeatureChainExpression)poco).Operator; - ((Core.DTO.Kernel.Expressions.IOperatorExpression)dto).Operator = ((Core.POCO.Kernel.Expressions.IOperatorExpression)poco).Operator; + dto.Operator = poco.Operator; dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelationship = poco.OwningRelationship?.Id; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/FeatureChainingExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/FeatureChainingExtensions.cs index cd5b31bc..66d7cb38 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/FeatureChainingExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/FeatureChainingExtensions.cs @@ -68,17 +68,11 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -87,7 +81,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -97,23 +90,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - - return identifiersOfObjectsToDelete; } @@ -198,26 +174,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Core.Features.Featur poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -245,8 +201,6 @@ public static Core.DTO.Core.Features.FeatureChaining ToDto(this Core.POCO.Core.F dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); return dto; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/FeatureExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/FeatureExtensions.cs index e17516dc..9bc8d36f 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/FeatureExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/FeatureExtensions.cs @@ -68,37 +68,21 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -108,7 +92,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/FeatureInvertingExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/FeatureInvertingExtensions.cs index 348b15f4..82cbff4a 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/FeatureInvertingExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/FeatureInvertingExtensions.cs @@ -68,17 +68,11 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -87,7 +81,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -97,23 +90,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - - return identifiersOfObjectsToDelete; } @@ -207,26 +183,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Core.Features.Featur poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -255,8 +211,6 @@ public static Core.DTO.Core.Features.FeatureInverting ToDto(this Core.POCO.Core. dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); return dto; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/FeatureMembershipExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/FeatureMembershipExtensions.cs index 0216cd03..ebc9efc1 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/FeatureMembershipExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/FeatureMembershipExtensions.cs @@ -68,21 +68,11 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - - poco.MemberName = dto.MemberName; - - poco.MemberShortName = dto.MemberShortName; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -91,7 +81,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -100,26 +89,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - poco.Visibility = dto.Visibility; - return identifiersOfObjectsToDelete; } @@ -157,15 +128,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Core.Types.FeatureMe Lazy lazyPoco; - if (cache.TryGetValue(dto.MemberElement, out lazyPoco)) - { - poco.MemberElement = (Core.POCO.Root.Elements.IElement)lazyPoco.Value; - } - else - { - poco.MemberElement = null; - } - var ownedRelatedElementToAdd = dto.OwnedRelatedElement.Except(poco.OwnedRelatedElement.Select(x => x.Id)); foreach (var identifier in ownedRelatedElementToAdd) @@ -204,26 +166,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Core.Types.FeatureMe poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -246,15 +188,10 @@ public static Core.DTO.Core.Types.FeatureMembership ToDto(this Core.POCO.Core.Ty dto.ElementId = poco.ElementId; dto.IsImplied = poco.IsImplied; dto.IsImpliedIncluded = poco.IsImpliedIncluded; - dto.MemberElement = poco.MemberElement.Id; - dto.MemberName = poco.MemberName; - dto.MemberShortName = poco.MemberShortName; dto.OwnedRelatedElement = poco.OwnedRelatedElement.Select(x => x.Id).ToList(); dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); dto.Visibility = poco.Visibility; return dto; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/FeatureReferenceExpressionExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/FeatureReferenceExpressionExtensions.cs index 6500cc0d..37522838 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/FeatureReferenceExpressionExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/FeatureReferenceExpressionExtensions.cs @@ -68,37 +68,21 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -108,7 +92,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/FeatureTypingExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/FeatureTypingExtensions.cs index 2a3a9d52..89bf3e5e 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/FeatureTypingExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/FeatureTypingExtensions.cs @@ -68,17 +68,11 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -87,7 +81,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -97,23 +90,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - - return identifiersOfObjectsToDelete; } @@ -151,15 +127,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Core.Features.Featur Lazy lazyPoco; - if (cache.TryGetValue(dto.General, out lazyPoco)) - { - poco.General = (Core.POCO.Core.Types.Type)lazyPoco.Value; - } - else - { - poco.General = null; - } - var ownedRelatedElementToAdd = dto.OwnedRelatedElement.Except(poco.OwnedRelatedElement.Select(x => x.Id)); foreach (var identifier in ownedRelatedElementToAdd) @@ -198,35 +165,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Core.Features.Featur poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - if (cache.TryGetValue(dto.Specific, out lazyPoco)) - { - poco.Specific = (Core.POCO.Core.Types.Type)lazyPoco.Value; - } - else - { - poco.Specific = null; - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - if (cache.TryGetValue(dto.Type, out lazyPoco)) { poco.Type = (Core.POCO.Core.Types.Type)lazyPoco.Value; @@ -265,16 +203,12 @@ public static Core.DTO.Core.Features.FeatureTyping ToDto(this Core.POCO.Core.Fea dto.DeclaredName = poco.DeclaredName; dto.DeclaredShortName = poco.DeclaredShortName; dto.ElementId = poco.ElementId; - dto.General = poco.General.Id; dto.IsImplied = poco.IsImplied; dto.IsImpliedIncluded = poco.IsImpliedIncluded; dto.OwnedRelatedElement = poco.OwnedRelatedElement.Select(x => x.Id).ToList(); dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Specific = poco.Specific.Id; - dto.Target = poco.Target.Select(x => x.Id).ToList(); dto.Type = poco.Type.Id; dto.TypedFeature = poco.TypedFeature.Id; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/FeatureValueExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/FeatureValueExtensions.cs index bdefa82c..4a287280 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/FeatureValueExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/FeatureValueExtensions.cs @@ -68,25 +68,13 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsDefault = dto.IsDefault; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsInitial = dto.IsInitial; - - poco.MemberName = dto.MemberName; - - poco.MemberShortName = dto.MemberShortName; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -95,7 +83,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -104,26 +91,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - poco.Visibility = dto.Visibility; - return identifiersOfObjectsToDelete; } @@ -161,15 +130,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Kernel.FeatureValues Lazy lazyPoco; - if (cache.TryGetValue(dto.MemberElement, out lazyPoco)) - { - poco.MemberElement = (Core.POCO.Root.Elements.IElement)lazyPoco.Value; - } - else - { - poco.MemberElement = null; - } - var ownedRelatedElementToAdd = dto.OwnedRelatedElement.Except(poco.OwnedRelatedElement.Select(x => x.Id)); foreach (var identifier in ownedRelatedElementToAdd) @@ -208,26 +168,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Kernel.FeatureValues poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -252,15 +192,10 @@ public static Core.DTO.Kernel.FeatureValues.FeatureValue ToDto(this Core.POCO.Ke dto.IsImplied = poco.IsImplied; dto.IsImpliedIncluded = poco.IsImpliedIncluded; dto.IsInitial = poco.IsInitial; - dto.MemberElement = poco.MemberElement.Id; - dto.MemberName = poco.MemberName; - dto.MemberShortName = poco.MemberShortName; dto.OwnedRelatedElement = poco.OwnedRelatedElement.Select(x => x.Id).ToList(); dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); dto.Visibility = poco.Visibility; return dto; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/FlowDefinitionExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/FlowDefinitionExtensions.cs index d7363956..9a6899e7 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/FlowDefinitionExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/FlowDefinitionExtensions.cs @@ -68,25 +68,15 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsSufficient = dto.IsSufficient; - poco.IsVariation = dto.IsVariation; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -95,7 +85,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -105,23 +94,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - - return identifiersOfObjectsToDelete; } @@ -197,26 +169,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Systems.Flows.FlowDe poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -247,8 +199,6 @@ public static Core.DTO.Systems.Flows.FlowDefinition ToDto(this Core.POCO.Systems dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); return dto; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/FlowEndExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/FlowEndExtensions.cs index 16a91fd1..69f9847b 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/FlowEndExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/FlowEndExtensions.cs @@ -68,37 +68,21 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -108,7 +92,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/FlowExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/FlowExtensions.cs index 41e08951..29962a7f 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/FlowExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/FlowExtensions.cs @@ -68,39 +68,22 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -109,7 +92,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -119,23 +101,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - - return identifiersOfObjectsToDelete; } @@ -211,26 +176,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Kernel.Interactions. poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -268,8 +213,6 @@ public static Core.DTO.Kernel.Interactions.Flow ToDto(this Core.POCO.Kernel.Inte dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); return dto; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/FlowUsageExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/FlowUsageExtensions.cs index aacd7adb..1afb6560 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/FlowUsageExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/FlowUsageExtensions.cs @@ -68,43 +68,23 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - - poco.IsVariable = dto.IsVariable; - poco.IsVariation = dto.IsVariation; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -113,7 +93,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -122,26 +101,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - poco.PortionKind = dto.PortionKind; - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - - return identifiersOfObjectsToDelete; } @@ -217,26 +178,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Systems.Flows.FlowUs poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -270,15 +211,12 @@ public static Core.DTO.Systems.Flows.FlowUsage ToDto(this Core.POCO.Systems.Flow dto.IsPortion = poco.IsPortion; dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; - dto.IsVariable = poco.IsVariable; dto.IsVariation = poco.IsVariation; dto.OwnedRelatedElement = poco.OwnedRelatedElement.Select(x => x.Id).ToList(); dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; dto.PortionKind = poco.PortionKind; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); return dto; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ForLoopActionUsageExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ForLoopActionUsageExtensions.cs index 4a7b1144..321ebd75 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ForLoopActionUsageExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ForLoopActionUsageExtensions.cs @@ -68,41 +68,22 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - - poco.IsVariable = dto.IsVariable; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -111,10 +92,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - poco.PortionKind = dto.PortionKind; - return identifiersOfObjectsToDelete; } @@ -203,7 +182,6 @@ public static Core.DTO.Systems.Actions.ForLoopActionUsage ToDto(this Core.POCO.S dto.IsPortion = poco.IsPortion; dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; - dto.IsVariable = poco.IsVariable; dto.IsVariation = poco.IsVariation; dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelationship = poco.OwningRelationship?.Id; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ForkNodeExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ForkNodeExtensions.cs index c89a7a3c..3da48d80 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ForkNodeExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ForkNodeExtensions.cs @@ -68,41 +68,22 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - - poco.IsVariable = dto.IsVariable; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -111,10 +92,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - poco.PortionKind = dto.PortionKind; - return identifiersOfObjectsToDelete; } @@ -203,7 +182,6 @@ public static Core.DTO.Systems.Actions.ForkNode ToDto(this Core.POCO.Systems.Act dto.IsPortion = poco.IsPortion; dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; - dto.IsVariable = poco.IsVariable; dto.IsVariation = poco.IsVariation; dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelationship = poco.OwningRelationship?.Id; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/FramedConcernMembershipExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/FramedConcernMembershipExtensions.cs index c9a2d960..ee5ca6ff 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/FramedConcernMembershipExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/FramedConcernMembershipExtensions.cs @@ -68,25 +68,12 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - - ((Core.POCO.Systems.Requirements.IFramedConcernMembership)poco).Kind = ((Core.DTO.Systems.Requirements.IFramedConcernMembership)dto).Kind; - - ((Core.POCO.Systems.Requirements.IRequirementConstraintMembership)poco).Kind = ((Core.DTO.Systems.Requirements.IRequirementConstraintMembership)dto).Kind; - - poco.MemberName = dto.MemberName; - - poco.MemberShortName = dto.MemberShortName; - + poco.Kind = dto.Kind; var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -95,7 +82,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -104,26 +90,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - poco.Visibility = dto.Visibility; - return identifiersOfObjectsToDelete; } @@ -161,15 +129,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Systems.Requirements Lazy lazyPoco; - if (cache.TryGetValue(dto.MemberElement, out lazyPoco)) - { - poco.MemberElement = (Core.POCO.Root.Elements.IElement)lazyPoco.Value; - } - else - { - poco.MemberElement = null; - } - var ownedRelatedElementToAdd = dto.OwnedRelatedElement.Except(poco.OwnedRelatedElement.Select(x => x.Id)); foreach (var identifier in ownedRelatedElementToAdd) @@ -208,26 +167,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Systems.Requirements poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -250,17 +189,11 @@ public static Core.DTO.Systems.Requirements.FramedConcernMembership ToDto(this C dto.ElementId = poco.ElementId; dto.IsImplied = poco.IsImplied; dto.IsImpliedIncluded = poco.IsImpliedIncluded; - ((Core.DTO.Systems.Requirements.IFramedConcernMembership)dto).Kind = ((Core.POCO.Systems.Requirements.IFramedConcernMembership)poco).Kind; - ((Core.DTO.Systems.Requirements.IRequirementConstraintMembership)dto).Kind = ((Core.POCO.Systems.Requirements.IRequirementConstraintMembership)poco).Kind; - dto.MemberElement = poco.MemberElement.Id; - dto.MemberName = poco.MemberName; - dto.MemberShortName = poco.MemberShortName; + dto.Kind = poco.Kind; dto.OwnedRelatedElement = poco.OwnedRelatedElement.Select(x => x.Id).ToList(); dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); dto.Visibility = poco.Visibility; return dto; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/FunctionExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/FunctionExtensions.cs index 8b16915e..7ae8190f 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/FunctionExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/FunctionExtensions.cs @@ -68,19 +68,12 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsSufficient = dto.IsSufficient; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -90,7 +83,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/IfActionUsageExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/IfActionUsageExtensions.cs index 2c1b7c0b..f15e2f79 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/IfActionUsageExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/IfActionUsageExtensions.cs @@ -68,41 +68,22 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - - poco.IsVariable = dto.IsVariable; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -111,10 +92,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - poco.PortionKind = dto.PortionKind; - return identifiersOfObjectsToDelete; } @@ -203,7 +182,6 @@ public static Core.DTO.Systems.Actions.IfActionUsage ToDto(this Core.POCO.System dto.IsPortion = poco.IsPortion; dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; - dto.IsVariable = poco.IsVariable; dto.IsVariation = poco.IsVariation; dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelationship = poco.OwningRelationship?.Id; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/IncludeUseCaseUsageExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/IncludeUseCaseUsageExtensions.cs index 9bd28b07..12ed4c0e 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/IncludeUseCaseUsageExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/IncludeUseCaseUsageExtensions.cs @@ -68,41 +68,22 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - - poco.IsVariable = dto.IsVariable; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -111,10 +92,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - poco.PortionKind = dto.PortionKind; - return identifiersOfObjectsToDelete; } @@ -203,7 +182,6 @@ public static Core.DTO.Systems.UseCases.IncludeUseCaseUsage ToDto(this Core.POCO dto.IsPortion = poco.IsPortion; dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; - dto.IsVariable = poco.IsVariable; dto.IsVariation = poco.IsVariation; dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelationship = poco.OwningRelationship?.Id; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/IndexExpressionExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/IndexExpressionExtensions.cs index 8e16eddb..0a54e2f6 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/IndexExpressionExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/IndexExpressionExtensions.cs @@ -68,41 +68,22 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; - - ((Core.POCO.Kernel.Expressions.IIndexExpression)poco).Operator = ((Core.DTO.Kernel.Expressions.IIndexExpression)dto).Operator; - - ((Core.POCO.Kernel.Expressions.IOperatorExpression)poco).Operator = ((Core.DTO.Kernel.Expressions.IOperatorExpression)dto).Operator; - + poco.Operator = dto.Operator; var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -112,7 +93,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } @@ -201,8 +181,7 @@ public static Core.DTO.Kernel.Expressions.IndexExpression ToDto(this Core.POCO.K dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; dto.IsVariable = poco.IsVariable; - ((Core.DTO.Kernel.Expressions.IIndexExpression)dto).Operator = ((Core.POCO.Kernel.Expressions.IIndexExpression)poco).Operator; - ((Core.DTO.Kernel.Expressions.IOperatorExpression)dto).Operator = ((Core.POCO.Kernel.Expressions.IOperatorExpression)poco).Operator; + dto.Operator = poco.Operator; dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelationship = poco.OwningRelationship?.Id; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/InteractionExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/InteractionExtensions.cs index 2c3e707e..176f6dba 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/InteractionExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/InteractionExtensions.cs @@ -68,21 +68,13 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsSufficient = dto.IsSufficient; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -91,7 +83,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -101,23 +92,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - - return identifiersOfObjectsToDelete; } @@ -193,26 +167,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Kernel.Interactions. poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -241,8 +195,6 @@ public static Core.DTO.Kernel.Interactions.Interaction ToDto(this Core.POCO.Kern dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); return dto; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/InterfaceDefinitionExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/InterfaceDefinitionExtensions.cs index fd279161..ddff792c 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/InterfaceDefinitionExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/InterfaceDefinitionExtensions.cs @@ -68,27 +68,15 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - - ((Core.POCO.Systems.Connections.IConnectionDefinition)poco).IsSufficient = ((Core.DTO.Systems.Connections.IConnectionDefinition)dto).IsSufficient; - - ((Core.POCO.Core.Types.IType)poco).IsSufficient = ((Core.DTO.Core.Types.IType)dto).IsSufficient; - + poco.IsSufficient = dto.IsSufficient; poco.IsVariation = dto.IsVariation; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -97,7 +85,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -107,23 +94,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - - return identifiersOfObjectsToDelete; } @@ -199,26 +169,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Systems.Interfaces.I poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -243,15 +193,12 @@ public static Core.DTO.Systems.Interfaces.InterfaceDefinition ToDto(this Core.PO dto.IsImplied = poco.IsImplied; dto.IsImpliedIncluded = poco.IsImpliedIncluded; dto.IsIndividual = poco.IsIndividual; - ((Core.DTO.Systems.Connections.IConnectionDefinition)dto).IsSufficient = ((Core.POCO.Systems.Connections.IConnectionDefinition)poco).IsSufficient; - ((Core.DTO.Core.Types.IType)dto).IsSufficient = ((Core.POCO.Core.Types.IType)poco).IsSufficient; + dto.IsSufficient = poco.IsSufficient; dto.IsVariation = poco.IsVariation; dto.OwnedRelatedElement = poco.OwnedRelatedElement.Select(x => x.Id).ToList(); dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); return dto; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/InterfaceUsageExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/InterfaceUsageExtensions.cs index 7aaa225b..fd14b4eb 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/InterfaceUsageExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/InterfaceUsageExtensions.cs @@ -68,43 +68,23 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - - poco.IsVariable = dto.IsVariable; - poco.IsVariation = dto.IsVariation; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -113,7 +93,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -122,26 +101,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - poco.PortionKind = dto.PortionKind; - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - - return identifiersOfObjectsToDelete; } @@ -217,26 +178,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Systems.Interfaces.I poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -270,15 +211,12 @@ public static Core.DTO.Systems.Interfaces.InterfaceUsage ToDto(this Core.POCO.Sy dto.IsPortion = poco.IsPortion; dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; - dto.IsVariable = poco.IsVariable; dto.IsVariation = poco.IsVariation; dto.OwnedRelatedElement = poco.OwnedRelatedElement.Select(x => x.Id).ToList(); dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; dto.PortionKind = poco.PortionKind; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); return dto; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/IntersectingExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/IntersectingExtensions.cs index 4bef3954..ecd10f5f 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/IntersectingExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/IntersectingExtensions.cs @@ -68,17 +68,11 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -87,7 +81,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -97,23 +90,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - - return identifiersOfObjectsToDelete; } @@ -198,26 +174,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Core.Types.Intersect poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -245,8 +201,6 @@ public static Core.DTO.Core.Types.Intersecting ToDto(this Core.POCO.Core.Types.I dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); return dto; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/InvariantExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/InvariantExtensions.cs index 8164c3bc..6963de49 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/InvariantExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/InvariantExtensions.cs @@ -68,39 +68,22 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsNegated = dto.IsNegated; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -110,7 +93,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/InvocationExpressionExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/InvocationExpressionExtensions.cs index 89dbcca6..63d0367b 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/InvocationExpressionExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/InvocationExpressionExtensions.cs @@ -68,37 +68,21 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -108,7 +92,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ItemDefinitionExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ItemDefinitionExtensions.cs index 79f0ca14..35597122 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ItemDefinitionExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ItemDefinitionExtensions.cs @@ -68,23 +68,14 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsSufficient = dto.IsSufficient; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -94,7 +85,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ItemUsageExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ItemUsageExtensions.cs index e82dc44c..a3928526 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ItemUsageExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ItemUsageExtensions.cs @@ -68,41 +68,22 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - - poco.IsVariable = dto.IsVariable; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -111,10 +92,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - poco.PortionKind = dto.PortionKind; - return identifiersOfObjectsToDelete; } @@ -203,7 +182,6 @@ public static Core.DTO.Systems.Items.ItemUsage ToDto(this Core.POCO.Systems.Item dto.IsPortion = poco.IsPortion; dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; - dto.IsVariable = poco.IsVariable; dto.IsVariation = poco.IsVariation; dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelationship = poco.OwningRelationship?.Id; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/JoinNodeExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/JoinNodeExtensions.cs index dbe912a1..8ab71c54 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/JoinNodeExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/JoinNodeExtensions.cs @@ -68,41 +68,22 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - - poco.IsVariable = dto.IsVariable; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -111,10 +92,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - poco.PortionKind = dto.PortionKind; - return identifiersOfObjectsToDelete; } @@ -203,7 +182,6 @@ public static Core.DTO.Systems.Actions.JoinNode ToDto(this Core.POCO.Systems.Act dto.IsPortion = poco.IsPortion; dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; - dto.IsVariable = poco.IsVariable; dto.IsVariation = poco.IsVariation; dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelationship = poco.OwningRelationship?.Id; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/LibraryPackageExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/LibraryPackageExtensions.cs index 06b1dcfd..b93df3d9 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/LibraryPackageExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/LibraryPackageExtensions.cs @@ -68,17 +68,11 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsStandard = dto.IsStandard; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -88,7 +82,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/LiteralBooleanExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/LiteralBooleanExtensions.cs index 405bc201..ad24ae50 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/LiteralBooleanExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/LiteralBooleanExtensions.cs @@ -68,37 +68,21 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -107,10 +91,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - poco.Value = dto.Value; - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/LiteralExpressionExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/LiteralExpressionExtensions.cs index 5f142980..e0d5b6f3 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/LiteralExpressionExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/LiteralExpressionExtensions.cs @@ -68,37 +68,21 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -108,7 +92,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/LiteralInfinityExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/LiteralInfinityExtensions.cs index d44d217c..5a1a2353 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/LiteralInfinityExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/LiteralInfinityExtensions.cs @@ -68,37 +68,21 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -108,7 +92,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/LiteralIntegerExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/LiteralIntegerExtensions.cs index cb7765e8..1b7a05d6 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/LiteralIntegerExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/LiteralIntegerExtensions.cs @@ -68,37 +68,21 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -107,10 +91,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - poco.Value = dto.Value; - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/LiteralRationalExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/LiteralRationalExtensions.cs index 4feb3332..6d5c3c24 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/LiteralRationalExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/LiteralRationalExtensions.cs @@ -68,37 +68,21 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -107,10 +91,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - poco.Value = dto.Value; - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/LiteralStringExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/LiteralStringExtensions.cs index 6007c914..f4ed4954 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/LiteralStringExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/LiteralStringExtensions.cs @@ -68,37 +68,21 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -107,10 +91,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - poco.Value = dto.Value; - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/MembershipExposeExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/MembershipExposeExtensions.cs index f94ac7bc..3d0a9679 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/MembershipExposeExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/MembershipExposeExtensions.cs @@ -68,23 +68,13 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - - ((Core.POCO.Root.Namespaces.IImport)poco).IsImportAll = ((Core.DTO.Root.Namespaces.IImport)dto).IsImportAll; - - ((Core.POCO.Systems.Views.IExpose)poco).IsImportAll = ((Core.DTO.Systems.Views.IExpose)dto).IsImportAll; - + poco.IsImportAll = dto.IsImportAll; poco.IsRecursive = dto.IsRecursive; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -93,7 +83,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -102,27 +91,7 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - - ((Core.POCO.Root.Namespaces.IImport)poco).Visibility = ((Core.DTO.Root.Namespaces.IImport)dto).Visibility; - - ((Core.POCO.Systems.Views.IExpose)poco).Visibility = ((Core.DTO.Systems.Views.IExpose)dto).Visibility; - + poco.Visibility = dto.Visibility; return identifiersOfObjectsToDelete; } @@ -208,26 +177,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Systems.Views.Member poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -251,17 +200,13 @@ public static Core.DTO.Systems.Views.MembershipExpose ToDto(this Core.POCO.Syste dto.ImportedMembership = poco.ImportedMembership.Id; dto.IsImplied = poco.IsImplied; dto.IsImpliedIncluded = poco.IsImpliedIncluded; - ((Core.DTO.Root.Namespaces.IImport)dto).IsImportAll = ((Core.POCO.Root.Namespaces.IImport)poco).IsImportAll; - ((Core.DTO.Systems.Views.IExpose)dto).IsImportAll = ((Core.POCO.Systems.Views.IExpose)poco).IsImportAll; + dto.IsImportAll = poco.IsImportAll; dto.IsRecursive = poco.IsRecursive; dto.OwnedRelatedElement = poco.OwnedRelatedElement.Select(x => x.Id).ToList(); dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); - ((Core.DTO.Root.Namespaces.IImport)dto).Visibility = ((Core.POCO.Root.Namespaces.IImport)poco).Visibility; - ((Core.DTO.Systems.Views.IExpose)dto).Visibility = ((Core.POCO.Systems.Views.IExpose)poco).Visibility; + dto.Visibility = poco.Visibility; return dto; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/MembershipExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/MembershipExtensions.cs index bd688488..bec76c2c 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/MembershipExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/MembershipExtensions.cs @@ -68,21 +68,13 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.MemberName = dto.MemberName; - poco.MemberShortName = dto.MemberShortName; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -91,7 +83,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -100,26 +91,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - poco.Visibility = dto.Visibility; - return identifiersOfObjectsToDelete; } @@ -204,26 +177,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Root.Namespaces.Memb poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -253,8 +206,6 @@ public static Core.DTO.Root.Namespaces.Membership ToDto(this Core.POCO.Root.Name dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); dto.Visibility = poco.Visibility; return dto; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/MembershipImportExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/MembershipImportExtensions.cs index aa675de5..0cbe1405 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/MembershipImportExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/MembershipImportExtensions.cs @@ -68,21 +68,13 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsImportAll = dto.IsImportAll; - poco.IsRecursive = dto.IsRecursive; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -91,7 +83,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -100,26 +91,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - poco.Visibility = dto.Visibility; - return identifiersOfObjectsToDelete; } @@ -204,26 +177,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Root.Namespaces.Memb poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -253,8 +206,6 @@ public static Core.DTO.Root.Namespaces.MembershipImport ToDto(this Core.POCO.Roo dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); dto.Visibility = poco.Visibility; return dto; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/MergeNodeExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/MergeNodeExtensions.cs index 8313ae60..470499a7 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/MergeNodeExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/MergeNodeExtensions.cs @@ -68,41 +68,22 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - - poco.IsVariable = dto.IsVariable; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -111,10 +92,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - poco.PortionKind = dto.PortionKind; - return identifiersOfObjectsToDelete; } @@ -203,7 +182,6 @@ public static Core.DTO.Systems.Actions.MergeNode ToDto(this Core.POCO.Systems.Ac dto.IsPortion = poco.IsPortion; dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; - dto.IsVariable = poco.IsVariable; dto.IsVariation = poco.IsVariation; dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelationship = poco.OwningRelationship?.Id; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/MetaclassExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/MetaclassExtensions.cs index 64550661..72a34e9f 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/MetaclassExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/MetaclassExtensions.cs @@ -68,19 +68,12 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsSufficient = dto.IsSufficient; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -90,7 +83,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/MetadataAccessExpressionExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/MetadataAccessExpressionExtensions.cs index cbb9c695..cae2d92f 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/MetadataAccessExpressionExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/MetadataAccessExpressionExtensions.cs @@ -68,37 +68,21 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -108,7 +92,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/MetadataDefinitionExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/MetadataDefinitionExtensions.cs index a60a5386..810a4a24 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/MetadataDefinitionExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/MetadataDefinitionExtensions.cs @@ -68,23 +68,14 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsSufficient = dto.IsSufficient; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -94,7 +85,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/MetadataFeatureExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/MetadataFeatureExtensions.cs index 153477eb..67f0c86b 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/MetadataFeatureExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/MetadataFeatureExtensions.cs @@ -68,37 +68,21 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -108,7 +92,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/MetadataUsageExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/MetadataUsageExtensions.cs index c57463ec..a9823cae 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/MetadataUsageExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/MetadataUsageExtensions.cs @@ -68,41 +68,22 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - - poco.IsVariable = dto.IsVariable; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -111,10 +92,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - poco.PortionKind = dto.PortionKind; - return identifiersOfObjectsToDelete; } @@ -203,7 +182,6 @@ public static Core.DTO.Systems.Metadata.MetadataUsage ToDto(this Core.POCO.Syste dto.IsPortion = poco.IsPortion; dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; - dto.IsVariable = poco.IsVariable; dto.IsVariation = poco.IsVariation; dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelationship = poco.OwningRelationship?.Id; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/MultiplicityExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/MultiplicityExtensions.cs index 6ec49551..b77a36df 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/MultiplicityExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/MultiplicityExtensions.cs @@ -68,37 +68,21 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -108,7 +92,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/MultiplicityRangeExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/MultiplicityRangeExtensions.cs index 1338f490..59603bb0 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/MultiplicityRangeExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/MultiplicityRangeExtensions.cs @@ -68,37 +68,21 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -108,7 +92,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/NamespaceExposeExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/NamespaceExposeExtensions.cs index 1efb3f81..4c858686 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/NamespaceExposeExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/NamespaceExposeExtensions.cs @@ -68,23 +68,13 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - - ((Core.POCO.Systems.Views.IExpose)poco).IsImportAll = ((Core.DTO.Systems.Views.IExpose)dto).IsImportAll; - - ((Core.POCO.Root.Namespaces.IImport)poco).IsImportAll = ((Core.DTO.Root.Namespaces.IImport)dto).IsImportAll; - + poco.IsImportAll = dto.IsImportAll; poco.IsRecursive = dto.IsRecursive; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -93,7 +83,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -102,27 +91,7 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - - ((Core.POCO.Systems.Views.IExpose)poco).Visibility = ((Core.DTO.Systems.Views.IExpose)dto).Visibility; - - ((Core.POCO.Root.Namespaces.IImport)poco).Visibility = ((Core.DTO.Root.Namespaces.IImport)dto).Visibility; - + poco.Visibility = dto.Visibility; return identifiersOfObjectsToDelete; } @@ -208,26 +177,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Systems.Views.Namesp poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -251,17 +200,13 @@ public static Core.DTO.Systems.Views.NamespaceExpose ToDto(this Core.POCO.System dto.ImportedNamespace = poco.ImportedNamespace.Id; dto.IsImplied = poco.IsImplied; dto.IsImpliedIncluded = poco.IsImpliedIncluded; - ((Core.DTO.Systems.Views.IExpose)dto).IsImportAll = ((Core.POCO.Systems.Views.IExpose)poco).IsImportAll; - ((Core.DTO.Root.Namespaces.IImport)dto).IsImportAll = ((Core.POCO.Root.Namespaces.IImport)poco).IsImportAll; + dto.IsImportAll = poco.IsImportAll; dto.IsRecursive = poco.IsRecursive; dto.OwnedRelatedElement = poco.OwnedRelatedElement.Select(x => x.Id).ToList(); dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); - ((Core.DTO.Systems.Views.IExpose)dto).Visibility = ((Core.POCO.Systems.Views.IExpose)poco).Visibility; - ((Core.DTO.Root.Namespaces.IImport)dto).Visibility = ((Core.POCO.Root.Namespaces.IImport)poco).Visibility; + dto.Visibility = poco.Visibility; return dto; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/NamespaceExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/NamespaceExtensions.cs index 54f94ca0..f2f9d795 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/NamespaceExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/NamespaceExtensions.cs @@ -68,15 +68,10 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -86,7 +81,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/NamespaceImportExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/NamespaceImportExtensions.cs index 103ba2d4..93faccdd 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/NamespaceImportExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/NamespaceImportExtensions.cs @@ -68,21 +68,13 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsImportAll = dto.IsImportAll; - poco.IsRecursive = dto.IsRecursive; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -91,7 +83,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -100,26 +91,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - poco.Visibility = dto.Visibility; - return identifiersOfObjectsToDelete; } @@ -204,26 +177,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Root.Namespaces.Name poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -253,8 +206,6 @@ public static Core.DTO.Root.Namespaces.NamespaceImport ToDto(this Core.POCO.Root dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); dto.Visibility = poco.Visibility; return dto; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/NullExpressionExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/NullExpressionExtensions.cs index 117578dc..d9cd8b92 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/NullExpressionExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/NullExpressionExtensions.cs @@ -68,37 +68,21 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -108,7 +92,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ObjectiveMembershipExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ObjectiveMembershipExtensions.cs index 1928a570..a9a578ce 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ObjectiveMembershipExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ObjectiveMembershipExtensions.cs @@ -68,21 +68,11 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - - poco.MemberName = dto.MemberName; - - poco.MemberShortName = dto.MemberShortName; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -91,7 +81,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -100,26 +89,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - poco.Visibility = dto.Visibility; - return identifiersOfObjectsToDelete; } @@ -157,15 +128,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Systems.Cases.Object Lazy lazyPoco; - if (cache.TryGetValue(dto.MemberElement, out lazyPoco)) - { - poco.MemberElement = (Core.POCO.Root.Elements.IElement)lazyPoco.Value; - } - else - { - poco.MemberElement = null; - } - var ownedRelatedElementToAdd = dto.OwnedRelatedElement.Except(poco.OwnedRelatedElement.Select(x => x.Id)); foreach (var identifier in ownedRelatedElementToAdd) @@ -204,26 +166,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Systems.Cases.Object poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -246,15 +188,10 @@ public static Core.DTO.Systems.Cases.ObjectiveMembership ToDto(this Core.POCO.Sy dto.ElementId = poco.ElementId; dto.IsImplied = poco.IsImplied; dto.IsImpliedIncluded = poco.IsImpliedIncluded; - dto.MemberElement = poco.MemberElement.Id; - dto.MemberName = poco.MemberName; - dto.MemberShortName = poco.MemberShortName; dto.OwnedRelatedElement = poco.OwnedRelatedElement.Select(x => x.Id).ToList(); dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); dto.Visibility = poco.Visibility; return dto; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/OccurrenceDefinitionExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/OccurrenceDefinitionExtensions.cs index 95af2bcc..06c2d7b2 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/OccurrenceDefinitionExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/OccurrenceDefinitionExtensions.cs @@ -68,23 +68,14 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsSufficient = dto.IsSufficient; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -94,7 +85,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/OccurrenceUsageExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/OccurrenceUsageExtensions.cs index 9280a533..d5824384 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/OccurrenceUsageExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/OccurrenceUsageExtensions.cs @@ -68,41 +68,22 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - - poco.IsVariable = dto.IsVariable; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -111,10 +92,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - poco.PortionKind = dto.PortionKind; - return identifiersOfObjectsToDelete; } @@ -203,7 +182,6 @@ public static Core.DTO.Systems.Occurrences.OccurrenceUsage ToDto(this Core.POCO. dto.IsPortion = poco.IsPortion; dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; - dto.IsVariable = poco.IsVariable; dto.IsVariation = poco.IsVariation; dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelationship = poco.OwningRelationship?.Id; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/OperatorExpressionExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/OperatorExpressionExtensions.cs index 63cb1302..f2b8fdd7 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/OperatorExpressionExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/OperatorExpressionExtensions.cs @@ -68,39 +68,22 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; - poco.Operator = dto.Operator; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -110,7 +93,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/OwningMembershipExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/OwningMembershipExtensions.cs index 2701e6f9..6229fc62 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/OwningMembershipExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/OwningMembershipExtensions.cs @@ -68,21 +68,11 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - - poco.MemberName = dto.MemberName; - - poco.MemberShortName = dto.MemberShortName; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -91,7 +81,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -100,26 +89,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - poco.Visibility = dto.Visibility; - return identifiersOfObjectsToDelete; } @@ -157,15 +128,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Root.Namespaces.Owni Lazy lazyPoco; - if (cache.TryGetValue(dto.MemberElement, out lazyPoco)) - { - poco.MemberElement = (Core.POCO.Root.Elements.IElement)lazyPoco.Value; - } - else - { - poco.MemberElement = null; - } - var ownedRelatedElementToAdd = dto.OwnedRelatedElement.Except(poco.OwnedRelatedElement.Select(x => x.Id)); foreach (var identifier in ownedRelatedElementToAdd) @@ -204,26 +166,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Root.Namespaces.Owni poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -246,15 +188,10 @@ public static Core.DTO.Root.Namespaces.OwningMembership ToDto(this Core.POCO.Roo dto.ElementId = poco.ElementId; dto.IsImplied = poco.IsImplied; dto.IsImpliedIncluded = poco.IsImpliedIncluded; - dto.MemberElement = poco.MemberElement.Id; - dto.MemberName = poco.MemberName; - dto.MemberShortName = poco.MemberShortName; dto.OwnedRelatedElement = poco.OwnedRelatedElement.Select(x => x.Id).ToList(); dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); dto.Visibility = poco.Visibility; return dto; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/PackageExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/PackageExtensions.cs index 8a4f9bf6..ada35910 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/PackageExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/PackageExtensions.cs @@ -68,15 +68,10 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -86,7 +81,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ParameterMembershipExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ParameterMembershipExtensions.cs index 8d37fb08..d218369d 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ParameterMembershipExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ParameterMembershipExtensions.cs @@ -68,21 +68,11 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - - poco.MemberName = dto.MemberName; - - poco.MemberShortName = dto.MemberShortName; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -91,7 +81,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -100,26 +89,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - poco.Visibility = dto.Visibility; - return identifiersOfObjectsToDelete; } @@ -157,15 +128,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Kernel.Behaviors.Par Lazy lazyPoco; - if (cache.TryGetValue(dto.MemberElement, out lazyPoco)) - { - poco.MemberElement = (Core.POCO.Root.Elements.IElement)lazyPoco.Value; - } - else - { - poco.MemberElement = null; - } - var ownedRelatedElementToAdd = dto.OwnedRelatedElement.Except(poco.OwnedRelatedElement.Select(x => x.Id)); foreach (var identifier in ownedRelatedElementToAdd) @@ -204,26 +166,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Kernel.Behaviors.Par poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -246,15 +188,10 @@ public static Core.DTO.Kernel.Behaviors.ParameterMembership ToDto(this Core.POCO dto.ElementId = poco.ElementId; dto.IsImplied = poco.IsImplied; dto.IsImpliedIncluded = poco.IsImpliedIncluded; - dto.MemberElement = poco.MemberElement.Id; - dto.MemberName = poco.MemberName; - dto.MemberShortName = poco.MemberShortName; dto.OwnedRelatedElement = poco.OwnedRelatedElement.Select(x => x.Id).ToList(); dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); dto.Visibility = poco.Visibility; return dto; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/PartDefinitionExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/PartDefinitionExtensions.cs index 9074203d..7fe153bb 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/PartDefinitionExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/PartDefinitionExtensions.cs @@ -68,23 +68,14 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsSufficient = dto.IsSufficient; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -94,7 +85,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/PartUsageExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/PartUsageExtensions.cs index 23265259..7802142f 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/PartUsageExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/PartUsageExtensions.cs @@ -68,41 +68,22 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - - poco.IsVariable = dto.IsVariable; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -111,10 +92,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - poco.PortionKind = dto.PortionKind; - return identifiersOfObjectsToDelete; } @@ -203,7 +182,6 @@ public static Core.DTO.Systems.Parts.PartUsage ToDto(this Core.POCO.Systems.Part dto.IsPortion = poco.IsPortion; dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; - dto.IsVariable = poco.IsVariable; dto.IsVariation = poco.IsVariation; dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelationship = poco.OwningRelationship?.Id; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/PayloadFeatureExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/PayloadFeatureExtensions.cs index 8611cdc1..d970a8eb 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/PayloadFeatureExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/PayloadFeatureExtensions.cs @@ -68,37 +68,21 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -108,7 +92,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/PerformActionUsageExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/PerformActionUsageExtensions.cs index bed18d41..217235f2 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/PerformActionUsageExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/PerformActionUsageExtensions.cs @@ -68,41 +68,22 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - - poco.IsVariable = dto.IsVariable; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -111,10 +92,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - poco.PortionKind = dto.PortionKind; - return identifiersOfObjectsToDelete; } @@ -203,7 +182,6 @@ public static Core.DTO.Systems.Actions.PerformActionUsage ToDto(this Core.POCO.S dto.IsPortion = poco.IsPortion; dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; - dto.IsVariable = poco.IsVariable; dto.IsVariation = poco.IsVariation; dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelationship = poco.OwningRelationship?.Id; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/PortConjugationExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/PortConjugationExtensions.cs index 431a3561..83b53b72 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/PortConjugationExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/PortConjugationExtensions.cs @@ -68,17 +68,11 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -87,7 +81,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -97,23 +90,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - - return identifiersOfObjectsToDelete; } @@ -169,15 +145,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Systems.Ports.PortCo poco.OriginalPortDefinition = null; } - if (cache.TryGetValue(dto.OriginalType, out lazyPoco)) - { - poco.OriginalType = (Core.POCO.Core.Types.Type)lazyPoco.Value; - } - else - { - poco.OriginalType = null; - } - var ownedRelatedElementToAdd = dto.OwnedRelatedElement.Except(poco.OwnedRelatedElement.Select(x => x.Id)); foreach (var identifier in ownedRelatedElementToAdd) @@ -216,26 +183,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Systems.Ports.PortCo poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -260,13 +207,10 @@ public static Core.DTO.Systems.Ports.PortConjugation ToDto(this Core.POCO.System dto.IsImplied = poco.IsImplied; dto.IsImpliedIncluded = poco.IsImpliedIncluded; dto.OriginalPortDefinition = poco.OriginalPortDefinition.Id; - dto.OriginalType = poco.OriginalType.Id; dto.OwnedRelatedElement = poco.OwnedRelatedElement.Select(x => x.Id).ToList(); dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); return dto; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/PortDefinitionExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/PortDefinitionExtensions.cs index 0251be17..5e4096b3 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/PortDefinitionExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/PortDefinitionExtensions.cs @@ -68,23 +68,14 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsSufficient = dto.IsSufficient; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -94,7 +85,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/PortUsageExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/PortUsageExtensions.cs index af6c8358..c542a2ee 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/PortUsageExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/PortUsageExtensions.cs @@ -68,41 +68,22 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - - poco.IsVariable = dto.IsVariable; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -111,10 +92,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - poco.PortionKind = dto.PortionKind; - return identifiersOfObjectsToDelete; } @@ -203,7 +182,6 @@ public static Core.DTO.Systems.Ports.PortUsage ToDto(this Core.POCO.Systems.Port dto.IsPortion = poco.IsPortion; dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; - dto.IsVariable = poco.IsVariable; dto.IsVariation = poco.IsVariation; dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelationship = poco.OwningRelationship?.Id; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/PredicateExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/PredicateExtensions.cs index 134f85bc..57a07fee 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/PredicateExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/PredicateExtensions.cs @@ -68,19 +68,12 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsSufficient = dto.IsSufficient; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -90,7 +83,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/RedefinitionExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/RedefinitionExtensions.cs index 94d82fc8..45831a5c 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/RedefinitionExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/RedefinitionExtensions.cs @@ -68,17 +68,11 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -87,7 +81,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -97,23 +90,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - - return identifiersOfObjectsToDelete; } @@ -151,15 +127,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Core.Features.Redefi Lazy lazyPoco; - if (cache.TryGetValue(dto.General, out lazyPoco)) - { - poco.General = (Core.POCO.Core.Types.Type)lazyPoco.Value; - } - else - { - poco.General = null; - } - var ownedRelatedElementToAdd = dto.OwnedRelatedElement.Except(poco.OwnedRelatedElement.Select(x => x.Id)); foreach (var identifier in ownedRelatedElementToAdd) @@ -216,53 +183,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Core.Features.Redefi poco.RedefiningFeature = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - if (cache.TryGetValue(dto.Specific, out lazyPoco)) - { - poco.Specific = (Core.POCO.Core.Types.Type)lazyPoco.Value; - } - else - { - poco.Specific = null; - } - - if (cache.TryGetValue(dto.SubsettedFeature, out lazyPoco)) - { - poco.SubsettedFeature = (Core.POCO.Core.Features.Feature)lazyPoco.Value; - } - else - { - poco.SubsettedFeature = null; - } - - if (cache.TryGetValue(dto.SubsettingFeature, out lazyPoco)) - { - poco.SubsettingFeature = (Core.POCO.Core.Features.Feature)lazyPoco.Value; - } - else - { - poco.SubsettingFeature = null; - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -283,7 +203,6 @@ public static Core.DTO.Core.Features.Redefinition ToDto(this Core.POCO.Core.Feat dto.DeclaredName = poco.DeclaredName; dto.DeclaredShortName = poco.DeclaredShortName; dto.ElementId = poco.ElementId; - dto.General = poco.General.Id; dto.IsImplied = poco.IsImplied; dto.IsImpliedIncluded = poco.IsImpliedIncluded; dto.OwnedRelatedElement = poco.OwnedRelatedElement.Select(x => x.Id).ToList(); @@ -292,11 +211,6 @@ public static Core.DTO.Core.Features.Redefinition ToDto(this Core.POCO.Core.Feat dto.OwningRelationship = poco.OwningRelationship?.Id; dto.RedefinedFeature = poco.RedefinedFeature.Id; dto.RedefiningFeature = poco.RedefiningFeature.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Specific = poco.Specific.Id; - dto.SubsettedFeature = poco.SubsettedFeature.Id; - dto.SubsettingFeature = poco.SubsettingFeature.Id; - dto.Target = poco.Target.Select(x => x.Id).ToList(); return dto; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ReferenceSubsettingExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ReferenceSubsettingExtensions.cs index 05ed37dd..41e7ae92 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ReferenceSubsettingExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ReferenceSubsettingExtensions.cs @@ -68,17 +68,11 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -87,7 +81,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -97,23 +90,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - - return identifiersOfObjectsToDelete; } @@ -151,15 +127,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Core.Features.Refere Lazy lazyPoco; - if (cache.TryGetValue(dto.General, out lazyPoco)) - { - poco.General = (Core.POCO.Core.Types.Type)lazyPoco.Value; - } - else - { - poco.General = null; - } - var ownedRelatedElementToAdd = dto.OwnedRelatedElement.Except(poco.OwnedRelatedElement.Select(x => x.Id)); foreach (var identifier in ownedRelatedElementToAdd) @@ -207,53 +174,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Core.Features.Refere poco.ReferencedFeature = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - if (cache.TryGetValue(dto.Specific, out lazyPoco)) - { - poco.Specific = (Core.POCO.Core.Types.Type)lazyPoco.Value; - } - else - { - poco.Specific = null; - } - - if (cache.TryGetValue(dto.SubsettedFeature, out lazyPoco)) - { - poco.SubsettedFeature = (Core.POCO.Core.Features.Feature)lazyPoco.Value; - } - else - { - poco.SubsettedFeature = null; - } - - if (cache.TryGetValue(dto.SubsettingFeature, out lazyPoco)) - { - poco.SubsettingFeature = (Core.POCO.Core.Features.Feature)lazyPoco.Value; - } - else - { - poco.SubsettingFeature = null; - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -274,7 +194,6 @@ public static Core.DTO.Core.Features.ReferenceSubsetting ToDto(this Core.POCO.Co dto.DeclaredName = poco.DeclaredName; dto.DeclaredShortName = poco.DeclaredShortName; dto.ElementId = poco.ElementId; - dto.General = poco.General.Id; dto.IsImplied = poco.IsImplied; dto.IsImpliedIncluded = poco.IsImpliedIncluded; dto.OwnedRelatedElement = poco.OwnedRelatedElement.Select(x => x.Id).ToList(); @@ -282,11 +201,6 @@ public static Core.DTO.Core.Features.ReferenceSubsetting ToDto(this Core.POCO.Co dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; dto.ReferencedFeature = poco.ReferencedFeature.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Specific = poco.Specific.Id; - dto.SubsettedFeature = poco.SubsettedFeature.Id; - dto.SubsettingFeature = poco.SubsettingFeature.Id; - dto.Target = poco.Target.Select(x => x.Id).ToList(); return dto; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ReferenceUsageExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ReferenceUsageExtensions.cs index 53ed800f..7805859a 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ReferenceUsageExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ReferenceUsageExtensions.cs @@ -68,39 +68,21 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - - poco.IsVariable = dto.IsVariable; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -110,7 +92,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } @@ -198,7 +179,6 @@ public static Core.DTO.Systems.DefinitionAndUsage.ReferenceUsage ToDto(this Core dto.IsPortion = poco.IsPortion; dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; - dto.IsVariable = poco.IsVariable; dto.IsVariation = poco.IsVariation; dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelationship = poco.OwningRelationship?.Id; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/RenderingDefinitionExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/RenderingDefinitionExtensions.cs index 90f9741c..72b245b1 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/RenderingDefinitionExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/RenderingDefinitionExtensions.cs @@ -68,23 +68,14 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsSufficient = dto.IsSufficient; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -94,7 +85,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/RenderingUsageExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/RenderingUsageExtensions.cs index 7679749d..8970574b 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/RenderingUsageExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/RenderingUsageExtensions.cs @@ -68,41 +68,22 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - - poco.IsVariable = dto.IsVariable; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -111,10 +92,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - poco.PortionKind = dto.PortionKind; - return identifiersOfObjectsToDelete; } @@ -203,7 +182,6 @@ public static Core.DTO.Systems.Views.RenderingUsage ToDto(this Core.POCO.Systems dto.IsPortion = poco.IsPortion; dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; - dto.IsVariable = poco.IsVariable; dto.IsVariation = poco.IsVariation; dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelationship = poco.OwningRelationship?.Id; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/RequirementConstraintMembershipExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/RequirementConstraintMembershipExtensions.cs index 456c74cd..23aec023 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/RequirementConstraintMembershipExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/RequirementConstraintMembershipExtensions.cs @@ -68,23 +68,12 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.Kind = dto.Kind; - - poco.MemberName = dto.MemberName; - - poco.MemberShortName = dto.MemberShortName; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -93,7 +82,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -102,26 +90,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - poco.Visibility = dto.Visibility; - return identifiersOfObjectsToDelete; } @@ -159,15 +129,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Systems.Requirements Lazy lazyPoco; - if (cache.TryGetValue(dto.MemberElement, out lazyPoco)) - { - poco.MemberElement = (Core.POCO.Root.Elements.IElement)lazyPoco.Value; - } - else - { - poco.MemberElement = null; - } - var ownedRelatedElementToAdd = dto.OwnedRelatedElement.Except(poco.OwnedRelatedElement.Select(x => x.Id)); foreach (var identifier in ownedRelatedElementToAdd) @@ -206,26 +167,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Systems.Requirements poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -249,15 +190,10 @@ public static Core.DTO.Systems.Requirements.RequirementConstraintMembership ToDt dto.IsImplied = poco.IsImplied; dto.IsImpliedIncluded = poco.IsImpliedIncluded; dto.Kind = poco.Kind; - dto.MemberElement = poco.MemberElement.Id; - dto.MemberName = poco.MemberName; - dto.MemberShortName = poco.MemberShortName; dto.OwnedRelatedElement = poco.OwnedRelatedElement.Select(x => x.Id).ToList(); dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); dto.Visibility = poco.Visibility; return dto; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/RequirementDefinitionExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/RequirementDefinitionExtensions.cs index 929d2d9b..9b875ba2 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/RequirementDefinitionExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/RequirementDefinitionExtensions.cs @@ -68,23 +68,13 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsSufficient = dto.IsSufficient; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -93,10 +83,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - poco.ReqId = dto.ReqId; - return identifiersOfObjectsToDelete; } @@ -171,7 +159,6 @@ public static Core.DTO.Systems.Requirements.RequirementDefinition ToDto(this Cor dto.Id = poco.Id; dto.AliasIds = poco.AliasIds; dto.DeclaredName = poco.DeclaredName; - dto.DeclaredShortName = poco.DeclaredShortName; dto.ElementId = poco.ElementId; dto.IsAbstract = poco.IsAbstract; dto.IsImpliedIncluded = poco.IsImpliedIncluded; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/RequirementUsageExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/RequirementUsageExtensions.cs index 382173d0..0a37b5c0 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/RequirementUsageExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/RequirementUsageExtensions.cs @@ -68,41 +68,21 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - - poco.IsVariable = dto.IsVariable; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -111,12 +91,9 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - poco.PortionKind = dto.PortionKind; - poco.ReqId = dto.ReqId; - return identifiersOfObjectsToDelete; } @@ -191,7 +168,6 @@ public static Core.DTO.Systems.Requirements.RequirementUsage ToDto(this Core.POC dto.Id = poco.Id; dto.AliasIds = poco.AliasIds; dto.DeclaredName = poco.DeclaredName; - dto.DeclaredShortName = poco.DeclaredShortName; dto.Direction = poco.Direction; dto.ElementId = poco.ElementId; dto.IsAbstract = poco.IsAbstract; @@ -205,7 +181,6 @@ public static Core.DTO.Systems.Requirements.RequirementUsage ToDto(this Core.POC dto.IsPortion = poco.IsPortion; dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; - dto.IsVariable = poco.IsVariable; dto.IsVariation = poco.IsVariation; dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelationship = poco.OwningRelationship?.Id; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/RequirementVerificationMembershipExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/RequirementVerificationMembershipExtensions.cs index 4c573e1b..14482b16 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/RequirementVerificationMembershipExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/RequirementVerificationMembershipExtensions.cs @@ -68,25 +68,12 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - - ((Core.POCO.Systems.VerificationCases.IRequirementVerificationMembership)poco).Kind = ((Core.DTO.Systems.VerificationCases.IRequirementVerificationMembership)dto).Kind; - - ((Core.POCO.Systems.Requirements.IRequirementConstraintMembership)poco).Kind = ((Core.DTO.Systems.Requirements.IRequirementConstraintMembership)dto).Kind; - - poco.MemberName = dto.MemberName; - - poco.MemberShortName = dto.MemberShortName; - + poco.Kind = dto.Kind; var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -95,7 +82,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -104,26 +90,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - poco.Visibility = dto.Visibility; - return identifiersOfObjectsToDelete; } @@ -161,15 +129,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Systems.Verification Lazy lazyPoco; - if (cache.TryGetValue(dto.MemberElement, out lazyPoco)) - { - poco.MemberElement = (Core.POCO.Root.Elements.IElement)lazyPoco.Value; - } - else - { - poco.MemberElement = null; - } - var ownedRelatedElementToAdd = dto.OwnedRelatedElement.Except(poco.OwnedRelatedElement.Select(x => x.Id)); foreach (var identifier in ownedRelatedElementToAdd) @@ -208,26 +167,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Systems.Verification poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -250,17 +189,11 @@ public static Core.DTO.Systems.VerificationCases.RequirementVerificationMembersh dto.ElementId = poco.ElementId; dto.IsImplied = poco.IsImplied; dto.IsImpliedIncluded = poco.IsImpliedIncluded; - ((Core.DTO.Systems.VerificationCases.IRequirementVerificationMembership)dto).Kind = ((Core.POCO.Systems.VerificationCases.IRequirementVerificationMembership)poco).Kind; - ((Core.DTO.Systems.Requirements.IRequirementConstraintMembership)dto).Kind = ((Core.POCO.Systems.Requirements.IRequirementConstraintMembership)poco).Kind; - dto.MemberElement = poco.MemberElement.Id; - dto.MemberName = poco.MemberName; - dto.MemberShortName = poco.MemberShortName; + dto.Kind = poco.Kind; dto.OwnedRelatedElement = poco.OwnedRelatedElement.Select(x => x.Id).ToList(); dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); dto.Visibility = poco.Visibility; return dto; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ResultExpressionMembershipExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ResultExpressionMembershipExtensions.cs index 9fc50c72..169d2e3a 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ResultExpressionMembershipExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ResultExpressionMembershipExtensions.cs @@ -68,21 +68,11 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - - poco.MemberName = dto.MemberName; - - poco.MemberShortName = dto.MemberShortName; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -91,7 +81,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -100,26 +89,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - poco.Visibility = dto.Visibility; - return identifiersOfObjectsToDelete; } @@ -157,15 +128,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Kernel.Functions.Res Lazy lazyPoco; - if (cache.TryGetValue(dto.MemberElement, out lazyPoco)) - { - poco.MemberElement = (Core.POCO.Root.Elements.IElement)lazyPoco.Value; - } - else - { - poco.MemberElement = null; - } - var ownedRelatedElementToAdd = dto.OwnedRelatedElement.Except(poco.OwnedRelatedElement.Select(x => x.Id)); foreach (var identifier in ownedRelatedElementToAdd) @@ -204,26 +166,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Kernel.Functions.Res poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -246,15 +188,10 @@ public static Core.DTO.Kernel.Functions.ResultExpressionMembership ToDto(this Co dto.ElementId = poco.ElementId; dto.IsImplied = poco.IsImplied; dto.IsImpliedIncluded = poco.IsImpliedIncluded; - dto.MemberElement = poco.MemberElement.Id; - dto.MemberName = poco.MemberName; - dto.MemberShortName = poco.MemberShortName; dto.OwnedRelatedElement = poco.OwnedRelatedElement.Select(x => x.Id).ToList(); dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); dto.Visibility = poco.Visibility; return dto; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ReturnParameterMembershipExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ReturnParameterMembershipExtensions.cs index 403638d4..edabfe51 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ReturnParameterMembershipExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ReturnParameterMembershipExtensions.cs @@ -68,21 +68,11 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - - poco.MemberName = dto.MemberName; - - poco.MemberShortName = dto.MemberShortName; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -91,7 +81,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -100,26 +89,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - poco.Visibility = dto.Visibility; - return identifiersOfObjectsToDelete; } @@ -157,15 +128,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Kernel.Functions.Ret Lazy lazyPoco; - if (cache.TryGetValue(dto.MemberElement, out lazyPoco)) - { - poco.MemberElement = (Core.POCO.Root.Elements.IElement)lazyPoco.Value; - } - else - { - poco.MemberElement = null; - } - var ownedRelatedElementToAdd = dto.OwnedRelatedElement.Except(poco.OwnedRelatedElement.Select(x => x.Id)); foreach (var identifier in ownedRelatedElementToAdd) @@ -204,26 +166,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Kernel.Functions.Ret poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -246,15 +188,10 @@ public static Core.DTO.Kernel.Functions.ReturnParameterMembership ToDto(this Cor dto.ElementId = poco.ElementId; dto.IsImplied = poco.IsImplied; dto.IsImpliedIncluded = poco.IsImpliedIncluded; - dto.MemberElement = poco.MemberElement.Id; - dto.MemberName = poco.MemberName; - dto.MemberShortName = poco.MemberShortName; dto.OwnedRelatedElement = poco.OwnedRelatedElement.Select(x => x.Id).ToList(); dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); dto.Visibility = poco.Visibility; return dto; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/SatisfyRequirementUsageExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/SatisfyRequirementUsageExtensions.cs index ac33c020..22bb2509 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/SatisfyRequirementUsageExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/SatisfyRequirementUsageExtensions.cs @@ -68,43 +68,22 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsNegated = dto.IsNegated; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - - poco.IsVariable = dto.IsVariable; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -113,12 +92,9 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - poco.PortionKind = dto.PortionKind; - poco.ReqId = dto.ReqId; - return identifiersOfObjectsToDelete; } @@ -193,7 +169,6 @@ public static Core.DTO.Systems.Requirements.SatisfyRequirementUsage ToDto(this C dto.Id = poco.Id; dto.AliasIds = poco.AliasIds; dto.DeclaredName = poco.DeclaredName; - dto.DeclaredShortName = poco.DeclaredShortName; dto.Direction = poco.Direction; dto.ElementId = poco.ElementId; dto.IsAbstract = poco.IsAbstract; @@ -208,7 +183,6 @@ public static Core.DTO.Systems.Requirements.SatisfyRequirementUsage ToDto(this C dto.IsPortion = poco.IsPortion; dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; - dto.IsVariable = poco.IsVariable; dto.IsVariation = poco.IsVariation; dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelationship = poco.OwningRelationship?.Id; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/SelectExpressionExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/SelectExpressionExtensions.cs index 8a8848e1..93e412f4 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/SelectExpressionExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/SelectExpressionExtensions.cs @@ -68,41 +68,22 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; - - ((Core.POCO.Kernel.Expressions.ISelectExpression)poco).Operator = ((Core.DTO.Kernel.Expressions.ISelectExpression)dto).Operator; - - ((Core.POCO.Kernel.Expressions.IOperatorExpression)poco).Operator = ((Core.DTO.Kernel.Expressions.IOperatorExpression)dto).Operator; - + poco.Operator = dto.Operator; var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -112,7 +93,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } @@ -201,8 +181,7 @@ public static Core.DTO.Kernel.Expressions.SelectExpression ToDto(this Core.POCO. dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; dto.IsVariable = poco.IsVariable; - ((Core.DTO.Kernel.Expressions.ISelectExpression)dto).Operator = ((Core.POCO.Kernel.Expressions.ISelectExpression)poco).Operator; - ((Core.DTO.Kernel.Expressions.IOperatorExpression)dto).Operator = ((Core.POCO.Kernel.Expressions.IOperatorExpression)poco).Operator; + dto.Operator = poco.Operator; dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelationship = poco.OwningRelationship?.Id; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/SendActionUsageExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/SendActionUsageExtensions.cs index 33f95b3a..7ec5917c 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/SendActionUsageExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/SendActionUsageExtensions.cs @@ -68,41 +68,22 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - - poco.IsVariable = dto.IsVariable; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -111,10 +92,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - poco.PortionKind = dto.PortionKind; - return identifiersOfObjectsToDelete; } @@ -203,7 +182,6 @@ public static Core.DTO.Systems.Actions.SendActionUsage ToDto(this Core.POCO.Syst dto.IsPortion = poco.IsPortion; dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; - dto.IsVariable = poco.IsVariable; dto.IsVariation = poco.IsVariation; dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelationship = poco.OwningRelationship?.Id; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/SpecializationExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/SpecializationExtensions.cs index 14ef1812..8218883f 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/SpecializationExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/SpecializationExtensions.cs @@ -68,17 +68,11 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -87,7 +81,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -97,23 +90,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - - return identifiersOfObjectsToDelete; } @@ -198,16 +174,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Core.Types.Specializ poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - if (cache.TryGetValue(dto.Specific, out lazyPoco)) { poco.Specific = (Core.POCO.Core.Types.Type)lazyPoco.Value; @@ -217,16 +183,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Core.Types.Specializ poco.Specific = null; } - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -254,9 +210,7 @@ public static Core.DTO.Core.Types.Specialization ToDto(this Core.POCO.Core.Types dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); dto.Specific = poco.Specific.Id; - dto.Target = poco.Target.Select(x => x.Id).ToList(); return dto; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/StakeholderMembershipExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/StakeholderMembershipExtensions.cs index 5e2bb3cc..cf7a6a39 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/StakeholderMembershipExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/StakeholderMembershipExtensions.cs @@ -68,21 +68,11 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - - poco.MemberName = dto.MemberName; - - poco.MemberShortName = dto.MemberShortName; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -91,7 +81,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -100,26 +89,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - poco.Visibility = dto.Visibility; - return identifiersOfObjectsToDelete; } @@ -157,15 +128,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Systems.Requirements Lazy lazyPoco; - if (cache.TryGetValue(dto.MemberElement, out lazyPoco)) - { - poco.MemberElement = (Core.POCO.Root.Elements.IElement)lazyPoco.Value; - } - else - { - poco.MemberElement = null; - } - var ownedRelatedElementToAdd = dto.OwnedRelatedElement.Except(poco.OwnedRelatedElement.Select(x => x.Id)); foreach (var identifier in ownedRelatedElementToAdd) @@ -204,26 +166,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Systems.Requirements poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -246,15 +188,10 @@ public static Core.DTO.Systems.Requirements.StakeholderMembership ToDto(this Cor dto.ElementId = poco.ElementId; dto.IsImplied = poco.IsImplied; dto.IsImpliedIncluded = poco.IsImpliedIncluded; - dto.MemberElement = poco.MemberElement.Id; - dto.MemberName = poco.MemberName; - dto.MemberShortName = poco.MemberShortName; dto.OwnedRelatedElement = poco.OwnedRelatedElement.Select(x => x.Id).ToList(); dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); dto.Visibility = poco.Visibility; return dto; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/StateDefinitionExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/StateDefinitionExtensions.cs index 9ff3b21b..1b07ac3a 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/StateDefinitionExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/StateDefinitionExtensions.cs @@ -68,25 +68,15 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsParallel = dto.IsParallel; - poco.IsSufficient = dto.IsSufficient; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -96,7 +86,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/StateSubactionMembershipExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/StateSubactionMembershipExtensions.cs index 95f7f07e..c1fa9393 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/StateSubactionMembershipExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/StateSubactionMembershipExtensions.cs @@ -68,23 +68,12 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.Kind = dto.Kind; - - poco.MemberName = dto.MemberName; - - poco.MemberShortName = dto.MemberShortName; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -93,7 +82,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -102,26 +90,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - poco.Visibility = dto.Visibility; - return identifiersOfObjectsToDelete; } @@ -159,15 +129,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Systems.States.State Lazy lazyPoco; - if (cache.TryGetValue(dto.MemberElement, out lazyPoco)) - { - poco.MemberElement = (Core.POCO.Root.Elements.IElement)lazyPoco.Value; - } - else - { - poco.MemberElement = null; - } - var ownedRelatedElementToAdd = dto.OwnedRelatedElement.Except(poco.OwnedRelatedElement.Select(x => x.Id)); foreach (var identifier in ownedRelatedElementToAdd) @@ -206,26 +167,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Systems.States.State poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -249,15 +190,10 @@ public static Core.DTO.Systems.States.StateSubactionMembership ToDto(this Core.P dto.IsImplied = poco.IsImplied; dto.IsImpliedIncluded = poco.IsImpliedIncluded; dto.Kind = poco.Kind; - dto.MemberElement = poco.MemberElement.Id; - dto.MemberName = poco.MemberName; - dto.MemberShortName = poco.MemberShortName; dto.OwnedRelatedElement = poco.OwnedRelatedElement.Select(x => x.Id).ToList(); dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); dto.Visibility = poco.Visibility; return dto; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/StateUsageExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/StateUsageExtensions.cs index 4a0e7f56..2e84ea14 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/StateUsageExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/StateUsageExtensions.cs @@ -68,43 +68,23 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsOrdered = dto.IsOrdered; - poco.IsParallel = dto.IsParallel; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - - poco.IsVariable = dto.IsVariable; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -113,10 +93,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - poco.PortionKind = dto.PortionKind; - return identifiersOfObjectsToDelete; } @@ -206,7 +184,6 @@ public static Core.DTO.Systems.States.StateUsage ToDto(this Core.POCO.Systems.St dto.IsPortion = poco.IsPortion; dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; - dto.IsVariable = poco.IsVariable; dto.IsVariation = poco.IsVariation; dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelationship = poco.OwningRelationship?.Id; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/StepExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/StepExtensions.cs index f32965f3..7028e5ba 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/StepExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/StepExtensions.cs @@ -68,37 +68,21 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -108,7 +92,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/StructureExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/StructureExtensions.cs index 1c42447c..0eaab59d 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/StructureExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/StructureExtensions.cs @@ -68,19 +68,12 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsSufficient = dto.IsSufficient; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -90,7 +83,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/SubclassificationExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/SubclassificationExtensions.cs index 8d2ccff9..235d0b87 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/SubclassificationExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/SubclassificationExtensions.cs @@ -68,17 +68,11 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -87,7 +81,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -97,23 +90,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - - return identifiersOfObjectsToDelete; } @@ -151,15 +127,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Core.Classifiers.Sub Lazy lazyPoco; - if (cache.TryGetValue(dto.General, out lazyPoco)) - { - poco.General = (Core.POCO.Core.Types.Type)lazyPoco.Value; - } - else - { - poco.General = null; - } - var ownedRelatedElementToAdd = dto.OwnedRelatedElement.Except(poco.OwnedRelatedElement.Select(x => x.Id)); foreach (var identifier in ownedRelatedElementToAdd) @@ -198,25 +165,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Core.Classifiers.Sub poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - if (cache.TryGetValue(dto.Specific, out lazyPoco)) - { - poco.Specific = (Core.POCO.Core.Types.Type)lazyPoco.Value; - } - else - { - poco.Specific = null; - } - if (cache.TryGetValue(dto.Subclassifier, out lazyPoco)) { poco.Subclassifier = (Core.POCO.Core.Classifiers.Classifier)lazyPoco.Value; @@ -235,16 +183,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Core.Classifiers.Sub poco.Superclassifier = null; } - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -265,18 +203,14 @@ public static Core.DTO.Core.Classifiers.Subclassification ToDto(this Core.POCO.C dto.DeclaredName = poco.DeclaredName; dto.DeclaredShortName = poco.DeclaredShortName; dto.ElementId = poco.ElementId; - dto.General = poco.General.Id; dto.IsImplied = poco.IsImplied; dto.IsImpliedIncluded = poco.IsImpliedIncluded; dto.OwnedRelatedElement = poco.OwnedRelatedElement.Select(x => x.Id).ToList(); dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Specific = poco.Specific.Id; dto.Subclassifier = poco.Subclassifier.Id; dto.Superclassifier = poco.Superclassifier.Id; - dto.Target = poco.Target.Select(x => x.Id).ToList(); return dto; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/SubjectMembershipExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/SubjectMembershipExtensions.cs index 1b25566f..501e5a63 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/SubjectMembershipExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/SubjectMembershipExtensions.cs @@ -68,21 +68,11 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - - poco.MemberName = dto.MemberName; - - poco.MemberShortName = dto.MemberShortName; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -91,7 +81,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -100,26 +89,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - poco.Visibility = dto.Visibility; - return identifiersOfObjectsToDelete; } @@ -157,15 +128,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Systems.Requirements Lazy lazyPoco; - if (cache.TryGetValue(dto.MemberElement, out lazyPoco)) - { - poco.MemberElement = (Core.POCO.Root.Elements.IElement)lazyPoco.Value; - } - else - { - poco.MemberElement = null; - } - var ownedRelatedElementToAdd = dto.OwnedRelatedElement.Except(poco.OwnedRelatedElement.Select(x => x.Id)); foreach (var identifier in ownedRelatedElementToAdd) @@ -204,26 +166,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Systems.Requirements poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -246,15 +188,10 @@ public static Core.DTO.Systems.Requirements.SubjectMembership ToDto(this Core.PO dto.ElementId = poco.ElementId; dto.IsImplied = poco.IsImplied; dto.IsImpliedIncluded = poco.IsImpliedIncluded; - dto.MemberElement = poco.MemberElement.Id; - dto.MemberName = poco.MemberName; - dto.MemberShortName = poco.MemberShortName; dto.OwnedRelatedElement = poco.OwnedRelatedElement.Select(x => x.Id).ToList(); dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); dto.Visibility = poco.Visibility; return dto; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/SubsettingExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/SubsettingExtensions.cs index a8a02ff0..0dec04c5 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/SubsettingExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/SubsettingExtensions.cs @@ -68,17 +68,11 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -87,7 +81,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -97,23 +90,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - - return identifiersOfObjectsToDelete; } @@ -151,15 +127,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Core.Features.Subset Lazy lazyPoco; - if (cache.TryGetValue(dto.General, out lazyPoco)) - { - poco.General = (Core.POCO.Core.Types.Type)lazyPoco.Value; - } - else - { - poco.General = null; - } - var ownedRelatedElementToAdd = dto.OwnedRelatedElement.Except(poco.OwnedRelatedElement.Select(x => x.Id)); foreach (var identifier in ownedRelatedElementToAdd) @@ -198,25 +165,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Core.Features.Subset poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - if (cache.TryGetValue(dto.Specific, out lazyPoco)) - { - poco.Specific = (Core.POCO.Core.Types.Type)lazyPoco.Value; - } - else - { - poco.Specific = null; - } - if (cache.TryGetValue(dto.SubsettedFeature, out lazyPoco)) { poco.SubsettedFeature = (Core.POCO.Core.Features.Feature)lazyPoco.Value; @@ -235,16 +183,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Core.Features.Subset poco.SubsettingFeature = null; } - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -265,18 +203,14 @@ public static Core.DTO.Core.Features.Subsetting ToDto(this Core.POCO.Core.Featur dto.DeclaredName = poco.DeclaredName; dto.DeclaredShortName = poco.DeclaredShortName; dto.ElementId = poco.ElementId; - dto.General = poco.General.Id; dto.IsImplied = poco.IsImplied; dto.IsImpliedIncluded = poco.IsImpliedIncluded; dto.OwnedRelatedElement = poco.OwnedRelatedElement.Select(x => x.Id).ToList(); dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Specific = poco.Specific.Id; dto.SubsettedFeature = poco.SubsettedFeature.Id; dto.SubsettingFeature = poco.SubsettingFeature.Id; - dto.Target = poco.Target.Select(x => x.Id).ToList(); return dto; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/SuccessionAsUsageExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/SuccessionAsUsageExtensions.cs index b7b6634d..18f9a965 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/SuccessionAsUsageExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/SuccessionAsUsageExtensions.cs @@ -68,41 +68,22 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - - poco.IsVariable = dto.IsVariable; - poco.IsVariation = dto.IsVariation; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -111,7 +92,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -121,23 +101,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - - return identifiersOfObjectsToDelete; } @@ -213,26 +176,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Systems.Connections. poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -265,14 +208,11 @@ public static Core.DTO.Systems.Connections.SuccessionAsUsage ToDto(this Core.POC dto.IsPortion = poco.IsPortion; dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; - dto.IsVariable = poco.IsVariable; dto.IsVariation = poco.IsVariation; dto.OwnedRelatedElement = poco.OwnedRelatedElement.Select(x => x.Id).ToList(); dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); return dto; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/SuccessionExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/SuccessionExtensions.cs index 9088ea5d..ea8e2d1e 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/SuccessionExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/SuccessionExtensions.cs @@ -68,39 +68,22 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -109,7 +92,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -119,23 +101,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - - return identifiersOfObjectsToDelete; } @@ -211,26 +176,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Kernel.Connectors.Su poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -268,8 +213,6 @@ public static Core.DTO.Kernel.Connectors.Succession ToDto(this Core.POCO.Kernel. dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); return dto; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/SuccessionFlowExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/SuccessionFlowExtensions.cs index dc9c368e..d2cdc4da 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/SuccessionFlowExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/SuccessionFlowExtensions.cs @@ -68,39 +68,22 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -109,7 +92,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -119,23 +101,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - - return identifiersOfObjectsToDelete; } @@ -211,26 +176,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Kernel.Interactions. poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -268,8 +213,6 @@ public static Core.DTO.Kernel.Interactions.SuccessionFlow ToDto(this Core.POCO.K dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); return dto; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/SuccessionFlowUsageExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/SuccessionFlowUsageExtensions.cs index fcfc8983..da7766f5 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/SuccessionFlowUsageExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/SuccessionFlowUsageExtensions.cs @@ -68,43 +68,23 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - - poco.IsVariable = dto.IsVariable; - poco.IsVariation = dto.IsVariation; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -113,7 +93,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -122,26 +101,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - poco.PortionKind = dto.PortionKind; - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - - return identifiersOfObjectsToDelete; } @@ -217,26 +178,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Systems.Flows.Succes poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -270,15 +211,12 @@ public static Core.DTO.Systems.Flows.SuccessionFlowUsage ToDto(this Core.POCO.Sy dto.IsPortion = poco.IsPortion; dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; - dto.IsVariable = poco.IsVariable; dto.IsVariation = poco.IsVariation; dto.OwnedRelatedElement = poco.OwnedRelatedElement.Select(x => x.Id).ToList(); dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; dto.PortionKind = poco.PortionKind; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); return dto; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/TerminateActionUsageExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/TerminateActionUsageExtensions.cs index fd291db8..1df4052d 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/TerminateActionUsageExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/TerminateActionUsageExtensions.cs @@ -68,41 +68,22 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - - poco.IsVariable = dto.IsVariable; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -111,10 +92,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - poco.PortionKind = dto.PortionKind; - return identifiersOfObjectsToDelete; } @@ -203,7 +182,6 @@ public static Core.DTO.Systems.Actions.TerminateActionUsage ToDto(this Core.POCO dto.IsPortion = poco.IsPortion; dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; - dto.IsVariable = poco.IsVariable; dto.IsVariation = poco.IsVariation; dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelationship = poco.OwningRelationship?.Id; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/TextualRepresentationExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/TextualRepresentationExtensions.cs index c3a2b0ab..9f5a8b5e 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/TextualRepresentationExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/TextualRepresentationExtensions.cs @@ -68,19 +68,12 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.Body = dto.Body; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.Language = dto.Language; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -90,7 +83,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/TransitionFeatureMembershipExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/TransitionFeatureMembershipExtensions.cs index 806f1930..3264be2a 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/TransitionFeatureMembershipExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/TransitionFeatureMembershipExtensions.cs @@ -68,23 +68,12 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.Kind = dto.Kind; - - poco.MemberName = dto.MemberName; - - poco.MemberShortName = dto.MemberShortName; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -93,7 +82,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -102,26 +90,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - poco.Visibility = dto.Visibility; - return identifiersOfObjectsToDelete; } @@ -159,15 +129,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Systems.States.Trans Lazy lazyPoco; - if (cache.TryGetValue(dto.MemberElement, out lazyPoco)) - { - poco.MemberElement = (Core.POCO.Root.Elements.IElement)lazyPoco.Value; - } - else - { - poco.MemberElement = null; - } - var ownedRelatedElementToAdd = dto.OwnedRelatedElement.Except(poco.OwnedRelatedElement.Select(x => x.Id)); foreach (var identifier in ownedRelatedElementToAdd) @@ -206,26 +167,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Systems.States.Trans poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -249,15 +190,10 @@ public static Core.DTO.Systems.States.TransitionFeatureMembership ToDto(this Cor dto.IsImplied = poco.IsImplied; dto.IsImpliedIncluded = poco.IsImpliedIncluded; dto.Kind = poco.Kind; - dto.MemberElement = poco.MemberElement.Id; - dto.MemberName = poco.MemberName; - dto.MemberShortName = poco.MemberShortName; dto.OwnedRelatedElement = poco.OwnedRelatedElement.Select(x => x.Id).ToList(); dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); dto.Visibility = poco.Visibility; return dto; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/TransitionUsageExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/TransitionUsageExtensions.cs index 69602553..0c117525 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/TransitionUsageExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/TransitionUsageExtensions.cs @@ -68,41 +68,22 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - - poco.IsVariable = dto.IsVariable; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -111,10 +92,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - poco.PortionKind = dto.PortionKind; - return identifiersOfObjectsToDelete; } @@ -203,7 +182,6 @@ public static Core.DTO.Systems.States.TransitionUsage ToDto(this Core.POCO.Syste dto.IsPortion = poco.IsPortion; dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; - dto.IsVariable = poco.IsVariable; dto.IsVariation = poco.IsVariation; dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelationship = poco.OwningRelationship?.Id; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/TriggerInvocationExpressionExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/TriggerInvocationExpressionExtensions.cs index b34b53d0..879c5843 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/TriggerInvocationExpressionExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/TriggerInvocationExpressionExtensions.cs @@ -68,39 +68,22 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - poco.IsVariable = dto.IsVariable; - poco.Kind = dto.Kind; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -110,7 +93,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/TypeExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/TypeExtensions.cs index 1b5425cc..2b9c2179 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/TypeExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/TypeExtensions.cs @@ -68,19 +68,12 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsSufficient = dto.IsSufficient; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -90,7 +83,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/TypeFeaturingExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/TypeFeaturingExtensions.cs index 1c9e6967..afa7f00c 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/TypeFeaturingExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/TypeFeaturingExtensions.cs @@ -68,17 +68,11 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -87,7 +81,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -97,23 +90,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - - return identifiersOfObjectsToDelete; } @@ -207,26 +183,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Core.Features.TypeFe poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -255,8 +211,6 @@ public static Core.DTO.Core.Features.TypeFeaturing ToDto(this Core.POCO.Core.Fea dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); return dto; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/UnioningExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/UnioningExtensions.cs index f0086632..42a89b0e 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/UnioningExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/UnioningExtensions.cs @@ -68,17 +68,11 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -87,7 +81,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -97,23 +90,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - - return identifiersOfObjectsToDelete; } @@ -189,26 +165,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Core.Types.Unioning poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - if (cache.TryGetValue(dto.UnioningType, out lazyPoco)) { poco.UnioningType = (Core.POCO.Core.Types.Type)lazyPoco.Value; @@ -244,8 +200,6 @@ public static Core.DTO.Core.Types.Unioning ToDto(this Core.POCO.Core.Types.Union dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); dto.UnioningType = poco.UnioningType.Id; return dto; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/UsageExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/UsageExtensions.cs index 0ef21c57..9003c000 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/UsageExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/UsageExtensions.cs @@ -68,39 +68,21 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - - poco.IsVariable = dto.IsVariable; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -110,7 +92,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } @@ -198,7 +179,6 @@ public static Core.DTO.Systems.DefinitionAndUsage.Usage ToDto(this Core.POCO.Sys dto.IsPortion = poco.IsPortion; dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; - dto.IsVariable = poco.IsVariable; dto.IsVariation = poco.IsVariation; dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelationship = poco.OwningRelationship?.Id; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/UseCaseDefinitionExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/UseCaseDefinitionExtensions.cs index 458851e6..536fb6d6 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/UseCaseDefinitionExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/UseCaseDefinitionExtensions.cs @@ -68,23 +68,14 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsSufficient = dto.IsSufficient; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -94,7 +85,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/UseCaseUsageExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/UseCaseUsageExtensions.cs index 0f9bab46..d6eb04fa 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/UseCaseUsageExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/UseCaseUsageExtensions.cs @@ -68,41 +68,22 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - - poco.IsVariable = dto.IsVariable; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -111,10 +92,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - poco.PortionKind = dto.PortionKind; - return identifiersOfObjectsToDelete; } @@ -203,7 +182,6 @@ public static Core.DTO.Systems.UseCases.UseCaseUsage ToDto(this Core.POCO.System dto.IsPortion = poco.IsPortion; dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; - dto.IsVariable = poco.IsVariable; dto.IsVariation = poco.IsVariation; dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelationship = poco.OwningRelationship?.Id; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/VariantMembershipExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/VariantMembershipExtensions.cs index ec4c0ad0..ef2bee28 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/VariantMembershipExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/VariantMembershipExtensions.cs @@ -68,21 +68,11 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - - poco.MemberName = dto.MemberName; - - poco.MemberShortName = dto.MemberShortName; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -91,7 +81,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -100,26 +89,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - poco.Visibility = dto.Visibility; - return identifiersOfObjectsToDelete; } @@ -157,15 +128,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Systems.DefinitionAn Lazy lazyPoco; - if (cache.TryGetValue(dto.MemberElement, out lazyPoco)) - { - poco.MemberElement = (Core.POCO.Root.Elements.IElement)lazyPoco.Value; - } - else - { - poco.MemberElement = null; - } - var ownedRelatedElementToAdd = dto.OwnedRelatedElement.Except(poco.OwnedRelatedElement.Select(x => x.Id)); foreach (var identifier in ownedRelatedElementToAdd) @@ -204,26 +166,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Systems.DefinitionAn poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -246,15 +188,10 @@ public static Core.DTO.Systems.DefinitionAndUsage.VariantMembership ToDto(this C dto.ElementId = poco.ElementId; dto.IsImplied = poco.IsImplied; dto.IsImpliedIncluded = poco.IsImpliedIncluded; - dto.MemberElement = poco.MemberElement.Id; - dto.MemberName = poco.MemberName; - dto.MemberShortName = poco.MemberShortName; dto.OwnedRelatedElement = poco.OwnedRelatedElement.Select(x => x.Id).ToList(); dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); dto.Visibility = poco.Visibility; return dto; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/VerificationCaseDefinitionExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/VerificationCaseDefinitionExtensions.cs index 76a3134a..298e3deb 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/VerificationCaseDefinitionExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/VerificationCaseDefinitionExtensions.cs @@ -68,23 +68,14 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsSufficient = dto.IsSufficient; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -94,7 +85,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/VerificationCaseUsageExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/VerificationCaseUsageExtensions.cs index 01aa5b22..8946838b 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/VerificationCaseUsageExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/VerificationCaseUsageExtensions.cs @@ -68,41 +68,22 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - - poco.IsVariable = dto.IsVariable; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -111,10 +92,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - poco.PortionKind = dto.PortionKind; - return identifiersOfObjectsToDelete; } @@ -203,7 +182,6 @@ public static Core.DTO.Systems.VerificationCases.VerificationCaseUsage ToDto(thi dto.IsPortion = poco.IsPortion; dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; - dto.IsVariable = poco.IsVariable; dto.IsVariation = poco.IsVariation; dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelationship = poco.OwningRelationship?.Id; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ViewDefinitionExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ViewDefinitionExtensions.cs index fa194fd6..375e2f17 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ViewDefinitionExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ViewDefinitionExtensions.cs @@ -68,23 +68,14 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsSufficient = dto.IsSufficient; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -94,7 +85,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - return identifiersOfObjectsToDelete; } diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ViewRenderingMembershipExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ViewRenderingMembershipExtensions.cs index 3f12eca4..e766efac 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ViewRenderingMembershipExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ViewRenderingMembershipExtensions.cs @@ -68,21 +68,11 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsImplied = dto.IsImplied; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - - poco.MemberName = dto.MemberName; - - poco.MemberShortName = dto.MemberShortName; - var ownedRelatedElementToDelete = poco.OwnedRelatedElement.Select(x => x.Id).Except(dto.OwnedRelatedElement); foreach (var identifier in ownedRelatedElementToDelete) @@ -91,7 +81,6 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelatedElementToDelete); - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -100,26 +89,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - - var sourceToDelete = poco.Source.Select(x => x.Id).Except(dto.Source); - - foreach (var identifier in sourceToDelete) - { - poco.Source.Remove(poco.Source.Single(x => x.Id == identifier)); - } - - - var targetToDelete = poco.Target.Select(x => x.Id).Except(dto.Target); - - foreach (var identifier in targetToDelete) - { - poco.Target.Remove(poco.Target.Single(x => x.Id == identifier)); - } - - poco.Visibility = dto.Visibility; - return identifiersOfObjectsToDelete; } @@ -157,15 +128,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Systems.Views.ViewRe Lazy lazyPoco; - if (cache.TryGetValue(dto.MemberElement, out lazyPoco)) - { - poco.MemberElement = (Core.POCO.Root.Elements.IElement)lazyPoco.Value; - } - else - { - poco.MemberElement = null; - } - var ownedRelatedElementToAdd = dto.OwnedRelatedElement.Except(poco.OwnedRelatedElement.Select(x => x.Id)); foreach (var identifier in ownedRelatedElementToAdd) @@ -204,26 +166,6 @@ public static void UpdateReferenceProperties(this Core.POCO.Systems.Views.ViewRe poco.OwningRelationship = null; } - var sourceToAdd = dto.Source.Except(poco.Source.Select(x => x.Id)); - - foreach (var identifier in sourceToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Source.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - - var targetToAdd = dto.Target.Except(poco.Target.Select(x => x.Id)); - - foreach (var identifier in targetToAdd) - { - if (cache.TryGetValue(identifier, out lazyPoco)) - { - poco.Target.Add((Core.POCO.Root.Elements.IElement)lazyPoco.Value); - } - } - } /// @@ -246,15 +188,10 @@ public static Core.DTO.Systems.Views.ViewRenderingMembership ToDto(this Core.POC dto.ElementId = poco.ElementId; dto.IsImplied = poco.IsImplied; dto.IsImpliedIncluded = poco.IsImpliedIncluded; - dto.MemberElement = poco.MemberElement.Id; - dto.MemberName = poco.MemberName; - dto.MemberShortName = poco.MemberShortName; dto.OwnedRelatedElement = poco.OwnedRelatedElement.Select(x => x.Id).ToList(); dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelatedElement = poco.OwningRelatedElement?.Id; dto.OwningRelationship = poco.OwningRelationship?.Id; - dto.Source = poco.Source.Select(x => x.Id).ToList(); - dto.Target = poco.Target.Select(x => x.Id).ToList(); dto.Visibility = poco.Visibility; return dto; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ViewUsageExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ViewUsageExtensions.cs index 6f34ee21..f359759b 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ViewUsageExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ViewUsageExtensions.cs @@ -68,41 +68,22 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - - poco.IsVariable = dto.IsVariable; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -111,10 +92,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - poco.PortionKind = dto.PortionKind; - return identifiersOfObjectsToDelete; } @@ -203,7 +182,6 @@ public static Core.DTO.Systems.Views.ViewUsage ToDto(this Core.POCO.Systems.View dto.IsPortion = poco.IsPortion; dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; - dto.IsVariable = poco.IsVariable; dto.IsVariation = poco.IsVariation; dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelationship = poco.OwningRelationship?.Id; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ViewpointDefinitionExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ViewpointDefinitionExtensions.cs index 724330ef..ac11e697 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ViewpointDefinitionExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ViewpointDefinitionExtensions.cs @@ -68,23 +68,13 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - - poco.DeclaredShortName = dto.DeclaredShortName; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsSufficient = dto.IsSufficient; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -93,10 +83,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - poco.ReqId = dto.ReqId; - return identifiersOfObjectsToDelete; } @@ -171,7 +159,6 @@ public static Core.DTO.Systems.Views.ViewpointDefinition ToDto(this Core.POCO.Sy dto.Id = poco.Id; dto.AliasIds = poco.AliasIds; dto.DeclaredName = poco.DeclaredName; - dto.DeclaredShortName = poco.DeclaredShortName; dto.ElementId = poco.ElementId; dto.IsAbstract = poco.IsAbstract; dto.IsImpliedIncluded = poco.IsImpliedIncluded; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ViewpointUsageExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ViewpointUsageExtensions.cs index 451075d8..488161c7 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/ViewpointUsageExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/ViewpointUsageExtensions.cs @@ -68,41 +68,21 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - - poco.IsVariable = dto.IsVariable; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -111,12 +91,9 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - poco.PortionKind = dto.PortionKind; - poco.ReqId = dto.ReqId; - return identifiersOfObjectsToDelete; } @@ -191,7 +168,6 @@ public static Core.DTO.Systems.Views.ViewpointUsage ToDto(this Core.POCO.Systems dto.Id = poco.Id; dto.AliasIds = poco.AliasIds; dto.DeclaredName = poco.DeclaredName; - dto.DeclaredShortName = poco.DeclaredShortName; dto.Direction = poco.Direction; dto.ElementId = poco.ElementId; dto.IsAbstract = poco.IsAbstract; @@ -205,7 +181,6 @@ public static Core.DTO.Systems.Views.ViewpointUsage ToDto(this Core.POCO.Systems dto.IsPortion = poco.IsPortion; dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; - dto.IsVariable = poco.IsVariable; dto.IsVariation = poco.IsVariation; dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelationship = poco.OwningRelationship?.Id; diff --git a/SysML2.NET.Dal/Core/AutoGenPocoExtension/WhileLoopActionUsageExtensions.cs b/SysML2.NET.Dal/Core/AutoGenPocoExtension/WhileLoopActionUsageExtensions.cs index 9e525d2e..afe37659 100644 --- a/SysML2.NET.Dal/Core/AutoGenPocoExtension/WhileLoopActionUsageExtensions.cs +++ b/SysML2.NET.Dal/Core/AutoGenPocoExtension/WhileLoopActionUsageExtensions.cs @@ -68,41 +68,22 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t var identifiersOfObjectsToDelete = new List(); poco.AliasIds = dto.AliasIds; - poco.DeclaredName = dto.DeclaredName; - poco.DeclaredShortName = dto.DeclaredShortName; - poco.Direction = dto.Direction; - poco.ElementId = dto.ElementId; - poco.IsAbstract = dto.IsAbstract; - poco.IsComposite = dto.IsComposite; - poco.IsConstant = dto.IsConstant; - poco.IsDerived = dto.IsDerived; - poco.IsEnd = dto.IsEnd; - poco.IsImpliedIncluded = dto.IsImpliedIncluded; - poco.IsIndividual = dto.IsIndividual; - poco.IsOrdered = dto.IsOrdered; - poco.IsPortion = dto.IsPortion; - poco.IsSufficient = dto.IsSufficient; - poco.IsUnique = dto.IsUnique; - - poco.IsVariable = dto.IsVariable; - poco.IsVariation = dto.IsVariation; - var ownedRelationshipToDelete = poco.OwnedRelationship.Select(x => x.Id).Except(dto.OwnedRelationship); foreach (var identifier in ownedRelationshipToDelete) @@ -111,10 +92,8 @@ public static IEnumerable UpdateValueAndRemoveDeletedReferenceProperties(t } identifiersOfObjectsToDelete.AddRange(ownedRelationshipToDelete); - poco.PortionKind = dto.PortionKind; - return identifiersOfObjectsToDelete; } @@ -203,7 +182,6 @@ public static Core.DTO.Systems.Actions.WhileLoopActionUsage ToDto(this Core.POCO dto.IsPortion = poco.IsPortion; dto.IsSufficient = poco.IsSufficient; dto.IsUnique = poco.IsUnique; - dto.IsVariable = poco.IsVariable; dto.IsVariation = poco.IsVariation; dto.OwnedRelationship = poco.OwnedRelationship.Select(x => x.Id).ToList(); dto.OwningRelationship = poco.OwningRelationship?.Id; diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/AcceptActionUsageDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/AcceptActionUsageDeSerializer.cs index da40bb9e..299dd117 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/AcceptActionUsageDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/AcceptActionUsageDeSerializer.cs @@ -69,7 +69,7 @@ internal static IAcceptActionUsage DeSerialize(JsonElement jsonElement, Serializ throw new InvalidOperationException($"The AcceptActionUsageDeSerializer can only be used to deserialize objects of type IAcceptActionUsage, a {@type.GetString()} was provided"); } - IAcceptActionUsage dtoInstance = new SysML2.NET.Core.DTO.Systems.Actions.AcceptActionUsage(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Actions.AcceptActionUsage(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -275,18 +275,6 @@ internal static IAcceptActionUsage DeSerialize(JsonElement jsonElement, Serializ logger.LogDebug("the isUnique Json property was not found in the AcceptActionUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("isVariable"u8, out var isVariableProperty)) - { - if (isVariableProperty.ValueKind != JsonValueKind.Null) - { - dtoInstance.IsVariable = isVariableProperty.GetBoolean(); - } - } - else - { - logger.LogDebug("the isVariable Json property was not found in the AcceptActionUsage: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isVariation"u8, out var isVariationProperty)) { if (isVariationProperty.ValueKind != JsonValueKind.Null) diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ActionDefinitionDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ActionDefinitionDeSerializer.cs index 53aa889a..4593a7c3 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ActionDefinitionDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ActionDefinitionDeSerializer.cs @@ -69,7 +69,7 @@ internal static IActionDefinition DeSerialize(JsonElement jsonElement, Serializa throw new InvalidOperationException($"The ActionDefinitionDeSerializer can only be used to deserialize objects of type IActionDefinition, a {@type.GetString()} was provided"); } - IActionDefinition dtoInstance = new SysML2.NET.Core.DTO.Systems.Actions.ActionDefinition(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Actions.ActionDefinition(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ActionUsageDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ActionUsageDeSerializer.cs index 9a937d17..9e9e24c0 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ActionUsageDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ActionUsageDeSerializer.cs @@ -69,7 +69,7 @@ internal static IActionUsage DeSerialize(JsonElement jsonElement, SerializationM throw new InvalidOperationException($"The ActionUsageDeSerializer can only be used to deserialize objects of type IActionUsage, a {@type.GetString()} was provided"); } - IActionUsage dtoInstance = new SysML2.NET.Core.DTO.Systems.Actions.ActionUsage(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Actions.ActionUsage(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -275,18 +275,6 @@ internal static IActionUsage DeSerialize(JsonElement jsonElement, SerializationM logger.LogDebug("the isUnique Json property was not found in the ActionUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("isVariable"u8, out var isVariableProperty)) - { - if (isVariableProperty.ValueKind != JsonValueKind.Null) - { - dtoInstance.IsVariable = isVariableProperty.GetBoolean(); - } - } - else - { - logger.LogDebug("the isVariable Json property was not found in the ActionUsage: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isVariation"u8, out var isVariationProperty)) { if (isVariationProperty.ValueKind != JsonValueKind.Null) diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ActorMembershipDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ActorMembershipDeSerializer.cs index f453cdb0..25d38b2a 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ActorMembershipDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ActorMembershipDeSerializer.cs @@ -69,7 +69,7 @@ internal static IActorMembership DeSerialize(JsonElement jsonElement, Serializat throw new InvalidOperationException($"The ActorMembershipDeSerializer can only be used to deserialize objects of type IActorMembership, a {@type.GetString()} was provided"); } - IActorMembership dtoInstance = new SysML2.NET.Core.DTO.Systems.Requirements.ActorMembership(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Requirements.ActorMembership(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -158,49 +158,6 @@ internal static IActorMembership DeSerialize(JsonElement jsonElement, Serializat logger.LogDebug("the isImpliedIncluded Json property was not found in the ActorMembership: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("memberElement"u8, out var memberElementProperty)) - { - if (memberElementProperty.ValueKind == JsonValueKind.Null) - { - dtoInstance.MemberElement = Guid.Empty; - logger.LogDebug($"the ActorMembership.MemberElement property was not found in the Json. The value is set to Guid.Empty"); - } - else - { - if (memberElementProperty.TryGetProperty("@id"u8, out var memberElementIdProperty)) - { - var propertyValue = memberElementIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.MemberElement = Guid.Parse(propertyValue); - } - } - } - } - else - { - logger.LogDebug("the memberElement Json property was not found in the ActorMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("memberName"u8, out var memberNameProperty)) - { - dtoInstance.MemberName = memberNameProperty.GetString(); - } - else - { - logger.LogDebug("the memberName Json property was not found in the ActorMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("memberShortName"u8, out var memberShortNameProperty)) - { - dtoInstance.MemberShortName = memberShortNameProperty.GetString(); - } - else - { - logger.LogDebug("the memberShortName Json property was not found in the ActorMembership: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("ownedRelatedElement"u8, out var ownedRelatedElementProperty)) { foreach (var arrayItem in ownedRelatedElementProperty.EnumerateArray()) @@ -289,46 +246,6 @@ internal static IActorMembership DeSerialize(JsonElement jsonElement, Serializat logger.LogDebug("the owningRelationship Json property was not found in the ActorMembership: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the ActorMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the ActorMembership: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("visibility"u8, out var visibilityProperty)) { dtoInstance.Visibility = VisibilityKindDeSerializer.Deserialize(visibilityProperty.GetString()); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/AllocationDefinitionDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/AllocationDefinitionDeSerializer.cs index f5370e4a..fa8a3868 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/AllocationDefinitionDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/AllocationDefinitionDeSerializer.cs @@ -69,7 +69,7 @@ internal static IAllocationDefinition DeSerialize(JsonElement jsonElement, Seria throw new InvalidOperationException($"The AllocationDefinitionDeSerializer can only be used to deserialize objects of type IAllocationDefinition, a {@type.GetString()} was provided"); } - IAllocationDefinition dtoInstance = new SysML2.NET.Core.DTO.Systems.Allocations.AllocationDefinition(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Allocations.AllocationDefinition(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -294,46 +294,6 @@ internal static IAllocationDefinition DeSerialize(JsonElement jsonElement, Seria logger.LogDebug("the owningRelationship Json property was not found in the AllocationDefinition: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the AllocationDefinition: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the AllocationDefinition: { Id }", dtoInstance.Id); - } - return dtoInstance; } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/AllocationUsageDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/AllocationUsageDeSerializer.cs index 1002b2a6..39ad0f8e 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/AllocationUsageDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/AllocationUsageDeSerializer.cs @@ -69,7 +69,7 @@ internal static IAllocationUsage DeSerialize(JsonElement jsonElement, Serializat throw new InvalidOperationException($"The AllocationUsageDeSerializer can only be used to deserialize objects of type IAllocationUsage, a {@type.GetString()} was provided"); } - IAllocationUsage dtoInstance = new SysML2.NET.Core.DTO.Systems.Allocations.AllocationUsage(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Allocations.AllocationUsage(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -287,18 +287,6 @@ internal static IAllocationUsage DeSerialize(JsonElement jsonElement, Serializat logger.LogDebug("the isUnique Json property was not found in the AllocationUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("isVariable"u8, out var isVariableProperty)) - { - if (isVariableProperty.ValueKind != JsonValueKind.Null) - { - dtoInstance.IsVariable = isVariableProperty.GetBoolean(); - } - } - else - { - logger.LogDebug("the isVariable Json property was not found in the AllocationUsage: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isVariation"u8, out var isVariationProperty)) { if (isVariationProperty.ValueKind != JsonValueKind.Null) @@ -408,46 +396,6 @@ internal static IAllocationUsage DeSerialize(JsonElement jsonElement, Serializat logger.LogDebug("the portionKind Json property was not found in the AllocationUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the AllocationUsage: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the AllocationUsage: { Id }", dtoInstance.Id); - } - return dtoInstance; } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/AnalysisCaseDefinitionDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/AnalysisCaseDefinitionDeSerializer.cs index 225ce168..c2c13f2e 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/AnalysisCaseDefinitionDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/AnalysisCaseDefinitionDeSerializer.cs @@ -69,7 +69,7 @@ internal static IAnalysisCaseDefinition DeSerialize(JsonElement jsonElement, Ser throw new InvalidOperationException($"The AnalysisCaseDefinitionDeSerializer can only be used to deserialize objects of type IAnalysisCaseDefinition, a {@type.GetString()} was provided"); } - IAnalysisCaseDefinition dtoInstance = new SysML2.NET.Core.DTO.Systems.AnalysisCases.AnalysisCaseDefinition(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.AnalysisCases.AnalysisCaseDefinition(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/AnalysisCaseUsageDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/AnalysisCaseUsageDeSerializer.cs index 54b21253..7511f226 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/AnalysisCaseUsageDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/AnalysisCaseUsageDeSerializer.cs @@ -69,7 +69,7 @@ internal static IAnalysisCaseUsage DeSerialize(JsonElement jsonElement, Serializ throw new InvalidOperationException($"The AnalysisCaseUsageDeSerializer can only be used to deserialize objects of type IAnalysisCaseUsage, a {@type.GetString()} was provided"); } - IAnalysisCaseUsage dtoInstance = new SysML2.NET.Core.DTO.Systems.AnalysisCases.AnalysisCaseUsage(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.AnalysisCases.AnalysisCaseUsage(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -275,18 +275,6 @@ internal static IAnalysisCaseUsage DeSerialize(JsonElement jsonElement, Serializ logger.LogDebug("the isUnique Json property was not found in the AnalysisCaseUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("isVariable"u8, out var isVariableProperty)) - { - if (isVariableProperty.ValueKind != JsonValueKind.Null) - { - dtoInstance.IsVariable = isVariableProperty.GetBoolean(); - } - } - else - { - logger.LogDebug("the isVariable Json property was not found in the AnalysisCaseUsage: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isVariation"u8, out var isVariationProperty)) { if (isVariationProperty.ValueKind != JsonValueKind.Null) diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/AnnotatingElementDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/AnnotatingElementDeSerializer.cs index e6e4f933..1684a642 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/AnnotatingElementDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/AnnotatingElementDeSerializer.cs @@ -69,7 +69,7 @@ internal static IAnnotatingElement DeSerialize(JsonElement jsonElement, Serializ throw new InvalidOperationException($"The AnnotatingElementDeSerializer can only be used to deserialize objects of type IAnnotatingElement, a {@type.GetString()} was provided"); } - IAnnotatingElement dtoInstance = new SysML2.NET.Core.DTO.Root.Annotations.AnnotatingElement(); + var dtoInstance = new SysML2.NET.Core.DTO.Root.Annotations.AnnotatingElement(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/AnnotationDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/AnnotationDeSerializer.cs index 2eb1d4ea..dae21050 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/AnnotationDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/AnnotationDeSerializer.cs @@ -69,7 +69,7 @@ internal static IAnnotation DeSerialize(JsonElement jsonElement, SerializationMo throw new InvalidOperationException($"The AnnotationDeSerializer can only be used to deserialize objects of type IAnnotation, a {@type.GetString()} was provided"); } - IAnnotation dtoInstance = new SysML2.NET.Core.DTO.Root.Annotations.Annotation(); + var dtoInstance = new SysML2.NET.Core.DTO.Root.Annotations.Annotation(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -271,46 +271,6 @@ internal static IAnnotation DeSerialize(JsonElement jsonElement, SerializationMo logger.LogDebug("the owningRelationship Json property was not found in the Annotation: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the Annotation: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the Annotation: { Id }", dtoInstance.Id); - } - return dtoInstance; } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/AssertConstraintUsageDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/AssertConstraintUsageDeSerializer.cs index 49cd388a..f6955f30 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/AssertConstraintUsageDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/AssertConstraintUsageDeSerializer.cs @@ -69,7 +69,7 @@ internal static IAssertConstraintUsage DeSerialize(JsonElement jsonElement, Seri throw new InvalidOperationException($"The AssertConstraintUsageDeSerializer can only be used to deserialize objects of type IAssertConstraintUsage, a {@type.GetString()} was provided"); } - IAssertConstraintUsage dtoInstance = new SysML2.NET.Core.DTO.Systems.Constraints.AssertConstraintUsage(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Constraints.AssertConstraintUsage(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -287,18 +287,6 @@ internal static IAssertConstraintUsage DeSerialize(JsonElement jsonElement, Seri logger.LogDebug("the isUnique Json property was not found in the AssertConstraintUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("isVariable"u8, out var isVariableProperty)) - { - if (isVariableProperty.ValueKind != JsonValueKind.Null) - { - dtoInstance.IsVariable = isVariableProperty.GetBoolean(); - } - } - else - { - logger.LogDebug("the isVariable Json property was not found in the AssertConstraintUsage: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isVariation"u8, out var isVariationProperty)) { if (isVariationProperty.ValueKind != JsonValueKind.Null) diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/AssignmentActionUsageDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/AssignmentActionUsageDeSerializer.cs index 6b24cb28..49e766a2 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/AssignmentActionUsageDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/AssignmentActionUsageDeSerializer.cs @@ -69,7 +69,7 @@ internal static IAssignmentActionUsage DeSerialize(JsonElement jsonElement, Seri throw new InvalidOperationException($"The AssignmentActionUsageDeSerializer can only be used to deserialize objects of type IAssignmentActionUsage, a {@type.GetString()} was provided"); } - IAssignmentActionUsage dtoInstance = new SysML2.NET.Core.DTO.Systems.Actions.AssignmentActionUsage(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Actions.AssignmentActionUsage(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -275,18 +275,6 @@ internal static IAssignmentActionUsage DeSerialize(JsonElement jsonElement, Seri logger.LogDebug("the isUnique Json property was not found in the AssignmentActionUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("isVariable"u8, out var isVariableProperty)) - { - if (isVariableProperty.ValueKind != JsonValueKind.Null) - { - dtoInstance.IsVariable = isVariableProperty.GetBoolean(); - } - } - else - { - logger.LogDebug("the isVariable Json property was not found in the AssignmentActionUsage: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isVariation"u8, out var isVariationProperty)) { if (isVariationProperty.ValueKind != JsonValueKind.Null) diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/AssociationDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/AssociationDeSerializer.cs index b648e94f..b9b4ea46 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/AssociationDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/AssociationDeSerializer.cs @@ -69,7 +69,7 @@ internal static IAssociation DeSerialize(JsonElement jsonElement, SerializationM throw new InvalidOperationException($"The AssociationDeSerializer can only be used to deserialize objects of type IAssociation, a {@type.GetString()} was provided"); } - IAssociation dtoInstance = new SysML2.NET.Core.DTO.Kernel.Associations.Association(); + var dtoInstance = new SysML2.NET.Core.DTO.Kernel.Associations.Association(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -270,46 +270,6 @@ internal static IAssociation DeSerialize(JsonElement jsonElement, SerializationM logger.LogDebug("the owningRelationship Json property was not found in the Association: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the Association: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the Association: { Id }", dtoInstance.Id); - } - return dtoInstance; } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/AssociationStructureDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/AssociationStructureDeSerializer.cs index d6c2a8d6..50f93fec 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/AssociationStructureDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/AssociationStructureDeSerializer.cs @@ -69,7 +69,7 @@ internal static IAssociationStructure DeSerialize(JsonElement jsonElement, Seria throw new InvalidOperationException($"The AssociationStructureDeSerializer can only be used to deserialize objects of type IAssociationStructure, a {@type.GetString()} was provided"); } - IAssociationStructure dtoInstance = new SysML2.NET.Core.DTO.Kernel.Associations.AssociationStructure(); + var dtoInstance = new SysML2.NET.Core.DTO.Kernel.Associations.AssociationStructure(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -270,46 +270,6 @@ internal static IAssociationStructure DeSerialize(JsonElement jsonElement, Seria logger.LogDebug("the owningRelationship Json property was not found in the AssociationStructure: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the AssociationStructure: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the AssociationStructure: { Id }", dtoInstance.Id); - } - return dtoInstance; } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/AttributeDefinitionDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/AttributeDefinitionDeSerializer.cs index 93b95287..b998068f 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/AttributeDefinitionDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/AttributeDefinitionDeSerializer.cs @@ -69,7 +69,7 @@ internal static IAttributeDefinition DeSerialize(JsonElement jsonElement, Serial throw new InvalidOperationException($"The AttributeDefinitionDeSerializer can only be used to deserialize objects of type IAttributeDefinition, a {@type.GetString()} was provided"); } - IAttributeDefinition dtoInstance = new SysML2.NET.Core.DTO.Systems.Attributes.AttributeDefinition(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Attributes.AttributeDefinition(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/AttributeUsageDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/AttributeUsageDeSerializer.cs index da323916..521c2eb6 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/AttributeUsageDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/AttributeUsageDeSerializer.cs @@ -69,7 +69,7 @@ internal static IAttributeUsage DeSerialize(JsonElement jsonElement, Serializati throw new InvalidOperationException($"The AttributeUsageDeSerializer can only be used to deserialize objects of type IAttributeUsage, a {@type.GetString()} was provided"); } - IAttributeUsage dtoInstance = new SysML2.NET.Core.DTO.Systems.Attributes.AttributeUsage(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Attributes.AttributeUsage(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -263,18 +263,6 @@ internal static IAttributeUsage DeSerialize(JsonElement jsonElement, Serializati logger.LogDebug("the isUnique Json property was not found in the AttributeUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("isVariable"u8, out var isVariableProperty)) - { - if (isVariableProperty.ValueKind != JsonValueKind.Null) - { - dtoInstance.IsVariable = isVariableProperty.GetBoolean(); - } - } - else - { - logger.LogDebug("the isVariable Json property was not found in the AttributeUsage: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isVariation"u8, out var isVariationProperty)) { if (isVariationProperty.ValueKind != JsonValueKind.Null) diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/BehaviorDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/BehaviorDeSerializer.cs index 3e2b00d5..3e5c1dab 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/BehaviorDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/BehaviorDeSerializer.cs @@ -69,7 +69,7 @@ internal static IBehavior DeSerialize(JsonElement jsonElement, SerializationMode throw new InvalidOperationException($"The BehaviorDeSerializer can only be used to deserialize objects of type IBehavior, a {@type.GetString()} was provided"); } - IBehavior dtoInstance = new SysML2.NET.Core.DTO.Kernel.Behaviors.Behavior(); + var dtoInstance = new SysML2.NET.Core.DTO.Kernel.Behaviors.Behavior(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/BindingConnectorAsUsageDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/BindingConnectorAsUsageDeSerializer.cs index d72bae84..91f8d988 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/BindingConnectorAsUsageDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/BindingConnectorAsUsageDeSerializer.cs @@ -69,7 +69,7 @@ internal static IBindingConnectorAsUsage DeSerialize(JsonElement jsonElement, Se throw new InvalidOperationException($"The BindingConnectorAsUsageDeSerializer can only be used to deserialize objects of type IBindingConnectorAsUsage, a {@type.GetString()} was provided"); } - IBindingConnectorAsUsage dtoInstance = new SysML2.NET.Core.DTO.Systems.Connections.BindingConnectorAsUsage(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Connections.BindingConnectorAsUsage(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -275,18 +275,6 @@ internal static IBindingConnectorAsUsage DeSerialize(JsonElement jsonElement, Se logger.LogDebug("the isUnique Json property was not found in the BindingConnectorAsUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("isVariable"u8, out var isVariableProperty)) - { - if (isVariableProperty.ValueKind != JsonValueKind.Null) - { - dtoInstance.IsVariable = isVariableProperty.GetBoolean(); - } - } - else - { - logger.LogDebug("the isVariable Json property was not found in the BindingConnectorAsUsage: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isVariation"u8, out var isVariationProperty)) { if (isVariationProperty.ValueKind != JsonValueKind.Null) @@ -387,46 +375,6 @@ internal static IBindingConnectorAsUsage DeSerialize(JsonElement jsonElement, Se logger.LogDebug("the owningRelationship Json property was not found in the BindingConnectorAsUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the BindingConnectorAsUsage: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the BindingConnectorAsUsage: { Id }", dtoInstance.Id); - } - return dtoInstance; } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/BindingConnectorDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/BindingConnectorDeSerializer.cs index ae3ba82f..6692d7d3 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/BindingConnectorDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/BindingConnectorDeSerializer.cs @@ -69,7 +69,7 @@ internal static IBindingConnector DeSerialize(JsonElement jsonElement, Serializa throw new InvalidOperationException($"The BindingConnectorDeSerializer can only be used to deserialize objects of type IBindingConnector, a {@type.GetString()} was provided"); } - IBindingConnector dtoInstance = new SysML2.NET.Core.DTO.Kernel.Connectors.BindingConnector(); + var dtoInstance = new SysML2.NET.Core.DTO.Kernel.Connectors.BindingConnector(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -375,46 +375,6 @@ internal static IBindingConnector DeSerialize(JsonElement jsonElement, Serializa logger.LogDebug("the owningRelationship Json property was not found in the BindingConnector: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the BindingConnector: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the BindingConnector: { Id }", dtoInstance.Id); - } - return dtoInstance; } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/BooleanExpressionDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/BooleanExpressionDeSerializer.cs index 46cf596e..1f05c9a9 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/BooleanExpressionDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/BooleanExpressionDeSerializer.cs @@ -69,7 +69,7 @@ internal static IBooleanExpression DeSerialize(JsonElement jsonElement, Serializ throw new InvalidOperationException($"The BooleanExpressionDeSerializer can only be used to deserialize objects of type IBooleanExpression, a {@type.GetString()} was provided"); } - IBooleanExpression dtoInstance = new SysML2.NET.Core.DTO.Kernel.Functions.BooleanExpression(); + var dtoInstance = new SysML2.NET.Core.DTO.Kernel.Functions.BooleanExpression(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/CalculationDefinitionDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/CalculationDefinitionDeSerializer.cs index 5bc466e4..6ad8bb85 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/CalculationDefinitionDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/CalculationDefinitionDeSerializer.cs @@ -69,7 +69,7 @@ internal static ICalculationDefinition DeSerialize(JsonElement jsonElement, Seri throw new InvalidOperationException($"The CalculationDefinitionDeSerializer can only be used to deserialize objects of type ICalculationDefinition, a {@type.GetString()} was provided"); } - ICalculationDefinition dtoInstance = new SysML2.NET.Core.DTO.Systems.Calculations.CalculationDefinition(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Calculations.CalculationDefinition(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/CalculationUsageDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/CalculationUsageDeSerializer.cs index 21d58c44..7e8186ed 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/CalculationUsageDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/CalculationUsageDeSerializer.cs @@ -69,7 +69,7 @@ internal static ICalculationUsage DeSerialize(JsonElement jsonElement, Serializa throw new InvalidOperationException($"The CalculationUsageDeSerializer can only be used to deserialize objects of type ICalculationUsage, a {@type.GetString()} was provided"); } - ICalculationUsage dtoInstance = new SysML2.NET.Core.DTO.Systems.Calculations.CalculationUsage(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Calculations.CalculationUsage(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -275,18 +275,6 @@ internal static ICalculationUsage DeSerialize(JsonElement jsonElement, Serializa logger.LogDebug("the isUnique Json property was not found in the CalculationUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("isVariable"u8, out var isVariableProperty)) - { - if (isVariableProperty.ValueKind != JsonValueKind.Null) - { - dtoInstance.IsVariable = isVariableProperty.GetBoolean(); - } - } - else - { - logger.LogDebug("the isVariable Json property was not found in the CalculationUsage: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isVariation"u8, out var isVariationProperty)) { if (isVariationProperty.ValueKind != JsonValueKind.Null) diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/CaseDefinitionDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/CaseDefinitionDeSerializer.cs index 0b7e667e..a957c007 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/CaseDefinitionDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/CaseDefinitionDeSerializer.cs @@ -69,7 +69,7 @@ internal static ICaseDefinition DeSerialize(JsonElement jsonElement, Serializati throw new InvalidOperationException($"The CaseDefinitionDeSerializer can only be used to deserialize objects of type ICaseDefinition, a {@type.GetString()} was provided"); } - ICaseDefinition dtoInstance = new SysML2.NET.Core.DTO.Systems.Cases.CaseDefinition(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Cases.CaseDefinition(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/CaseUsageDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/CaseUsageDeSerializer.cs index 745a1189..9712aea9 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/CaseUsageDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/CaseUsageDeSerializer.cs @@ -69,7 +69,7 @@ internal static ICaseUsage DeSerialize(JsonElement jsonElement, SerializationMod throw new InvalidOperationException($"The CaseUsageDeSerializer can only be used to deserialize objects of type ICaseUsage, a {@type.GetString()} was provided"); } - ICaseUsage dtoInstance = new SysML2.NET.Core.DTO.Systems.Cases.CaseUsage(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Cases.CaseUsage(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -275,18 +275,6 @@ internal static ICaseUsage DeSerialize(JsonElement jsonElement, SerializationMod logger.LogDebug("the isUnique Json property was not found in the CaseUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("isVariable"u8, out var isVariableProperty)) - { - if (isVariableProperty.ValueKind != JsonValueKind.Null) - { - dtoInstance.IsVariable = isVariableProperty.GetBoolean(); - } - } - else - { - logger.LogDebug("the isVariable Json property was not found in the CaseUsage: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isVariation"u8, out var isVariationProperty)) { if (isVariationProperty.ValueKind != JsonValueKind.Null) diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ClassDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ClassDeSerializer.cs index 27faf63a..46e8eff0 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ClassDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ClassDeSerializer.cs @@ -69,7 +69,7 @@ internal static IClass DeSerialize(JsonElement jsonElement, SerializationModeKin throw new InvalidOperationException($"The ClassDeSerializer can only be used to deserialize objects of type IClass, a {@type.GetString()} was provided"); } - IClass dtoInstance = new SysML2.NET.Core.DTO.Kernel.Classes.Class(); + var dtoInstance = new SysML2.NET.Core.DTO.Kernel.Classes.Class(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ClassifierDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ClassifierDeSerializer.cs index 8266ded4..eb19d120 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ClassifierDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ClassifierDeSerializer.cs @@ -69,7 +69,7 @@ internal static IClassifier DeSerialize(JsonElement jsonElement, SerializationMo throw new InvalidOperationException($"The ClassifierDeSerializer can only be used to deserialize objects of type IClassifier, a {@type.GetString()} was provided"); } - IClassifier dtoInstance = new SysML2.NET.Core.DTO.Core.Classifiers.Classifier(); + var dtoInstance = new SysML2.NET.Core.DTO.Core.Classifiers.Classifier(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/CollectExpressionDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/CollectExpressionDeSerializer.cs index 4341d288..800450b4 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/CollectExpressionDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/CollectExpressionDeSerializer.cs @@ -69,7 +69,7 @@ internal static ICollectExpression DeSerialize(JsonElement jsonElement, Serializ throw new InvalidOperationException($"The CollectExpressionDeSerializer can only be used to deserialize objects of type ICollectExpression, a {@type.GetString()} was provided"); } - ICollectExpression dtoInstance = new SysML2.NET.Core.DTO.Kernel.Expressions.CollectExpression(); + var dtoInstance = new SysML2.NET.Core.DTO.Kernel.Expressions.CollectExpression(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/CommentDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/CommentDeSerializer.cs index 6ac00f19..db9baf90 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/CommentDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/CommentDeSerializer.cs @@ -69,7 +69,7 @@ internal static IComment DeSerialize(JsonElement jsonElement, SerializationModeK throw new InvalidOperationException($"The CommentDeSerializer can only be used to deserialize objects of type IComment, a {@type.GetString()} was provided"); } - IComment dtoInstance = new SysML2.NET.Core.DTO.Root.Annotations.Comment(); + var dtoInstance = new SysML2.NET.Core.DTO.Root.Annotations.Comment(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ConcernDefinitionDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ConcernDefinitionDeSerializer.cs index 117f6dbf..82c42dbc 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ConcernDefinitionDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ConcernDefinitionDeSerializer.cs @@ -69,7 +69,7 @@ internal static IConcernDefinition DeSerialize(JsonElement jsonElement, Serializ throw new InvalidOperationException($"The ConcernDefinitionDeSerializer can only be used to deserialize objects of type IConcernDefinition, a {@type.GetString()} was provided"); } - IConcernDefinition dtoInstance = new SysML2.NET.Core.DTO.Systems.Requirements.ConcernDefinition(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Requirements.ConcernDefinition(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -111,15 +111,6 @@ internal static IConcernDefinition DeSerialize(JsonElement jsonElement, Serializ logger.LogDebug("the declaredName Json property was not found in the ConcernDefinition: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("declaredShortName"u8, out var declaredShortNameProperty)) - { - dtoInstance.DeclaredShortName = declaredShortNameProperty.GetString(); - } - else - { - logger.LogDebug("the declaredShortName Json property was not found in the ConcernDefinition: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("elementId"u8, out var elementIdProperty)) { var propertyValue = elementIdProperty.GetString(); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ConcernUsageDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ConcernUsageDeSerializer.cs index 9f78c607..10a69f79 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ConcernUsageDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ConcernUsageDeSerializer.cs @@ -69,7 +69,7 @@ internal static IConcernUsage DeSerialize(JsonElement jsonElement, Serialization throw new InvalidOperationException($"The ConcernUsageDeSerializer can only be used to deserialize objects of type IConcernUsage, a {@type.GetString()} was provided"); } - IConcernUsage dtoInstance = new SysML2.NET.Core.DTO.Systems.Requirements.ConcernUsage(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Requirements.ConcernUsage(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -111,15 +111,6 @@ internal static IConcernUsage DeSerialize(JsonElement jsonElement, Serialization logger.LogDebug("the declaredName Json property was not found in the ConcernUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("declaredShortName"u8, out var declaredShortNameProperty)) - { - dtoInstance.DeclaredShortName = declaredShortNameProperty.GetString(); - } - else - { - logger.LogDebug("the declaredShortName Json property was not found in the ConcernUsage: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("direction"u8, out var directionProperty)) { dtoInstance.Direction = FeatureDirectionKindDeSerializer.DeserializeNullable(directionProperty.GetString()); @@ -275,18 +266,6 @@ internal static IConcernUsage DeSerialize(JsonElement jsonElement, Serialization logger.LogDebug("the isUnique Json property was not found in the ConcernUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("isVariable"u8, out var isVariableProperty)) - { - if (isVariableProperty.ValueKind != JsonValueKind.Null) - { - dtoInstance.IsVariable = isVariableProperty.GetBoolean(); - } - } - else - { - logger.LogDebug("the isVariable Json property was not found in the ConcernUsage: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isVariation"u8, out var isVariationProperty)) { if (isVariationProperty.ValueKind != JsonValueKind.Null) diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ConjugatedPortDefinitionDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ConjugatedPortDefinitionDeSerializer.cs index 96e455b6..e8f82f88 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ConjugatedPortDefinitionDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ConjugatedPortDefinitionDeSerializer.cs @@ -69,7 +69,7 @@ internal static IConjugatedPortDefinition DeSerialize(JsonElement jsonElement, S throw new InvalidOperationException($"The ConjugatedPortDefinitionDeSerializer can only be used to deserialize objects of type IConjugatedPortDefinition, a {@type.GetString()} was provided"); } - IConjugatedPortDefinition dtoInstance = new SysML2.NET.Core.DTO.Systems.Ports.ConjugatedPortDefinition(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Ports.ConjugatedPortDefinition(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ConjugatedPortTypingDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ConjugatedPortTypingDeSerializer.cs index 948a4f57..5d6d45f0 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ConjugatedPortTypingDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ConjugatedPortTypingDeSerializer.cs @@ -69,7 +69,7 @@ internal static IConjugatedPortTyping DeSerialize(JsonElement jsonElement, Seria throw new InvalidOperationException($"The ConjugatedPortTypingDeSerializer can only be used to deserialize objects of type IConjugatedPortTyping, a {@type.GetString()} was provided"); } - IConjugatedPortTyping dtoInstance = new SysML2.NET.Core.DTO.Systems.Ports.ConjugatedPortTyping(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Ports.ConjugatedPortTyping(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -159,31 +159,6 @@ internal static IConjugatedPortTyping DeSerialize(JsonElement jsonElement, Seria logger.LogDebug("the elementId Json property was not found in the ConjugatedPortTyping: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("general"u8, out var generalProperty)) - { - if (generalProperty.ValueKind == JsonValueKind.Null) - { - dtoInstance.General = Guid.Empty; - logger.LogDebug($"the ConjugatedPortTyping.General property was not found in the Json. The value is set to Guid.Empty"); - } - else - { - if (generalProperty.TryGetProperty("@id"u8, out var generalIdProperty)) - { - var propertyValue = generalIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.General = Guid.Parse(propertyValue); - } - } - } - } - else - { - logger.LogDebug("the general Json property was not found in the ConjugatedPortTyping: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isImplied"u8, out var isImpliedProperty)) { if (isImpliedProperty.ValueKind != JsonValueKind.Null) @@ -296,96 +271,6 @@ internal static IConjugatedPortTyping DeSerialize(JsonElement jsonElement, Seria logger.LogDebug("the owningRelationship Json property was not found in the ConjugatedPortTyping: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the ConjugatedPortTyping: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("specific"u8, out var specificProperty)) - { - if (specificProperty.ValueKind == JsonValueKind.Null) - { - dtoInstance.Specific = Guid.Empty; - logger.LogDebug($"the ConjugatedPortTyping.Specific property was not found in the Json. The value is set to Guid.Empty"); - } - else - { - if (specificProperty.TryGetProperty("@id"u8, out var specificIdProperty)) - { - var propertyValue = specificIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Specific = Guid.Parse(propertyValue); - } - } - } - } - else - { - logger.LogDebug("the specific Json property was not found in the ConjugatedPortTyping: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the ConjugatedPortTyping: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("type"u8, out var typeProperty)) - { - if (typeProperty.ValueKind == JsonValueKind.Null) - { - dtoInstance.Type = Guid.Empty; - logger.LogDebug($"the ConjugatedPortTyping.Type property was not found in the Json. The value is set to Guid.Empty"); - } - else - { - if (typeProperty.TryGetProperty("@id"u8, out var typeIdProperty)) - { - var propertyValue = typeIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Type = Guid.Parse(propertyValue); - } - } - } - } - else - { - logger.LogDebug("the type Json property was not found in the ConjugatedPortTyping: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("typedFeature"u8, out var typedFeatureProperty)) { if (typedFeatureProperty.ValueKind == JsonValueKind.Null) diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ConjugationDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ConjugationDeSerializer.cs index ab032211..6bc046dc 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ConjugationDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ConjugationDeSerializer.cs @@ -69,7 +69,7 @@ internal static IConjugation DeSerialize(JsonElement jsonElement, SerializationM throw new InvalidOperationException($"The ConjugationDeSerializer can only be used to deserialize objects of type IConjugation, a {@type.GetString()} was provided"); } - IConjugation dtoInstance = new SysML2.NET.Core.DTO.Core.Types.Conjugation(); + var dtoInstance = new SysML2.NET.Core.DTO.Core.Types.Conjugation(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -296,46 +296,6 @@ internal static IConjugation DeSerialize(JsonElement jsonElement, SerializationM logger.LogDebug("the owningRelationship Json property was not found in the Conjugation: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the Conjugation: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the Conjugation: { Id }", dtoInstance.Id); - } - return dtoInstance; } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ConnectionDefinitionDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ConnectionDefinitionDeSerializer.cs index dc87fe4c..b00f2aa6 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ConnectionDefinitionDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ConnectionDefinitionDeSerializer.cs @@ -69,7 +69,7 @@ internal static IConnectionDefinition DeSerialize(JsonElement jsonElement, Seria throw new InvalidOperationException($"The ConnectionDefinitionDeSerializer can only be used to deserialize objects of type IConnectionDefinition, a {@type.GetString()} was provided"); } - IConnectionDefinition dtoInstance = new SysML2.NET.Core.DTO.Systems.Connections.ConnectionDefinition(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Connections.ConnectionDefinition(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -294,46 +294,6 @@ internal static IConnectionDefinition DeSerialize(JsonElement jsonElement, Seria logger.LogDebug("the owningRelationship Json property was not found in the ConnectionDefinition: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the ConnectionDefinition: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the ConnectionDefinition: { Id }", dtoInstance.Id); - } - return dtoInstance; } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ConnectionUsageDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ConnectionUsageDeSerializer.cs index 80aecba1..676e9e07 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ConnectionUsageDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ConnectionUsageDeSerializer.cs @@ -69,7 +69,7 @@ internal static IConnectionUsage DeSerialize(JsonElement jsonElement, Serializat throw new InvalidOperationException($"The ConnectionUsageDeSerializer can only be used to deserialize objects of type IConnectionUsage, a {@type.GetString()} was provided"); } - IConnectionUsage dtoInstance = new SysML2.NET.Core.DTO.Systems.Connections.ConnectionUsage(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Connections.ConnectionUsage(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -287,18 +287,6 @@ internal static IConnectionUsage DeSerialize(JsonElement jsonElement, Serializat logger.LogDebug("the isUnique Json property was not found in the ConnectionUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("isVariable"u8, out var isVariableProperty)) - { - if (isVariableProperty.ValueKind != JsonValueKind.Null) - { - dtoInstance.IsVariable = isVariableProperty.GetBoolean(); - } - } - else - { - logger.LogDebug("the isVariable Json property was not found in the ConnectionUsage: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isVariation"u8, out var isVariationProperty)) { if (isVariationProperty.ValueKind != JsonValueKind.Null) @@ -408,46 +396,6 @@ internal static IConnectionUsage DeSerialize(JsonElement jsonElement, Serializat logger.LogDebug("the portionKind Json property was not found in the ConnectionUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the ConnectionUsage: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the ConnectionUsage: { Id }", dtoInstance.Id); - } - return dtoInstance; } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ConnectorDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ConnectorDeSerializer.cs index d1cc1951..39a48965 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ConnectorDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ConnectorDeSerializer.cs @@ -69,7 +69,7 @@ internal static IConnector DeSerialize(JsonElement jsonElement, SerializationMod throw new InvalidOperationException($"The ConnectorDeSerializer can only be used to deserialize objects of type IConnector, a {@type.GetString()} was provided"); } - IConnector dtoInstance = new SysML2.NET.Core.DTO.Kernel.Connectors.Connector(); + var dtoInstance = new SysML2.NET.Core.DTO.Kernel.Connectors.Connector(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -375,46 +375,6 @@ internal static IConnector DeSerialize(JsonElement jsonElement, SerializationMod logger.LogDebug("the owningRelationship Json property was not found in the Connector: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the Connector: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the Connector: { Id }", dtoInstance.Id); - } - return dtoInstance; } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ConstraintDefinitionDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ConstraintDefinitionDeSerializer.cs index e0717a04..83ea8d7c 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ConstraintDefinitionDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ConstraintDefinitionDeSerializer.cs @@ -69,7 +69,7 @@ internal static IConstraintDefinition DeSerialize(JsonElement jsonElement, Seria throw new InvalidOperationException($"The ConstraintDefinitionDeSerializer can only be used to deserialize objects of type IConstraintDefinition, a {@type.GetString()} was provided"); } - IConstraintDefinition dtoInstance = new SysML2.NET.Core.DTO.Systems.Constraints.ConstraintDefinition(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Constraints.ConstraintDefinition(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ConstraintUsageDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ConstraintUsageDeSerializer.cs index 20deebaf..1346fc7e 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ConstraintUsageDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ConstraintUsageDeSerializer.cs @@ -69,7 +69,7 @@ internal static IConstraintUsage DeSerialize(JsonElement jsonElement, Serializat throw new InvalidOperationException($"The ConstraintUsageDeSerializer can only be used to deserialize objects of type IConstraintUsage, a {@type.GetString()} was provided"); } - IConstraintUsage dtoInstance = new SysML2.NET.Core.DTO.Systems.Constraints.ConstraintUsage(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Constraints.ConstraintUsage(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -275,18 +275,6 @@ internal static IConstraintUsage DeSerialize(JsonElement jsonElement, Serializat logger.LogDebug("the isUnique Json property was not found in the ConstraintUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("isVariable"u8, out var isVariableProperty)) - { - if (isVariableProperty.ValueKind != JsonValueKind.Null) - { - dtoInstance.IsVariable = isVariableProperty.GetBoolean(); - } - } - else - { - logger.LogDebug("the isVariable Json property was not found in the ConstraintUsage: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isVariation"u8, out var isVariationProperty)) { if (isVariationProperty.ValueKind != JsonValueKind.Null) diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ConstructorExpressionDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ConstructorExpressionDeSerializer.cs index e8283de9..57e3876d 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ConstructorExpressionDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ConstructorExpressionDeSerializer.cs @@ -69,7 +69,7 @@ internal static IConstructorExpression DeSerialize(JsonElement jsonElement, Seri throw new InvalidOperationException($"The ConstructorExpressionDeSerializer can only be used to deserialize objects of type IConstructorExpression, a {@type.GetString()} was provided"); } - IConstructorExpression dtoInstance = new SysML2.NET.Core.DTO.Kernel.Expressions.ConstructorExpression(); + var dtoInstance = new SysML2.NET.Core.DTO.Kernel.Expressions.ConstructorExpression(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/CrossSubsettingDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/CrossSubsettingDeSerializer.cs index 6fb40cfc..e5cee41a 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/CrossSubsettingDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/CrossSubsettingDeSerializer.cs @@ -69,7 +69,7 @@ internal static ICrossSubsetting DeSerialize(JsonElement jsonElement, Serializat throw new InvalidOperationException($"The CrossSubsettingDeSerializer can only be used to deserialize objects of type ICrossSubsetting, a {@type.GetString()} was provided"); } - ICrossSubsetting dtoInstance = new SysML2.NET.Core.DTO.Core.Features.CrossSubsetting(); + var dtoInstance = new SysML2.NET.Core.DTO.Core.Features.CrossSubsetting(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -159,31 +159,6 @@ internal static ICrossSubsetting DeSerialize(JsonElement jsonElement, Serializat logger.LogDebug("the elementId Json property was not found in the CrossSubsetting: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("general"u8, out var generalProperty)) - { - if (generalProperty.ValueKind == JsonValueKind.Null) - { - dtoInstance.General = Guid.Empty; - logger.LogDebug($"the CrossSubsetting.General property was not found in the Json. The value is set to Guid.Empty"); - } - else - { - if (generalProperty.TryGetProperty("@id"u8, out var generalIdProperty)) - { - var propertyValue = generalIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.General = Guid.Parse(propertyValue); - } - } - } - } - else - { - logger.LogDebug("the general Json property was not found in the CrossSubsetting: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isImplied"u8, out var isImpliedProperty)) { if (isImpliedProperty.ValueKind != JsonValueKind.Null) @@ -296,121 +271,6 @@ internal static ICrossSubsetting DeSerialize(JsonElement jsonElement, Serializat logger.LogDebug("the owningRelationship Json property was not found in the CrossSubsetting: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the CrossSubsetting: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("specific"u8, out var specificProperty)) - { - if (specificProperty.ValueKind == JsonValueKind.Null) - { - dtoInstance.Specific = Guid.Empty; - logger.LogDebug($"the CrossSubsetting.Specific property was not found in the Json. The value is set to Guid.Empty"); - } - else - { - if (specificProperty.TryGetProperty("@id"u8, out var specificIdProperty)) - { - var propertyValue = specificIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Specific = Guid.Parse(propertyValue); - } - } - } - } - else - { - logger.LogDebug("the specific Json property was not found in the CrossSubsetting: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("subsettedFeature"u8, out var subsettedFeatureProperty)) - { - if (subsettedFeatureProperty.ValueKind == JsonValueKind.Null) - { - dtoInstance.SubsettedFeature = Guid.Empty; - logger.LogDebug($"the CrossSubsetting.SubsettedFeature property was not found in the Json. The value is set to Guid.Empty"); - } - else - { - if (subsettedFeatureProperty.TryGetProperty("@id"u8, out var subsettedFeatureIdProperty)) - { - var propertyValue = subsettedFeatureIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.SubsettedFeature = Guid.Parse(propertyValue); - } - } - } - } - else - { - logger.LogDebug("the subsettedFeature Json property was not found in the CrossSubsetting: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("subsettingFeature"u8, out var subsettingFeatureProperty)) - { - if (subsettingFeatureProperty.ValueKind == JsonValueKind.Null) - { - dtoInstance.SubsettingFeature = Guid.Empty; - logger.LogDebug($"the CrossSubsetting.SubsettingFeature property was not found in the Json. The value is set to Guid.Empty"); - } - else - { - if (subsettingFeatureProperty.TryGetProperty("@id"u8, out var subsettingFeatureIdProperty)) - { - var propertyValue = subsettingFeatureIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.SubsettingFeature = Guid.Parse(propertyValue); - } - } - } - } - else - { - logger.LogDebug("the subsettingFeature Json property was not found in the CrossSubsetting: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the CrossSubsetting: { Id }", dtoInstance.Id); - } - return dtoInstance; } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/DataTypeDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/DataTypeDeSerializer.cs index f13e5d66..f76f1bcc 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/DataTypeDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/DataTypeDeSerializer.cs @@ -69,7 +69,7 @@ internal static IDataType DeSerialize(JsonElement jsonElement, SerializationMode throw new InvalidOperationException($"The DataTypeDeSerializer can only be used to deserialize objects of type IDataType, a {@type.GetString()} was provided"); } - IDataType dtoInstance = new SysML2.NET.Core.DTO.Kernel.DataTypes.DataType(); + var dtoInstance = new SysML2.NET.Core.DTO.Kernel.DataTypes.DataType(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/DecisionNodeDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/DecisionNodeDeSerializer.cs index 24e13cc6..a0c7384c 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/DecisionNodeDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/DecisionNodeDeSerializer.cs @@ -69,7 +69,7 @@ internal static IDecisionNode DeSerialize(JsonElement jsonElement, Serialization throw new InvalidOperationException($"The DecisionNodeDeSerializer can only be used to deserialize objects of type IDecisionNode, a {@type.GetString()} was provided"); } - IDecisionNode dtoInstance = new SysML2.NET.Core.DTO.Systems.Actions.DecisionNode(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Actions.DecisionNode(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -275,18 +275,6 @@ internal static IDecisionNode DeSerialize(JsonElement jsonElement, Serialization logger.LogDebug("the isUnique Json property was not found in the DecisionNode: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("isVariable"u8, out var isVariableProperty)) - { - if (isVariableProperty.ValueKind != JsonValueKind.Null) - { - dtoInstance.IsVariable = isVariableProperty.GetBoolean(); - } - } - else - { - logger.LogDebug("the isVariable Json property was not found in the DecisionNode: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isVariation"u8, out var isVariationProperty)) { if (isVariationProperty.ValueKind != JsonValueKind.Null) diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/DefinitionDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/DefinitionDeSerializer.cs index d90861b2..1a9b6c22 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/DefinitionDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/DefinitionDeSerializer.cs @@ -69,7 +69,7 @@ internal static IDefinition DeSerialize(JsonElement jsonElement, SerializationMo throw new InvalidOperationException($"The DefinitionDeSerializer can only be used to deserialize objects of type IDefinition, a {@type.GetString()} was provided"); } - IDefinition dtoInstance = new SysML2.NET.Core.DTO.Systems.DefinitionAndUsage.Definition(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.DefinitionAndUsage.Definition(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/DependencyDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/DependencyDeSerializer.cs index bf8b341f..1a8f425f 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/DependencyDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/DependencyDeSerializer.cs @@ -69,7 +69,7 @@ internal static IDependency DeSerialize(JsonElement jsonElement, SerializationMo throw new InvalidOperationException($"The DependencyDeSerializer can only be used to deserialize objects of type IDependency, a {@type.GetString()} was provided"); } - IDependency dtoInstance = new SysML2.NET.Core.DTO.Root.Dependencies.Dependency(); + var dtoInstance = new SysML2.NET.Core.DTO.Root.Dependencies.Dependency(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -266,26 +266,6 @@ internal static IDependency DeSerialize(JsonElement jsonElement, SerializationMo logger.LogDebug("the owningRelationship Json property was not found in the Dependency: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the Dependency: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("supplier"u8, out var supplierProperty)) { foreach (var arrayItem in supplierProperty.EnumerateArray()) @@ -306,26 +286,6 @@ internal static IDependency DeSerialize(JsonElement jsonElement, SerializationMo logger.LogDebug("the supplier Json property was not found in the Dependency: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the Dependency: { Id }", dtoInstance.Id); - } - return dtoInstance; } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/DifferencingDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/DifferencingDeSerializer.cs index 01a9658c..bb2a3741 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/DifferencingDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/DifferencingDeSerializer.cs @@ -69,7 +69,7 @@ internal static IDifferencing DeSerialize(JsonElement jsonElement, Serialization throw new InvalidOperationException($"The DifferencingDeSerializer can only be used to deserialize objects of type IDifferencing, a {@type.GetString()} was provided"); } - IDifferencing dtoInstance = new SysML2.NET.Core.DTO.Core.Types.Differencing(); + var dtoInstance = new SysML2.NET.Core.DTO.Core.Types.Differencing(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -271,46 +271,6 @@ internal static IDifferencing DeSerialize(JsonElement jsonElement, Serialization logger.LogDebug("the owningRelationship Json property was not found in the Differencing: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the Differencing: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the Differencing: { Id }", dtoInstance.Id); - } - return dtoInstance; } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/DisjoiningDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/DisjoiningDeSerializer.cs index 268d8421..1965baf1 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/DisjoiningDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/DisjoiningDeSerializer.cs @@ -69,7 +69,7 @@ internal static IDisjoining DeSerialize(JsonElement jsonElement, SerializationMo throw new InvalidOperationException($"The DisjoiningDeSerializer can only be used to deserialize objects of type IDisjoining, a {@type.GetString()} was provided"); } - IDisjoining dtoInstance = new SysML2.NET.Core.DTO.Core.Types.Disjoining(); + var dtoInstance = new SysML2.NET.Core.DTO.Core.Types.Disjoining(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -271,46 +271,6 @@ internal static IDisjoining DeSerialize(JsonElement jsonElement, SerializationMo logger.LogDebug("the owningRelationship Json property was not found in the Disjoining: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the Disjoining: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the Disjoining: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("typeDisjoined"u8, out var typeDisjoinedProperty)) { if (typeDisjoinedProperty.ValueKind == JsonValueKind.Null) diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/DocumentationDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/DocumentationDeSerializer.cs index bb94e14a..a3761e6e 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/DocumentationDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/DocumentationDeSerializer.cs @@ -69,7 +69,7 @@ internal static IDocumentation DeSerialize(JsonElement jsonElement, Serializatio throw new InvalidOperationException($"The DocumentationDeSerializer can only be used to deserialize objects of type IDocumentation, a {@type.GetString()} was provided"); } - IDocumentation dtoInstance = new SysML2.NET.Core.DTO.Root.Annotations.Documentation(); + var dtoInstance = new SysML2.NET.Core.DTO.Root.Annotations.Documentation(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ElementFilterMembershipDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ElementFilterMembershipDeSerializer.cs index 9614ad7f..88972354 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ElementFilterMembershipDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ElementFilterMembershipDeSerializer.cs @@ -69,7 +69,7 @@ internal static IElementFilterMembership DeSerialize(JsonElement jsonElement, Se throw new InvalidOperationException($"The ElementFilterMembershipDeSerializer can only be used to deserialize objects of type IElementFilterMembership, a {@type.GetString()} was provided"); } - IElementFilterMembership dtoInstance = new SysML2.NET.Core.DTO.Kernel.Packages.ElementFilterMembership(); + var dtoInstance = new SysML2.NET.Core.DTO.Kernel.Packages.ElementFilterMembership(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -158,49 +158,6 @@ internal static IElementFilterMembership DeSerialize(JsonElement jsonElement, Se logger.LogDebug("the isImpliedIncluded Json property was not found in the ElementFilterMembership: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("memberElement"u8, out var memberElementProperty)) - { - if (memberElementProperty.ValueKind == JsonValueKind.Null) - { - dtoInstance.MemberElement = Guid.Empty; - logger.LogDebug($"the ElementFilterMembership.MemberElement property was not found in the Json. The value is set to Guid.Empty"); - } - else - { - if (memberElementProperty.TryGetProperty("@id"u8, out var memberElementIdProperty)) - { - var propertyValue = memberElementIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.MemberElement = Guid.Parse(propertyValue); - } - } - } - } - else - { - logger.LogDebug("the memberElement Json property was not found in the ElementFilterMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("memberName"u8, out var memberNameProperty)) - { - dtoInstance.MemberName = memberNameProperty.GetString(); - } - else - { - logger.LogDebug("the memberName Json property was not found in the ElementFilterMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("memberShortName"u8, out var memberShortNameProperty)) - { - dtoInstance.MemberShortName = memberShortNameProperty.GetString(); - } - else - { - logger.LogDebug("the memberShortName Json property was not found in the ElementFilterMembership: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("ownedRelatedElement"u8, out var ownedRelatedElementProperty)) { foreach (var arrayItem in ownedRelatedElementProperty.EnumerateArray()) @@ -289,46 +246,6 @@ internal static IElementFilterMembership DeSerialize(JsonElement jsonElement, Se logger.LogDebug("the owningRelationship Json property was not found in the ElementFilterMembership: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the ElementFilterMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the ElementFilterMembership: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("visibility"u8, out var visibilityProperty)) { dtoInstance.Visibility = VisibilityKindDeSerializer.Deserialize(visibilityProperty.GetString()); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/EndFeatureMembershipDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/EndFeatureMembershipDeSerializer.cs index e05fdbd0..6c026b05 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/EndFeatureMembershipDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/EndFeatureMembershipDeSerializer.cs @@ -69,7 +69,7 @@ internal static IEndFeatureMembership DeSerialize(JsonElement jsonElement, Seria throw new InvalidOperationException($"The EndFeatureMembershipDeSerializer can only be used to deserialize objects of type IEndFeatureMembership, a {@type.GetString()} was provided"); } - IEndFeatureMembership dtoInstance = new SysML2.NET.Core.DTO.Core.Features.EndFeatureMembership(); + var dtoInstance = new SysML2.NET.Core.DTO.Core.Features.EndFeatureMembership(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -158,49 +158,6 @@ internal static IEndFeatureMembership DeSerialize(JsonElement jsonElement, Seria logger.LogDebug("the isImpliedIncluded Json property was not found in the EndFeatureMembership: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("memberElement"u8, out var memberElementProperty)) - { - if (memberElementProperty.ValueKind == JsonValueKind.Null) - { - dtoInstance.MemberElement = Guid.Empty; - logger.LogDebug($"the EndFeatureMembership.MemberElement property was not found in the Json. The value is set to Guid.Empty"); - } - else - { - if (memberElementProperty.TryGetProperty("@id"u8, out var memberElementIdProperty)) - { - var propertyValue = memberElementIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.MemberElement = Guid.Parse(propertyValue); - } - } - } - } - else - { - logger.LogDebug("the memberElement Json property was not found in the EndFeatureMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("memberName"u8, out var memberNameProperty)) - { - dtoInstance.MemberName = memberNameProperty.GetString(); - } - else - { - logger.LogDebug("the memberName Json property was not found in the EndFeatureMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("memberShortName"u8, out var memberShortNameProperty)) - { - dtoInstance.MemberShortName = memberShortNameProperty.GetString(); - } - else - { - logger.LogDebug("the memberShortName Json property was not found in the EndFeatureMembership: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("ownedRelatedElement"u8, out var ownedRelatedElementProperty)) { foreach (var arrayItem in ownedRelatedElementProperty.EnumerateArray()) @@ -289,46 +246,6 @@ internal static IEndFeatureMembership DeSerialize(JsonElement jsonElement, Seria logger.LogDebug("the owningRelationship Json property was not found in the EndFeatureMembership: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the EndFeatureMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the EndFeatureMembership: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("visibility"u8, out var visibilityProperty)) { dtoInstance.Visibility = VisibilityKindDeSerializer.Deserialize(visibilityProperty.GetString()); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/EnumerationDefinitionDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/EnumerationDefinitionDeSerializer.cs index b0065419..459a0a76 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/EnumerationDefinitionDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/EnumerationDefinitionDeSerializer.cs @@ -69,7 +69,7 @@ internal static IEnumerationDefinition DeSerialize(JsonElement jsonElement, Seri throw new InvalidOperationException($"The EnumerationDefinitionDeSerializer can only be used to deserialize objects of type IEnumerationDefinition, a {@type.GetString()} was provided"); } - IEnumerationDefinition dtoInstance = new SysML2.NET.Core.DTO.Systems.Enumerations.EnumerationDefinition(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Enumerations.EnumerationDefinition(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/EnumerationUsageDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/EnumerationUsageDeSerializer.cs index 4da1e74c..ba4ecad3 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/EnumerationUsageDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/EnumerationUsageDeSerializer.cs @@ -69,7 +69,7 @@ internal static IEnumerationUsage DeSerialize(JsonElement jsonElement, Serializa throw new InvalidOperationException($"The EnumerationUsageDeSerializer can only be used to deserialize objects of type IEnumerationUsage, a {@type.GetString()} was provided"); } - IEnumerationUsage dtoInstance = new SysML2.NET.Core.DTO.Systems.Enumerations.EnumerationUsage(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Enumerations.EnumerationUsage(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -263,18 +263,6 @@ internal static IEnumerationUsage DeSerialize(JsonElement jsonElement, Serializa logger.LogDebug("the isUnique Json property was not found in the EnumerationUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("isVariable"u8, out var isVariableProperty)) - { - if (isVariableProperty.ValueKind != JsonValueKind.Null) - { - dtoInstance.IsVariable = isVariableProperty.GetBoolean(); - } - } - else - { - logger.LogDebug("the isVariable Json property was not found in the EnumerationUsage: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isVariation"u8, out var isVariationProperty)) { if (isVariationProperty.ValueKind != JsonValueKind.Null) diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/EventOccurrenceUsageDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/EventOccurrenceUsageDeSerializer.cs index 641b09d7..d8181724 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/EventOccurrenceUsageDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/EventOccurrenceUsageDeSerializer.cs @@ -69,7 +69,7 @@ internal static IEventOccurrenceUsage DeSerialize(JsonElement jsonElement, Seria throw new InvalidOperationException($"The EventOccurrenceUsageDeSerializer can only be used to deserialize objects of type IEventOccurrenceUsage, a {@type.GetString()} was provided"); } - IEventOccurrenceUsage dtoInstance = new SysML2.NET.Core.DTO.Systems.Occurrences.EventOccurrenceUsage(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Occurrences.EventOccurrenceUsage(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -275,18 +275,6 @@ internal static IEventOccurrenceUsage DeSerialize(JsonElement jsonElement, Seria logger.LogDebug("the isUnique Json property was not found in the EventOccurrenceUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("isVariable"u8, out var isVariableProperty)) - { - if (isVariableProperty.ValueKind != JsonValueKind.Null) - { - dtoInstance.IsVariable = isVariableProperty.GetBoolean(); - } - } - else - { - logger.LogDebug("the isVariable Json property was not found in the EventOccurrenceUsage: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isVariation"u8, out var isVariationProperty)) { if (isVariationProperty.ValueKind != JsonValueKind.Null) diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ExhibitStateUsageDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ExhibitStateUsageDeSerializer.cs index 9173285e..adf2e608 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ExhibitStateUsageDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ExhibitStateUsageDeSerializer.cs @@ -69,7 +69,7 @@ internal static IExhibitStateUsage DeSerialize(JsonElement jsonElement, Serializ throw new InvalidOperationException($"The ExhibitStateUsageDeSerializer can only be used to deserialize objects of type IExhibitStateUsage, a {@type.GetString()} was provided"); } - IExhibitStateUsage dtoInstance = new SysML2.NET.Core.DTO.Systems.States.ExhibitStateUsage(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.States.ExhibitStateUsage(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -287,18 +287,6 @@ internal static IExhibitStateUsage DeSerialize(JsonElement jsonElement, Serializ logger.LogDebug("the isUnique Json property was not found in the ExhibitStateUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("isVariable"u8, out var isVariableProperty)) - { - if (isVariableProperty.ValueKind != JsonValueKind.Null) - { - dtoInstance.IsVariable = isVariableProperty.GetBoolean(); - } - } - else - { - logger.LogDebug("the isVariable Json property was not found in the ExhibitStateUsage: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isVariation"u8, out var isVariationProperty)) { if (isVariationProperty.ValueKind != JsonValueKind.Null) diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ExpressionDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ExpressionDeSerializer.cs index 022a80c6..10ceda76 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ExpressionDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ExpressionDeSerializer.cs @@ -69,7 +69,7 @@ internal static IExpression DeSerialize(JsonElement jsonElement, SerializationMo throw new InvalidOperationException($"The ExpressionDeSerializer can only be used to deserialize objects of type IExpression, a {@type.GetString()} was provided"); } - IExpression dtoInstance = new SysML2.NET.Core.DTO.Kernel.Functions.Expression(); + var dtoInstance = new SysML2.NET.Core.DTO.Kernel.Functions.Expression(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FeatureChainExpressionDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FeatureChainExpressionDeSerializer.cs index 33b59a5f..96b3efbf 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FeatureChainExpressionDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FeatureChainExpressionDeSerializer.cs @@ -69,7 +69,7 @@ internal static IFeatureChainExpression DeSerialize(JsonElement jsonElement, Ser throw new InvalidOperationException($"The FeatureChainExpressionDeSerializer can only be used to deserialize objects of type IFeatureChainExpression, a {@type.GetString()} was provided"); } - IFeatureChainExpression dtoInstance = new SysML2.NET.Core.DTO.Kernel.Expressions.FeatureChainExpression(); + var dtoInstance = new SysML2.NET.Core.DTO.Kernel.Expressions.FeatureChainExpression(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FeatureChainingDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FeatureChainingDeSerializer.cs index de409399..6e62ae26 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FeatureChainingDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FeatureChainingDeSerializer.cs @@ -69,7 +69,7 @@ internal static IFeatureChaining DeSerialize(JsonElement jsonElement, Serializat throw new InvalidOperationException($"The FeatureChainingDeSerializer can only be used to deserialize objects of type IFeatureChaining, a {@type.GetString()} was provided"); } - IFeatureChaining dtoInstance = new SysML2.NET.Core.DTO.Core.Features.FeatureChaining(); + var dtoInstance = new SysML2.NET.Core.DTO.Core.Features.FeatureChaining(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -271,46 +271,6 @@ internal static IFeatureChaining DeSerialize(JsonElement jsonElement, Serializat logger.LogDebug("the owningRelationship Json property was not found in the FeatureChaining: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the FeatureChaining: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the FeatureChaining: { Id }", dtoInstance.Id); - } - return dtoInstance; } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FeatureDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FeatureDeSerializer.cs index 1be674ae..dda58605 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FeatureDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FeatureDeSerializer.cs @@ -69,7 +69,7 @@ internal static IFeature DeSerialize(JsonElement jsonElement, SerializationModeK throw new InvalidOperationException($"The FeatureDeSerializer can only be used to deserialize objects of type IFeature, a {@type.GetString()} was provided"); } - IFeature dtoInstance = new SysML2.NET.Core.DTO.Core.Features.Feature(); + var dtoInstance = new SysML2.NET.Core.DTO.Core.Features.Feature(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FeatureInvertingDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FeatureInvertingDeSerializer.cs index 7eb90461..1dc0f7bf 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FeatureInvertingDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FeatureInvertingDeSerializer.cs @@ -69,7 +69,7 @@ internal static IFeatureInverting DeSerialize(JsonElement jsonElement, Serializa throw new InvalidOperationException($"The FeatureInvertingDeSerializer can only be used to deserialize objects of type IFeatureInverting, a {@type.GetString()} was provided"); } - IFeatureInverting dtoInstance = new SysML2.NET.Core.DTO.Core.Features.FeatureInverting(); + var dtoInstance = new SysML2.NET.Core.DTO.Core.Features.FeatureInverting(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -296,46 +296,6 @@ internal static IFeatureInverting DeSerialize(JsonElement jsonElement, Serializa logger.LogDebug("the owningRelationship Json property was not found in the FeatureInverting: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the FeatureInverting: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the FeatureInverting: { Id }", dtoInstance.Id); - } - return dtoInstance; } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FeatureMembershipDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FeatureMembershipDeSerializer.cs index 19c1706c..b8542010 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FeatureMembershipDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FeatureMembershipDeSerializer.cs @@ -69,7 +69,7 @@ internal static IFeatureMembership DeSerialize(JsonElement jsonElement, Serializ throw new InvalidOperationException($"The FeatureMembershipDeSerializer can only be used to deserialize objects of type IFeatureMembership, a {@type.GetString()} was provided"); } - IFeatureMembership dtoInstance = new SysML2.NET.Core.DTO.Core.Types.FeatureMembership(); + var dtoInstance = new SysML2.NET.Core.DTO.Core.Types.FeatureMembership(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -158,49 +158,6 @@ internal static IFeatureMembership DeSerialize(JsonElement jsonElement, Serializ logger.LogDebug("the isImpliedIncluded Json property was not found in the FeatureMembership: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("memberElement"u8, out var memberElementProperty)) - { - if (memberElementProperty.ValueKind == JsonValueKind.Null) - { - dtoInstance.MemberElement = Guid.Empty; - logger.LogDebug($"the FeatureMembership.MemberElement property was not found in the Json. The value is set to Guid.Empty"); - } - else - { - if (memberElementProperty.TryGetProperty("@id"u8, out var memberElementIdProperty)) - { - var propertyValue = memberElementIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.MemberElement = Guid.Parse(propertyValue); - } - } - } - } - else - { - logger.LogDebug("the memberElement Json property was not found in the FeatureMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("memberName"u8, out var memberNameProperty)) - { - dtoInstance.MemberName = memberNameProperty.GetString(); - } - else - { - logger.LogDebug("the memberName Json property was not found in the FeatureMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("memberShortName"u8, out var memberShortNameProperty)) - { - dtoInstance.MemberShortName = memberShortNameProperty.GetString(); - } - else - { - logger.LogDebug("the memberShortName Json property was not found in the FeatureMembership: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("ownedRelatedElement"u8, out var ownedRelatedElementProperty)) { foreach (var arrayItem in ownedRelatedElementProperty.EnumerateArray()) @@ -289,46 +246,6 @@ internal static IFeatureMembership DeSerialize(JsonElement jsonElement, Serializ logger.LogDebug("the owningRelationship Json property was not found in the FeatureMembership: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the FeatureMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the FeatureMembership: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("visibility"u8, out var visibilityProperty)) { dtoInstance.Visibility = VisibilityKindDeSerializer.Deserialize(visibilityProperty.GetString()); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FeatureReferenceExpressionDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FeatureReferenceExpressionDeSerializer.cs index 79877d5c..1b26c92a 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FeatureReferenceExpressionDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FeatureReferenceExpressionDeSerializer.cs @@ -69,7 +69,7 @@ internal static IFeatureReferenceExpression DeSerialize(JsonElement jsonElement, throw new InvalidOperationException($"The FeatureReferenceExpressionDeSerializer can only be used to deserialize objects of type IFeatureReferenceExpression, a {@type.GetString()} was provided"); } - IFeatureReferenceExpression dtoInstance = new SysML2.NET.Core.DTO.Kernel.Expressions.FeatureReferenceExpression(); + var dtoInstance = new SysML2.NET.Core.DTO.Kernel.Expressions.FeatureReferenceExpression(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FeatureTypingDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FeatureTypingDeSerializer.cs index eb2ac265..aac7455a 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FeatureTypingDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FeatureTypingDeSerializer.cs @@ -69,7 +69,7 @@ internal static IFeatureTyping DeSerialize(JsonElement jsonElement, Serializatio throw new InvalidOperationException($"The FeatureTypingDeSerializer can only be used to deserialize objects of type IFeatureTyping, a {@type.GetString()} was provided"); } - IFeatureTyping dtoInstance = new SysML2.NET.Core.DTO.Core.Features.FeatureTyping(); + var dtoInstance = new SysML2.NET.Core.DTO.Core.Features.FeatureTyping(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -134,31 +134,6 @@ internal static IFeatureTyping DeSerialize(JsonElement jsonElement, Serializatio logger.LogDebug("the elementId Json property was not found in the FeatureTyping: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("general"u8, out var generalProperty)) - { - if (generalProperty.ValueKind == JsonValueKind.Null) - { - dtoInstance.General = Guid.Empty; - logger.LogDebug($"the FeatureTyping.General property was not found in the Json. The value is set to Guid.Empty"); - } - else - { - if (generalProperty.TryGetProperty("@id"u8, out var generalIdProperty)) - { - var propertyValue = generalIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.General = Guid.Parse(propertyValue); - } - } - } - } - else - { - logger.LogDebug("the general Json property was not found in the FeatureTyping: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isImplied"u8, out var isImpliedProperty)) { if (isImpliedProperty.ValueKind != JsonValueKind.Null) @@ -271,71 +246,6 @@ internal static IFeatureTyping DeSerialize(JsonElement jsonElement, Serializatio logger.LogDebug("the owningRelationship Json property was not found in the FeatureTyping: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the FeatureTyping: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("specific"u8, out var specificProperty)) - { - if (specificProperty.ValueKind == JsonValueKind.Null) - { - dtoInstance.Specific = Guid.Empty; - logger.LogDebug($"the FeatureTyping.Specific property was not found in the Json. The value is set to Guid.Empty"); - } - else - { - if (specificProperty.TryGetProperty("@id"u8, out var specificIdProperty)) - { - var propertyValue = specificIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Specific = Guid.Parse(propertyValue); - } - } - } - } - else - { - logger.LogDebug("the specific Json property was not found in the FeatureTyping: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the FeatureTyping: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("type"u8, out var typeProperty)) { if (typeProperty.ValueKind == JsonValueKind.Null) diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FeatureValueDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FeatureValueDeSerializer.cs index 1851b4b5..33efe48c 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FeatureValueDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FeatureValueDeSerializer.cs @@ -69,7 +69,7 @@ internal static IFeatureValue DeSerialize(JsonElement jsonElement, Serialization throw new InvalidOperationException($"The FeatureValueDeSerializer can only be used to deserialize objects of type IFeatureValue, a {@type.GetString()} was provided"); } - IFeatureValue dtoInstance = new SysML2.NET.Core.DTO.Kernel.FeatureValues.FeatureValue(); + var dtoInstance = new SysML2.NET.Core.DTO.Kernel.FeatureValues.FeatureValue(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -182,49 +182,6 @@ internal static IFeatureValue DeSerialize(JsonElement jsonElement, Serialization logger.LogDebug("the isInitial Json property was not found in the FeatureValue: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("memberElement"u8, out var memberElementProperty)) - { - if (memberElementProperty.ValueKind == JsonValueKind.Null) - { - dtoInstance.MemberElement = Guid.Empty; - logger.LogDebug($"the FeatureValue.MemberElement property was not found in the Json. The value is set to Guid.Empty"); - } - else - { - if (memberElementProperty.TryGetProperty("@id"u8, out var memberElementIdProperty)) - { - var propertyValue = memberElementIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.MemberElement = Guid.Parse(propertyValue); - } - } - } - } - else - { - logger.LogDebug("the memberElement Json property was not found in the FeatureValue: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("memberName"u8, out var memberNameProperty)) - { - dtoInstance.MemberName = memberNameProperty.GetString(); - } - else - { - logger.LogDebug("the memberName Json property was not found in the FeatureValue: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("memberShortName"u8, out var memberShortNameProperty)) - { - dtoInstance.MemberShortName = memberShortNameProperty.GetString(); - } - else - { - logger.LogDebug("the memberShortName Json property was not found in the FeatureValue: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("ownedRelatedElement"u8, out var ownedRelatedElementProperty)) { foreach (var arrayItem in ownedRelatedElementProperty.EnumerateArray()) @@ -313,46 +270,6 @@ internal static IFeatureValue DeSerialize(JsonElement jsonElement, Serialization logger.LogDebug("the owningRelationship Json property was not found in the FeatureValue: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the FeatureValue: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the FeatureValue: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("visibility"u8, out var visibilityProperty)) { dtoInstance.Visibility = VisibilityKindDeSerializer.Deserialize(visibilityProperty.GetString()); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FlowDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FlowDeSerializer.cs index 383661ad..8c84fbdc 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FlowDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FlowDeSerializer.cs @@ -69,7 +69,7 @@ internal static IFlow DeSerialize(JsonElement jsonElement, SerializationModeKind throw new InvalidOperationException($"The FlowDeSerializer can only be used to deserialize objects of type IFlow, a {@type.GetString()} was provided"); } - IFlow dtoInstance = new SysML2.NET.Core.DTO.Kernel.Interactions.Flow(); + var dtoInstance = new SysML2.NET.Core.DTO.Kernel.Interactions.Flow(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -375,46 +375,6 @@ internal static IFlow DeSerialize(JsonElement jsonElement, SerializationModeKind logger.LogDebug("the owningRelationship Json property was not found in the Flow: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the Flow: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the Flow: { Id }", dtoInstance.Id); - } - return dtoInstance; } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FlowDefinitionDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FlowDefinitionDeSerializer.cs index 45cebd1d..182dbf43 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FlowDefinitionDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FlowDefinitionDeSerializer.cs @@ -69,7 +69,7 @@ internal static IFlowDefinition DeSerialize(JsonElement jsonElement, Serializati throw new InvalidOperationException($"The FlowDefinitionDeSerializer can only be used to deserialize objects of type IFlowDefinition, a {@type.GetString()} was provided"); } - IFlowDefinition dtoInstance = new SysML2.NET.Core.DTO.Systems.Flows.FlowDefinition(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Flows.FlowDefinition(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -294,46 +294,6 @@ internal static IFlowDefinition DeSerialize(JsonElement jsonElement, Serializati logger.LogDebug("the owningRelationship Json property was not found in the FlowDefinition: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the FlowDefinition: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the FlowDefinition: { Id }", dtoInstance.Id); - } - return dtoInstance; } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FlowEndDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FlowEndDeSerializer.cs index 8ceb12aa..d718f14c 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FlowEndDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FlowEndDeSerializer.cs @@ -69,7 +69,7 @@ internal static IFlowEnd DeSerialize(JsonElement jsonElement, SerializationModeK throw new InvalidOperationException($"The FlowEndDeSerializer can only be used to deserialize objects of type IFlowEnd, a {@type.GetString()} was provided"); } - IFlowEnd dtoInstance = new SysML2.NET.Core.DTO.Kernel.Interactions.FlowEnd(); + var dtoInstance = new SysML2.NET.Core.DTO.Kernel.Interactions.FlowEnd(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FlowUsageDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FlowUsageDeSerializer.cs index 839a6771..b43f2f46 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FlowUsageDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FlowUsageDeSerializer.cs @@ -69,7 +69,7 @@ internal static IFlowUsage DeSerialize(JsonElement jsonElement, SerializationMod throw new InvalidOperationException($"The FlowUsageDeSerializer can only be used to deserialize objects of type IFlowUsage, a {@type.GetString()} was provided"); } - IFlowUsage dtoInstance = new SysML2.NET.Core.DTO.Systems.Flows.FlowUsage(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Flows.FlowUsage(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -287,18 +287,6 @@ internal static IFlowUsage DeSerialize(JsonElement jsonElement, SerializationMod logger.LogDebug("the isUnique Json property was not found in the FlowUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("isVariable"u8, out var isVariableProperty)) - { - if (isVariableProperty.ValueKind != JsonValueKind.Null) - { - dtoInstance.IsVariable = isVariableProperty.GetBoolean(); - } - } - else - { - logger.LogDebug("the isVariable Json property was not found in the FlowUsage: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isVariation"u8, out var isVariationProperty)) { if (isVariationProperty.ValueKind != JsonValueKind.Null) @@ -408,46 +396,6 @@ internal static IFlowUsage DeSerialize(JsonElement jsonElement, SerializationMod logger.LogDebug("the portionKind Json property was not found in the FlowUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the FlowUsage: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the FlowUsage: { Id }", dtoInstance.Id); - } - return dtoInstance; } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ForLoopActionUsageDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ForLoopActionUsageDeSerializer.cs index 45914550..448cfbe9 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ForLoopActionUsageDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ForLoopActionUsageDeSerializer.cs @@ -69,7 +69,7 @@ internal static IForLoopActionUsage DeSerialize(JsonElement jsonElement, Seriali throw new InvalidOperationException($"The ForLoopActionUsageDeSerializer can only be used to deserialize objects of type IForLoopActionUsage, a {@type.GetString()} was provided"); } - IForLoopActionUsage dtoInstance = new SysML2.NET.Core.DTO.Systems.Actions.ForLoopActionUsage(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Actions.ForLoopActionUsage(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -275,18 +275,6 @@ internal static IForLoopActionUsage DeSerialize(JsonElement jsonElement, Seriali logger.LogDebug("the isUnique Json property was not found in the ForLoopActionUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("isVariable"u8, out var isVariableProperty)) - { - if (isVariableProperty.ValueKind != JsonValueKind.Null) - { - dtoInstance.IsVariable = isVariableProperty.GetBoolean(); - } - } - else - { - logger.LogDebug("the isVariable Json property was not found in the ForLoopActionUsage: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isVariation"u8, out var isVariationProperty)) { if (isVariationProperty.ValueKind != JsonValueKind.Null) diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ForkNodeDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ForkNodeDeSerializer.cs index 9502b4e2..f839cde4 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ForkNodeDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ForkNodeDeSerializer.cs @@ -69,7 +69,7 @@ internal static IForkNode DeSerialize(JsonElement jsonElement, SerializationMode throw new InvalidOperationException($"The ForkNodeDeSerializer can only be used to deserialize objects of type IForkNode, a {@type.GetString()} was provided"); } - IForkNode dtoInstance = new SysML2.NET.Core.DTO.Systems.Actions.ForkNode(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Actions.ForkNode(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -275,18 +275,6 @@ internal static IForkNode DeSerialize(JsonElement jsonElement, SerializationMode logger.LogDebug("the isUnique Json property was not found in the ForkNode: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("isVariable"u8, out var isVariableProperty)) - { - if (isVariableProperty.ValueKind != JsonValueKind.Null) - { - dtoInstance.IsVariable = isVariableProperty.GetBoolean(); - } - } - else - { - logger.LogDebug("the isVariable Json property was not found in the ForkNode: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isVariation"u8, out var isVariationProperty)) { if (isVariationProperty.ValueKind != JsonValueKind.Null) diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FramedConcernMembershipDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FramedConcernMembershipDeSerializer.cs index d69cb138..33125b4f 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FramedConcernMembershipDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FramedConcernMembershipDeSerializer.cs @@ -69,7 +69,7 @@ internal static IFramedConcernMembership DeSerialize(JsonElement jsonElement, Se throw new InvalidOperationException($"The FramedConcernMembershipDeSerializer can only be used to deserialize objects of type IFramedConcernMembership, a {@type.GetString()} was provided"); } - IFramedConcernMembership dtoInstance = new SysML2.NET.Core.DTO.Systems.Requirements.FramedConcernMembership(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Requirements.FramedConcernMembership(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -167,49 +167,6 @@ internal static IFramedConcernMembership DeSerialize(JsonElement jsonElement, Se logger.LogDebug("the kind Json property was not found in the FramedConcernMembership: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("memberElement"u8, out var memberElementProperty)) - { - if (memberElementProperty.ValueKind == JsonValueKind.Null) - { - dtoInstance.MemberElement = Guid.Empty; - logger.LogDebug($"the FramedConcernMembership.MemberElement property was not found in the Json. The value is set to Guid.Empty"); - } - else - { - if (memberElementProperty.TryGetProperty("@id"u8, out var memberElementIdProperty)) - { - var propertyValue = memberElementIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.MemberElement = Guid.Parse(propertyValue); - } - } - } - } - else - { - logger.LogDebug("the memberElement Json property was not found in the FramedConcernMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("memberName"u8, out var memberNameProperty)) - { - dtoInstance.MemberName = memberNameProperty.GetString(); - } - else - { - logger.LogDebug("the memberName Json property was not found in the FramedConcernMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("memberShortName"u8, out var memberShortNameProperty)) - { - dtoInstance.MemberShortName = memberShortNameProperty.GetString(); - } - else - { - logger.LogDebug("the memberShortName Json property was not found in the FramedConcernMembership: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("ownedRelatedElement"u8, out var ownedRelatedElementProperty)) { foreach (var arrayItem in ownedRelatedElementProperty.EnumerateArray()) @@ -298,46 +255,6 @@ internal static IFramedConcernMembership DeSerialize(JsonElement jsonElement, Se logger.LogDebug("the owningRelationship Json property was not found in the FramedConcernMembership: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the FramedConcernMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the FramedConcernMembership: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("visibility"u8, out var visibilityProperty)) { dtoInstance.Visibility = VisibilityKindDeSerializer.Deserialize(visibilityProperty.GetString()); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FunctionDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FunctionDeSerializer.cs index 9249700c..d5f3e881 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FunctionDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/FunctionDeSerializer.cs @@ -69,7 +69,7 @@ internal static IFunction DeSerialize(JsonElement jsonElement, SerializationMode throw new InvalidOperationException($"The FunctionDeSerializer can only be used to deserialize objects of type IFunction, a {@type.GetString()} was provided"); } - IFunction dtoInstance = new SysML2.NET.Core.DTO.Kernel.Functions.Function(); + var dtoInstance = new SysML2.NET.Core.DTO.Kernel.Functions.Function(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/IfActionUsageDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/IfActionUsageDeSerializer.cs index d64601b2..3ba1613d 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/IfActionUsageDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/IfActionUsageDeSerializer.cs @@ -69,7 +69,7 @@ internal static IIfActionUsage DeSerialize(JsonElement jsonElement, Serializatio throw new InvalidOperationException($"The IfActionUsageDeSerializer can only be used to deserialize objects of type IIfActionUsage, a {@type.GetString()} was provided"); } - IIfActionUsage dtoInstance = new SysML2.NET.Core.DTO.Systems.Actions.IfActionUsage(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Actions.IfActionUsage(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -275,18 +275,6 @@ internal static IIfActionUsage DeSerialize(JsonElement jsonElement, Serializatio logger.LogDebug("the isUnique Json property was not found in the IfActionUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("isVariable"u8, out var isVariableProperty)) - { - if (isVariableProperty.ValueKind != JsonValueKind.Null) - { - dtoInstance.IsVariable = isVariableProperty.GetBoolean(); - } - } - else - { - logger.LogDebug("the isVariable Json property was not found in the IfActionUsage: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isVariation"u8, out var isVariationProperty)) { if (isVariationProperty.ValueKind != JsonValueKind.Null) diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/IncludeUseCaseUsageDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/IncludeUseCaseUsageDeSerializer.cs index 3db8b106..fe7bd23b 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/IncludeUseCaseUsageDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/IncludeUseCaseUsageDeSerializer.cs @@ -69,7 +69,7 @@ internal static IIncludeUseCaseUsage DeSerialize(JsonElement jsonElement, Serial throw new InvalidOperationException($"The IncludeUseCaseUsageDeSerializer can only be used to deserialize objects of type IIncludeUseCaseUsage, a {@type.GetString()} was provided"); } - IIncludeUseCaseUsage dtoInstance = new SysML2.NET.Core.DTO.Systems.UseCases.IncludeUseCaseUsage(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.UseCases.IncludeUseCaseUsage(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -275,18 +275,6 @@ internal static IIncludeUseCaseUsage DeSerialize(JsonElement jsonElement, Serial logger.LogDebug("the isUnique Json property was not found in the IncludeUseCaseUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("isVariable"u8, out var isVariableProperty)) - { - if (isVariableProperty.ValueKind != JsonValueKind.Null) - { - dtoInstance.IsVariable = isVariableProperty.GetBoolean(); - } - } - else - { - logger.LogDebug("the isVariable Json property was not found in the IncludeUseCaseUsage: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isVariation"u8, out var isVariationProperty)) { if (isVariationProperty.ValueKind != JsonValueKind.Null) diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/IndexExpressionDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/IndexExpressionDeSerializer.cs index f095414b..892e52e2 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/IndexExpressionDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/IndexExpressionDeSerializer.cs @@ -69,7 +69,7 @@ internal static IIndexExpression DeSerialize(JsonElement jsonElement, Serializat throw new InvalidOperationException($"The IndexExpressionDeSerializer can only be used to deserialize objects of type IIndexExpression, a {@type.GetString()} was provided"); } - IIndexExpression dtoInstance = new SysML2.NET.Core.DTO.Kernel.Expressions.IndexExpression(); + var dtoInstance = new SysML2.NET.Core.DTO.Kernel.Expressions.IndexExpression(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/InteractionDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/InteractionDeSerializer.cs index b9d09e04..d954d56a 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/InteractionDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/InteractionDeSerializer.cs @@ -69,7 +69,7 @@ internal static IInteraction DeSerialize(JsonElement jsonElement, SerializationM throw new InvalidOperationException($"The InteractionDeSerializer can only be used to deserialize objects of type IInteraction, a {@type.GetString()} was provided"); } - IInteraction dtoInstance = new SysML2.NET.Core.DTO.Kernel.Interactions.Interaction(); + var dtoInstance = new SysML2.NET.Core.DTO.Kernel.Interactions.Interaction(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -270,46 +270,6 @@ internal static IInteraction DeSerialize(JsonElement jsonElement, SerializationM logger.LogDebug("the owningRelationship Json property was not found in the Interaction: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the Interaction: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the Interaction: { Id }", dtoInstance.Id); - } - return dtoInstance; } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/InterfaceDefinitionDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/InterfaceDefinitionDeSerializer.cs index e5c2626c..ecf72472 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/InterfaceDefinitionDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/InterfaceDefinitionDeSerializer.cs @@ -69,7 +69,7 @@ internal static IInterfaceDefinition DeSerialize(JsonElement jsonElement, Serial throw new InvalidOperationException($"The InterfaceDefinitionDeSerializer can only be used to deserialize objects of type IInterfaceDefinition, a {@type.GetString()} was provided"); } - IInterfaceDefinition dtoInstance = new SysML2.NET.Core.DTO.Systems.Interfaces.InterfaceDefinition(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Interfaces.InterfaceDefinition(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -294,46 +294,6 @@ internal static IInterfaceDefinition DeSerialize(JsonElement jsonElement, Serial logger.LogDebug("the owningRelationship Json property was not found in the InterfaceDefinition: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the InterfaceDefinition: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the InterfaceDefinition: { Id }", dtoInstance.Id); - } - return dtoInstance; } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/InterfaceUsageDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/InterfaceUsageDeSerializer.cs index 370b5843..d7ddcaa3 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/InterfaceUsageDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/InterfaceUsageDeSerializer.cs @@ -69,7 +69,7 @@ internal static IInterfaceUsage DeSerialize(JsonElement jsonElement, Serializati throw new InvalidOperationException($"The InterfaceUsageDeSerializer can only be used to deserialize objects of type IInterfaceUsage, a {@type.GetString()} was provided"); } - IInterfaceUsage dtoInstance = new SysML2.NET.Core.DTO.Systems.Interfaces.InterfaceUsage(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Interfaces.InterfaceUsage(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -287,18 +287,6 @@ internal static IInterfaceUsage DeSerialize(JsonElement jsonElement, Serializati logger.LogDebug("the isUnique Json property was not found in the InterfaceUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("isVariable"u8, out var isVariableProperty)) - { - if (isVariableProperty.ValueKind != JsonValueKind.Null) - { - dtoInstance.IsVariable = isVariableProperty.GetBoolean(); - } - } - else - { - logger.LogDebug("the isVariable Json property was not found in the InterfaceUsage: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isVariation"u8, out var isVariationProperty)) { if (isVariationProperty.ValueKind != JsonValueKind.Null) @@ -408,46 +396,6 @@ internal static IInterfaceUsage DeSerialize(JsonElement jsonElement, Serializati logger.LogDebug("the portionKind Json property was not found in the InterfaceUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the InterfaceUsage: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the InterfaceUsage: { Id }", dtoInstance.Id); - } - return dtoInstance; } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/IntersectingDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/IntersectingDeSerializer.cs index b4980ef3..f888ae30 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/IntersectingDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/IntersectingDeSerializer.cs @@ -69,7 +69,7 @@ internal static IIntersecting DeSerialize(JsonElement jsonElement, Serialization throw new InvalidOperationException($"The IntersectingDeSerializer can only be used to deserialize objects of type IIntersecting, a {@type.GetString()} was provided"); } - IIntersecting dtoInstance = new SysML2.NET.Core.DTO.Core.Types.Intersecting(); + var dtoInstance = new SysML2.NET.Core.DTO.Core.Types.Intersecting(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -271,46 +271,6 @@ internal static IIntersecting DeSerialize(JsonElement jsonElement, Serialization logger.LogDebug("the owningRelationship Json property was not found in the Intersecting: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the Intersecting: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the Intersecting: { Id }", dtoInstance.Id); - } - return dtoInstance; } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/InvariantDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/InvariantDeSerializer.cs index 777c1cc9..5e66eab3 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/InvariantDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/InvariantDeSerializer.cs @@ -69,7 +69,7 @@ internal static IInvariant DeSerialize(JsonElement jsonElement, SerializationMod throw new InvalidOperationException($"The InvariantDeSerializer can only be used to deserialize objects of type IInvariant, a {@type.GetString()} was provided"); } - IInvariant dtoInstance = new SysML2.NET.Core.DTO.Kernel.Functions.Invariant(); + var dtoInstance = new SysML2.NET.Core.DTO.Kernel.Functions.Invariant(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/InvocationExpressionDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/InvocationExpressionDeSerializer.cs index afb8b4de..eccdfe02 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/InvocationExpressionDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/InvocationExpressionDeSerializer.cs @@ -69,7 +69,7 @@ internal static IInvocationExpression DeSerialize(JsonElement jsonElement, Seria throw new InvalidOperationException($"The InvocationExpressionDeSerializer can only be used to deserialize objects of type IInvocationExpression, a {@type.GetString()} was provided"); } - IInvocationExpression dtoInstance = new SysML2.NET.Core.DTO.Kernel.Expressions.InvocationExpression(); + var dtoInstance = new SysML2.NET.Core.DTO.Kernel.Expressions.InvocationExpression(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ItemDefinitionDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ItemDefinitionDeSerializer.cs index 73f87b25..03e44281 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ItemDefinitionDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ItemDefinitionDeSerializer.cs @@ -69,7 +69,7 @@ internal static IItemDefinition DeSerialize(JsonElement jsonElement, Serializati throw new InvalidOperationException($"The ItemDefinitionDeSerializer can only be used to deserialize objects of type IItemDefinition, a {@type.GetString()} was provided"); } - IItemDefinition dtoInstance = new SysML2.NET.Core.DTO.Systems.Items.ItemDefinition(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Items.ItemDefinition(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ItemUsageDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ItemUsageDeSerializer.cs index 8a4beced..103e6c71 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ItemUsageDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ItemUsageDeSerializer.cs @@ -69,7 +69,7 @@ internal static IItemUsage DeSerialize(JsonElement jsonElement, SerializationMod throw new InvalidOperationException($"The ItemUsageDeSerializer can only be used to deserialize objects of type IItemUsage, a {@type.GetString()} was provided"); } - IItemUsage dtoInstance = new SysML2.NET.Core.DTO.Systems.Items.ItemUsage(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Items.ItemUsage(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -275,18 +275,6 @@ internal static IItemUsage DeSerialize(JsonElement jsonElement, SerializationMod logger.LogDebug("the isUnique Json property was not found in the ItemUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("isVariable"u8, out var isVariableProperty)) - { - if (isVariableProperty.ValueKind != JsonValueKind.Null) - { - dtoInstance.IsVariable = isVariableProperty.GetBoolean(); - } - } - else - { - logger.LogDebug("the isVariable Json property was not found in the ItemUsage: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isVariation"u8, out var isVariationProperty)) { if (isVariationProperty.ValueKind != JsonValueKind.Null) diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/JoinNodeDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/JoinNodeDeSerializer.cs index dcd25901..7ea1dd57 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/JoinNodeDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/JoinNodeDeSerializer.cs @@ -69,7 +69,7 @@ internal static IJoinNode DeSerialize(JsonElement jsonElement, SerializationMode throw new InvalidOperationException($"The JoinNodeDeSerializer can only be used to deserialize objects of type IJoinNode, a {@type.GetString()} was provided"); } - IJoinNode dtoInstance = new SysML2.NET.Core.DTO.Systems.Actions.JoinNode(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Actions.JoinNode(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -275,18 +275,6 @@ internal static IJoinNode DeSerialize(JsonElement jsonElement, SerializationMode logger.LogDebug("the isUnique Json property was not found in the JoinNode: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("isVariable"u8, out var isVariableProperty)) - { - if (isVariableProperty.ValueKind != JsonValueKind.Null) - { - dtoInstance.IsVariable = isVariableProperty.GetBoolean(); - } - } - else - { - logger.LogDebug("the isVariable Json property was not found in the JoinNode: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isVariation"u8, out var isVariationProperty)) { if (isVariationProperty.ValueKind != JsonValueKind.Null) diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/LibraryPackageDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/LibraryPackageDeSerializer.cs index bea3b94a..8d472efd 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/LibraryPackageDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/LibraryPackageDeSerializer.cs @@ -69,7 +69,7 @@ internal static ILibraryPackage DeSerialize(JsonElement jsonElement, Serializati throw new InvalidOperationException($"The LibraryPackageDeSerializer can only be used to deserialize objects of type ILibraryPackage, a {@type.GetString()} was provided"); } - ILibraryPackage dtoInstance = new SysML2.NET.Core.DTO.Kernel.Packages.LibraryPackage(); + var dtoInstance = new SysML2.NET.Core.DTO.Kernel.Packages.LibraryPackage(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/LiteralBooleanDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/LiteralBooleanDeSerializer.cs index 9b7db454..4f29c717 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/LiteralBooleanDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/LiteralBooleanDeSerializer.cs @@ -69,7 +69,7 @@ internal static ILiteralBoolean DeSerialize(JsonElement jsonElement, Serializati throw new InvalidOperationException($"The LiteralBooleanDeSerializer can only be used to deserialize objects of type ILiteralBoolean, a {@type.GetString()} was provided"); } - ILiteralBoolean dtoInstance = new SysML2.NET.Core.DTO.Kernel.Expressions.LiteralBoolean(); + var dtoInstance = new SysML2.NET.Core.DTO.Kernel.Expressions.LiteralBoolean(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/LiteralExpressionDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/LiteralExpressionDeSerializer.cs index dfe9bbfa..3d631d6f 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/LiteralExpressionDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/LiteralExpressionDeSerializer.cs @@ -69,7 +69,7 @@ internal static ILiteralExpression DeSerialize(JsonElement jsonElement, Serializ throw new InvalidOperationException($"The LiteralExpressionDeSerializer can only be used to deserialize objects of type ILiteralExpression, a {@type.GetString()} was provided"); } - ILiteralExpression dtoInstance = new SysML2.NET.Core.DTO.Kernel.Expressions.LiteralExpression(); + var dtoInstance = new SysML2.NET.Core.DTO.Kernel.Expressions.LiteralExpression(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/LiteralInfinityDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/LiteralInfinityDeSerializer.cs index bc07b28c..8b849d15 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/LiteralInfinityDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/LiteralInfinityDeSerializer.cs @@ -69,7 +69,7 @@ internal static ILiteralInfinity DeSerialize(JsonElement jsonElement, Serializat throw new InvalidOperationException($"The LiteralInfinityDeSerializer can only be used to deserialize objects of type ILiteralInfinity, a {@type.GetString()} was provided"); } - ILiteralInfinity dtoInstance = new SysML2.NET.Core.DTO.Kernel.Expressions.LiteralInfinity(); + var dtoInstance = new SysML2.NET.Core.DTO.Kernel.Expressions.LiteralInfinity(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/LiteralIntegerDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/LiteralIntegerDeSerializer.cs index ec011712..908ac708 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/LiteralIntegerDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/LiteralIntegerDeSerializer.cs @@ -69,7 +69,7 @@ internal static ILiteralInteger DeSerialize(JsonElement jsonElement, Serializati throw new InvalidOperationException($"The LiteralIntegerDeSerializer can only be used to deserialize objects of type ILiteralInteger, a {@type.GetString()} was provided"); } - ILiteralInteger dtoInstance = new SysML2.NET.Core.DTO.Kernel.Expressions.LiteralInteger(); + var dtoInstance = new SysML2.NET.Core.DTO.Kernel.Expressions.LiteralInteger(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/LiteralRationalDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/LiteralRationalDeSerializer.cs index 19cbe9d3..9eea58d6 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/LiteralRationalDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/LiteralRationalDeSerializer.cs @@ -69,7 +69,7 @@ internal static ILiteralRational DeSerialize(JsonElement jsonElement, Serializat throw new InvalidOperationException($"The LiteralRationalDeSerializer can only be used to deserialize objects of type ILiteralRational, a {@type.GetString()} was provided"); } - ILiteralRational dtoInstance = new SysML2.NET.Core.DTO.Kernel.Expressions.LiteralRational(); + var dtoInstance = new SysML2.NET.Core.DTO.Kernel.Expressions.LiteralRational(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/LiteralStringDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/LiteralStringDeSerializer.cs index a4190570..3365a471 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/LiteralStringDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/LiteralStringDeSerializer.cs @@ -69,7 +69,7 @@ internal static ILiteralString DeSerialize(JsonElement jsonElement, Serializatio throw new InvalidOperationException($"The LiteralStringDeSerializer can only be used to deserialize objects of type ILiteralString, a {@type.GetString()} was provided"); } - ILiteralString dtoInstance = new SysML2.NET.Core.DTO.Kernel.Expressions.LiteralString(); + var dtoInstance = new SysML2.NET.Core.DTO.Kernel.Expressions.LiteralString(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/MembershipDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/MembershipDeSerializer.cs index 5ca1793b..226684a5 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/MembershipDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/MembershipDeSerializer.cs @@ -69,7 +69,7 @@ internal static IMembership DeSerialize(JsonElement jsonElement, SerializationMo throw new InvalidOperationException($"The MembershipDeSerializer can only be used to deserialize objects of type IMembership, a {@type.GetString()} was provided"); } - IMembership dtoInstance = new SysML2.NET.Core.DTO.Root.Namespaces.Membership(); + var dtoInstance = new SysML2.NET.Core.DTO.Root.Namespaces.Membership(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -289,46 +289,6 @@ internal static IMembership DeSerialize(JsonElement jsonElement, SerializationMo logger.LogDebug("the owningRelationship Json property was not found in the Membership: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the Membership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the Membership: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("visibility"u8, out var visibilityProperty)) { dtoInstance.Visibility = VisibilityKindDeSerializer.Deserialize(visibilityProperty.GetString()); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/MembershipExposeDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/MembershipExposeDeSerializer.cs index 24d1ecb0..33e5500b 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/MembershipExposeDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/MembershipExposeDeSerializer.cs @@ -69,7 +69,7 @@ internal static IMembershipExpose DeSerialize(JsonElement jsonElement, Serializa throw new InvalidOperationException($"The MembershipExposeDeSerializer can only be used to deserialize objects of type IMembershipExpose, a {@type.GetString()} was provided"); } - IMembershipExpose dtoInstance = new SysML2.NET.Core.DTO.Systems.Views.MembershipExpose(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Views.MembershipExpose(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -295,46 +295,6 @@ internal static IMembershipExpose DeSerialize(JsonElement jsonElement, Serializa logger.LogDebug("the owningRelationship Json property was not found in the MembershipExpose: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the MembershipExpose: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the MembershipExpose: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("visibility"u8, out var visibilityProperty)) { dtoInstance.Visibility = VisibilityKindDeSerializer.Deserialize(visibilityProperty.GetString()); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/MembershipImportDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/MembershipImportDeSerializer.cs index 8412029e..4441f6ef 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/MembershipImportDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/MembershipImportDeSerializer.cs @@ -69,7 +69,7 @@ internal static IMembershipImport DeSerialize(JsonElement jsonElement, Serializa throw new InvalidOperationException($"The MembershipImportDeSerializer can only be used to deserialize objects of type IMembershipImport, a {@type.GetString()} was provided"); } - IMembershipImport dtoInstance = new SysML2.NET.Core.DTO.Root.Namespaces.MembershipImport(); + var dtoInstance = new SysML2.NET.Core.DTO.Root.Namespaces.MembershipImport(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -295,46 +295,6 @@ internal static IMembershipImport DeSerialize(JsonElement jsonElement, Serializa logger.LogDebug("the owningRelationship Json property was not found in the MembershipImport: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the MembershipImport: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the MembershipImport: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("visibility"u8, out var visibilityProperty)) { dtoInstance.Visibility = VisibilityKindDeSerializer.Deserialize(visibilityProperty.GetString()); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/MergeNodeDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/MergeNodeDeSerializer.cs index 58c70cf3..136652fe 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/MergeNodeDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/MergeNodeDeSerializer.cs @@ -69,7 +69,7 @@ internal static IMergeNode DeSerialize(JsonElement jsonElement, SerializationMod throw new InvalidOperationException($"The MergeNodeDeSerializer can only be used to deserialize objects of type IMergeNode, a {@type.GetString()} was provided"); } - IMergeNode dtoInstance = new SysML2.NET.Core.DTO.Systems.Actions.MergeNode(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Actions.MergeNode(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -275,18 +275,6 @@ internal static IMergeNode DeSerialize(JsonElement jsonElement, SerializationMod logger.LogDebug("the isUnique Json property was not found in the MergeNode: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("isVariable"u8, out var isVariableProperty)) - { - if (isVariableProperty.ValueKind != JsonValueKind.Null) - { - dtoInstance.IsVariable = isVariableProperty.GetBoolean(); - } - } - else - { - logger.LogDebug("the isVariable Json property was not found in the MergeNode: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isVariation"u8, out var isVariationProperty)) { if (isVariationProperty.ValueKind != JsonValueKind.Null) diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/MetaclassDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/MetaclassDeSerializer.cs index 13a9efcd..8f97a705 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/MetaclassDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/MetaclassDeSerializer.cs @@ -69,7 +69,7 @@ internal static IMetaclass DeSerialize(JsonElement jsonElement, SerializationMod throw new InvalidOperationException($"The MetaclassDeSerializer can only be used to deserialize objects of type IMetaclass, a {@type.GetString()} was provided"); } - IMetaclass dtoInstance = new SysML2.NET.Core.DTO.Kernel.Metadata.Metaclass(); + var dtoInstance = new SysML2.NET.Core.DTO.Kernel.Metadata.Metaclass(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/MetadataAccessExpressionDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/MetadataAccessExpressionDeSerializer.cs index fb3c6830..968b3bf9 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/MetadataAccessExpressionDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/MetadataAccessExpressionDeSerializer.cs @@ -69,7 +69,7 @@ internal static IMetadataAccessExpression DeSerialize(JsonElement jsonElement, S throw new InvalidOperationException($"The MetadataAccessExpressionDeSerializer can only be used to deserialize objects of type IMetadataAccessExpression, a {@type.GetString()} was provided"); } - IMetadataAccessExpression dtoInstance = new SysML2.NET.Core.DTO.Kernel.Expressions.MetadataAccessExpression(); + var dtoInstance = new SysML2.NET.Core.DTO.Kernel.Expressions.MetadataAccessExpression(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/MetadataDefinitionDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/MetadataDefinitionDeSerializer.cs index ea6ba494..d04d0b5f 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/MetadataDefinitionDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/MetadataDefinitionDeSerializer.cs @@ -69,7 +69,7 @@ internal static IMetadataDefinition DeSerialize(JsonElement jsonElement, Seriali throw new InvalidOperationException($"The MetadataDefinitionDeSerializer can only be used to deserialize objects of type IMetadataDefinition, a {@type.GetString()} was provided"); } - IMetadataDefinition dtoInstance = new SysML2.NET.Core.DTO.Systems.Metadata.MetadataDefinition(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Metadata.MetadataDefinition(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/MetadataFeatureDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/MetadataFeatureDeSerializer.cs index 47189eba..f7efbd7c 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/MetadataFeatureDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/MetadataFeatureDeSerializer.cs @@ -69,7 +69,7 @@ internal static IMetadataFeature DeSerialize(JsonElement jsonElement, Serializat throw new InvalidOperationException($"The MetadataFeatureDeSerializer can only be used to deserialize objects of type IMetadataFeature, a {@type.GetString()} was provided"); } - IMetadataFeature dtoInstance = new SysML2.NET.Core.DTO.Kernel.Metadata.MetadataFeature(); + var dtoInstance = new SysML2.NET.Core.DTO.Kernel.Metadata.MetadataFeature(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/MetadataUsageDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/MetadataUsageDeSerializer.cs index 0b75f2ec..0256a7de 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/MetadataUsageDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/MetadataUsageDeSerializer.cs @@ -69,7 +69,7 @@ internal static IMetadataUsage DeSerialize(JsonElement jsonElement, Serializatio throw new InvalidOperationException($"The MetadataUsageDeSerializer can only be used to deserialize objects of type IMetadataUsage, a {@type.GetString()} was provided"); } - IMetadataUsage dtoInstance = new SysML2.NET.Core.DTO.Systems.Metadata.MetadataUsage(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Metadata.MetadataUsage(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -275,18 +275,6 @@ internal static IMetadataUsage DeSerialize(JsonElement jsonElement, Serializatio logger.LogDebug("the isUnique Json property was not found in the MetadataUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("isVariable"u8, out var isVariableProperty)) - { - if (isVariableProperty.ValueKind != JsonValueKind.Null) - { - dtoInstance.IsVariable = isVariableProperty.GetBoolean(); - } - } - else - { - logger.LogDebug("the isVariable Json property was not found in the MetadataUsage: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isVariation"u8, out var isVariationProperty)) { if (isVariationProperty.ValueKind != JsonValueKind.Null) diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/MultiplicityDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/MultiplicityDeSerializer.cs index 29e85838..62f6a7a2 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/MultiplicityDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/MultiplicityDeSerializer.cs @@ -69,7 +69,7 @@ internal static IMultiplicity DeSerialize(JsonElement jsonElement, Serialization throw new InvalidOperationException($"The MultiplicityDeSerializer can only be used to deserialize objects of type IMultiplicity, a {@type.GetString()} was provided"); } - IMultiplicity dtoInstance = new SysML2.NET.Core.DTO.Core.Types.Multiplicity(); + var dtoInstance = new SysML2.NET.Core.DTO.Core.Types.Multiplicity(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/MultiplicityRangeDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/MultiplicityRangeDeSerializer.cs index a710a314..8937878d 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/MultiplicityRangeDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/MultiplicityRangeDeSerializer.cs @@ -69,7 +69,7 @@ internal static IMultiplicityRange DeSerialize(JsonElement jsonElement, Serializ throw new InvalidOperationException($"The MultiplicityRangeDeSerializer can only be used to deserialize objects of type IMultiplicityRange, a {@type.GetString()} was provided"); } - IMultiplicityRange dtoInstance = new SysML2.NET.Core.DTO.Kernel.Multiplicities.MultiplicityRange(); + var dtoInstance = new SysML2.NET.Core.DTO.Kernel.Multiplicities.MultiplicityRange(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/NamespaceDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/NamespaceDeSerializer.cs index 4e2a1ad7..159937c4 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/NamespaceDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/NamespaceDeSerializer.cs @@ -69,7 +69,7 @@ internal static INamespace DeSerialize(JsonElement jsonElement, SerializationMod throw new InvalidOperationException($"The NamespaceDeSerializer can only be used to deserialize objects of type INamespace, a {@type.GetString()} was provided"); } - INamespace dtoInstance = new SysML2.NET.Core.DTO.Root.Namespaces.Namespace(); + var dtoInstance = new SysML2.NET.Core.DTO.Root.Namespaces.Namespace(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/NamespaceExposeDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/NamespaceExposeDeSerializer.cs index 258e2174..55991e3f 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/NamespaceExposeDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/NamespaceExposeDeSerializer.cs @@ -69,7 +69,7 @@ internal static INamespaceExpose DeSerialize(JsonElement jsonElement, Serializat throw new InvalidOperationException($"The NamespaceExposeDeSerializer can only be used to deserialize objects of type INamespaceExpose, a {@type.GetString()} was provided"); } - INamespaceExpose dtoInstance = new SysML2.NET.Core.DTO.Systems.Views.NamespaceExpose(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Views.NamespaceExpose(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -295,46 +295,6 @@ internal static INamespaceExpose DeSerialize(JsonElement jsonElement, Serializat logger.LogDebug("the owningRelationship Json property was not found in the NamespaceExpose: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the NamespaceExpose: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the NamespaceExpose: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("visibility"u8, out var visibilityProperty)) { dtoInstance.Visibility = VisibilityKindDeSerializer.Deserialize(visibilityProperty.GetString()); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/NamespaceImportDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/NamespaceImportDeSerializer.cs index 4d4fc952..d224f0ba 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/NamespaceImportDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/NamespaceImportDeSerializer.cs @@ -69,7 +69,7 @@ internal static INamespaceImport DeSerialize(JsonElement jsonElement, Serializat throw new InvalidOperationException($"The NamespaceImportDeSerializer can only be used to deserialize objects of type INamespaceImport, a {@type.GetString()} was provided"); } - INamespaceImport dtoInstance = new SysML2.NET.Core.DTO.Root.Namespaces.NamespaceImport(); + var dtoInstance = new SysML2.NET.Core.DTO.Root.Namespaces.NamespaceImport(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -295,46 +295,6 @@ internal static INamespaceImport DeSerialize(JsonElement jsonElement, Serializat logger.LogDebug("the owningRelationship Json property was not found in the NamespaceImport: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the NamespaceImport: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the NamespaceImport: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("visibility"u8, out var visibilityProperty)) { dtoInstance.Visibility = VisibilityKindDeSerializer.Deserialize(visibilityProperty.GetString()); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/NullExpressionDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/NullExpressionDeSerializer.cs index 5ab05009..66a66e97 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/NullExpressionDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/NullExpressionDeSerializer.cs @@ -69,7 +69,7 @@ internal static INullExpression DeSerialize(JsonElement jsonElement, Serializati throw new InvalidOperationException($"The NullExpressionDeSerializer can only be used to deserialize objects of type INullExpression, a {@type.GetString()} was provided"); } - INullExpression dtoInstance = new SysML2.NET.Core.DTO.Kernel.Expressions.NullExpression(); + var dtoInstance = new SysML2.NET.Core.DTO.Kernel.Expressions.NullExpression(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ObjectiveMembershipDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ObjectiveMembershipDeSerializer.cs index c06db0d4..12d7d015 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ObjectiveMembershipDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ObjectiveMembershipDeSerializer.cs @@ -69,7 +69,7 @@ internal static IObjectiveMembership DeSerialize(JsonElement jsonElement, Serial throw new InvalidOperationException($"The ObjectiveMembershipDeSerializer can only be used to deserialize objects of type IObjectiveMembership, a {@type.GetString()} was provided"); } - IObjectiveMembership dtoInstance = new SysML2.NET.Core.DTO.Systems.Cases.ObjectiveMembership(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Cases.ObjectiveMembership(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -158,49 +158,6 @@ internal static IObjectiveMembership DeSerialize(JsonElement jsonElement, Serial logger.LogDebug("the isImpliedIncluded Json property was not found in the ObjectiveMembership: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("memberElement"u8, out var memberElementProperty)) - { - if (memberElementProperty.ValueKind == JsonValueKind.Null) - { - dtoInstance.MemberElement = Guid.Empty; - logger.LogDebug($"the ObjectiveMembership.MemberElement property was not found in the Json. The value is set to Guid.Empty"); - } - else - { - if (memberElementProperty.TryGetProperty("@id"u8, out var memberElementIdProperty)) - { - var propertyValue = memberElementIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.MemberElement = Guid.Parse(propertyValue); - } - } - } - } - else - { - logger.LogDebug("the memberElement Json property was not found in the ObjectiveMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("memberName"u8, out var memberNameProperty)) - { - dtoInstance.MemberName = memberNameProperty.GetString(); - } - else - { - logger.LogDebug("the memberName Json property was not found in the ObjectiveMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("memberShortName"u8, out var memberShortNameProperty)) - { - dtoInstance.MemberShortName = memberShortNameProperty.GetString(); - } - else - { - logger.LogDebug("the memberShortName Json property was not found in the ObjectiveMembership: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("ownedRelatedElement"u8, out var ownedRelatedElementProperty)) { foreach (var arrayItem in ownedRelatedElementProperty.EnumerateArray()) @@ -289,46 +246,6 @@ internal static IObjectiveMembership DeSerialize(JsonElement jsonElement, Serial logger.LogDebug("the owningRelationship Json property was not found in the ObjectiveMembership: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the ObjectiveMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the ObjectiveMembership: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("visibility"u8, out var visibilityProperty)) { dtoInstance.Visibility = VisibilityKindDeSerializer.Deserialize(visibilityProperty.GetString()); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/OccurrenceDefinitionDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/OccurrenceDefinitionDeSerializer.cs index 7fa51501..a2d90a3a 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/OccurrenceDefinitionDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/OccurrenceDefinitionDeSerializer.cs @@ -69,7 +69,7 @@ internal static IOccurrenceDefinition DeSerialize(JsonElement jsonElement, Seria throw new InvalidOperationException($"The OccurrenceDefinitionDeSerializer can only be used to deserialize objects of type IOccurrenceDefinition, a {@type.GetString()} was provided"); } - IOccurrenceDefinition dtoInstance = new SysML2.NET.Core.DTO.Systems.Occurrences.OccurrenceDefinition(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Occurrences.OccurrenceDefinition(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/OccurrenceUsageDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/OccurrenceUsageDeSerializer.cs index 823f39fc..1ec5b3c7 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/OccurrenceUsageDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/OccurrenceUsageDeSerializer.cs @@ -69,7 +69,7 @@ internal static IOccurrenceUsage DeSerialize(JsonElement jsonElement, Serializat throw new InvalidOperationException($"The OccurrenceUsageDeSerializer can only be used to deserialize objects of type IOccurrenceUsage, a {@type.GetString()} was provided"); } - IOccurrenceUsage dtoInstance = new SysML2.NET.Core.DTO.Systems.Occurrences.OccurrenceUsage(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Occurrences.OccurrenceUsage(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -275,18 +275,6 @@ internal static IOccurrenceUsage DeSerialize(JsonElement jsonElement, Serializat logger.LogDebug("the isUnique Json property was not found in the OccurrenceUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("isVariable"u8, out var isVariableProperty)) - { - if (isVariableProperty.ValueKind != JsonValueKind.Null) - { - dtoInstance.IsVariable = isVariableProperty.GetBoolean(); - } - } - else - { - logger.LogDebug("the isVariable Json property was not found in the OccurrenceUsage: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isVariation"u8, out var isVariationProperty)) { if (isVariationProperty.ValueKind != JsonValueKind.Null) diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/OperatorExpressionDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/OperatorExpressionDeSerializer.cs index 470476d0..07f3f3e8 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/OperatorExpressionDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/OperatorExpressionDeSerializer.cs @@ -69,7 +69,7 @@ internal static IOperatorExpression DeSerialize(JsonElement jsonElement, Seriali throw new InvalidOperationException($"The OperatorExpressionDeSerializer can only be used to deserialize objects of type IOperatorExpression, a {@type.GetString()} was provided"); } - IOperatorExpression dtoInstance = new SysML2.NET.Core.DTO.Kernel.Expressions.OperatorExpression(); + var dtoInstance = new SysML2.NET.Core.DTO.Kernel.Expressions.OperatorExpression(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/OwningMembershipDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/OwningMembershipDeSerializer.cs index 987d8e7c..470744df 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/OwningMembershipDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/OwningMembershipDeSerializer.cs @@ -69,7 +69,7 @@ internal static IOwningMembership DeSerialize(JsonElement jsonElement, Serializa throw new InvalidOperationException($"The OwningMembershipDeSerializer can only be used to deserialize objects of type IOwningMembership, a {@type.GetString()} was provided"); } - IOwningMembership dtoInstance = new SysML2.NET.Core.DTO.Root.Namespaces.OwningMembership(); + var dtoInstance = new SysML2.NET.Core.DTO.Root.Namespaces.OwningMembership(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -158,49 +158,6 @@ internal static IOwningMembership DeSerialize(JsonElement jsonElement, Serializa logger.LogDebug("the isImpliedIncluded Json property was not found in the OwningMembership: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("memberElement"u8, out var memberElementProperty)) - { - if (memberElementProperty.ValueKind == JsonValueKind.Null) - { - dtoInstance.MemberElement = Guid.Empty; - logger.LogDebug($"the OwningMembership.MemberElement property was not found in the Json. The value is set to Guid.Empty"); - } - else - { - if (memberElementProperty.TryGetProperty("@id"u8, out var memberElementIdProperty)) - { - var propertyValue = memberElementIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.MemberElement = Guid.Parse(propertyValue); - } - } - } - } - else - { - logger.LogDebug("the memberElement Json property was not found in the OwningMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("memberName"u8, out var memberNameProperty)) - { - dtoInstance.MemberName = memberNameProperty.GetString(); - } - else - { - logger.LogDebug("the memberName Json property was not found in the OwningMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("memberShortName"u8, out var memberShortNameProperty)) - { - dtoInstance.MemberShortName = memberShortNameProperty.GetString(); - } - else - { - logger.LogDebug("the memberShortName Json property was not found in the OwningMembership: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("ownedRelatedElement"u8, out var ownedRelatedElementProperty)) { foreach (var arrayItem in ownedRelatedElementProperty.EnumerateArray()) @@ -289,46 +246,6 @@ internal static IOwningMembership DeSerialize(JsonElement jsonElement, Serializa logger.LogDebug("the owningRelationship Json property was not found in the OwningMembership: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the OwningMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the OwningMembership: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("visibility"u8, out var visibilityProperty)) { dtoInstance.Visibility = VisibilityKindDeSerializer.Deserialize(visibilityProperty.GetString()); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/PackageDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/PackageDeSerializer.cs index 924cadf1..49f03c64 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/PackageDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/PackageDeSerializer.cs @@ -69,7 +69,7 @@ internal static IPackage DeSerialize(JsonElement jsonElement, SerializationModeK throw new InvalidOperationException($"The PackageDeSerializer can only be used to deserialize objects of type IPackage, a {@type.GetString()} was provided"); } - IPackage dtoInstance = new SysML2.NET.Core.DTO.Kernel.Packages.Package(); + var dtoInstance = new SysML2.NET.Core.DTO.Kernel.Packages.Package(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ParameterMembershipDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ParameterMembershipDeSerializer.cs index 7facf4b2..d90516ab 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ParameterMembershipDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ParameterMembershipDeSerializer.cs @@ -69,7 +69,7 @@ internal static IParameterMembership DeSerialize(JsonElement jsonElement, Serial throw new InvalidOperationException($"The ParameterMembershipDeSerializer can only be used to deserialize objects of type IParameterMembership, a {@type.GetString()} was provided"); } - IParameterMembership dtoInstance = new SysML2.NET.Core.DTO.Kernel.Behaviors.ParameterMembership(); + var dtoInstance = new SysML2.NET.Core.DTO.Kernel.Behaviors.ParameterMembership(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -158,49 +158,6 @@ internal static IParameterMembership DeSerialize(JsonElement jsonElement, Serial logger.LogDebug("the isImpliedIncluded Json property was not found in the ParameterMembership: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("memberElement"u8, out var memberElementProperty)) - { - if (memberElementProperty.ValueKind == JsonValueKind.Null) - { - dtoInstance.MemberElement = Guid.Empty; - logger.LogDebug($"the ParameterMembership.MemberElement property was not found in the Json. The value is set to Guid.Empty"); - } - else - { - if (memberElementProperty.TryGetProperty("@id"u8, out var memberElementIdProperty)) - { - var propertyValue = memberElementIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.MemberElement = Guid.Parse(propertyValue); - } - } - } - } - else - { - logger.LogDebug("the memberElement Json property was not found in the ParameterMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("memberName"u8, out var memberNameProperty)) - { - dtoInstance.MemberName = memberNameProperty.GetString(); - } - else - { - logger.LogDebug("the memberName Json property was not found in the ParameterMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("memberShortName"u8, out var memberShortNameProperty)) - { - dtoInstance.MemberShortName = memberShortNameProperty.GetString(); - } - else - { - logger.LogDebug("the memberShortName Json property was not found in the ParameterMembership: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("ownedRelatedElement"u8, out var ownedRelatedElementProperty)) { foreach (var arrayItem in ownedRelatedElementProperty.EnumerateArray()) @@ -289,46 +246,6 @@ internal static IParameterMembership DeSerialize(JsonElement jsonElement, Serial logger.LogDebug("the owningRelationship Json property was not found in the ParameterMembership: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the ParameterMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the ParameterMembership: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("visibility"u8, out var visibilityProperty)) { dtoInstance.Visibility = VisibilityKindDeSerializer.Deserialize(visibilityProperty.GetString()); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/PartDefinitionDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/PartDefinitionDeSerializer.cs index fecf3417..feb116fc 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/PartDefinitionDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/PartDefinitionDeSerializer.cs @@ -69,7 +69,7 @@ internal static IPartDefinition DeSerialize(JsonElement jsonElement, Serializati throw new InvalidOperationException($"The PartDefinitionDeSerializer can only be used to deserialize objects of type IPartDefinition, a {@type.GetString()} was provided"); } - IPartDefinition dtoInstance = new SysML2.NET.Core.DTO.Systems.Parts.PartDefinition(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Parts.PartDefinition(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/PartUsageDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/PartUsageDeSerializer.cs index 3be0c483..4d775c7d 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/PartUsageDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/PartUsageDeSerializer.cs @@ -69,7 +69,7 @@ internal static IPartUsage DeSerialize(JsonElement jsonElement, SerializationMod throw new InvalidOperationException($"The PartUsageDeSerializer can only be used to deserialize objects of type IPartUsage, a {@type.GetString()} was provided"); } - IPartUsage dtoInstance = new SysML2.NET.Core.DTO.Systems.Parts.PartUsage(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Parts.PartUsage(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -275,18 +275,6 @@ internal static IPartUsage DeSerialize(JsonElement jsonElement, SerializationMod logger.LogDebug("the isUnique Json property was not found in the PartUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("isVariable"u8, out var isVariableProperty)) - { - if (isVariableProperty.ValueKind != JsonValueKind.Null) - { - dtoInstance.IsVariable = isVariableProperty.GetBoolean(); - } - } - else - { - logger.LogDebug("the isVariable Json property was not found in the PartUsage: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isVariation"u8, out var isVariationProperty)) { if (isVariationProperty.ValueKind != JsonValueKind.Null) diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/PayloadFeatureDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/PayloadFeatureDeSerializer.cs index dc757816..532ffd7f 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/PayloadFeatureDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/PayloadFeatureDeSerializer.cs @@ -69,7 +69,7 @@ internal static IPayloadFeature DeSerialize(JsonElement jsonElement, Serializati throw new InvalidOperationException($"The PayloadFeatureDeSerializer can only be used to deserialize objects of type IPayloadFeature, a {@type.GetString()} was provided"); } - IPayloadFeature dtoInstance = new SysML2.NET.Core.DTO.Kernel.Interactions.PayloadFeature(); + var dtoInstance = new SysML2.NET.Core.DTO.Kernel.Interactions.PayloadFeature(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/PerformActionUsageDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/PerformActionUsageDeSerializer.cs index bc6d0fb4..fd7c348a 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/PerformActionUsageDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/PerformActionUsageDeSerializer.cs @@ -69,7 +69,7 @@ internal static IPerformActionUsage DeSerialize(JsonElement jsonElement, Seriali throw new InvalidOperationException($"The PerformActionUsageDeSerializer can only be used to deserialize objects of type IPerformActionUsage, a {@type.GetString()} was provided"); } - IPerformActionUsage dtoInstance = new SysML2.NET.Core.DTO.Systems.Actions.PerformActionUsage(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Actions.PerformActionUsage(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -275,18 +275,6 @@ internal static IPerformActionUsage DeSerialize(JsonElement jsonElement, Seriali logger.LogDebug("the isUnique Json property was not found in the PerformActionUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("isVariable"u8, out var isVariableProperty)) - { - if (isVariableProperty.ValueKind != JsonValueKind.Null) - { - dtoInstance.IsVariable = isVariableProperty.GetBoolean(); - } - } - else - { - logger.LogDebug("the isVariable Json property was not found in the PerformActionUsage: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isVariation"u8, out var isVariationProperty)) { if (isVariationProperty.ValueKind != JsonValueKind.Null) diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/PortConjugationDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/PortConjugationDeSerializer.cs index e8c7edcd..94d413d7 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/PortConjugationDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/PortConjugationDeSerializer.cs @@ -69,7 +69,7 @@ internal static IPortConjugation DeSerialize(JsonElement jsonElement, Serializat throw new InvalidOperationException($"The PortConjugationDeSerializer can only be used to deserialize objects of type IPortConjugation, a {@type.GetString()} was provided"); } - IPortConjugation dtoInstance = new SysML2.NET.Core.DTO.Systems.Ports.PortConjugation(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Ports.PortConjugation(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -208,31 +208,6 @@ internal static IPortConjugation DeSerialize(JsonElement jsonElement, Serializat logger.LogDebug("the originalPortDefinition Json property was not found in the PortConjugation: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("originalType"u8, out var originalTypeProperty)) - { - if (originalTypeProperty.ValueKind == JsonValueKind.Null) - { - dtoInstance.OriginalType = Guid.Empty; - logger.LogDebug($"the PortConjugation.OriginalType property was not found in the Json. The value is set to Guid.Empty"); - } - else - { - if (originalTypeProperty.TryGetProperty("@id"u8, out var originalTypeIdProperty)) - { - var propertyValue = originalTypeIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.OriginalType = Guid.Parse(propertyValue); - } - } - } - } - else - { - logger.LogDebug("the originalType Json property was not found in the PortConjugation: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("ownedRelatedElement"u8, out var ownedRelatedElementProperty)) { foreach (var arrayItem in ownedRelatedElementProperty.EnumerateArray()) @@ -321,46 +296,6 @@ internal static IPortConjugation DeSerialize(JsonElement jsonElement, Serializat logger.LogDebug("the owningRelationship Json property was not found in the PortConjugation: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the PortConjugation: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the PortConjugation: { Id }", dtoInstance.Id); - } - return dtoInstance; } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/PortDefinitionDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/PortDefinitionDeSerializer.cs index b009bc75..eb830286 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/PortDefinitionDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/PortDefinitionDeSerializer.cs @@ -69,7 +69,7 @@ internal static IPortDefinition DeSerialize(JsonElement jsonElement, Serializati throw new InvalidOperationException($"The PortDefinitionDeSerializer can only be used to deserialize objects of type IPortDefinition, a {@type.GetString()} was provided"); } - IPortDefinition dtoInstance = new SysML2.NET.Core.DTO.Systems.Ports.PortDefinition(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Ports.PortDefinition(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/PortUsageDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/PortUsageDeSerializer.cs index feef78d6..5f566e66 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/PortUsageDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/PortUsageDeSerializer.cs @@ -69,7 +69,7 @@ internal static IPortUsage DeSerialize(JsonElement jsonElement, SerializationMod throw new InvalidOperationException($"The PortUsageDeSerializer can only be used to deserialize objects of type IPortUsage, a {@type.GetString()} was provided"); } - IPortUsage dtoInstance = new SysML2.NET.Core.DTO.Systems.Ports.PortUsage(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Ports.PortUsage(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -275,18 +275,6 @@ internal static IPortUsage DeSerialize(JsonElement jsonElement, SerializationMod logger.LogDebug("the isUnique Json property was not found in the PortUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("isVariable"u8, out var isVariableProperty)) - { - if (isVariableProperty.ValueKind != JsonValueKind.Null) - { - dtoInstance.IsVariable = isVariableProperty.GetBoolean(); - } - } - else - { - logger.LogDebug("the isVariable Json property was not found in the PortUsage: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isVariation"u8, out var isVariationProperty)) { if (isVariationProperty.ValueKind != JsonValueKind.Null) diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/PredicateDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/PredicateDeSerializer.cs index b8342267..747013da 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/PredicateDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/PredicateDeSerializer.cs @@ -69,7 +69,7 @@ internal static IPredicate DeSerialize(JsonElement jsonElement, SerializationMod throw new InvalidOperationException($"The PredicateDeSerializer can only be used to deserialize objects of type IPredicate, a {@type.GetString()} was provided"); } - IPredicate dtoInstance = new SysML2.NET.Core.DTO.Kernel.Functions.Predicate(); + var dtoInstance = new SysML2.NET.Core.DTO.Kernel.Functions.Predicate(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/RedefinitionDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/RedefinitionDeSerializer.cs index 7f3a8c48..ea780374 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/RedefinitionDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/RedefinitionDeSerializer.cs @@ -69,7 +69,7 @@ internal static IRedefinition DeSerialize(JsonElement jsonElement, Serialization throw new InvalidOperationException($"The RedefinitionDeSerializer can only be used to deserialize objects of type IRedefinition, a {@type.GetString()} was provided"); } - IRedefinition dtoInstance = new SysML2.NET.Core.DTO.Core.Features.Redefinition(); + var dtoInstance = new SysML2.NET.Core.DTO.Core.Features.Redefinition(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -134,31 +134,6 @@ internal static IRedefinition DeSerialize(JsonElement jsonElement, Serialization logger.LogDebug("the elementId Json property was not found in the Redefinition: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("general"u8, out var generalProperty)) - { - if (generalProperty.ValueKind == JsonValueKind.Null) - { - dtoInstance.General = Guid.Empty; - logger.LogDebug($"the Redefinition.General property was not found in the Json. The value is set to Guid.Empty"); - } - else - { - if (generalProperty.TryGetProperty("@id"u8, out var generalIdProperty)) - { - var propertyValue = generalIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.General = Guid.Parse(propertyValue); - } - } - } - } - else - { - logger.LogDebug("the general Json property was not found in the Redefinition: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isImplied"u8, out var isImpliedProperty)) { if (isImpliedProperty.ValueKind != JsonValueKind.Null) @@ -321,121 +296,6 @@ internal static IRedefinition DeSerialize(JsonElement jsonElement, Serialization logger.LogDebug("the redefiningFeature Json property was not found in the Redefinition: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the Redefinition: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("specific"u8, out var specificProperty)) - { - if (specificProperty.ValueKind == JsonValueKind.Null) - { - dtoInstance.Specific = Guid.Empty; - logger.LogDebug($"the Redefinition.Specific property was not found in the Json. The value is set to Guid.Empty"); - } - else - { - if (specificProperty.TryGetProperty("@id"u8, out var specificIdProperty)) - { - var propertyValue = specificIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Specific = Guid.Parse(propertyValue); - } - } - } - } - else - { - logger.LogDebug("the specific Json property was not found in the Redefinition: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("subsettedFeature"u8, out var subsettedFeatureProperty)) - { - if (subsettedFeatureProperty.ValueKind == JsonValueKind.Null) - { - dtoInstance.SubsettedFeature = Guid.Empty; - logger.LogDebug($"the Redefinition.SubsettedFeature property was not found in the Json. The value is set to Guid.Empty"); - } - else - { - if (subsettedFeatureProperty.TryGetProperty("@id"u8, out var subsettedFeatureIdProperty)) - { - var propertyValue = subsettedFeatureIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.SubsettedFeature = Guid.Parse(propertyValue); - } - } - } - } - else - { - logger.LogDebug("the subsettedFeature Json property was not found in the Redefinition: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("subsettingFeature"u8, out var subsettingFeatureProperty)) - { - if (subsettingFeatureProperty.ValueKind == JsonValueKind.Null) - { - dtoInstance.SubsettingFeature = Guid.Empty; - logger.LogDebug($"the Redefinition.SubsettingFeature property was not found in the Json. The value is set to Guid.Empty"); - } - else - { - if (subsettingFeatureProperty.TryGetProperty("@id"u8, out var subsettingFeatureIdProperty)) - { - var propertyValue = subsettingFeatureIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.SubsettingFeature = Guid.Parse(propertyValue); - } - } - } - } - else - { - logger.LogDebug("the subsettingFeature Json property was not found in the Redefinition: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the Redefinition: { Id }", dtoInstance.Id); - } - return dtoInstance; } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ReferenceSubsettingDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ReferenceSubsettingDeSerializer.cs index 87e8827a..017f223f 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ReferenceSubsettingDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ReferenceSubsettingDeSerializer.cs @@ -69,7 +69,7 @@ internal static IReferenceSubsetting DeSerialize(JsonElement jsonElement, Serial throw new InvalidOperationException($"The ReferenceSubsettingDeSerializer can only be used to deserialize objects of type IReferenceSubsetting, a {@type.GetString()} was provided"); } - IReferenceSubsetting dtoInstance = new SysML2.NET.Core.DTO.Core.Features.ReferenceSubsetting(); + var dtoInstance = new SysML2.NET.Core.DTO.Core.Features.ReferenceSubsetting(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -134,31 +134,6 @@ internal static IReferenceSubsetting DeSerialize(JsonElement jsonElement, Serial logger.LogDebug("the elementId Json property was not found in the ReferenceSubsetting: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("general"u8, out var generalProperty)) - { - if (generalProperty.ValueKind == JsonValueKind.Null) - { - dtoInstance.General = Guid.Empty; - logger.LogDebug($"the ReferenceSubsetting.General property was not found in the Json. The value is set to Guid.Empty"); - } - else - { - if (generalProperty.TryGetProperty("@id"u8, out var generalIdProperty)) - { - var propertyValue = generalIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.General = Guid.Parse(propertyValue); - } - } - } - } - else - { - logger.LogDebug("the general Json property was not found in the ReferenceSubsetting: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isImplied"u8, out var isImpliedProperty)) { if (isImpliedProperty.ValueKind != JsonValueKind.Null) @@ -296,121 +271,6 @@ internal static IReferenceSubsetting DeSerialize(JsonElement jsonElement, Serial logger.LogDebug("the referencedFeature Json property was not found in the ReferenceSubsetting: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the ReferenceSubsetting: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("specific"u8, out var specificProperty)) - { - if (specificProperty.ValueKind == JsonValueKind.Null) - { - dtoInstance.Specific = Guid.Empty; - logger.LogDebug($"the ReferenceSubsetting.Specific property was not found in the Json. The value is set to Guid.Empty"); - } - else - { - if (specificProperty.TryGetProperty("@id"u8, out var specificIdProperty)) - { - var propertyValue = specificIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Specific = Guid.Parse(propertyValue); - } - } - } - } - else - { - logger.LogDebug("the specific Json property was not found in the ReferenceSubsetting: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("subsettedFeature"u8, out var subsettedFeatureProperty)) - { - if (subsettedFeatureProperty.ValueKind == JsonValueKind.Null) - { - dtoInstance.SubsettedFeature = Guid.Empty; - logger.LogDebug($"the ReferenceSubsetting.SubsettedFeature property was not found in the Json. The value is set to Guid.Empty"); - } - else - { - if (subsettedFeatureProperty.TryGetProperty("@id"u8, out var subsettedFeatureIdProperty)) - { - var propertyValue = subsettedFeatureIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.SubsettedFeature = Guid.Parse(propertyValue); - } - } - } - } - else - { - logger.LogDebug("the subsettedFeature Json property was not found in the ReferenceSubsetting: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("subsettingFeature"u8, out var subsettingFeatureProperty)) - { - if (subsettingFeatureProperty.ValueKind == JsonValueKind.Null) - { - dtoInstance.SubsettingFeature = Guid.Empty; - logger.LogDebug($"the ReferenceSubsetting.SubsettingFeature property was not found in the Json. The value is set to Guid.Empty"); - } - else - { - if (subsettingFeatureProperty.TryGetProperty("@id"u8, out var subsettingFeatureIdProperty)) - { - var propertyValue = subsettingFeatureIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.SubsettingFeature = Guid.Parse(propertyValue); - } - } - } - } - else - { - logger.LogDebug("the subsettingFeature Json property was not found in the ReferenceSubsetting: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the ReferenceSubsetting: { Id }", dtoInstance.Id); - } - return dtoInstance; } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ReferenceUsageDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ReferenceUsageDeSerializer.cs index 0e215e82..5c72d853 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ReferenceUsageDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ReferenceUsageDeSerializer.cs @@ -69,7 +69,7 @@ internal static IReferenceUsage DeSerialize(JsonElement jsonElement, Serializati throw new InvalidOperationException($"The ReferenceUsageDeSerializer can only be used to deserialize objects of type IReferenceUsage, a {@type.GetString()} was provided"); } - IReferenceUsage dtoInstance = new SysML2.NET.Core.DTO.Systems.DefinitionAndUsage.ReferenceUsage(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.DefinitionAndUsage.ReferenceUsage(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -263,18 +263,6 @@ internal static IReferenceUsage DeSerialize(JsonElement jsonElement, Serializati logger.LogDebug("the isUnique Json property was not found in the ReferenceUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("isVariable"u8, out var isVariableProperty)) - { - if (isVariableProperty.ValueKind != JsonValueKind.Null) - { - dtoInstance.IsVariable = isVariableProperty.GetBoolean(); - } - } - else - { - logger.LogDebug("the isVariable Json property was not found in the ReferenceUsage: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isVariation"u8, out var isVariationProperty)) { if (isVariationProperty.ValueKind != JsonValueKind.Null) diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/RenderingDefinitionDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/RenderingDefinitionDeSerializer.cs index d5131762..50ca0562 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/RenderingDefinitionDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/RenderingDefinitionDeSerializer.cs @@ -69,7 +69,7 @@ internal static IRenderingDefinition DeSerialize(JsonElement jsonElement, Serial throw new InvalidOperationException($"The RenderingDefinitionDeSerializer can only be used to deserialize objects of type IRenderingDefinition, a {@type.GetString()} was provided"); } - IRenderingDefinition dtoInstance = new SysML2.NET.Core.DTO.Systems.Views.RenderingDefinition(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Views.RenderingDefinition(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/RenderingUsageDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/RenderingUsageDeSerializer.cs index 9f289c80..363cdfcd 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/RenderingUsageDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/RenderingUsageDeSerializer.cs @@ -69,7 +69,7 @@ internal static IRenderingUsage DeSerialize(JsonElement jsonElement, Serializati throw new InvalidOperationException($"The RenderingUsageDeSerializer can only be used to deserialize objects of type IRenderingUsage, a {@type.GetString()} was provided"); } - IRenderingUsage dtoInstance = new SysML2.NET.Core.DTO.Systems.Views.RenderingUsage(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Views.RenderingUsage(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -275,18 +275,6 @@ internal static IRenderingUsage DeSerialize(JsonElement jsonElement, Serializati logger.LogDebug("the isUnique Json property was not found in the RenderingUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("isVariable"u8, out var isVariableProperty)) - { - if (isVariableProperty.ValueKind != JsonValueKind.Null) - { - dtoInstance.IsVariable = isVariableProperty.GetBoolean(); - } - } - else - { - logger.LogDebug("the isVariable Json property was not found in the RenderingUsage: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isVariation"u8, out var isVariationProperty)) { if (isVariationProperty.ValueKind != JsonValueKind.Null) diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/RequirementConstraintMembershipDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/RequirementConstraintMembershipDeSerializer.cs index 5cfc6e90..f32cd8e1 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/RequirementConstraintMembershipDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/RequirementConstraintMembershipDeSerializer.cs @@ -69,7 +69,7 @@ internal static IRequirementConstraintMembership DeSerialize(JsonElement jsonEle throw new InvalidOperationException($"The RequirementConstraintMembershipDeSerializer can only be used to deserialize objects of type IRequirementConstraintMembership, a {@type.GetString()} was provided"); } - IRequirementConstraintMembership dtoInstance = new SysML2.NET.Core.DTO.Systems.Requirements.RequirementConstraintMembership(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Requirements.RequirementConstraintMembership(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -167,49 +167,6 @@ internal static IRequirementConstraintMembership DeSerialize(JsonElement jsonEle logger.LogDebug("the kind Json property was not found in the RequirementConstraintMembership: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("memberElement"u8, out var memberElementProperty)) - { - if (memberElementProperty.ValueKind == JsonValueKind.Null) - { - dtoInstance.MemberElement = Guid.Empty; - logger.LogDebug($"the RequirementConstraintMembership.MemberElement property was not found in the Json. The value is set to Guid.Empty"); - } - else - { - if (memberElementProperty.TryGetProperty("@id"u8, out var memberElementIdProperty)) - { - var propertyValue = memberElementIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.MemberElement = Guid.Parse(propertyValue); - } - } - } - } - else - { - logger.LogDebug("the memberElement Json property was not found in the RequirementConstraintMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("memberName"u8, out var memberNameProperty)) - { - dtoInstance.MemberName = memberNameProperty.GetString(); - } - else - { - logger.LogDebug("the memberName Json property was not found in the RequirementConstraintMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("memberShortName"u8, out var memberShortNameProperty)) - { - dtoInstance.MemberShortName = memberShortNameProperty.GetString(); - } - else - { - logger.LogDebug("the memberShortName Json property was not found in the RequirementConstraintMembership: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("ownedRelatedElement"u8, out var ownedRelatedElementProperty)) { foreach (var arrayItem in ownedRelatedElementProperty.EnumerateArray()) @@ -298,46 +255,6 @@ internal static IRequirementConstraintMembership DeSerialize(JsonElement jsonEle logger.LogDebug("the owningRelationship Json property was not found in the RequirementConstraintMembership: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the RequirementConstraintMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the RequirementConstraintMembership: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("visibility"u8, out var visibilityProperty)) { dtoInstance.Visibility = VisibilityKindDeSerializer.Deserialize(visibilityProperty.GetString()); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/RequirementDefinitionDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/RequirementDefinitionDeSerializer.cs index 398b8b82..b52f47b4 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/RequirementDefinitionDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/RequirementDefinitionDeSerializer.cs @@ -69,7 +69,7 @@ internal static IRequirementDefinition DeSerialize(JsonElement jsonElement, Seri throw new InvalidOperationException($"The RequirementDefinitionDeSerializer can only be used to deserialize objects of type IRequirementDefinition, a {@type.GetString()} was provided"); } - IRequirementDefinition dtoInstance = new SysML2.NET.Core.DTO.Systems.Requirements.RequirementDefinition(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Requirements.RequirementDefinition(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -111,15 +111,6 @@ internal static IRequirementDefinition DeSerialize(JsonElement jsonElement, Seri logger.LogDebug("the declaredName Json property was not found in the RequirementDefinition: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("declaredShortName"u8, out var declaredShortNameProperty)) - { - dtoInstance.DeclaredShortName = declaredShortNameProperty.GetString(); - } - else - { - logger.LogDebug("the declaredShortName Json property was not found in the RequirementDefinition: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("elementId"u8, out var elementIdProperty)) { var propertyValue = elementIdProperty.GetString(); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/RequirementUsageDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/RequirementUsageDeSerializer.cs index f83fba63..909be0b5 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/RequirementUsageDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/RequirementUsageDeSerializer.cs @@ -69,7 +69,7 @@ internal static IRequirementUsage DeSerialize(JsonElement jsonElement, Serializa throw new InvalidOperationException($"The RequirementUsageDeSerializer can only be used to deserialize objects of type IRequirementUsage, a {@type.GetString()} was provided"); } - IRequirementUsage dtoInstance = new SysML2.NET.Core.DTO.Systems.Requirements.RequirementUsage(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Requirements.RequirementUsage(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -111,15 +111,6 @@ internal static IRequirementUsage DeSerialize(JsonElement jsonElement, Serializa logger.LogDebug("the declaredName Json property was not found in the RequirementUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("declaredShortName"u8, out var declaredShortNameProperty)) - { - dtoInstance.DeclaredShortName = declaredShortNameProperty.GetString(); - } - else - { - logger.LogDebug("the declaredShortName Json property was not found in the RequirementUsage: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("direction"u8, out var directionProperty)) { dtoInstance.Direction = FeatureDirectionKindDeSerializer.DeserializeNullable(directionProperty.GetString()); @@ -275,18 +266,6 @@ internal static IRequirementUsage DeSerialize(JsonElement jsonElement, Serializa logger.LogDebug("the isUnique Json property was not found in the RequirementUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("isVariable"u8, out var isVariableProperty)) - { - if (isVariableProperty.ValueKind != JsonValueKind.Null) - { - dtoInstance.IsVariable = isVariableProperty.GetBoolean(); - } - } - else - { - logger.LogDebug("the isVariable Json property was not found in the RequirementUsage: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isVariation"u8, out var isVariationProperty)) { if (isVariationProperty.ValueKind != JsonValueKind.Null) diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/RequirementVerificationMembershipDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/RequirementVerificationMembershipDeSerializer.cs index 8a715d76..51e4aba2 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/RequirementVerificationMembershipDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/RequirementVerificationMembershipDeSerializer.cs @@ -69,7 +69,7 @@ internal static IRequirementVerificationMembership DeSerialize(JsonElement jsonE throw new InvalidOperationException($"The RequirementVerificationMembershipDeSerializer can only be used to deserialize objects of type IRequirementVerificationMembership, a {@type.GetString()} was provided"); } - IRequirementVerificationMembership dtoInstance = new SysML2.NET.Core.DTO.Systems.VerificationCases.RequirementVerificationMembership(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.VerificationCases.RequirementVerificationMembership(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -167,49 +167,6 @@ internal static IRequirementVerificationMembership DeSerialize(JsonElement jsonE logger.LogDebug("the kind Json property was not found in the RequirementVerificationMembership: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("memberElement"u8, out var memberElementProperty)) - { - if (memberElementProperty.ValueKind == JsonValueKind.Null) - { - dtoInstance.MemberElement = Guid.Empty; - logger.LogDebug($"the RequirementVerificationMembership.MemberElement property was not found in the Json. The value is set to Guid.Empty"); - } - else - { - if (memberElementProperty.TryGetProperty("@id"u8, out var memberElementIdProperty)) - { - var propertyValue = memberElementIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.MemberElement = Guid.Parse(propertyValue); - } - } - } - } - else - { - logger.LogDebug("the memberElement Json property was not found in the RequirementVerificationMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("memberName"u8, out var memberNameProperty)) - { - dtoInstance.MemberName = memberNameProperty.GetString(); - } - else - { - logger.LogDebug("the memberName Json property was not found in the RequirementVerificationMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("memberShortName"u8, out var memberShortNameProperty)) - { - dtoInstance.MemberShortName = memberShortNameProperty.GetString(); - } - else - { - logger.LogDebug("the memberShortName Json property was not found in the RequirementVerificationMembership: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("ownedRelatedElement"u8, out var ownedRelatedElementProperty)) { foreach (var arrayItem in ownedRelatedElementProperty.EnumerateArray()) @@ -298,46 +255,6 @@ internal static IRequirementVerificationMembership DeSerialize(JsonElement jsonE logger.LogDebug("the owningRelationship Json property was not found in the RequirementVerificationMembership: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the RequirementVerificationMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the RequirementVerificationMembership: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("visibility"u8, out var visibilityProperty)) { dtoInstance.Visibility = VisibilityKindDeSerializer.Deserialize(visibilityProperty.GetString()); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ResultExpressionMembershipDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ResultExpressionMembershipDeSerializer.cs index c6373f35..88944250 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ResultExpressionMembershipDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ResultExpressionMembershipDeSerializer.cs @@ -69,7 +69,7 @@ internal static IResultExpressionMembership DeSerialize(JsonElement jsonElement, throw new InvalidOperationException($"The ResultExpressionMembershipDeSerializer can only be used to deserialize objects of type IResultExpressionMembership, a {@type.GetString()} was provided"); } - IResultExpressionMembership dtoInstance = new SysML2.NET.Core.DTO.Kernel.Functions.ResultExpressionMembership(); + var dtoInstance = new SysML2.NET.Core.DTO.Kernel.Functions.ResultExpressionMembership(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -158,49 +158,6 @@ internal static IResultExpressionMembership DeSerialize(JsonElement jsonElement, logger.LogDebug("the isImpliedIncluded Json property was not found in the ResultExpressionMembership: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("memberElement"u8, out var memberElementProperty)) - { - if (memberElementProperty.ValueKind == JsonValueKind.Null) - { - dtoInstance.MemberElement = Guid.Empty; - logger.LogDebug($"the ResultExpressionMembership.MemberElement property was not found in the Json. The value is set to Guid.Empty"); - } - else - { - if (memberElementProperty.TryGetProperty("@id"u8, out var memberElementIdProperty)) - { - var propertyValue = memberElementIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.MemberElement = Guid.Parse(propertyValue); - } - } - } - } - else - { - logger.LogDebug("the memberElement Json property was not found in the ResultExpressionMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("memberName"u8, out var memberNameProperty)) - { - dtoInstance.MemberName = memberNameProperty.GetString(); - } - else - { - logger.LogDebug("the memberName Json property was not found in the ResultExpressionMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("memberShortName"u8, out var memberShortNameProperty)) - { - dtoInstance.MemberShortName = memberShortNameProperty.GetString(); - } - else - { - logger.LogDebug("the memberShortName Json property was not found in the ResultExpressionMembership: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("ownedRelatedElement"u8, out var ownedRelatedElementProperty)) { foreach (var arrayItem in ownedRelatedElementProperty.EnumerateArray()) @@ -289,46 +246,6 @@ internal static IResultExpressionMembership DeSerialize(JsonElement jsonElement, logger.LogDebug("the owningRelationship Json property was not found in the ResultExpressionMembership: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the ResultExpressionMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the ResultExpressionMembership: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("visibility"u8, out var visibilityProperty)) { dtoInstance.Visibility = VisibilityKindDeSerializer.Deserialize(visibilityProperty.GetString()); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ReturnParameterMembershipDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ReturnParameterMembershipDeSerializer.cs index 83f01a46..27d0757e 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ReturnParameterMembershipDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ReturnParameterMembershipDeSerializer.cs @@ -69,7 +69,7 @@ internal static IReturnParameterMembership DeSerialize(JsonElement jsonElement, throw new InvalidOperationException($"The ReturnParameterMembershipDeSerializer can only be used to deserialize objects of type IReturnParameterMembership, a {@type.GetString()} was provided"); } - IReturnParameterMembership dtoInstance = new SysML2.NET.Core.DTO.Kernel.Functions.ReturnParameterMembership(); + var dtoInstance = new SysML2.NET.Core.DTO.Kernel.Functions.ReturnParameterMembership(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -158,49 +158,6 @@ internal static IReturnParameterMembership DeSerialize(JsonElement jsonElement, logger.LogDebug("the isImpliedIncluded Json property was not found in the ReturnParameterMembership: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("memberElement"u8, out var memberElementProperty)) - { - if (memberElementProperty.ValueKind == JsonValueKind.Null) - { - dtoInstance.MemberElement = Guid.Empty; - logger.LogDebug($"the ReturnParameterMembership.MemberElement property was not found in the Json. The value is set to Guid.Empty"); - } - else - { - if (memberElementProperty.TryGetProperty("@id"u8, out var memberElementIdProperty)) - { - var propertyValue = memberElementIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.MemberElement = Guid.Parse(propertyValue); - } - } - } - } - else - { - logger.LogDebug("the memberElement Json property was not found in the ReturnParameterMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("memberName"u8, out var memberNameProperty)) - { - dtoInstance.MemberName = memberNameProperty.GetString(); - } - else - { - logger.LogDebug("the memberName Json property was not found in the ReturnParameterMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("memberShortName"u8, out var memberShortNameProperty)) - { - dtoInstance.MemberShortName = memberShortNameProperty.GetString(); - } - else - { - logger.LogDebug("the memberShortName Json property was not found in the ReturnParameterMembership: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("ownedRelatedElement"u8, out var ownedRelatedElementProperty)) { foreach (var arrayItem in ownedRelatedElementProperty.EnumerateArray()) @@ -289,46 +246,6 @@ internal static IReturnParameterMembership DeSerialize(JsonElement jsonElement, logger.LogDebug("the owningRelationship Json property was not found in the ReturnParameterMembership: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the ReturnParameterMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the ReturnParameterMembership: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("visibility"u8, out var visibilityProperty)) { dtoInstance.Visibility = VisibilityKindDeSerializer.Deserialize(visibilityProperty.GetString()); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/SatisfyRequirementUsageDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/SatisfyRequirementUsageDeSerializer.cs index 9ae82cc2..cd5956ca 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/SatisfyRequirementUsageDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/SatisfyRequirementUsageDeSerializer.cs @@ -69,7 +69,7 @@ internal static ISatisfyRequirementUsage DeSerialize(JsonElement jsonElement, Se throw new InvalidOperationException($"The SatisfyRequirementUsageDeSerializer can only be used to deserialize objects of type ISatisfyRequirementUsage, a {@type.GetString()} was provided"); } - ISatisfyRequirementUsage dtoInstance = new SysML2.NET.Core.DTO.Systems.Requirements.SatisfyRequirementUsage(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Requirements.SatisfyRequirementUsage(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -111,15 +111,6 @@ internal static ISatisfyRequirementUsage DeSerialize(JsonElement jsonElement, Se logger.LogDebug("the declaredName Json property was not found in the SatisfyRequirementUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("declaredShortName"u8, out var declaredShortNameProperty)) - { - dtoInstance.DeclaredShortName = declaredShortNameProperty.GetString(); - } - else - { - logger.LogDebug("the declaredShortName Json property was not found in the SatisfyRequirementUsage: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("direction"u8, out var directionProperty)) { dtoInstance.Direction = FeatureDirectionKindDeSerializer.DeserializeNullable(directionProperty.GetString()); @@ -287,18 +278,6 @@ internal static ISatisfyRequirementUsage DeSerialize(JsonElement jsonElement, Se logger.LogDebug("the isUnique Json property was not found in the SatisfyRequirementUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("isVariable"u8, out var isVariableProperty)) - { - if (isVariableProperty.ValueKind != JsonValueKind.Null) - { - dtoInstance.IsVariable = isVariableProperty.GetBoolean(); - } - } - else - { - logger.LogDebug("the isVariable Json property was not found in the SatisfyRequirementUsage: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isVariation"u8, out var isVariationProperty)) { if (isVariationProperty.ValueKind != JsonValueKind.Null) diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/SelectExpressionDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/SelectExpressionDeSerializer.cs index 383d4110..de6b806e 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/SelectExpressionDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/SelectExpressionDeSerializer.cs @@ -69,7 +69,7 @@ internal static ISelectExpression DeSerialize(JsonElement jsonElement, Serializa throw new InvalidOperationException($"The SelectExpressionDeSerializer can only be used to deserialize objects of type ISelectExpression, a {@type.GetString()} was provided"); } - ISelectExpression dtoInstance = new SysML2.NET.Core.DTO.Kernel.Expressions.SelectExpression(); + var dtoInstance = new SysML2.NET.Core.DTO.Kernel.Expressions.SelectExpression(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/SendActionUsageDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/SendActionUsageDeSerializer.cs index 4b1b3968..9556b40f 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/SendActionUsageDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/SendActionUsageDeSerializer.cs @@ -69,7 +69,7 @@ internal static ISendActionUsage DeSerialize(JsonElement jsonElement, Serializat throw new InvalidOperationException($"The SendActionUsageDeSerializer can only be used to deserialize objects of type ISendActionUsage, a {@type.GetString()} was provided"); } - ISendActionUsage dtoInstance = new SysML2.NET.Core.DTO.Systems.Actions.SendActionUsage(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Actions.SendActionUsage(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -275,18 +275,6 @@ internal static ISendActionUsage DeSerialize(JsonElement jsonElement, Serializat logger.LogDebug("the isUnique Json property was not found in the SendActionUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("isVariable"u8, out var isVariableProperty)) - { - if (isVariableProperty.ValueKind != JsonValueKind.Null) - { - dtoInstance.IsVariable = isVariableProperty.GetBoolean(); - } - } - else - { - logger.LogDebug("the isVariable Json property was not found in the SendActionUsage: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isVariation"u8, out var isVariationProperty)) { if (isVariationProperty.ValueKind != JsonValueKind.Null) diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/SpecializationDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/SpecializationDeSerializer.cs index 3fdff026..e77b6f1d 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/SpecializationDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/SpecializationDeSerializer.cs @@ -69,7 +69,7 @@ internal static ISpecialization DeSerialize(JsonElement jsonElement, Serializati throw new InvalidOperationException($"The SpecializationDeSerializer can only be used to deserialize objects of type ISpecialization, a {@type.GetString()} was provided"); } - ISpecialization dtoInstance = new SysML2.NET.Core.DTO.Core.Types.Specialization(); + var dtoInstance = new SysML2.NET.Core.DTO.Core.Types.Specialization(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -271,26 +271,6 @@ internal static ISpecialization DeSerialize(JsonElement jsonElement, Serializati logger.LogDebug("the owningRelationship Json property was not found in the Specialization: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the Specialization: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("specific"u8, out var specificProperty)) { if (specificProperty.ValueKind == JsonValueKind.Null) @@ -316,26 +296,6 @@ internal static ISpecialization DeSerialize(JsonElement jsonElement, Serializati logger.LogDebug("the specific Json property was not found in the Specialization: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the Specialization: { Id }", dtoInstance.Id); - } - return dtoInstance; } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/StakeholderMembershipDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/StakeholderMembershipDeSerializer.cs index 3e1efbb4..945af184 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/StakeholderMembershipDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/StakeholderMembershipDeSerializer.cs @@ -69,7 +69,7 @@ internal static IStakeholderMembership DeSerialize(JsonElement jsonElement, Seri throw new InvalidOperationException($"The StakeholderMembershipDeSerializer can only be used to deserialize objects of type IStakeholderMembership, a {@type.GetString()} was provided"); } - IStakeholderMembership dtoInstance = new SysML2.NET.Core.DTO.Systems.Requirements.StakeholderMembership(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Requirements.StakeholderMembership(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -158,49 +158,6 @@ internal static IStakeholderMembership DeSerialize(JsonElement jsonElement, Seri logger.LogDebug("the isImpliedIncluded Json property was not found in the StakeholderMembership: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("memberElement"u8, out var memberElementProperty)) - { - if (memberElementProperty.ValueKind == JsonValueKind.Null) - { - dtoInstance.MemberElement = Guid.Empty; - logger.LogDebug($"the StakeholderMembership.MemberElement property was not found in the Json. The value is set to Guid.Empty"); - } - else - { - if (memberElementProperty.TryGetProperty("@id"u8, out var memberElementIdProperty)) - { - var propertyValue = memberElementIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.MemberElement = Guid.Parse(propertyValue); - } - } - } - } - else - { - logger.LogDebug("the memberElement Json property was not found in the StakeholderMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("memberName"u8, out var memberNameProperty)) - { - dtoInstance.MemberName = memberNameProperty.GetString(); - } - else - { - logger.LogDebug("the memberName Json property was not found in the StakeholderMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("memberShortName"u8, out var memberShortNameProperty)) - { - dtoInstance.MemberShortName = memberShortNameProperty.GetString(); - } - else - { - logger.LogDebug("the memberShortName Json property was not found in the StakeholderMembership: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("ownedRelatedElement"u8, out var ownedRelatedElementProperty)) { foreach (var arrayItem in ownedRelatedElementProperty.EnumerateArray()) @@ -289,46 +246,6 @@ internal static IStakeholderMembership DeSerialize(JsonElement jsonElement, Seri logger.LogDebug("the owningRelationship Json property was not found in the StakeholderMembership: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the StakeholderMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the StakeholderMembership: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("visibility"u8, out var visibilityProperty)) { dtoInstance.Visibility = VisibilityKindDeSerializer.Deserialize(visibilityProperty.GetString()); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/StateDefinitionDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/StateDefinitionDeSerializer.cs index ae5253d0..d483b3b6 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/StateDefinitionDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/StateDefinitionDeSerializer.cs @@ -69,7 +69,7 @@ internal static IStateDefinition DeSerialize(JsonElement jsonElement, Serializat throw new InvalidOperationException($"The StateDefinitionDeSerializer can only be used to deserialize objects of type IStateDefinition, a {@type.GetString()} was provided"); } - IStateDefinition dtoInstance = new SysML2.NET.Core.DTO.Systems.States.StateDefinition(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.States.StateDefinition(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/StateSubactionMembershipDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/StateSubactionMembershipDeSerializer.cs index d4d6e5be..82f3d42a 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/StateSubactionMembershipDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/StateSubactionMembershipDeSerializer.cs @@ -69,7 +69,7 @@ internal static IStateSubactionMembership DeSerialize(JsonElement jsonElement, S throw new InvalidOperationException($"The StateSubactionMembershipDeSerializer can only be used to deserialize objects of type IStateSubactionMembership, a {@type.GetString()} was provided"); } - IStateSubactionMembership dtoInstance = new SysML2.NET.Core.DTO.Systems.States.StateSubactionMembership(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.States.StateSubactionMembership(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -167,49 +167,6 @@ internal static IStateSubactionMembership DeSerialize(JsonElement jsonElement, S logger.LogDebug("the kind Json property was not found in the StateSubactionMembership: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("memberElement"u8, out var memberElementProperty)) - { - if (memberElementProperty.ValueKind == JsonValueKind.Null) - { - dtoInstance.MemberElement = Guid.Empty; - logger.LogDebug($"the StateSubactionMembership.MemberElement property was not found in the Json. The value is set to Guid.Empty"); - } - else - { - if (memberElementProperty.TryGetProperty("@id"u8, out var memberElementIdProperty)) - { - var propertyValue = memberElementIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.MemberElement = Guid.Parse(propertyValue); - } - } - } - } - else - { - logger.LogDebug("the memberElement Json property was not found in the StateSubactionMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("memberName"u8, out var memberNameProperty)) - { - dtoInstance.MemberName = memberNameProperty.GetString(); - } - else - { - logger.LogDebug("the memberName Json property was not found in the StateSubactionMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("memberShortName"u8, out var memberShortNameProperty)) - { - dtoInstance.MemberShortName = memberShortNameProperty.GetString(); - } - else - { - logger.LogDebug("the memberShortName Json property was not found in the StateSubactionMembership: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("ownedRelatedElement"u8, out var ownedRelatedElementProperty)) { foreach (var arrayItem in ownedRelatedElementProperty.EnumerateArray()) @@ -298,46 +255,6 @@ internal static IStateSubactionMembership DeSerialize(JsonElement jsonElement, S logger.LogDebug("the owningRelationship Json property was not found in the StateSubactionMembership: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the StateSubactionMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the StateSubactionMembership: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("visibility"u8, out var visibilityProperty)) { dtoInstance.Visibility = VisibilityKindDeSerializer.Deserialize(visibilityProperty.GetString()); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/StateUsageDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/StateUsageDeSerializer.cs index 0db0e651..a27a7fc0 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/StateUsageDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/StateUsageDeSerializer.cs @@ -69,7 +69,7 @@ internal static IStateUsage DeSerialize(JsonElement jsonElement, SerializationMo throw new InvalidOperationException($"The StateUsageDeSerializer can only be used to deserialize objects of type IStateUsage, a {@type.GetString()} was provided"); } - IStateUsage dtoInstance = new SysML2.NET.Core.DTO.Systems.States.StateUsage(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.States.StateUsage(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -287,18 +287,6 @@ internal static IStateUsage DeSerialize(JsonElement jsonElement, SerializationMo logger.LogDebug("the isUnique Json property was not found in the StateUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("isVariable"u8, out var isVariableProperty)) - { - if (isVariableProperty.ValueKind != JsonValueKind.Null) - { - dtoInstance.IsVariable = isVariableProperty.GetBoolean(); - } - } - else - { - logger.LogDebug("the isVariable Json property was not found in the StateUsage: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isVariation"u8, out var isVariationProperty)) { if (isVariationProperty.ValueKind != JsonValueKind.Null) diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/StepDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/StepDeSerializer.cs index dbd7a22d..88887d08 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/StepDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/StepDeSerializer.cs @@ -69,7 +69,7 @@ internal static IStep DeSerialize(JsonElement jsonElement, SerializationModeKind throw new InvalidOperationException($"The StepDeSerializer can only be used to deserialize objects of type IStep, a {@type.GetString()} was provided"); } - IStep dtoInstance = new SysML2.NET.Core.DTO.Kernel.Behaviors.Step(); + var dtoInstance = new SysML2.NET.Core.DTO.Kernel.Behaviors.Step(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/StructureDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/StructureDeSerializer.cs index 2d090456..2d669ce7 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/StructureDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/StructureDeSerializer.cs @@ -69,7 +69,7 @@ internal static IStructure DeSerialize(JsonElement jsonElement, SerializationMod throw new InvalidOperationException($"The StructureDeSerializer can only be used to deserialize objects of type IStructure, a {@type.GetString()} was provided"); } - IStructure dtoInstance = new SysML2.NET.Core.DTO.Kernel.Structures.Structure(); + var dtoInstance = new SysML2.NET.Core.DTO.Kernel.Structures.Structure(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/SubclassificationDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/SubclassificationDeSerializer.cs index f0ba4f1c..3058fece 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/SubclassificationDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/SubclassificationDeSerializer.cs @@ -69,7 +69,7 @@ internal static ISubclassification DeSerialize(JsonElement jsonElement, Serializ throw new InvalidOperationException($"The SubclassificationDeSerializer can only be used to deserialize objects of type ISubclassification, a {@type.GetString()} was provided"); } - ISubclassification dtoInstance = new SysML2.NET.Core.DTO.Core.Classifiers.Subclassification(); + var dtoInstance = new SysML2.NET.Core.DTO.Core.Classifiers.Subclassification(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -134,31 +134,6 @@ internal static ISubclassification DeSerialize(JsonElement jsonElement, Serializ logger.LogDebug("the elementId Json property was not found in the Subclassification: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("general"u8, out var generalProperty)) - { - if (generalProperty.ValueKind == JsonValueKind.Null) - { - dtoInstance.General = Guid.Empty; - logger.LogDebug($"the Subclassification.General property was not found in the Json. The value is set to Guid.Empty"); - } - else - { - if (generalProperty.TryGetProperty("@id"u8, out var generalIdProperty)) - { - var propertyValue = generalIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.General = Guid.Parse(propertyValue); - } - } - } - } - else - { - logger.LogDebug("the general Json property was not found in the Subclassification: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isImplied"u8, out var isImpliedProperty)) { if (isImpliedProperty.ValueKind != JsonValueKind.Null) @@ -271,51 +246,6 @@ internal static ISubclassification DeSerialize(JsonElement jsonElement, Serializ logger.LogDebug("the owningRelationship Json property was not found in the Subclassification: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the Subclassification: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("specific"u8, out var specificProperty)) - { - if (specificProperty.ValueKind == JsonValueKind.Null) - { - dtoInstance.Specific = Guid.Empty; - logger.LogDebug($"the Subclassification.Specific property was not found in the Json. The value is set to Guid.Empty"); - } - else - { - if (specificProperty.TryGetProperty("@id"u8, out var specificIdProperty)) - { - var propertyValue = specificIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Specific = Guid.Parse(propertyValue); - } - } - } - } - else - { - logger.LogDebug("the specific Json property was not found in the Subclassification: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("subclassifier"u8, out var subclassifierProperty)) { if (subclassifierProperty.ValueKind == JsonValueKind.Null) @@ -366,26 +296,6 @@ internal static ISubclassification DeSerialize(JsonElement jsonElement, Serializ logger.LogDebug("the superclassifier Json property was not found in the Subclassification: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the Subclassification: { Id }", dtoInstance.Id); - } - return dtoInstance; } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/SubjectMembershipDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/SubjectMembershipDeSerializer.cs index 6887aea8..07e0ca3f 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/SubjectMembershipDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/SubjectMembershipDeSerializer.cs @@ -69,7 +69,7 @@ internal static ISubjectMembership DeSerialize(JsonElement jsonElement, Serializ throw new InvalidOperationException($"The SubjectMembershipDeSerializer can only be used to deserialize objects of type ISubjectMembership, a {@type.GetString()} was provided"); } - ISubjectMembership dtoInstance = new SysML2.NET.Core.DTO.Systems.Requirements.SubjectMembership(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Requirements.SubjectMembership(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -158,49 +158,6 @@ internal static ISubjectMembership DeSerialize(JsonElement jsonElement, Serializ logger.LogDebug("the isImpliedIncluded Json property was not found in the SubjectMembership: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("memberElement"u8, out var memberElementProperty)) - { - if (memberElementProperty.ValueKind == JsonValueKind.Null) - { - dtoInstance.MemberElement = Guid.Empty; - logger.LogDebug($"the SubjectMembership.MemberElement property was not found in the Json. The value is set to Guid.Empty"); - } - else - { - if (memberElementProperty.TryGetProperty("@id"u8, out var memberElementIdProperty)) - { - var propertyValue = memberElementIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.MemberElement = Guid.Parse(propertyValue); - } - } - } - } - else - { - logger.LogDebug("the memberElement Json property was not found in the SubjectMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("memberName"u8, out var memberNameProperty)) - { - dtoInstance.MemberName = memberNameProperty.GetString(); - } - else - { - logger.LogDebug("the memberName Json property was not found in the SubjectMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("memberShortName"u8, out var memberShortNameProperty)) - { - dtoInstance.MemberShortName = memberShortNameProperty.GetString(); - } - else - { - logger.LogDebug("the memberShortName Json property was not found in the SubjectMembership: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("ownedRelatedElement"u8, out var ownedRelatedElementProperty)) { foreach (var arrayItem in ownedRelatedElementProperty.EnumerateArray()) @@ -289,46 +246,6 @@ internal static ISubjectMembership DeSerialize(JsonElement jsonElement, Serializ logger.LogDebug("the owningRelationship Json property was not found in the SubjectMembership: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the SubjectMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the SubjectMembership: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("visibility"u8, out var visibilityProperty)) { dtoInstance.Visibility = VisibilityKindDeSerializer.Deserialize(visibilityProperty.GetString()); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/SubsettingDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/SubsettingDeSerializer.cs index d1a97e9f..4df7017d 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/SubsettingDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/SubsettingDeSerializer.cs @@ -69,7 +69,7 @@ internal static ISubsetting DeSerialize(JsonElement jsonElement, SerializationMo throw new InvalidOperationException($"The SubsettingDeSerializer can only be used to deserialize objects of type ISubsetting, a {@type.GetString()} was provided"); } - ISubsetting dtoInstance = new SysML2.NET.Core.DTO.Core.Features.Subsetting(); + var dtoInstance = new SysML2.NET.Core.DTO.Core.Features.Subsetting(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -134,31 +134,6 @@ internal static ISubsetting DeSerialize(JsonElement jsonElement, SerializationMo logger.LogDebug("the elementId Json property was not found in the Subsetting: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("general"u8, out var generalProperty)) - { - if (generalProperty.ValueKind == JsonValueKind.Null) - { - dtoInstance.General = Guid.Empty; - logger.LogDebug($"the Subsetting.General property was not found in the Json. The value is set to Guid.Empty"); - } - else - { - if (generalProperty.TryGetProperty("@id"u8, out var generalIdProperty)) - { - var propertyValue = generalIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.General = Guid.Parse(propertyValue); - } - } - } - } - else - { - logger.LogDebug("the general Json property was not found in the Subsetting: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isImplied"u8, out var isImpliedProperty)) { if (isImpliedProperty.ValueKind != JsonValueKind.Null) @@ -271,51 +246,6 @@ internal static ISubsetting DeSerialize(JsonElement jsonElement, SerializationMo logger.LogDebug("the owningRelationship Json property was not found in the Subsetting: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the Subsetting: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("specific"u8, out var specificProperty)) - { - if (specificProperty.ValueKind == JsonValueKind.Null) - { - dtoInstance.Specific = Guid.Empty; - logger.LogDebug($"the Subsetting.Specific property was not found in the Json. The value is set to Guid.Empty"); - } - else - { - if (specificProperty.TryGetProperty("@id"u8, out var specificIdProperty)) - { - var propertyValue = specificIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Specific = Guid.Parse(propertyValue); - } - } - } - } - else - { - logger.LogDebug("the specific Json property was not found in the Subsetting: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("subsettedFeature"u8, out var subsettedFeatureProperty)) { if (subsettedFeatureProperty.ValueKind == JsonValueKind.Null) @@ -366,26 +296,6 @@ internal static ISubsetting DeSerialize(JsonElement jsonElement, SerializationMo logger.LogDebug("the subsettingFeature Json property was not found in the Subsetting: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the Subsetting: { Id }", dtoInstance.Id); - } - return dtoInstance; } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/SuccessionAsUsageDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/SuccessionAsUsageDeSerializer.cs index 197c64d8..a9751327 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/SuccessionAsUsageDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/SuccessionAsUsageDeSerializer.cs @@ -69,7 +69,7 @@ internal static ISuccessionAsUsage DeSerialize(JsonElement jsonElement, Serializ throw new InvalidOperationException($"The SuccessionAsUsageDeSerializer can only be used to deserialize objects of type ISuccessionAsUsage, a {@type.GetString()} was provided"); } - ISuccessionAsUsage dtoInstance = new SysML2.NET.Core.DTO.Systems.Connections.SuccessionAsUsage(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Connections.SuccessionAsUsage(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -275,18 +275,6 @@ internal static ISuccessionAsUsage DeSerialize(JsonElement jsonElement, Serializ logger.LogDebug("the isUnique Json property was not found in the SuccessionAsUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("isVariable"u8, out var isVariableProperty)) - { - if (isVariableProperty.ValueKind != JsonValueKind.Null) - { - dtoInstance.IsVariable = isVariableProperty.GetBoolean(); - } - } - else - { - logger.LogDebug("the isVariable Json property was not found in the SuccessionAsUsage: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isVariation"u8, out var isVariationProperty)) { if (isVariationProperty.ValueKind != JsonValueKind.Null) @@ -387,46 +375,6 @@ internal static ISuccessionAsUsage DeSerialize(JsonElement jsonElement, Serializ logger.LogDebug("the owningRelationship Json property was not found in the SuccessionAsUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the SuccessionAsUsage: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the SuccessionAsUsage: { Id }", dtoInstance.Id); - } - return dtoInstance; } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/SuccessionDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/SuccessionDeSerializer.cs index 0b11c5a7..a4f07cb6 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/SuccessionDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/SuccessionDeSerializer.cs @@ -69,7 +69,7 @@ internal static ISuccession DeSerialize(JsonElement jsonElement, SerializationMo throw new InvalidOperationException($"The SuccessionDeSerializer can only be used to deserialize objects of type ISuccession, a {@type.GetString()} was provided"); } - ISuccession dtoInstance = new SysML2.NET.Core.DTO.Kernel.Connectors.Succession(); + var dtoInstance = new SysML2.NET.Core.DTO.Kernel.Connectors.Succession(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -375,46 +375,6 @@ internal static ISuccession DeSerialize(JsonElement jsonElement, SerializationMo logger.LogDebug("the owningRelationship Json property was not found in the Succession: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the Succession: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the Succession: { Id }", dtoInstance.Id); - } - return dtoInstance; } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/SuccessionFlowDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/SuccessionFlowDeSerializer.cs index 83e0f1ac..d7143e98 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/SuccessionFlowDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/SuccessionFlowDeSerializer.cs @@ -69,7 +69,7 @@ internal static ISuccessionFlow DeSerialize(JsonElement jsonElement, Serializati throw new InvalidOperationException($"The SuccessionFlowDeSerializer can only be used to deserialize objects of type ISuccessionFlow, a {@type.GetString()} was provided"); } - ISuccessionFlow dtoInstance = new SysML2.NET.Core.DTO.Kernel.Interactions.SuccessionFlow(); + var dtoInstance = new SysML2.NET.Core.DTO.Kernel.Interactions.SuccessionFlow(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -375,46 +375,6 @@ internal static ISuccessionFlow DeSerialize(JsonElement jsonElement, Serializati logger.LogDebug("the owningRelationship Json property was not found in the SuccessionFlow: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the SuccessionFlow: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the SuccessionFlow: { Id }", dtoInstance.Id); - } - return dtoInstance; } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/SuccessionFlowUsageDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/SuccessionFlowUsageDeSerializer.cs index bc347186..ab76b12c 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/SuccessionFlowUsageDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/SuccessionFlowUsageDeSerializer.cs @@ -69,7 +69,7 @@ internal static ISuccessionFlowUsage DeSerialize(JsonElement jsonElement, Serial throw new InvalidOperationException($"The SuccessionFlowUsageDeSerializer can only be used to deserialize objects of type ISuccessionFlowUsage, a {@type.GetString()} was provided"); } - ISuccessionFlowUsage dtoInstance = new SysML2.NET.Core.DTO.Systems.Flows.SuccessionFlowUsage(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Flows.SuccessionFlowUsage(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -287,18 +287,6 @@ internal static ISuccessionFlowUsage DeSerialize(JsonElement jsonElement, Serial logger.LogDebug("the isUnique Json property was not found in the SuccessionFlowUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("isVariable"u8, out var isVariableProperty)) - { - if (isVariableProperty.ValueKind != JsonValueKind.Null) - { - dtoInstance.IsVariable = isVariableProperty.GetBoolean(); - } - } - else - { - logger.LogDebug("the isVariable Json property was not found in the SuccessionFlowUsage: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isVariation"u8, out var isVariationProperty)) { if (isVariationProperty.ValueKind != JsonValueKind.Null) @@ -408,46 +396,6 @@ internal static ISuccessionFlowUsage DeSerialize(JsonElement jsonElement, Serial logger.LogDebug("the portionKind Json property was not found in the SuccessionFlowUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the SuccessionFlowUsage: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the SuccessionFlowUsage: { Id }", dtoInstance.Id); - } - return dtoInstance; } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/TerminateActionUsageDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/TerminateActionUsageDeSerializer.cs index b67666a8..e0230eb8 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/TerminateActionUsageDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/TerminateActionUsageDeSerializer.cs @@ -69,7 +69,7 @@ internal static ITerminateActionUsage DeSerialize(JsonElement jsonElement, Seria throw new InvalidOperationException($"The TerminateActionUsageDeSerializer can only be used to deserialize objects of type ITerminateActionUsage, a {@type.GetString()} was provided"); } - ITerminateActionUsage dtoInstance = new SysML2.NET.Core.DTO.Systems.Actions.TerminateActionUsage(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Actions.TerminateActionUsage(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -275,18 +275,6 @@ internal static ITerminateActionUsage DeSerialize(JsonElement jsonElement, Seria logger.LogDebug("the isUnique Json property was not found in the TerminateActionUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("isVariable"u8, out var isVariableProperty)) - { - if (isVariableProperty.ValueKind != JsonValueKind.Null) - { - dtoInstance.IsVariable = isVariableProperty.GetBoolean(); - } - } - else - { - logger.LogDebug("the isVariable Json property was not found in the TerminateActionUsage: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isVariation"u8, out var isVariationProperty)) { if (isVariationProperty.ValueKind != JsonValueKind.Null) diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/TextualRepresentationDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/TextualRepresentationDeSerializer.cs index a8073c25..1bbcedf0 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/TextualRepresentationDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/TextualRepresentationDeSerializer.cs @@ -69,7 +69,7 @@ internal static ITextualRepresentation DeSerialize(JsonElement jsonElement, Seri throw new InvalidOperationException($"The TextualRepresentationDeSerializer can only be used to deserialize objects of type ITextualRepresentation, a {@type.GetString()} was provided"); } - ITextualRepresentation dtoInstance = new SysML2.NET.Core.DTO.Root.Annotations.TextualRepresentation(); + var dtoInstance = new SysML2.NET.Core.DTO.Root.Annotations.TextualRepresentation(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/TransitionFeatureMembershipDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/TransitionFeatureMembershipDeSerializer.cs index 240024d1..a39e1b2d 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/TransitionFeatureMembershipDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/TransitionFeatureMembershipDeSerializer.cs @@ -69,7 +69,7 @@ internal static ITransitionFeatureMembership DeSerialize(JsonElement jsonElement throw new InvalidOperationException($"The TransitionFeatureMembershipDeSerializer can only be used to deserialize objects of type ITransitionFeatureMembership, a {@type.GetString()} was provided"); } - ITransitionFeatureMembership dtoInstance = new SysML2.NET.Core.DTO.Systems.States.TransitionFeatureMembership(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.States.TransitionFeatureMembership(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -167,49 +167,6 @@ internal static ITransitionFeatureMembership DeSerialize(JsonElement jsonElement logger.LogDebug("the kind Json property was not found in the TransitionFeatureMembership: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("memberElement"u8, out var memberElementProperty)) - { - if (memberElementProperty.ValueKind == JsonValueKind.Null) - { - dtoInstance.MemberElement = Guid.Empty; - logger.LogDebug($"the TransitionFeatureMembership.MemberElement property was not found in the Json. The value is set to Guid.Empty"); - } - else - { - if (memberElementProperty.TryGetProperty("@id"u8, out var memberElementIdProperty)) - { - var propertyValue = memberElementIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.MemberElement = Guid.Parse(propertyValue); - } - } - } - } - else - { - logger.LogDebug("the memberElement Json property was not found in the TransitionFeatureMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("memberName"u8, out var memberNameProperty)) - { - dtoInstance.MemberName = memberNameProperty.GetString(); - } - else - { - logger.LogDebug("the memberName Json property was not found in the TransitionFeatureMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("memberShortName"u8, out var memberShortNameProperty)) - { - dtoInstance.MemberShortName = memberShortNameProperty.GetString(); - } - else - { - logger.LogDebug("the memberShortName Json property was not found in the TransitionFeatureMembership: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("ownedRelatedElement"u8, out var ownedRelatedElementProperty)) { foreach (var arrayItem in ownedRelatedElementProperty.EnumerateArray()) @@ -298,46 +255,6 @@ internal static ITransitionFeatureMembership DeSerialize(JsonElement jsonElement logger.LogDebug("the owningRelationship Json property was not found in the TransitionFeatureMembership: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the TransitionFeatureMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the TransitionFeatureMembership: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("visibility"u8, out var visibilityProperty)) { dtoInstance.Visibility = VisibilityKindDeSerializer.Deserialize(visibilityProperty.GetString()); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/TransitionUsageDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/TransitionUsageDeSerializer.cs index 33454d3a..6b5cd31f 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/TransitionUsageDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/TransitionUsageDeSerializer.cs @@ -69,7 +69,7 @@ internal static ITransitionUsage DeSerialize(JsonElement jsonElement, Serializat throw new InvalidOperationException($"The TransitionUsageDeSerializer can only be used to deserialize objects of type ITransitionUsage, a {@type.GetString()} was provided"); } - ITransitionUsage dtoInstance = new SysML2.NET.Core.DTO.Systems.States.TransitionUsage(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.States.TransitionUsage(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -275,18 +275,6 @@ internal static ITransitionUsage DeSerialize(JsonElement jsonElement, Serializat logger.LogDebug("the isUnique Json property was not found in the TransitionUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("isVariable"u8, out var isVariableProperty)) - { - if (isVariableProperty.ValueKind != JsonValueKind.Null) - { - dtoInstance.IsVariable = isVariableProperty.GetBoolean(); - } - } - else - { - logger.LogDebug("the isVariable Json property was not found in the TransitionUsage: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isVariation"u8, out var isVariationProperty)) { if (isVariationProperty.ValueKind != JsonValueKind.Null) diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/TriggerInvocationExpressionDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/TriggerInvocationExpressionDeSerializer.cs index bae3148c..d50da169 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/TriggerInvocationExpressionDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/TriggerInvocationExpressionDeSerializer.cs @@ -69,7 +69,7 @@ internal static ITriggerInvocationExpression DeSerialize(JsonElement jsonElement throw new InvalidOperationException($"The TriggerInvocationExpressionDeSerializer can only be used to deserialize objects of type ITriggerInvocationExpression, a {@type.GetString()} was provided"); } - ITriggerInvocationExpression dtoInstance = new SysML2.NET.Core.DTO.Systems.Actions.TriggerInvocationExpression(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Actions.TriggerInvocationExpression(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/TypeDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/TypeDeSerializer.cs index d676b027..f69279af 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/TypeDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/TypeDeSerializer.cs @@ -69,7 +69,7 @@ internal static IType DeSerialize(JsonElement jsonElement, SerializationModeKind throw new InvalidOperationException($"The TypeDeSerializer can only be used to deserialize objects of type IType, a {@type.GetString()} was provided"); } - IType dtoInstance = new SysML2.NET.Core.DTO.Core.Types.Type(); + var dtoInstance = new SysML2.NET.Core.DTO.Core.Types.Type(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/TypeFeaturingDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/TypeFeaturingDeSerializer.cs index 48d1d215..64e1e7ec 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/TypeFeaturingDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/TypeFeaturingDeSerializer.cs @@ -69,7 +69,7 @@ internal static ITypeFeaturing DeSerialize(JsonElement jsonElement, Serializatio throw new InvalidOperationException($"The TypeFeaturingDeSerializer can only be used to deserialize objects of type ITypeFeaturing, a {@type.GetString()} was provided"); } - ITypeFeaturing dtoInstance = new SysML2.NET.Core.DTO.Core.Features.TypeFeaturing(); + var dtoInstance = new SysML2.NET.Core.DTO.Core.Features.TypeFeaturing(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -296,46 +296,6 @@ internal static ITypeFeaturing DeSerialize(JsonElement jsonElement, Serializatio logger.LogDebug("the owningRelationship Json property was not found in the TypeFeaturing: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the TypeFeaturing: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the TypeFeaturing: { Id }", dtoInstance.Id); - } - return dtoInstance; } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/UnioningDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/UnioningDeSerializer.cs index 1fbcddf6..3d7cbf68 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/UnioningDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/UnioningDeSerializer.cs @@ -69,7 +69,7 @@ internal static IUnioning DeSerialize(JsonElement jsonElement, SerializationMode throw new InvalidOperationException($"The UnioningDeSerializer can only be used to deserialize objects of type IUnioning, a {@type.GetString()} was provided"); } - IUnioning dtoInstance = new SysML2.NET.Core.DTO.Core.Types.Unioning(); + var dtoInstance = new SysML2.NET.Core.DTO.Core.Types.Unioning(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -246,46 +246,6 @@ internal static IUnioning DeSerialize(JsonElement jsonElement, SerializationMode logger.LogDebug("the owningRelationship Json property was not found in the Unioning: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the Unioning: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the Unioning: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("unioningType"u8, out var unioningTypeProperty)) { if (unioningTypeProperty.ValueKind == JsonValueKind.Null) diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/UsageDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/UsageDeSerializer.cs index 0ce2e538..9f5d4022 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/UsageDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/UsageDeSerializer.cs @@ -69,7 +69,7 @@ internal static IUsage DeSerialize(JsonElement jsonElement, SerializationModeKin throw new InvalidOperationException($"The UsageDeSerializer can only be used to deserialize objects of type IUsage, a {@type.GetString()} was provided"); } - IUsage dtoInstance = new SysML2.NET.Core.DTO.Systems.DefinitionAndUsage.Usage(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.DefinitionAndUsage.Usage(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -263,18 +263,6 @@ internal static IUsage DeSerialize(JsonElement jsonElement, SerializationModeKin logger.LogDebug("the isUnique Json property was not found in the Usage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("isVariable"u8, out var isVariableProperty)) - { - if (isVariableProperty.ValueKind != JsonValueKind.Null) - { - dtoInstance.IsVariable = isVariableProperty.GetBoolean(); - } - } - else - { - logger.LogDebug("the isVariable Json property was not found in the Usage: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isVariation"u8, out var isVariationProperty)) { if (isVariationProperty.ValueKind != JsonValueKind.Null) diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/UseCaseDefinitionDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/UseCaseDefinitionDeSerializer.cs index 9321c52d..0184c0f8 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/UseCaseDefinitionDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/UseCaseDefinitionDeSerializer.cs @@ -69,7 +69,7 @@ internal static IUseCaseDefinition DeSerialize(JsonElement jsonElement, Serializ throw new InvalidOperationException($"The UseCaseDefinitionDeSerializer can only be used to deserialize objects of type IUseCaseDefinition, a {@type.GetString()} was provided"); } - IUseCaseDefinition dtoInstance = new SysML2.NET.Core.DTO.Systems.UseCases.UseCaseDefinition(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.UseCases.UseCaseDefinition(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/UseCaseUsageDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/UseCaseUsageDeSerializer.cs index 4618a628..ae58a5a4 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/UseCaseUsageDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/UseCaseUsageDeSerializer.cs @@ -69,7 +69,7 @@ internal static IUseCaseUsage DeSerialize(JsonElement jsonElement, Serialization throw new InvalidOperationException($"The UseCaseUsageDeSerializer can only be used to deserialize objects of type IUseCaseUsage, a {@type.GetString()} was provided"); } - IUseCaseUsage dtoInstance = new SysML2.NET.Core.DTO.Systems.UseCases.UseCaseUsage(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.UseCases.UseCaseUsage(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -275,18 +275,6 @@ internal static IUseCaseUsage DeSerialize(JsonElement jsonElement, Serialization logger.LogDebug("the isUnique Json property was not found in the UseCaseUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("isVariable"u8, out var isVariableProperty)) - { - if (isVariableProperty.ValueKind != JsonValueKind.Null) - { - dtoInstance.IsVariable = isVariableProperty.GetBoolean(); - } - } - else - { - logger.LogDebug("the isVariable Json property was not found in the UseCaseUsage: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isVariation"u8, out var isVariationProperty)) { if (isVariationProperty.ValueKind != JsonValueKind.Null) diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/VariantMembershipDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/VariantMembershipDeSerializer.cs index bfce9e40..1f7cd382 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/VariantMembershipDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/VariantMembershipDeSerializer.cs @@ -69,7 +69,7 @@ internal static IVariantMembership DeSerialize(JsonElement jsonElement, Serializ throw new InvalidOperationException($"The VariantMembershipDeSerializer can only be used to deserialize objects of type IVariantMembership, a {@type.GetString()} was provided"); } - IVariantMembership dtoInstance = new SysML2.NET.Core.DTO.Systems.DefinitionAndUsage.VariantMembership(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.DefinitionAndUsage.VariantMembership(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -158,49 +158,6 @@ internal static IVariantMembership DeSerialize(JsonElement jsonElement, Serializ logger.LogDebug("the isImpliedIncluded Json property was not found in the VariantMembership: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("memberElement"u8, out var memberElementProperty)) - { - if (memberElementProperty.ValueKind == JsonValueKind.Null) - { - dtoInstance.MemberElement = Guid.Empty; - logger.LogDebug($"the VariantMembership.MemberElement property was not found in the Json. The value is set to Guid.Empty"); - } - else - { - if (memberElementProperty.TryGetProperty("@id"u8, out var memberElementIdProperty)) - { - var propertyValue = memberElementIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.MemberElement = Guid.Parse(propertyValue); - } - } - } - } - else - { - logger.LogDebug("the memberElement Json property was not found in the VariantMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("memberName"u8, out var memberNameProperty)) - { - dtoInstance.MemberName = memberNameProperty.GetString(); - } - else - { - logger.LogDebug("the memberName Json property was not found in the VariantMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("memberShortName"u8, out var memberShortNameProperty)) - { - dtoInstance.MemberShortName = memberShortNameProperty.GetString(); - } - else - { - logger.LogDebug("the memberShortName Json property was not found in the VariantMembership: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("ownedRelatedElement"u8, out var ownedRelatedElementProperty)) { foreach (var arrayItem in ownedRelatedElementProperty.EnumerateArray()) @@ -289,46 +246,6 @@ internal static IVariantMembership DeSerialize(JsonElement jsonElement, Serializ logger.LogDebug("the owningRelationship Json property was not found in the VariantMembership: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the VariantMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the VariantMembership: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("visibility"u8, out var visibilityProperty)) { dtoInstance.Visibility = VisibilityKindDeSerializer.Deserialize(visibilityProperty.GetString()); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/VerificationCaseDefinitionDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/VerificationCaseDefinitionDeSerializer.cs index 8f9838e7..7f837c9c 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/VerificationCaseDefinitionDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/VerificationCaseDefinitionDeSerializer.cs @@ -69,7 +69,7 @@ internal static IVerificationCaseDefinition DeSerialize(JsonElement jsonElement, throw new InvalidOperationException($"The VerificationCaseDefinitionDeSerializer can only be used to deserialize objects of type IVerificationCaseDefinition, a {@type.GetString()} was provided"); } - IVerificationCaseDefinition dtoInstance = new SysML2.NET.Core.DTO.Systems.VerificationCases.VerificationCaseDefinition(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.VerificationCases.VerificationCaseDefinition(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/VerificationCaseUsageDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/VerificationCaseUsageDeSerializer.cs index 697eb3bf..922e1fa4 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/VerificationCaseUsageDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/VerificationCaseUsageDeSerializer.cs @@ -69,7 +69,7 @@ internal static IVerificationCaseUsage DeSerialize(JsonElement jsonElement, Seri throw new InvalidOperationException($"The VerificationCaseUsageDeSerializer can only be used to deserialize objects of type IVerificationCaseUsage, a {@type.GetString()} was provided"); } - IVerificationCaseUsage dtoInstance = new SysML2.NET.Core.DTO.Systems.VerificationCases.VerificationCaseUsage(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.VerificationCases.VerificationCaseUsage(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -275,18 +275,6 @@ internal static IVerificationCaseUsage DeSerialize(JsonElement jsonElement, Seri logger.LogDebug("the isUnique Json property was not found in the VerificationCaseUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("isVariable"u8, out var isVariableProperty)) - { - if (isVariableProperty.ValueKind != JsonValueKind.Null) - { - dtoInstance.IsVariable = isVariableProperty.GetBoolean(); - } - } - else - { - logger.LogDebug("the isVariable Json property was not found in the VerificationCaseUsage: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isVariation"u8, out var isVariationProperty)) { if (isVariationProperty.ValueKind != JsonValueKind.Null) diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ViewDefinitionDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ViewDefinitionDeSerializer.cs index 88e63625..4d70bc8f 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ViewDefinitionDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ViewDefinitionDeSerializer.cs @@ -69,7 +69,7 @@ internal static IViewDefinition DeSerialize(JsonElement jsonElement, Serializati throw new InvalidOperationException($"The ViewDefinitionDeSerializer can only be used to deserialize objects of type IViewDefinition, a {@type.GetString()} was provided"); } - IViewDefinition dtoInstance = new SysML2.NET.Core.DTO.Systems.Views.ViewDefinition(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Views.ViewDefinition(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ViewRenderingMembershipDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ViewRenderingMembershipDeSerializer.cs index ccbf9fd4..ed47ec3d 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ViewRenderingMembershipDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ViewRenderingMembershipDeSerializer.cs @@ -69,7 +69,7 @@ internal static IViewRenderingMembership DeSerialize(JsonElement jsonElement, Se throw new InvalidOperationException($"The ViewRenderingMembershipDeSerializer can only be used to deserialize objects of type IViewRenderingMembership, a {@type.GetString()} was provided"); } - IViewRenderingMembership dtoInstance = new SysML2.NET.Core.DTO.Systems.Views.ViewRenderingMembership(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Views.ViewRenderingMembership(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -158,49 +158,6 @@ internal static IViewRenderingMembership DeSerialize(JsonElement jsonElement, Se logger.LogDebug("the isImpliedIncluded Json property was not found in the ViewRenderingMembership: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("memberElement"u8, out var memberElementProperty)) - { - if (memberElementProperty.ValueKind == JsonValueKind.Null) - { - dtoInstance.MemberElement = Guid.Empty; - logger.LogDebug($"the ViewRenderingMembership.MemberElement property was not found in the Json. The value is set to Guid.Empty"); - } - else - { - if (memberElementProperty.TryGetProperty("@id"u8, out var memberElementIdProperty)) - { - var propertyValue = memberElementIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.MemberElement = Guid.Parse(propertyValue); - } - } - } - } - else - { - logger.LogDebug("the memberElement Json property was not found in the ViewRenderingMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("memberName"u8, out var memberNameProperty)) - { - dtoInstance.MemberName = memberNameProperty.GetString(); - } - else - { - logger.LogDebug("the memberName Json property was not found in the ViewRenderingMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("memberShortName"u8, out var memberShortNameProperty)) - { - dtoInstance.MemberShortName = memberShortNameProperty.GetString(); - } - else - { - logger.LogDebug("the memberShortName Json property was not found in the ViewRenderingMembership: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("ownedRelatedElement"u8, out var ownedRelatedElementProperty)) { foreach (var arrayItem in ownedRelatedElementProperty.EnumerateArray()) @@ -289,46 +246,6 @@ internal static IViewRenderingMembership DeSerialize(JsonElement jsonElement, Se logger.LogDebug("the owningRelationship Json property was not found in the ViewRenderingMembership: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("source"u8, out var sourceProperty)) - { - foreach (var arrayItem in sourceProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var sourceIdProperty)) - { - var propertyValue = sourceIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Source.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the source Json property was not found in the ViewRenderingMembership: { Id }", dtoInstance.Id); - } - - if (jsonElement.TryGetProperty("target"u8, out var targetProperty)) - { - foreach (var arrayItem in targetProperty.EnumerateArray()) - { - if (arrayItem.TryGetProperty("@id"u8, out var targetIdProperty)) - { - var propertyValue = targetIdProperty.GetString(); - - if (propertyValue != null) - { - dtoInstance.Target.Add(Guid.Parse(propertyValue)); - } - } - } - } - else - { - logger.LogDebug("the target Json property was not found in the ViewRenderingMembership: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("visibility"u8, out var visibilityProperty)) { dtoInstance.Visibility = VisibilityKindDeSerializer.Deserialize(visibilityProperty.GetString()); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ViewUsageDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ViewUsageDeSerializer.cs index f1c4aab1..6b8633d7 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ViewUsageDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ViewUsageDeSerializer.cs @@ -69,7 +69,7 @@ internal static IViewUsage DeSerialize(JsonElement jsonElement, SerializationMod throw new InvalidOperationException($"The ViewUsageDeSerializer can only be used to deserialize objects of type IViewUsage, a {@type.GetString()} was provided"); } - IViewUsage dtoInstance = new SysML2.NET.Core.DTO.Systems.Views.ViewUsage(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Views.ViewUsage(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -275,18 +275,6 @@ internal static IViewUsage DeSerialize(JsonElement jsonElement, SerializationMod logger.LogDebug("the isUnique Json property was not found in the ViewUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("isVariable"u8, out var isVariableProperty)) - { - if (isVariableProperty.ValueKind != JsonValueKind.Null) - { - dtoInstance.IsVariable = isVariableProperty.GetBoolean(); - } - } - else - { - logger.LogDebug("the isVariable Json property was not found in the ViewUsage: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isVariation"u8, out var isVariationProperty)) { if (isVariationProperty.ValueKind != JsonValueKind.Null) diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ViewpointDefinitionDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ViewpointDefinitionDeSerializer.cs index 4fb10989..2176d4bc 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ViewpointDefinitionDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ViewpointDefinitionDeSerializer.cs @@ -69,7 +69,7 @@ internal static IViewpointDefinition DeSerialize(JsonElement jsonElement, Serial throw new InvalidOperationException($"The ViewpointDefinitionDeSerializer can only be used to deserialize objects of type IViewpointDefinition, a {@type.GetString()} was provided"); } - IViewpointDefinition dtoInstance = new SysML2.NET.Core.DTO.Systems.Views.ViewpointDefinition(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Views.ViewpointDefinition(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -111,15 +111,6 @@ internal static IViewpointDefinition DeSerialize(JsonElement jsonElement, Serial logger.LogDebug("the declaredName Json property was not found in the ViewpointDefinition: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("declaredShortName"u8, out var declaredShortNameProperty)) - { - dtoInstance.DeclaredShortName = declaredShortNameProperty.GetString(); - } - else - { - logger.LogDebug("the declaredShortName Json property was not found in the ViewpointDefinition: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("elementId"u8, out var elementIdProperty)) { var propertyValue = elementIdProperty.GetString(); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ViewpointUsageDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ViewpointUsageDeSerializer.cs index 8273c999..a1f5eed6 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ViewpointUsageDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/ViewpointUsageDeSerializer.cs @@ -69,7 +69,7 @@ internal static IViewpointUsage DeSerialize(JsonElement jsonElement, Serializati throw new InvalidOperationException($"The ViewpointUsageDeSerializer can only be used to deserialize objects of type IViewpointUsage, a {@type.GetString()} was provided"); } - IViewpointUsage dtoInstance = new SysML2.NET.Core.DTO.Systems.Views.ViewpointUsage(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Views.ViewpointUsage(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -111,15 +111,6 @@ internal static IViewpointUsage DeSerialize(JsonElement jsonElement, Serializati logger.LogDebug("the declaredName Json property was not found in the ViewpointUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("declaredShortName"u8, out var declaredShortNameProperty)) - { - dtoInstance.DeclaredShortName = declaredShortNameProperty.GetString(); - } - else - { - logger.LogDebug("the declaredShortName Json property was not found in the ViewpointUsage: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("direction"u8, out var directionProperty)) { dtoInstance.Direction = FeatureDirectionKindDeSerializer.DeserializeNullable(directionProperty.GetString()); @@ -275,18 +266,6 @@ internal static IViewpointUsage DeSerialize(JsonElement jsonElement, Serializati logger.LogDebug("the isUnique Json property was not found in the ViewpointUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("isVariable"u8, out var isVariableProperty)) - { - if (isVariableProperty.ValueKind != JsonValueKind.Null) - { - dtoInstance.IsVariable = isVariableProperty.GetBoolean(); - } - } - else - { - logger.LogDebug("the isVariable Json property was not found in the ViewpointUsage: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isVariation"u8, out var isVariationProperty)) { if (isVariationProperty.ValueKind != JsonValueKind.Null) diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/WhileLoopActionUsageDeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/WhileLoopActionUsageDeSerializer.cs index df12a923..863e5abf 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/WhileLoopActionUsageDeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenDeSerializer/WhileLoopActionUsageDeSerializer.cs @@ -69,7 +69,7 @@ internal static IWhileLoopActionUsage DeSerialize(JsonElement jsonElement, Seria throw new InvalidOperationException($"The WhileLoopActionUsageDeSerializer can only be used to deserialize objects of type IWhileLoopActionUsage, a {@type.GetString()} was provided"); } - IWhileLoopActionUsage dtoInstance = new SysML2.NET.Core.DTO.Systems.Actions.WhileLoopActionUsage(); + var dtoInstance = new SysML2.NET.Core.DTO.Systems.Actions.WhileLoopActionUsage(); if (jsonElement.TryGetProperty("@id"u8, out var idProperty)) { @@ -275,18 +275,6 @@ internal static IWhileLoopActionUsage DeSerialize(JsonElement jsonElement, Seria logger.LogDebug("the isUnique Json property was not found in the WhileLoopActionUsage: { Id }", dtoInstance.Id); } - if (jsonElement.TryGetProperty("isVariable"u8, out var isVariableProperty)) - { - if (isVariableProperty.ValueKind != JsonValueKind.Null) - { - dtoInstance.IsVariable = isVariableProperty.GetBoolean(); - } - } - else - { - logger.LogDebug("the isVariable Json property was not found in the WhileLoopActionUsage: { Id }", dtoInstance.Id); - } - if (jsonElement.TryGetProperty("isVariation"u8, out var isVariationProperty)) { if (isVariationProperty.ValueKind != JsonValueKind.Null) diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/AcceptActionUsageSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/AcceptActionUsageSerializer.cs index 09590ae9..f73ba027 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/AcceptActionUsageSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/AcceptActionUsageSerializer.cs @@ -126,9 +126,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isUnique"u8); writer.WriteBooleanValue(iAcceptActionUsage.IsUnique); - writer.WritePropertyName("isVariable"u8); - writer.WriteBooleanValue(iAcceptActionUsage.IsVariable); - writer.WritePropertyName("isVariation"u8); writer.WriteBooleanValue(iAcceptActionUsage.IsVariation); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ActionUsageSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ActionUsageSerializer.cs index 9e4d6b6a..d3a9f4b6 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ActionUsageSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ActionUsageSerializer.cs @@ -126,9 +126,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isUnique"u8); writer.WriteBooleanValue(iActionUsage.IsUnique); - writer.WritePropertyName("isVariable"u8); - writer.WriteBooleanValue(iActionUsage.IsVariable); - writer.WritePropertyName("isVariation"u8); writer.WriteBooleanValue(iActionUsage.IsVariation); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ActorMembershipSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ActorMembershipSerializer.cs index 7d057ef8..20a32ce9 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ActorMembershipSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ActorMembershipSerializer.cs @@ -88,18 +88,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isImpliedIncluded"u8); writer.WriteBooleanValue(iActorMembership.IsImpliedIncluded); - writer.WritePropertyName("memberElement"u8); - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(iActorMembership.MemberElement); - writer.WriteEndObject(); - - writer.WritePropertyName("memberName"u8); - writer.WriteStringValue(iActorMembership.MemberName); - - writer.WritePropertyName("memberShortName"u8); - writer.WriteStringValue(iActorMembership.MemberShortName); - writer.WriteStartArray("ownedRelatedElement"u8); foreach (var item in iActorMembership.OwnedRelatedElement) @@ -152,30 +140,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iActorMembership.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iActorMembership.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WritePropertyName("visibility"u8); writer.WriteStringValue(iActorMembership.Visibility.ToString().ToLower()); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/AllocationDefinitionSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/AllocationDefinitionSerializer.cs index 9c5de3c6..bfe48835 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/AllocationDefinitionSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/AllocationDefinitionSerializer.cs @@ -152,30 +152,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iAllocationDefinition.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iAllocationDefinition.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WriteEndObject(); } } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/AllocationUsageSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/AllocationUsageSerializer.cs index 97622c41..68ba58b4 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/AllocationUsageSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/AllocationUsageSerializer.cs @@ -129,9 +129,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isUnique"u8); writer.WriteBooleanValue(iAllocationUsage.IsUnique); - writer.WritePropertyName("isVariable"u8); - writer.WriteBooleanValue(iAllocationUsage.IsVariable); - writer.WritePropertyName("isVariation"u8); writer.WriteBooleanValue(iAllocationUsage.IsVariation); @@ -198,30 +195,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iAllocationUsage.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iAllocationUsage.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WriteEndObject(); } } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/AnalysisCaseUsageSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/AnalysisCaseUsageSerializer.cs index 719458bd..606b4737 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/AnalysisCaseUsageSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/AnalysisCaseUsageSerializer.cs @@ -126,9 +126,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isUnique"u8); writer.WriteBooleanValue(iAnalysisCaseUsage.IsUnique); - writer.WritePropertyName("isVariable"u8); - writer.WriteBooleanValue(iAnalysisCaseUsage.IsVariable); - writer.WritePropertyName("isVariation"u8); writer.WriteBooleanValue(iAnalysisCaseUsage.IsVariation); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/AnnotationSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/AnnotationSerializer.cs index c289a9b2..53846c69 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/AnnotationSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/AnnotationSerializer.cs @@ -146,30 +146,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iAnnotation.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iAnnotation.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WriteEndObject(); } } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/AssertConstraintUsageSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/AssertConstraintUsageSerializer.cs index 566651ab..08529aea 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/AssertConstraintUsageSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/AssertConstraintUsageSerializer.cs @@ -129,9 +129,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isUnique"u8); writer.WriteBooleanValue(iAssertConstraintUsage.IsUnique); - writer.WritePropertyName("isVariable"u8); - writer.WriteBooleanValue(iAssertConstraintUsage.IsVariable); - writer.WritePropertyName("isVariation"u8); writer.WriteBooleanValue(iAssertConstraintUsage.IsVariation); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/AssignmentActionUsageSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/AssignmentActionUsageSerializer.cs index 9941af5c..9baf0eb1 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/AssignmentActionUsageSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/AssignmentActionUsageSerializer.cs @@ -126,9 +126,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isUnique"u8); writer.WriteBooleanValue(iAssignmentActionUsage.IsUnique); - writer.WritePropertyName("isVariable"u8); - writer.WriteBooleanValue(iAssignmentActionUsage.IsVariable); - writer.WritePropertyName("isVariation"u8); writer.WriteBooleanValue(iAssignmentActionUsage.IsVariation); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/AssociationSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/AssociationSerializer.cs index df987d6e..9b9486b4 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/AssociationSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/AssociationSerializer.cs @@ -146,30 +146,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iAssociation.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iAssociation.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WriteEndObject(); } } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/AssociationStructureSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/AssociationStructureSerializer.cs index e2486850..df4baf22 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/AssociationStructureSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/AssociationStructureSerializer.cs @@ -146,30 +146,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iAssociationStructure.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iAssociationStructure.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WriteEndObject(); } } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/AttributeUsageSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/AttributeUsageSerializer.cs index f639d2bc..c0580534 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/AttributeUsageSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/AttributeUsageSerializer.cs @@ -123,9 +123,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isUnique"u8); writer.WriteBooleanValue(iAttributeUsage.IsUnique); - writer.WritePropertyName("isVariable"u8); - writer.WriteBooleanValue(iAttributeUsage.IsVariable); - writer.WritePropertyName("isVariation"u8); writer.WriteBooleanValue(iAttributeUsage.IsVariation); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/BindingConnectorAsUsageSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/BindingConnectorAsUsageSerializer.cs index 35788744..eb6967ae 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/BindingConnectorAsUsageSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/BindingConnectorAsUsageSerializer.cs @@ -126,9 +126,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isUnique"u8); writer.WriteBooleanValue(iBindingConnectorAsUsage.IsUnique); - writer.WritePropertyName("isVariable"u8); - writer.WriteBooleanValue(iBindingConnectorAsUsage.IsVariable); - writer.WritePropertyName("isVariation"u8); writer.WriteBooleanValue(iBindingConnectorAsUsage.IsVariation); @@ -184,30 +181,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iBindingConnectorAsUsage.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iBindingConnectorAsUsage.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WriteEndObject(); } } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/BindingConnectorSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/BindingConnectorSerializer.cs index c32c57e4..2e23386d 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/BindingConnectorSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/BindingConnectorSerializer.cs @@ -181,30 +181,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iBindingConnector.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iBindingConnector.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WriteEndObject(); } } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/CalculationUsageSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/CalculationUsageSerializer.cs index e2a56f39..fffefbb0 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/CalculationUsageSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/CalculationUsageSerializer.cs @@ -126,9 +126,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isUnique"u8); writer.WriteBooleanValue(iCalculationUsage.IsUnique); - writer.WritePropertyName("isVariable"u8); - writer.WriteBooleanValue(iCalculationUsage.IsVariable); - writer.WritePropertyName("isVariation"u8); writer.WriteBooleanValue(iCalculationUsage.IsVariation); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/CaseUsageSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/CaseUsageSerializer.cs index e6ef832e..691efe82 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/CaseUsageSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/CaseUsageSerializer.cs @@ -126,9 +126,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isUnique"u8); writer.WriteBooleanValue(iCaseUsage.IsUnique); - writer.WritePropertyName("isVariable"u8); - writer.WriteBooleanValue(iCaseUsage.IsVariable); - writer.WritePropertyName("isVariation"u8); writer.WriteBooleanValue(iCaseUsage.IsVariation); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ConcernDefinitionSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ConcernDefinitionSerializer.cs index 7d383429..dc17a508 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ConcernDefinitionSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ConcernDefinitionSerializer.cs @@ -76,9 +76,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("declaredName"u8); writer.WriteStringValue(iConcernDefinition.DeclaredName); - writer.WritePropertyName("declaredShortName"u8); - writer.WriteStringValue(iConcernDefinition.DeclaredShortName); - writer.WritePropertyName("elementId"u8); writer.WriteStringValue(iConcernDefinition.ElementId); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ConcernUsageSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ConcernUsageSerializer.cs index a57a1ae0..33149390 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ConcernUsageSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ConcernUsageSerializer.cs @@ -76,9 +76,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("declaredName"u8); writer.WriteStringValue(iConcernUsage.DeclaredName); - writer.WritePropertyName("declaredShortName"u8); - writer.WriteStringValue(iConcernUsage.DeclaredShortName); - writer.WritePropertyName("direction"u8); if (iConcernUsage.Direction.HasValue) @@ -126,9 +123,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isUnique"u8); writer.WriteBooleanValue(iConcernUsage.IsUnique); - writer.WritePropertyName("isVariable"u8); - writer.WriteBooleanValue(iConcernUsage.IsVariable); - writer.WritePropertyName("isVariation"u8); writer.WriteBooleanValue(iConcernUsage.IsVariation); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ConjugatedPortTypingSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ConjugatedPortTypingSerializer.cs index e2077b10..c7110dbc 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ConjugatedPortTypingSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ConjugatedPortTypingSerializer.cs @@ -88,12 +88,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("elementId"u8); writer.WriteStringValue(iConjugatedPortTyping.ElementId); - writer.WritePropertyName("general"u8); - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(iConjugatedPortTyping.General); - writer.WriteEndObject(); - writer.WritePropertyName("isImplied"u8); writer.WriteBooleanValue(iConjugatedPortTyping.IsImplied); @@ -152,42 +146,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iConjugatedPortTyping.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WritePropertyName("specific"u8); - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(iConjugatedPortTyping.Specific); - writer.WriteEndObject(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iConjugatedPortTyping.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WritePropertyName("type"u8); - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(iConjugatedPortTyping.Type); - writer.WriteEndObject(); - writer.WritePropertyName("typedFeature"u8); writer.WriteStartObject(); writer.WritePropertyName("@id"u8); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ConjugationSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ConjugationSerializer.cs index bb8082dd..1ff7f7fa 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ConjugationSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ConjugationSerializer.cs @@ -152,30 +152,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iConjugation.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iConjugation.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WriteEndObject(); } } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ConnectionDefinitionSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ConnectionDefinitionSerializer.cs index fd6333be..6b484ca4 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ConnectionDefinitionSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ConnectionDefinitionSerializer.cs @@ -152,30 +152,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iConnectionDefinition.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iConnectionDefinition.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WriteEndObject(); } } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ConnectionUsageSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ConnectionUsageSerializer.cs index 82fce5ad..bad043f4 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ConnectionUsageSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ConnectionUsageSerializer.cs @@ -129,9 +129,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isUnique"u8); writer.WriteBooleanValue(iConnectionUsage.IsUnique); - writer.WritePropertyName("isVariable"u8); - writer.WriteBooleanValue(iConnectionUsage.IsVariable); - writer.WritePropertyName("isVariation"u8); writer.WriteBooleanValue(iConnectionUsage.IsVariation); @@ -198,30 +195,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iConnectionUsage.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iConnectionUsage.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WriteEndObject(); } } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ConnectorSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ConnectorSerializer.cs index 29a1adfc..ff831075 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ConnectorSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ConnectorSerializer.cs @@ -181,30 +181,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iConnector.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iConnector.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WriteEndObject(); } } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ConstraintUsageSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ConstraintUsageSerializer.cs index 8061582d..6e97352d 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ConstraintUsageSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ConstraintUsageSerializer.cs @@ -126,9 +126,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isUnique"u8); writer.WriteBooleanValue(iConstraintUsage.IsUnique); - writer.WritePropertyName("isVariable"u8); - writer.WriteBooleanValue(iConstraintUsage.IsVariable); - writer.WritePropertyName("isVariation"u8); writer.WriteBooleanValue(iConstraintUsage.IsVariation); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/CrossSubsettingSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/CrossSubsettingSerializer.cs index 1f3541ba..ea1f8d13 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/CrossSubsettingSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/CrossSubsettingSerializer.cs @@ -88,12 +88,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("elementId"u8); writer.WriteStringValue(iCrossSubsetting.ElementId); - writer.WritePropertyName("general"u8); - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(iCrossSubsetting.General); - writer.WriteEndObject(); - writer.WritePropertyName("isImplied"u8); writer.WriteBooleanValue(iCrossSubsetting.IsImplied); @@ -152,48 +146,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iCrossSubsetting.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WritePropertyName("specific"u8); - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(iCrossSubsetting.Specific); - writer.WriteEndObject(); - - writer.WritePropertyName("subsettedFeature"u8); - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(iCrossSubsetting.SubsettedFeature); - writer.WriteEndObject(); - - writer.WritePropertyName("subsettingFeature"u8); - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(iCrossSubsetting.SubsettingFeature); - writer.WriteEndObject(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iCrossSubsetting.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WriteEndObject(); } } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/DecisionNodeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/DecisionNodeSerializer.cs index fca4988d..4c2863a7 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/DecisionNodeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/DecisionNodeSerializer.cs @@ -126,9 +126,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isUnique"u8); writer.WriteBooleanValue(iDecisionNode.IsUnique); - writer.WritePropertyName("isVariable"u8); - writer.WriteBooleanValue(iDecisionNode.IsVariable); - writer.WritePropertyName("isVariation"u8); writer.WriteBooleanValue(iDecisionNode.IsVariation); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/DependencySerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/DependencySerializer.cs index 85ba4cd9..ad9c2469 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/DependencySerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/DependencySerializer.cs @@ -152,18 +152,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iDependency.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WriteStartArray("supplier"u8); foreach (var item in iDependency.Supplier) @@ -176,18 +164,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteEndArray(); - writer.WriteStartArray("target"u8); - - foreach (var item in iDependency.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WriteEndObject(); } } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/DifferencingSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/DifferencingSerializer.cs index 3fe54159..5a1ae7cf 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/DifferencingSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/DifferencingSerializer.cs @@ -146,30 +146,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iDifferencing.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iDifferencing.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WriteEndObject(); } } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/DisjoiningSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/DisjoiningSerializer.cs index 625035a2..6d7dd677 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/DisjoiningSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/DisjoiningSerializer.cs @@ -146,30 +146,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iDisjoining.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iDisjoining.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WritePropertyName("typeDisjoined"u8); writer.WriteStartObject(); writer.WritePropertyName("@id"u8); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ElementFilterMembershipSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ElementFilterMembershipSerializer.cs index 3a32dea9..2ad7b5b7 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ElementFilterMembershipSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ElementFilterMembershipSerializer.cs @@ -88,18 +88,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isImpliedIncluded"u8); writer.WriteBooleanValue(iElementFilterMembership.IsImpliedIncluded); - writer.WritePropertyName("memberElement"u8); - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(iElementFilterMembership.MemberElement); - writer.WriteEndObject(); - - writer.WritePropertyName("memberName"u8); - writer.WriteStringValue(iElementFilterMembership.MemberName); - - writer.WritePropertyName("memberShortName"u8); - writer.WriteStringValue(iElementFilterMembership.MemberShortName); - writer.WriteStartArray("ownedRelatedElement"u8); foreach (var item in iElementFilterMembership.OwnedRelatedElement) @@ -152,30 +140,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iElementFilterMembership.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iElementFilterMembership.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WritePropertyName("visibility"u8); writer.WriteStringValue(iElementFilterMembership.Visibility.ToString().ToLower()); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/EndFeatureMembershipSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/EndFeatureMembershipSerializer.cs index 44a1228d..be96ac2c 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/EndFeatureMembershipSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/EndFeatureMembershipSerializer.cs @@ -88,18 +88,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isImpliedIncluded"u8); writer.WriteBooleanValue(iEndFeatureMembership.IsImpliedIncluded); - writer.WritePropertyName("memberElement"u8); - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(iEndFeatureMembership.MemberElement); - writer.WriteEndObject(); - - writer.WritePropertyName("memberName"u8); - writer.WriteStringValue(iEndFeatureMembership.MemberName); - - writer.WritePropertyName("memberShortName"u8); - writer.WriteStringValue(iEndFeatureMembership.MemberShortName); - writer.WriteStartArray("ownedRelatedElement"u8); foreach (var item in iEndFeatureMembership.OwnedRelatedElement) @@ -152,30 +140,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iEndFeatureMembership.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iEndFeatureMembership.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WritePropertyName("visibility"u8); writer.WriteStringValue(iEndFeatureMembership.Visibility.ToString().ToLower()); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/EnumerationUsageSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/EnumerationUsageSerializer.cs index c3f73c69..49f628c1 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/EnumerationUsageSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/EnumerationUsageSerializer.cs @@ -123,9 +123,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isUnique"u8); writer.WriteBooleanValue(iEnumerationUsage.IsUnique); - writer.WritePropertyName("isVariable"u8); - writer.WriteBooleanValue(iEnumerationUsage.IsVariable); - writer.WritePropertyName("isVariation"u8); writer.WriteBooleanValue(iEnumerationUsage.IsVariation); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/EventOccurrenceUsageSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/EventOccurrenceUsageSerializer.cs index 415067b6..83b65282 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/EventOccurrenceUsageSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/EventOccurrenceUsageSerializer.cs @@ -126,9 +126,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isUnique"u8); writer.WriteBooleanValue(iEventOccurrenceUsage.IsUnique); - writer.WritePropertyName("isVariable"u8); - writer.WriteBooleanValue(iEventOccurrenceUsage.IsVariable); - writer.WritePropertyName("isVariation"u8); writer.WriteBooleanValue(iEventOccurrenceUsage.IsVariation); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ExhibitStateUsageSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ExhibitStateUsageSerializer.cs index 5bee88cb..cc853d36 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ExhibitStateUsageSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ExhibitStateUsageSerializer.cs @@ -129,9 +129,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isUnique"u8); writer.WriteBooleanValue(iExhibitStateUsage.IsUnique); - writer.WritePropertyName("isVariable"u8); - writer.WriteBooleanValue(iExhibitStateUsage.IsVariable); - writer.WritePropertyName("isVariation"u8); writer.WriteBooleanValue(iExhibitStateUsage.IsVariation); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/FeatureChainingSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/FeatureChainingSerializer.cs index 132f88d2..a05684da 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/FeatureChainingSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/FeatureChainingSerializer.cs @@ -146,30 +146,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iFeatureChaining.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iFeatureChaining.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WriteEndObject(); } } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/FeatureInvertingSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/FeatureInvertingSerializer.cs index 3a67feec..97941edb 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/FeatureInvertingSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/FeatureInvertingSerializer.cs @@ -152,30 +152,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iFeatureInverting.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iFeatureInverting.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WriteEndObject(); } } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/FeatureMembershipSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/FeatureMembershipSerializer.cs index ac7faedd..774acb50 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/FeatureMembershipSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/FeatureMembershipSerializer.cs @@ -88,18 +88,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isImpliedIncluded"u8); writer.WriteBooleanValue(iFeatureMembership.IsImpliedIncluded); - writer.WritePropertyName("memberElement"u8); - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(iFeatureMembership.MemberElement); - writer.WriteEndObject(); - - writer.WritePropertyName("memberName"u8); - writer.WriteStringValue(iFeatureMembership.MemberName); - - writer.WritePropertyName("memberShortName"u8); - writer.WriteStringValue(iFeatureMembership.MemberShortName); - writer.WriteStartArray("ownedRelatedElement"u8); foreach (var item in iFeatureMembership.OwnedRelatedElement) @@ -152,30 +140,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iFeatureMembership.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iFeatureMembership.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WritePropertyName("visibility"u8); writer.WriteStringValue(iFeatureMembership.Visibility.ToString().ToLower()); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/FeatureTypingSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/FeatureTypingSerializer.cs index 3c964b7d..b9c7c6f6 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/FeatureTypingSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/FeatureTypingSerializer.cs @@ -82,12 +82,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("elementId"u8); writer.WriteStringValue(iFeatureTyping.ElementId); - writer.WritePropertyName("general"u8); - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(iFeatureTyping.General); - writer.WriteEndObject(); - writer.WritePropertyName("isImplied"u8); writer.WriteBooleanValue(iFeatureTyping.IsImplied); @@ -146,36 +140,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iFeatureTyping.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WritePropertyName("specific"u8); - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(iFeatureTyping.Specific); - writer.WriteEndObject(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iFeatureTyping.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WritePropertyName("type"u8); writer.WriteStartObject(); writer.WritePropertyName("@id"u8); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/FeatureValueSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/FeatureValueSerializer.cs index 1c3d991f..9607ae5c 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/FeatureValueSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/FeatureValueSerializer.cs @@ -94,18 +94,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isInitial"u8); writer.WriteBooleanValue(iFeatureValue.IsInitial); - writer.WritePropertyName("memberElement"u8); - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(iFeatureValue.MemberElement); - writer.WriteEndObject(); - - writer.WritePropertyName("memberName"u8); - writer.WriteStringValue(iFeatureValue.MemberName); - - writer.WritePropertyName("memberShortName"u8); - writer.WriteStringValue(iFeatureValue.MemberShortName); - writer.WriteStartArray("ownedRelatedElement"u8); foreach (var item in iFeatureValue.OwnedRelatedElement) @@ -158,30 +146,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iFeatureValue.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iFeatureValue.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WritePropertyName("visibility"u8); writer.WriteStringValue(iFeatureValue.Visibility.ToString().ToLower()); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/FlowDefinitionSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/FlowDefinitionSerializer.cs index 77c40a85..b9cb3aab 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/FlowDefinitionSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/FlowDefinitionSerializer.cs @@ -152,30 +152,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iFlowDefinition.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iFlowDefinition.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WriteEndObject(); } } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/FlowSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/FlowSerializer.cs index ab8b7b38..c52406d5 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/FlowSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/FlowSerializer.cs @@ -181,30 +181,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iFlow.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iFlow.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WriteEndObject(); } } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/FlowUsageSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/FlowUsageSerializer.cs index e1884245..f36a1a3c 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/FlowUsageSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/FlowUsageSerializer.cs @@ -129,9 +129,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isUnique"u8); writer.WriteBooleanValue(iFlowUsage.IsUnique); - writer.WritePropertyName("isVariable"u8); - writer.WriteBooleanValue(iFlowUsage.IsVariable); - writer.WritePropertyName("isVariation"u8); writer.WriteBooleanValue(iFlowUsage.IsVariation); @@ -198,30 +195,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iFlowUsage.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iFlowUsage.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WriteEndObject(); } } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ForLoopActionUsageSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ForLoopActionUsageSerializer.cs index a404dcc3..ddeaaada 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ForLoopActionUsageSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ForLoopActionUsageSerializer.cs @@ -126,9 +126,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isUnique"u8); writer.WriteBooleanValue(iForLoopActionUsage.IsUnique); - writer.WritePropertyName("isVariable"u8); - writer.WriteBooleanValue(iForLoopActionUsage.IsVariable); - writer.WritePropertyName("isVariation"u8); writer.WriteBooleanValue(iForLoopActionUsage.IsVariation); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ForkNodeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ForkNodeSerializer.cs index e7415025..61278c88 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ForkNodeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ForkNodeSerializer.cs @@ -126,9 +126,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isUnique"u8); writer.WriteBooleanValue(iForkNode.IsUnique); - writer.WritePropertyName("isVariable"u8); - writer.WriteBooleanValue(iForkNode.IsVariable); - writer.WritePropertyName("isVariation"u8); writer.WriteBooleanValue(iForkNode.IsVariation); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/FramedConcernMembershipSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/FramedConcernMembershipSerializer.cs index 2bdfbf53..0329a63b 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/FramedConcernMembershipSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/FramedConcernMembershipSerializer.cs @@ -91,18 +91,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("kind"u8); writer.WriteStringValue(iFramedConcernMembership.Kind.ToString().ToLower()); - writer.WritePropertyName("memberElement"u8); - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(iFramedConcernMembership.MemberElement); - writer.WriteEndObject(); - - writer.WritePropertyName("memberName"u8); - writer.WriteStringValue(iFramedConcernMembership.MemberName); - - writer.WritePropertyName("memberShortName"u8); - writer.WriteStringValue(iFramedConcernMembership.MemberShortName); - writer.WriteStartArray("ownedRelatedElement"u8); foreach (var item in iFramedConcernMembership.OwnedRelatedElement) @@ -155,30 +143,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iFramedConcernMembership.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iFramedConcernMembership.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WritePropertyName("visibility"u8); writer.WriteStringValue(iFramedConcernMembership.Visibility.ToString().ToLower()); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/IfActionUsageSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/IfActionUsageSerializer.cs index ea9cecf0..a0bdbfc7 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/IfActionUsageSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/IfActionUsageSerializer.cs @@ -126,9 +126,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isUnique"u8); writer.WriteBooleanValue(iIfActionUsage.IsUnique); - writer.WritePropertyName("isVariable"u8); - writer.WriteBooleanValue(iIfActionUsage.IsVariable); - writer.WritePropertyName("isVariation"u8); writer.WriteBooleanValue(iIfActionUsage.IsVariation); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/IncludeUseCaseUsageSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/IncludeUseCaseUsageSerializer.cs index ed80eeec..ccfdb4d5 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/IncludeUseCaseUsageSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/IncludeUseCaseUsageSerializer.cs @@ -126,9 +126,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isUnique"u8); writer.WriteBooleanValue(iIncludeUseCaseUsage.IsUnique); - writer.WritePropertyName("isVariable"u8); - writer.WriteBooleanValue(iIncludeUseCaseUsage.IsVariable); - writer.WritePropertyName("isVariation"u8); writer.WriteBooleanValue(iIncludeUseCaseUsage.IsVariation); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/InteractionSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/InteractionSerializer.cs index 5836bea7..eff551ba 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/InteractionSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/InteractionSerializer.cs @@ -146,30 +146,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iInteraction.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iInteraction.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WriteEndObject(); } } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/InterfaceDefinitionSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/InterfaceDefinitionSerializer.cs index 1793fe0b..fc51dbc8 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/InterfaceDefinitionSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/InterfaceDefinitionSerializer.cs @@ -152,30 +152,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iInterfaceDefinition.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iInterfaceDefinition.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WriteEndObject(); } } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/InterfaceUsageSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/InterfaceUsageSerializer.cs index 6e805b91..0a13505e 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/InterfaceUsageSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/InterfaceUsageSerializer.cs @@ -129,9 +129,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isUnique"u8); writer.WriteBooleanValue(iInterfaceUsage.IsUnique); - writer.WritePropertyName("isVariable"u8); - writer.WriteBooleanValue(iInterfaceUsage.IsVariable); - writer.WritePropertyName("isVariation"u8); writer.WriteBooleanValue(iInterfaceUsage.IsVariation); @@ -198,30 +195,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iInterfaceUsage.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iInterfaceUsage.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WriteEndObject(); } } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/IntersectingSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/IntersectingSerializer.cs index cbe56e2f..5f529234 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/IntersectingSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/IntersectingSerializer.cs @@ -146,30 +146,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iIntersecting.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iIntersecting.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WriteEndObject(); } } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ItemUsageSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ItemUsageSerializer.cs index 9bc48f11..55f52221 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ItemUsageSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ItemUsageSerializer.cs @@ -126,9 +126,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isUnique"u8); writer.WriteBooleanValue(iItemUsage.IsUnique); - writer.WritePropertyName("isVariable"u8); - writer.WriteBooleanValue(iItemUsage.IsVariable); - writer.WritePropertyName("isVariation"u8); writer.WriteBooleanValue(iItemUsage.IsVariation); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/JoinNodeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/JoinNodeSerializer.cs index bc2e068d..1399dbf6 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/JoinNodeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/JoinNodeSerializer.cs @@ -126,9 +126,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isUnique"u8); writer.WriteBooleanValue(iJoinNode.IsUnique); - writer.WritePropertyName("isVariable"u8); - writer.WriteBooleanValue(iJoinNode.IsVariable); - writer.WritePropertyName("isVariation"u8); writer.WriteBooleanValue(iJoinNode.IsVariation); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/MembershipExposeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/MembershipExposeSerializer.cs index 047b86c7..c1facd0e 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/MembershipExposeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/MembershipExposeSerializer.cs @@ -152,30 +152,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iMembershipExpose.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iMembershipExpose.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WritePropertyName("visibility"u8); writer.WriteStringValue(iMembershipExpose.Visibility.ToString().ToLower()); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/MembershipImportSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/MembershipImportSerializer.cs index 8e4cb0d7..eeff481d 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/MembershipImportSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/MembershipImportSerializer.cs @@ -152,30 +152,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iMembershipImport.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iMembershipImport.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WritePropertyName("visibility"u8); writer.WriteStringValue(iMembershipImport.Visibility.ToString().ToLower()); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/MembershipSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/MembershipSerializer.cs index a8b2f4ee..4bb5bc06 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/MembershipSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/MembershipSerializer.cs @@ -152,30 +152,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iMembership.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iMembership.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WritePropertyName("visibility"u8); writer.WriteStringValue(iMembership.Visibility.ToString().ToLower()); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/MergeNodeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/MergeNodeSerializer.cs index d9d071a0..3254627d 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/MergeNodeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/MergeNodeSerializer.cs @@ -126,9 +126,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isUnique"u8); writer.WriteBooleanValue(iMergeNode.IsUnique); - writer.WritePropertyName("isVariable"u8); - writer.WriteBooleanValue(iMergeNode.IsVariable); - writer.WritePropertyName("isVariation"u8); writer.WriteBooleanValue(iMergeNode.IsVariation); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/MetadataUsageSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/MetadataUsageSerializer.cs index dcf7a7e9..feb5e75d 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/MetadataUsageSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/MetadataUsageSerializer.cs @@ -126,9 +126,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isUnique"u8); writer.WriteBooleanValue(iMetadataUsage.IsUnique); - writer.WritePropertyName("isVariable"u8); - writer.WriteBooleanValue(iMetadataUsage.IsVariable); - writer.WritePropertyName("isVariation"u8); writer.WriteBooleanValue(iMetadataUsage.IsVariation); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/NamespaceExposeSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/NamespaceExposeSerializer.cs index f7adf924..3c4e03cc 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/NamespaceExposeSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/NamespaceExposeSerializer.cs @@ -152,30 +152,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iNamespaceExpose.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iNamespaceExpose.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WritePropertyName("visibility"u8); writer.WriteStringValue(iNamespaceExpose.Visibility.ToString().ToLower()); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/NamespaceImportSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/NamespaceImportSerializer.cs index e801a02c..2f694702 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/NamespaceImportSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/NamespaceImportSerializer.cs @@ -152,30 +152,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iNamespaceImport.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iNamespaceImport.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WritePropertyName("visibility"u8); writer.WriteStringValue(iNamespaceImport.Visibility.ToString().ToLower()); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ObjectiveMembershipSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ObjectiveMembershipSerializer.cs index 647e1b68..6b27a049 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ObjectiveMembershipSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ObjectiveMembershipSerializer.cs @@ -88,18 +88,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isImpliedIncluded"u8); writer.WriteBooleanValue(iObjectiveMembership.IsImpliedIncluded); - writer.WritePropertyName("memberElement"u8); - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(iObjectiveMembership.MemberElement); - writer.WriteEndObject(); - - writer.WritePropertyName("memberName"u8); - writer.WriteStringValue(iObjectiveMembership.MemberName); - - writer.WritePropertyName("memberShortName"u8); - writer.WriteStringValue(iObjectiveMembership.MemberShortName); - writer.WriteStartArray("ownedRelatedElement"u8); foreach (var item in iObjectiveMembership.OwnedRelatedElement) @@ -152,30 +140,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iObjectiveMembership.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iObjectiveMembership.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WritePropertyName("visibility"u8); writer.WriteStringValue(iObjectiveMembership.Visibility.ToString().ToLower()); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/OccurrenceUsageSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/OccurrenceUsageSerializer.cs index d02cd202..8f35a717 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/OccurrenceUsageSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/OccurrenceUsageSerializer.cs @@ -126,9 +126,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isUnique"u8); writer.WriteBooleanValue(iOccurrenceUsage.IsUnique); - writer.WritePropertyName("isVariable"u8); - writer.WriteBooleanValue(iOccurrenceUsage.IsVariable); - writer.WritePropertyName("isVariation"u8); writer.WriteBooleanValue(iOccurrenceUsage.IsVariation); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/OwningMembershipSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/OwningMembershipSerializer.cs index 8ab9ac42..d6eefe1f 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/OwningMembershipSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/OwningMembershipSerializer.cs @@ -88,18 +88,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isImpliedIncluded"u8); writer.WriteBooleanValue(iOwningMembership.IsImpliedIncluded); - writer.WritePropertyName("memberElement"u8); - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(iOwningMembership.MemberElement); - writer.WriteEndObject(); - - writer.WritePropertyName("memberName"u8); - writer.WriteStringValue(iOwningMembership.MemberName); - - writer.WritePropertyName("memberShortName"u8); - writer.WriteStringValue(iOwningMembership.MemberShortName); - writer.WriteStartArray("ownedRelatedElement"u8); foreach (var item in iOwningMembership.OwnedRelatedElement) @@ -152,30 +140,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iOwningMembership.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iOwningMembership.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WritePropertyName("visibility"u8); writer.WriteStringValue(iOwningMembership.Visibility.ToString().ToLower()); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ParameterMembershipSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ParameterMembershipSerializer.cs index 25f8328e..08661fc1 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ParameterMembershipSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ParameterMembershipSerializer.cs @@ -88,18 +88,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isImpliedIncluded"u8); writer.WriteBooleanValue(iParameterMembership.IsImpliedIncluded); - writer.WritePropertyName("memberElement"u8); - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(iParameterMembership.MemberElement); - writer.WriteEndObject(); - - writer.WritePropertyName("memberName"u8); - writer.WriteStringValue(iParameterMembership.MemberName); - - writer.WritePropertyName("memberShortName"u8); - writer.WriteStringValue(iParameterMembership.MemberShortName); - writer.WriteStartArray("ownedRelatedElement"u8); foreach (var item in iParameterMembership.OwnedRelatedElement) @@ -152,30 +140,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iParameterMembership.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iParameterMembership.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WritePropertyName("visibility"u8); writer.WriteStringValue(iParameterMembership.Visibility.ToString().ToLower()); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/PartUsageSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/PartUsageSerializer.cs index 404ab995..e867d877 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/PartUsageSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/PartUsageSerializer.cs @@ -126,9 +126,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isUnique"u8); writer.WriteBooleanValue(iPartUsage.IsUnique); - writer.WritePropertyName("isVariable"u8); - writer.WriteBooleanValue(iPartUsage.IsVariable); - writer.WritePropertyName("isVariation"u8); writer.WriteBooleanValue(iPartUsage.IsVariation); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/PerformActionUsageSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/PerformActionUsageSerializer.cs index aa1156de..07215955 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/PerformActionUsageSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/PerformActionUsageSerializer.cs @@ -126,9 +126,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isUnique"u8); writer.WriteBooleanValue(iPerformActionUsage.IsUnique); - writer.WritePropertyName("isVariable"u8); - writer.WriteBooleanValue(iPerformActionUsage.IsVariable); - writer.WritePropertyName("isVariation"u8); writer.WriteBooleanValue(iPerformActionUsage.IsVariation); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/PortConjugationSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/PortConjugationSerializer.cs index 81e18386..11f687ce 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/PortConjugationSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/PortConjugationSerializer.cs @@ -100,12 +100,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteStringValue(iPortConjugation.OriginalPortDefinition); writer.WriteEndObject(); - writer.WritePropertyName("originalType"u8); - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(iPortConjugation.OriginalType); - writer.WriteEndObject(); - writer.WriteStartArray("ownedRelatedElement"u8); foreach (var item in iPortConjugation.OwnedRelatedElement) @@ -158,30 +152,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iPortConjugation.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iPortConjugation.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WriteEndObject(); } } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/PortUsageSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/PortUsageSerializer.cs index 801063f4..2e0fd7fd 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/PortUsageSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/PortUsageSerializer.cs @@ -126,9 +126,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isUnique"u8); writer.WriteBooleanValue(iPortUsage.IsUnique); - writer.WritePropertyName("isVariable"u8); - writer.WriteBooleanValue(iPortUsage.IsVariable); - writer.WritePropertyName("isVariation"u8); writer.WriteBooleanValue(iPortUsage.IsVariation); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/RedefinitionSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/RedefinitionSerializer.cs index 3b359ee4..e97b5a14 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/RedefinitionSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/RedefinitionSerializer.cs @@ -82,12 +82,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("elementId"u8); writer.WriteStringValue(iRedefinition.ElementId); - writer.WritePropertyName("general"u8); - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(iRedefinition.General); - writer.WriteEndObject(); - writer.WritePropertyName("isImplied"u8); writer.WriteBooleanValue(iRedefinition.IsImplied); @@ -158,48 +152,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteStringValue(iRedefinition.RedefiningFeature); writer.WriteEndObject(); - writer.WriteStartArray("source"u8); - - foreach (var item in iRedefinition.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WritePropertyName("specific"u8); - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(iRedefinition.Specific); - writer.WriteEndObject(); - - writer.WritePropertyName("subsettedFeature"u8); - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(iRedefinition.SubsettedFeature); - writer.WriteEndObject(); - - writer.WritePropertyName("subsettingFeature"u8); - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(iRedefinition.SubsettingFeature); - writer.WriteEndObject(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iRedefinition.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WriteEndObject(); } } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ReferenceSubsettingSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ReferenceSubsettingSerializer.cs index e2a44dd2..c25ee6fe 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ReferenceSubsettingSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ReferenceSubsettingSerializer.cs @@ -82,12 +82,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("elementId"u8); writer.WriteStringValue(iReferenceSubsetting.ElementId); - writer.WritePropertyName("general"u8); - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(iReferenceSubsetting.General); - writer.WriteEndObject(); - writer.WritePropertyName("isImplied"u8); writer.WriteBooleanValue(iReferenceSubsetting.IsImplied); @@ -152,48 +146,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteStringValue(iReferenceSubsetting.ReferencedFeature); writer.WriteEndObject(); - writer.WriteStartArray("source"u8); - - foreach (var item in iReferenceSubsetting.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WritePropertyName("specific"u8); - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(iReferenceSubsetting.Specific); - writer.WriteEndObject(); - - writer.WritePropertyName("subsettedFeature"u8); - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(iReferenceSubsetting.SubsettedFeature); - writer.WriteEndObject(); - - writer.WritePropertyName("subsettingFeature"u8); - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(iReferenceSubsetting.SubsettingFeature); - writer.WriteEndObject(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iReferenceSubsetting.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WriteEndObject(); } } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ReferenceUsageSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ReferenceUsageSerializer.cs index d8fead29..b3073fe6 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ReferenceUsageSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ReferenceUsageSerializer.cs @@ -123,9 +123,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isUnique"u8); writer.WriteBooleanValue(iReferenceUsage.IsUnique); - writer.WritePropertyName("isVariable"u8); - writer.WriteBooleanValue(iReferenceUsage.IsVariable); - writer.WritePropertyName("isVariation"u8); writer.WriteBooleanValue(iReferenceUsage.IsVariation); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/RenderingUsageSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/RenderingUsageSerializer.cs index c67b4409..f2aa9bd5 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/RenderingUsageSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/RenderingUsageSerializer.cs @@ -126,9 +126,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isUnique"u8); writer.WriteBooleanValue(iRenderingUsage.IsUnique); - writer.WritePropertyName("isVariable"u8); - writer.WriteBooleanValue(iRenderingUsage.IsVariable); - writer.WritePropertyName("isVariation"u8); writer.WriteBooleanValue(iRenderingUsage.IsVariation); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/RequirementConstraintMembershipSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/RequirementConstraintMembershipSerializer.cs index 579fd189..7042add5 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/RequirementConstraintMembershipSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/RequirementConstraintMembershipSerializer.cs @@ -91,18 +91,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("kind"u8); writer.WriteStringValue(iRequirementConstraintMembership.Kind.ToString().ToLower()); - writer.WritePropertyName("memberElement"u8); - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(iRequirementConstraintMembership.MemberElement); - writer.WriteEndObject(); - - writer.WritePropertyName("memberName"u8); - writer.WriteStringValue(iRequirementConstraintMembership.MemberName); - - writer.WritePropertyName("memberShortName"u8); - writer.WriteStringValue(iRequirementConstraintMembership.MemberShortName); - writer.WriteStartArray("ownedRelatedElement"u8); foreach (var item in iRequirementConstraintMembership.OwnedRelatedElement) @@ -155,30 +143,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iRequirementConstraintMembership.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iRequirementConstraintMembership.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WritePropertyName("visibility"u8); writer.WriteStringValue(iRequirementConstraintMembership.Visibility.ToString().ToLower()); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/RequirementDefinitionSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/RequirementDefinitionSerializer.cs index b72893e5..7f7113de 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/RequirementDefinitionSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/RequirementDefinitionSerializer.cs @@ -76,9 +76,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("declaredName"u8); writer.WriteStringValue(iRequirementDefinition.DeclaredName); - writer.WritePropertyName("declaredShortName"u8); - writer.WriteStringValue(iRequirementDefinition.DeclaredShortName); - writer.WritePropertyName("elementId"u8); writer.WriteStringValue(iRequirementDefinition.ElementId); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/RequirementUsageSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/RequirementUsageSerializer.cs index fc4226b4..c5120820 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/RequirementUsageSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/RequirementUsageSerializer.cs @@ -76,9 +76,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("declaredName"u8); writer.WriteStringValue(iRequirementUsage.DeclaredName); - writer.WritePropertyName("declaredShortName"u8); - writer.WriteStringValue(iRequirementUsage.DeclaredShortName); - writer.WritePropertyName("direction"u8); if (iRequirementUsage.Direction.HasValue) @@ -126,9 +123,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isUnique"u8); writer.WriteBooleanValue(iRequirementUsage.IsUnique); - writer.WritePropertyName("isVariable"u8); - writer.WriteBooleanValue(iRequirementUsage.IsVariable); - writer.WritePropertyName("isVariation"u8); writer.WriteBooleanValue(iRequirementUsage.IsVariation); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/RequirementVerificationMembershipSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/RequirementVerificationMembershipSerializer.cs index 98f3e136..7e987f6d 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/RequirementVerificationMembershipSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/RequirementVerificationMembershipSerializer.cs @@ -91,18 +91,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("kind"u8); writer.WriteStringValue(iRequirementVerificationMembership.Kind.ToString().ToLower()); - writer.WritePropertyName("memberElement"u8); - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(iRequirementVerificationMembership.MemberElement); - writer.WriteEndObject(); - - writer.WritePropertyName("memberName"u8); - writer.WriteStringValue(iRequirementVerificationMembership.MemberName); - - writer.WritePropertyName("memberShortName"u8); - writer.WriteStringValue(iRequirementVerificationMembership.MemberShortName); - writer.WriteStartArray("ownedRelatedElement"u8); foreach (var item in iRequirementVerificationMembership.OwnedRelatedElement) @@ -155,30 +143,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iRequirementVerificationMembership.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iRequirementVerificationMembership.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WritePropertyName("visibility"u8); writer.WriteStringValue(iRequirementVerificationMembership.Visibility.ToString().ToLower()); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ResultExpressionMembershipSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ResultExpressionMembershipSerializer.cs index af841474..fb6f03fc 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ResultExpressionMembershipSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ResultExpressionMembershipSerializer.cs @@ -88,18 +88,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isImpliedIncluded"u8); writer.WriteBooleanValue(iResultExpressionMembership.IsImpliedIncluded); - writer.WritePropertyName("memberElement"u8); - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(iResultExpressionMembership.MemberElement); - writer.WriteEndObject(); - - writer.WritePropertyName("memberName"u8); - writer.WriteStringValue(iResultExpressionMembership.MemberName); - - writer.WritePropertyName("memberShortName"u8); - writer.WriteStringValue(iResultExpressionMembership.MemberShortName); - writer.WriteStartArray("ownedRelatedElement"u8); foreach (var item in iResultExpressionMembership.OwnedRelatedElement) @@ -152,30 +140,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iResultExpressionMembership.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iResultExpressionMembership.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WritePropertyName("visibility"u8); writer.WriteStringValue(iResultExpressionMembership.Visibility.ToString().ToLower()); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ReturnParameterMembershipSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ReturnParameterMembershipSerializer.cs index 2564d54f..d926c747 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ReturnParameterMembershipSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ReturnParameterMembershipSerializer.cs @@ -88,18 +88,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isImpliedIncluded"u8); writer.WriteBooleanValue(iReturnParameterMembership.IsImpliedIncluded); - writer.WritePropertyName("memberElement"u8); - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(iReturnParameterMembership.MemberElement); - writer.WriteEndObject(); - - writer.WritePropertyName("memberName"u8); - writer.WriteStringValue(iReturnParameterMembership.MemberName); - - writer.WritePropertyName("memberShortName"u8); - writer.WriteStringValue(iReturnParameterMembership.MemberShortName); - writer.WriteStartArray("ownedRelatedElement"u8); foreach (var item in iReturnParameterMembership.OwnedRelatedElement) @@ -152,30 +140,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iReturnParameterMembership.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iReturnParameterMembership.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WritePropertyName("visibility"u8); writer.WriteStringValue(iReturnParameterMembership.Visibility.ToString().ToLower()); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/SatisfyRequirementUsageSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/SatisfyRequirementUsageSerializer.cs index f64655a0..6cc34ced 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/SatisfyRequirementUsageSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/SatisfyRequirementUsageSerializer.cs @@ -76,9 +76,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("declaredName"u8); writer.WriteStringValue(iSatisfyRequirementUsage.DeclaredName); - writer.WritePropertyName("declaredShortName"u8); - writer.WriteStringValue(iSatisfyRequirementUsage.DeclaredShortName); - writer.WritePropertyName("direction"u8); if (iSatisfyRequirementUsage.Direction.HasValue) @@ -129,9 +126,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isUnique"u8); writer.WriteBooleanValue(iSatisfyRequirementUsage.IsUnique); - writer.WritePropertyName("isVariable"u8); - writer.WriteBooleanValue(iSatisfyRequirementUsage.IsVariable); - writer.WritePropertyName("isVariation"u8); writer.WriteBooleanValue(iSatisfyRequirementUsage.IsVariation); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/SendActionUsageSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/SendActionUsageSerializer.cs index 18d79a7c..61682654 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/SendActionUsageSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/SendActionUsageSerializer.cs @@ -126,9 +126,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isUnique"u8); writer.WriteBooleanValue(iSendActionUsage.IsUnique); - writer.WritePropertyName("isVariable"u8); - writer.WriteBooleanValue(iSendActionUsage.IsVariable); - writer.WritePropertyName("isVariation"u8); writer.WriteBooleanValue(iSendActionUsage.IsVariation); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/SpecializationSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/SpecializationSerializer.cs index 6bdfaea4..810acc4c 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/SpecializationSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/SpecializationSerializer.cs @@ -146,36 +146,12 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iSpecialization.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WritePropertyName("specific"u8); writer.WriteStartObject(); writer.WritePropertyName("@id"u8); writer.WriteStringValue(iSpecialization.Specific); writer.WriteEndObject(); - writer.WriteStartArray("target"u8); - - foreach (var item in iSpecialization.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WriteEndObject(); } } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/StakeholderMembershipSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/StakeholderMembershipSerializer.cs index 4f471ef1..bc45f6ad 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/StakeholderMembershipSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/StakeholderMembershipSerializer.cs @@ -88,18 +88,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isImpliedIncluded"u8); writer.WriteBooleanValue(iStakeholderMembership.IsImpliedIncluded); - writer.WritePropertyName("memberElement"u8); - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(iStakeholderMembership.MemberElement); - writer.WriteEndObject(); - - writer.WritePropertyName("memberName"u8); - writer.WriteStringValue(iStakeholderMembership.MemberName); - - writer.WritePropertyName("memberShortName"u8); - writer.WriteStringValue(iStakeholderMembership.MemberShortName); - writer.WriteStartArray("ownedRelatedElement"u8); foreach (var item in iStakeholderMembership.OwnedRelatedElement) @@ -152,30 +140,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iStakeholderMembership.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iStakeholderMembership.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WritePropertyName("visibility"u8); writer.WriteStringValue(iStakeholderMembership.Visibility.ToString().ToLower()); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/StateSubactionMembershipSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/StateSubactionMembershipSerializer.cs index 3f1d7074..f977bb49 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/StateSubactionMembershipSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/StateSubactionMembershipSerializer.cs @@ -91,18 +91,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("kind"u8); writer.WriteStringValue(iStateSubactionMembership.Kind.ToString().ToLower()); - writer.WritePropertyName("memberElement"u8); - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(iStateSubactionMembership.MemberElement); - writer.WriteEndObject(); - - writer.WritePropertyName("memberName"u8); - writer.WriteStringValue(iStateSubactionMembership.MemberName); - - writer.WritePropertyName("memberShortName"u8); - writer.WriteStringValue(iStateSubactionMembership.MemberShortName); - writer.WriteStartArray("ownedRelatedElement"u8); foreach (var item in iStateSubactionMembership.OwnedRelatedElement) @@ -155,30 +143,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iStateSubactionMembership.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iStateSubactionMembership.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WritePropertyName("visibility"u8); writer.WriteStringValue(iStateSubactionMembership.Visibility.ToString().ToLower()); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/StateUsageSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/StateUsageSerializer.cs index 661f43a4..31dde422 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/StateUsageSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/StateUsageSerializer.cs @@ -129,9 +129,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isUnique"u8); writer.WriteBooleanValue(iStateUsage.IsUnique); - writer.WritePropertyName("isVariable"u8); - writer.WriteBooleanValue(iStateUsage.IsVariable); - writer.WritePropertyName("isVariation"u8); writer.WriteBooleanValue(iStateUsage.IsVariation); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/SubclassificationSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/SubclassificationSerializer.cs index fd214eec..8b343e4e 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/SubclassificationSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/SubclassificationSerializer.cs @@ -82,12 +82,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("elementId"u8); writer.WriteStringValue(iSubclassification.ElementId); - writer.WritePropertyName("general"u8); - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(iSubclassification.General); - writer.WriteEndObject(); - writer.WritePropertyName("isImplied"u8); writer.WriteBooleanValue(iSubclassification.IsImplied); @@ -146,24 +140,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iSubclassification.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WritePropertyName("specific"u8); - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(iSubclassification.Specific); - writer.WriteEndObject(); - writer.WritePropertyName("subclassifier"u8); writer.WriteStartObject(); writer.WritePropertyName("@id"u8); @@ -176,18 +152,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteStringValue(iSubclassification.Superclassifier); writer.WriteEndObject(); - writer.WriteStartArray("target"u8); - - foreach (var item in iSubclassification.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WriteEndObject(); } } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/SubjectMembershipSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/SubjectMembershipSerializer.cs index f0152eed..c1369df2 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/SubjectMembershipSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/SubjectMembershipSerializer.cs @@ -88,18 +88,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isImpliedIncluded"u8); writer.WriteBooleanValue(iSubjectMembership.IsImpliedIncluded); - writer.WritePropertyName("memberElement"u8); - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(iSubjectMembership.MemberElement); - writer.WriteEndObject(); - - writer.WritePropertyName("memberName"u8); - writer.WriteStringValue(iSubjectMembership.MemberName); - - writer.WritePropertyName("memberShortName"u8); - writer.WriteStringValue(iSubjectMembership.MemberShortName); - writer.WriteStartArray("ownedRelatedElement"u8); foreach (var item in iSubjectMembership.OwnedRelatedElement) @@ -152,30 +140,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iSubjectMembership.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iSubjectMembership.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WritePropertyName("visibility"u8); writer.WriteStringValue(iSubjectMembership.Visibility.ToString().ToLower()); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/SubsettingSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/SubsettingSerializer.cs index 250a92ce..b40cc82d 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/SubsettingSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/SubsettingSerializer.cs @@ -82,12 +82,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("elementId"u8); writer.WriteStringValue(iSubsetting.ElementId); - writer.WritePropertyName("general"u8); - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(iSubsetting.General); - writer.WriteEndObject(); - writer.WritePropertyName("isImplied"u8); writer.WriteBooleanValue(iSubsetting.IsImplied); @@ -146,24 +140,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iSubsetting.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WritePropertyName("specific"u8); - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(iSubsetting.Specific); - writer.WriteEndObject(); - writer.WritePropertyName("subsettedFeature"u8); writer.WriteStartObject(); writer.WritePropertyName("@id"u8); @@ -176,18 +152,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteStringValue(iSubsetting.SubsettingFeature); writer.WriteEndObject(); - writer.WriteStartArray("target"u8); - - foreach (var item in iSubsetting.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WriteEndObject(); } } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/SuccessionAsUsageSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/SuccessionAsUsageSerializer.cs index b46df4bc..47ff1a34 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/SuccessionAsUsageSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/SuccessionAsUsageSerializer.cs @@ -126,9 +126,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isUnique"u8); writer.WriteBooleanValue(iSuccessionAsUsage.IsUnique); - writer.WritePropertyName("isVariable"u8); - writer.WriteBooleanValue(iSuccessionAsUsage.IsVariable); - writer.WritePropertyName("isVariation"u8); writer.WriteBooleanValue(iSuccessionAsUsage.IsVariation); @@ -184,30 +181,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iSuccessionAsUsage.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iSuccessionAsUsage.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WriteEndObject(); } } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/SuccessionFlowSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/SuccessionFlowSerializer.cs index 2c760a37..d88aed2b 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/SuccessionFlowSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/SuccessionFlowSerializer.cs @@ -181,30 +181,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iSuccessionFlow.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iSuccessionFlow.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WriteEndObject(); } } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/SuccessionFlowUsageSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/SuccessionFlowUsageSerializer.cs index 6c11605e..7c05bcd2 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/SuccessionFlowUsageSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/SuccessionFlowUsageSerializer.cs @@ -129,9 +129,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isUnique"u8); writer.WriteBooleanValue(iSuccessionFlowUsage.IsUnique); - writer.WritePropertyName("isVariable"u8); - writer.WriteBooleanValue(iSuccessionFlowUsage.IsVariable); - writer.WritePropertyName("isVariation"u8); writer.WriteBooleanValue(iSuccessionFlowUsage.IsVariation); @@ -198,30 +195,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iSuccessionFlowUsage.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iSuccessionFlowUsage.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WriteEndObject(); } } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/SuccessionSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/SuccessionSerializer.cs index cff4b29f..a9d50856 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/SuccessionSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/SuccessionSerializer.cs @@ -181,30 +181,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iSuccession.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iSuccession.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WriteEndObject(); } } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/TerminateActionUsageSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/TerminateActionUsageSerializer.cs index d916bd3d..d463fe05 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/TerminateActionUsageSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/TerminateActionUsageSerializer.cs @@ -126,9 +126,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isUnique"u8); writer.WriteBooleanValue(iTerminateActionUsage.IsUnique); - writer.WritePropertyName("isVariable"u8); - writer.WriteBooleanValue(iTerminateActionUsage.IsVariable); - writer.WritePropertyName("isVariation"u8); writer.WriteBooleanValue(iTerminateActionUsage.IsVariation); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/TransitionFeatureMembershipSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/TransitionFeatureMembershipSerializer.cs index 6895abfb..abcd6540 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/TransitionFeatureMembershipSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/TransitionFeatureMembershipSerializer.cs @@ -91,18 +91,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("kind"u8); writer.WriteStringValue(iTransitionFeatureMembership.Kind.ToString().ToLower()); - writer.WritePropertyName("memberElement"u8); - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(iTransitionFeatureMembership.MemberElement); - writer.WriteEndObject(); - - writer.WritePropertyName("memberName"u8); - writer.WriteStringValue(iTransitionFeatureMembership.MemberName); - - writer.WritePropertyName("memberShortName"u8); - writer.WriteStringValue(iTransitionFeatureMembership.MemberShortName); - writer.WriteStartArray("ownedRelatedElement"u8); foreach (var item in iTransitionFeatureMembership.OwnedRelatedElement) @@ -155,30 +143,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iTransitionFeatureMembership.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iTransitionFeatureMembership.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WritePropertyName("visibility"u8); writer.WriteStringValue(iTransitionFeatureMembership.Visibility.ToString().ToLower()); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/TransitionUsageSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/TransitionUsageSerializer.cs index 4e8483f1..18f0b832 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/TransitionUsageSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/TransitionUsageSerializer.cs @@ -126,9 +126,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isUnique"u8); writer.WriteBooleanValue(iTransitionUsage.IsUnique); - writer.WritePropertyName("isVariable"u8); - writer.WriteBooleanValue(iTransitionUsage.IsVariable); - writer.WritePropertyName("isVariation"u8); writer.WriteBooleanValue(iTransitionUsage.IsVariation); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/TypeFeaturingSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/TypeFeaturingSerializer.cs index 93acd175..20f5671b 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/TypeFeaturingSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/TypeFeaturingSerializer.cs @@ -152,30 +152,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iTypeFeaturing.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iTypeFeaturing.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WriteEndObject(); } } diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/UnioningSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/UnioningSerializer.cs index 8bb57fca..54990404 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/UnioningSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/UnioningSerializer.cs @@ -140,30 +140,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iUnioning.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iUnioning.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WritePropertyName("unioningType"u8); writer.WriteStartObject(); writer.WritePropertyName("@id"u8); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/UsageSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/UsageSerializer.cs index b964ae7b..8cfd0e7f 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/UsageSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/UsageSerializer.cs @@ -123,9 +123,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isUnique"u8); writer.WriteBooleanValue(iUsage.IsUnique); - writer.WritePropertyName("isVariable"u8); - writer.WriteBooleanValue(iUsage.IsVariable); - writer.WritePropertyName("isVariation"u8); writer.WriteBooleanValue(iUsage.IsVariation); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/UseCaseUsageSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/UseCaseUsageSerializer.cs index 55440195..db07293d 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/UseCaseUsageSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/UseCaseUsageSerializer.cs @@ -126,9 +126,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isUnique"u8); writer.WriteBooleanValue(iUseCaseUsage.IsUnique); - writer.WritePropertyName("isVariable"u8); - writer.WriteBooleanValue(iUseCaseUsage.IsVariable); - writer.WritePropertyName("isVariation"u8); writer.WriteBooleanValue(iUseCaseUsage.IsVariation); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/VariantMembershipSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/VariantMembershipSerializer.cs index 09a47d32..dc76cf43 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/VariantMembershipSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/VariantMembershipSerializer.cs @@ -88,18 +88,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isImpliedIncluded"u8); writer.WriteBooleanValue(iVariantMembership.IsImpliedIncluded); - writer.WritePropertyName("memberElement"u8); - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(iVariantMembership.MemberElement); - writer.WriteEndObject(); - - writer.WritePropertyName("memberName"u8); - writer.WriteStringValue(iVariantMembership.MemberName); - - writer.WritePropertyName("memberShortName"u8); - writer.WriteStringValue(iVariantMembership.MemberShortName); - writer.WriteStartArray("ownedRelatedElement"u8); foreach (var item in iVariantMembership.OwnedRelatedElement) @@ -152,30 +140,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iVariantMembership.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iVariantMembership.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WritePropertyName("visibility"u8); writer.WriteStringValue(iVariantMembership.Visibility.ToString().ToLower()); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/VerificationCaseUsageSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/VerificationCaseUsageSerializer.cs index 46c05e98..42139799 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/VerificationCaseUsageSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/VerificationCaseUsageSerializer.cs @@ -126,9 +126,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isUnique"u8); writer.WriteBooleanValue(iVerificationCaseUsage.IsUnique); - writer.WritePropertyName("isVariable"u8); - writer.WriteBooleanValue(iVerificationCaseUsage.IsVariable); - writer.WritePropertyName("isVariation"u8); writer.WriteBooleanValue(iVerificationCaseUsage.IsVariation); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ViewRenderingMembershipSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ViewRenderingMembershipSerializer.cs index 1ecd40e7..76d49b3d 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ViewRenderingMembershipSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ViewRenderingMembershipSerializer.cs @@ -88,18 +88,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isImpliedIncluded"u8); writer.WriteBooleanValue(iViewRenderingMembership.IsImpliedIncluded); - writer.WritePropertyName("memberElement"u8); - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(iViewRenderingMembership.MemberElement); - writer.WriteEndObject(); - - writer.WritePropertyName("memberName"u8); - writer.WriteStringValue(iViewRenderingMembership.MemberName); - - writer.WritePropertyName("memberShortName"u8); - writer.WriteStringValue(iViewRenderingMembership.MemberShortName); - writer.WriteStartArray("ownedRelatedElement"u8); foreach (var item in iViewRenderingMembership.OwnedRelatedElement) @@ -152,30 +140,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WriteNullValue(); } - writer.WriteStartArray("source"u8); - - foreach (var item in iViewRenderingMembership.Source) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - - writer.WriteStartArray("target"u8); - - foreach (var item in iViewRenderingMembership.Target) - { - writer.WriteStartObject(); - writer.WritePropertyName("@id"u8); - writer.WriteStringValue(item); - writer.WriteEndObject(); - } - - writer.WriteEndArray(); - writer.WritePropertyName("visibility"u8); writer.WriteStringValue(iViewRenderingMembership.Visibility.ToString().ToLower()); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ViewUsageSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ViewUsageSerializer.cs index 79eb6c19..cdba0ab5 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ViewUsageSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ViewUsageSerializer.cs @@ -126,9 +126,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isUnique"u8); writer.WriteBooleanValue(iViewUsage.IsUnique); - writer.WritePropertyName("isVariable"u8); - writer.WriteBooleanValue(iViewUsage.IsVariable); - writer.WritePropertyName("isVariation"u8); writer.WriteBooleanValue(iViewUsage.IsVariation); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ViewpointDefinitionSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ViewpointDefinitionSerializer.cs index 7a1f987b..876ef17b 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ViewpointDefinitionSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ViewpointDefinitionSerializer.cs @@ -76,9 +76,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("declaredName"u8); writer.WriteStringValue(iViewpointDefinition.DeclaredName); - writer.WritePropertyName("declaredShortName"u8); - writer.WriteStringValue(iViewpointDefinition.DeclaredShortName); - writer.WritePropertyName("elementId"u8); writer.WriteStringValue(iViewpointDefinition.ElementId); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ViewpointUsageSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ViewpointUsageSerializer.cs index 26400514..f7629b17 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ViewpointUsageSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/ViewpointUsageSerializer.cs @@ -76,9 +76,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("declaredName"u8); writer.WriteStringValue(iViewpointUsage.DeclaredName); - writer.WritePropertyName("declaredShortName"u8); - writer.WriteStringValue(iViewpointUsage.DeclaredShortName); - writer.WritePropertyName("direction"u8); if (iViewpointUsage.Direction.HasValue) @@ -126,9 +123,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isUnique"u8); writer.WriteBooleanValue(iViewpointUsage.IsUnique); - writer.WritePropertyName("isVariable"u8); - writer.WriteBooleanValue(iViewpointUsage.IsVariable); - writer.WritePropertyName("isVariation"u8); writer.WriteBooleanValue(iViewpointUsage.IsVariation); diff --git a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/WhileLoopActionUsageSerializer.cs b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/WhileLoopActionUsageSerializer.cs index b147ddb6..c693fbbc 100644 --- a/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/WhileLoopActionUsageSerializer.cs +++ b/SysML2.NET.Serializer.Json/Core/AutoGenSerializer/WhileLoopActionUsageSerializer.cs @@ -126,9 +126,6 @@ internal static void Serialize(object obj, Utf8JsonWriter writer, SerializationM writer.WritePropertyName("isUnique"u8); writer.WriteBooleanValue(iWhileLoopActionUsage.IsUnique); - writer.WritePropertyName("isVariable"u8); - writer.WriteBooleanValue(iWhileLoopActionUsage.IsVariable); - writer.WritePropertyName("isVariation"u8); writer.WriteBooleanValue(iWhileLoopActionUsage.IsVariation); diff --git a/SysML2.NET/Core/AutoGenDto/AcceptActionUsage.cs b/SysML2.NET/Core/AutoGenDto/AcceptActionUsage.cs index a27c3e3e..ba2baea7 100644 --- a/SysML2.NET/Core/AutoGenDto/AcceptActionUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/AcceptActionUsage.cs @@ -1,1129 +1,1133 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Actions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Decorators; - - /// - /// An AcceptActionUsage is an ActionUsage that specifies the acceptance of an incomingTransfer from the - /// Occurrence given by the result of its receiverArgument Expression. (If no receiverArgument is - /// provided, the default is the this context of the AcceptActionUsage.) The payload of the accepted - /// Transfer is output on its payloadParameter. Which Transfers may be accepted is determined by - /// conformance to the typing and (potentially) binding of the payloadParameter. - /// - [Class(xmiId: "_18_5_3_12e503d9_1565503089035_106795_33475", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class AcceptActionUsage : IAcceptActionUsage - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// The Behaviors that are the types of this ActionUsage. Nominally, these would be ActionDefinitions, - /// but other kinds of Kernel Behaviors are also allowed, to permit use of Behaviors from the Kernel - /// Model Libraries. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565500905804_589845_30779", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IActionUsage.ActionDefinition")] - public List ActionDefinition { get; internal set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Behaviors that type this Step. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IActionUsage.ActionDefinition")] - [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds - /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] - [Implements(implementation: "IUsage.Definition")] - public List Definition { get; internal set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IStep.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Usage that are directedFeatures. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// The at most one occurrenceDefinition that has isIndividual = true. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public Guid? IndividualDefinition { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its - /// individualDefinition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceUsage.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - public bool IsPortion { get; set; } - - /// - /// Whether this Usage is a referential Usage, that is, it has isComposite = false. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsReference")] - public bool IsReference { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [RedefinedByProperty("IUsage.MayTimeVary")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage - /// must be VariantMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its - /// owningType, rather than being featured by the owningType itself). However, if isConstant is also - /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance - /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary - /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is - /// inherited from Feature. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] - [Implements(implementation: "IUsage.MayTimeVary")] - public bool MayTimeVary { get; internal set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ActionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedAction")] - public List NestedAction { get; internal set; } - - /// - /// The AllocationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedAllocation")] - public List NestedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List NestedAnalysisCase { get; internal set; } - - /// - /// The code>AttributeUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedAttribute")] - public List NestedAttribute { get; internal set; } - - /// - /// The CalculationUsage that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedCalculation")] - public List NestedCalculation { get; internal set; } - - /// - /// The CaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] - [Implements(implementation: "IUsage.NestedCase")] - public List NestedCase { get; internal set; } - - /// - /// The ConcernUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedConcern")] - public List NestedConcern { get; internal set; } - - /// - /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are - /// ConnectorAsUsages even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedConnection")] - public List NestedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedConstraint")] - public List NestedConstraint { get; internal set; } - - /// - /// The code>EnumerationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] - [Implements(implementation: "IUsage.NestedEnumeration")] - public List NestedEnumeration { get; internal set; } - - /// - /// The code>FlowUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedFlow")] - public List NestedFlow { get; internal set; } - - /// - /// The InterfaceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedInterface")] - public List NestedInterface { get; internal set; } - - /// - /// The ItemUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedItem")] - public List NestedItem { get; internal set; } - - /// - /// The MetadataUsages that are nestedUsages of this of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedMetadata")] - public List NestedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedOccurrence")] - public List NestedOccurrence { get; internal set; } - - /// - /// The PartUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedPart")] - public List NestedPart { get; internal set; } - - /// - /// The PortUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedPort")] - public List NestedPort { get; internal set; } - - /// - /// The ReferenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedReference")] - public List NestedReference { get; internal set; } - - /// - /// The RenderingUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedRendering")] - public List NestedRendering { get; internal set; } - - /// - /// The RequirementUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] - [Implements(implementation: "IUsage.NestedRequirement")] - public List NestedRequirement { get; internal set; } - - /// - /// The StateUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedState")] - public List NestedState { get; internal set; } - - /// - /// The TransitionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedTransition")] - public List NestedTransition { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.NestedUsage")] - public List NestedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedUseCase")] - public List NestedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedVerificationCase")] - public List NestedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedView")] - public List NestedView { get; internal set; } - - /// - /// The ViewpointUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedViewpoint")] - public List NestedViewpoint { get; internal set; } - - /// - /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, - /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] - [RedefinedByProperty("IActionUsage.ActionDefinition")] - [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List OccurrenceDefinition { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The Definition that owns this Usage (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] - [Implements(implementation: "IUsage.OwningDefinition")] - public Guid? OwningDefinition { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The Usage in which this Usage is nested (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IUsage.OwningUsage")] - public Guid? OwningUsage { get; internal set; } - - /// - /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into - /// and/or out of a performance of the Step. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } - - /// - /// An Expression whose result is bound to the payload parameter of this AcceptActionUsage. If provided, - /// the AcceptActionUsage will only accept a Transfer with exactly this payload. - /// - [Property(xmiId: "_19_0_4_12e503d9_1642710978429_81558_4948", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IAcceptActionUsage.PayloadArgument")] - public Guid? PayloadArgument { get; internal set; } - - /// - /// The nestedReference of this AcceptActionUsage that redefines the payload output parameter of the - /// base AcceptActionUsage AcceptAction from the Systems Model Library. - /// - [Property(xmiId: "_19_0_4_12e503d9_1642701018287_478584_4462", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591477541360_47573_933")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [Implements(implementation: "IAcceptActionUsage.PayloadParameter")] - public Guid PayloadParameter { get; internal set; } - - /// - /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If - /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the - /// OccurrenceUsage represents portions of the featuring instance of the owningType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IOccurrenceUsage.PortionKind")] - public PortionKind? PortionKind { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// An Expression whose result is bound to the receiver input parameter of this AcceptActionUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1612814670555_311543_168", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IAcceptActionUsage.ReceiverArgument")] - public Guid? ReceiverArgument { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IUsage.Definition")] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Usage (not necessarily owned). - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IUsage.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = - /// true. If isVariation = false, then there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IUsage.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this - /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IUsage.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Actions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Decorators; + + /// + /// An AcceptActionUsage is an ActionUsage that specifies the acceptance of an incomingTransfer from the + /// Occurrence given by the result of its receiverArgument Expression. (If no receiverArgument is + /// provided, the default is the this context of the AcceptActionUsage.) The payload of the accepted + /// Transfer is output on its payloadParameter. Which Transfers may be accepted is determined by + /// conformance to the typing and (potentially) binding of the payloadParameter. + /// + [Class(xmiId: "_18_5_3_12e503d9_1565503089035_106795_33475", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class AcceptActionUsage : IAcceptActionUsage + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// The Behaviors that are the types of this ActionUsage. Nominally, these would be ActionDefinitions, + /// but other kinds of Kernel Behaviors are also allowed, to permit use of Behaviors from the Kernel + /// Model Libraries. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565500905804_589845_30779", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IActionUsage.ActionDefinition")] + public List actionDefinition { get; internal set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Behaviors that type this Step. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IActionUsage.ActionDefinition")] + [Implements(implementation: "IStep.Behavior")] + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds + /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] + [Implements(implementation: "IUsage.Definition")] + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IStep.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); + + /// + /// The usages of this Usage that are directedFeatures. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// The at most one occurrenceDefinition that has isIndividual = true. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] + public Guid? individualDefinition { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its + /// individualDefinition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceUsage.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + public bool IsPortion { get; set; } + + /// + /// Whether this Usage is a referential Usage, that is, it has isComposite = false. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsReference")] + public bool isReference { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [RedefinedByProperty("IUsage.MayTimeVary")] + [Implements(implementation: "IFeature.IsVariable")] + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } + + /// + /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage + /// must be VariantMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its + /// owningType, rather than being featured by the owningType itself). However, if isConstant is also + /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance + /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary + /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is + /// inherited from Feature. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] + [Implements(implementation: "IUsage.MayTimeVary")] + public bool mayTimeVary { get; internal set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ActionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedAction")] + public List nestedAction { get; internal set; } + + /// + /// The AllocationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedAllocation")] + public List nestedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedAnalysisCase")] + public List nestedAnalysisCase { get; internal set; } + + /// + /// The code>AttributeUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedAttribute")] + public List nestedAttribute { get; internal set; } + + /// + /// The CalculationUsage that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedCalculation")] + public List nestedCalculation { get; internal set; } + + /// + /// The CaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] + [Implements(implementation: "IUsage.NestedCase")] + public List nestedCase { get; internal set; } + + /// + /// The ConcernUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedConcern")] + public List nestedConcern { get; internal set; } + + /// + /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are + /// ConnectorAsUsages even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedConnection")] + public List nestedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedConstraint")] + public List nestedConstraint { get; internal set; } + + /// + /// The code>EnumerationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] + [Implements(implementation: "IUsage.NestedEnumeration")] + public List nestedEnumeration { get; internal set; } + + /// + /// The code>FlowUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedFlow")] + public List nestedFlow { get; internal set; } + + /// + /// The InterfaceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedInterface")] + public List nestedInterface { get; internal set; } + + /// + /// The ItemUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedItem")] + public List nestedItem { get; internal set; } + + /// + /// The MetadataUsages that are nestedUsages of this of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedMetadata")] + public List nestedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedOccurrence")] + public List nestedOccurrence { get; internal set; } + + /// + /// The PartUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedPart")] + public List nestedPart { get; internal set; } + + /// + /// The PortUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedPort")] + public List nestedPort { get; internal set; } + + /// + /// The ReferenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedReference")] + public List nestedReference { get; internal set; } + + /// + /// The RenderingUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedRendering")] + public List nestedRendering { get; internal set; } + + /// + /// The RequirementUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] + [Implements(implementation: "IUsage.NestedRequirement")] + public List nestedRequirement { get; internal set; } + + /// + /// The StateUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedState")] + public List nestedState { get; internal set; } + + /// + /// The TransitionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedTransition")] + public List nestedTransition { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.NestedUsage")] + public List nestedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedUseCase")] + public List nestedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedVerificationCase")] + public List nestedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedView")] + public List nestedView { get; internal set; } + + /// + /// The ViewpointUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedViewpoint")] + public List nestedViewpoint { get; internal set; } + + /// + /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, + /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] + [RedefinedByProperty("IActionUsage.ActionDefinition")] + [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] + List Systems.Occurrences.IOccurrenceUsage.occurrenceDefinition => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The Definition that owns this Usage (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] + [Implements(implementation: "IUsage.OwningDefinition")] + public Guid? owningDefinition { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The Usage in which this Usage is nested (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IUsage.OwningUsage")] + public Guid? owningUsage { get; internal set; } + + /// + /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into + /// and/or out of a performance of the Step. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IStep.Parameter")] + public List parameter { get; internal set; } + + /// + /// An Expression whose result is bound to the payload parameter of this AcceptActionUsage. If provided, + /// the AcceptActionUsage will only accept a Transfer with exactly this payload. + /// + [Property(xmiId: "_19_0_4_12e503d9_1642710978429_81558_4948", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IAcceptActionUsage.PayloadArgument")] + public Guid? payloadArgument { get; internal set; } + + /// + /// The nestedReference of this AcceptActionUsage that redefines the payload output parameter of the + /// base AcceptActionUsage AcceptAction from the Systems Model Library. + /// + [Property(xmiId: "_19_0_4_12e503d9_1642701018287_478584_4462", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591477541360_47573_933")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [Implements(implementation: "IAcceptActionUsage.PayloadParameter")] + public Guid payloadParameter { get; internal set; } + + /// + /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If + /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the + /// OccurrenceUsage represents portions of the featuring instance of the owningType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IOccurrenceUsage.PortionKind")] + public PortionKind? PortionKind { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// An Expression whose result is bound to the receiver input parameter of this AcceptActionUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1612814670555_311543_168", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IAcceptActionUsage.ReceiverArgument")] + public Guid? receiverArgument { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IUsage.Definition")] + [Implements(implementation: "IFeature.Type")] + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Usage (not necessarily owned). + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IUsage.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = + /// true. If isVariation = false, then there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IUsage.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this + /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IUsage.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ActionDefinition.cs b/SysML2.NET/Core/AutoGenDto/ActionDefinition.cs index 92c676fc..4a73eb50 100644 --- a/SysML2.NET/Core/AutoGenDto/ActionDefinition.cs +++ b/SysML2.NET/Core/AutoGenDto/ActionDefinition.cs @@ -1,800 +1,800 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Actions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Kernel.Behaviors; - using SysML2.NET.Core.DTO.Systems.Occurrences; - using SysML2.NET.Decorators; - - /// - /// An ActionDefinition is a Definition that is also a Behavior that defines an Action performed by a - /// system or part of a system. - /// - [Class(xmiId: "_18_5_3_12e503d9_1565500542970_17430_30342", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class ActionDefinition : IActionDefinition - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// The ActionUsages that are steps in this ActionDefinition, which define the actions that specify the - /// behavior of the ActionDefinition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565500809065_170841_30688", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IActionDefinition.Action")] - public List Action { get; internal set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IBehavior.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Definition that are directedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565495064714_974634_26150", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IDefinition.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - public bool IsAbstract { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceDefinition is constrained to represent at most one thing. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618955405499_394357_6740", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceDefinition.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IDefinition.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ActionUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedAction")] - public List OwnedAction { get; internal set; } - - /// - /// The AllocationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedAllocation")] - public List OwnedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List OwnedAnalysisCase { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The AttributeUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedAttribute")] - public List OwnedAttribute { get; internal set; } - - /// - /// The CalculationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - [Implements(implementation: "IDefinition.OwnedCalculation")] - public List OwnedCalculation { get; internal set; } - - /// - /// The code>CaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] - [Implements(implementation: "IDefinition.OwnedCase")] - public List OwnedCase { get; internal set; } - - /// - /// The ConcernUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - [Implements(implementation: "IDefinition.OwnedConcern")] - public List OwnedConcern { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowUsages because these are ConnectorAsUsages - /// even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedConnection")] - public List OwnedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedConstraint")] - public List OwnedConstraint { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The EnumerationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] - [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List OwnedEnumeration { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The FlowUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedFlow")] - public List OwnedFlow { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The InterfaceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedInterface")] - public List OwnedInterface { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The ItemUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedItem")] - public List OwnedItem { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The MetadataUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - [Implements(implementation: "IDefinition.OwnedMetadata")] - public List OwnedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List OwnedOccurrence { get; internal set; } - - /// - /// The PartUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - [Implements(implementation: "IDefinition.OwnedPart")] - public List OwnedPart { get; internal set; } - - /// - /// The PortUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedPort")] - public List OwnedPort { get; internal set; } - - /// - /// The ReferenceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedReference")] - public List OwnedReference { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The RenderingUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - [Implements(implementation: "IDefinition.OwnedRendering")] - public List OwnedRendering { get; internal set; } - - /// - /// The RequirementUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] - [Implements(implementation: "IDefinition.OwnedRequirement")] - public List OwnedRequirement { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The StateUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - [Implements(implementation: "IDefinition.OwnedState")] - public List OwnedState { get; internal set; } - - /// - /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier - /// is the subclassifier. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List OwnedSubclassification { get; internal set; } - - /// - /// The TransitionUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedTransition")] - public List OwnedTransition { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Definition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686637_967933_23236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IDefinition.OwnedUsage")] - public List OwnedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedUseCase")] - public List OwnedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List OwnedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - [Implements(implementation: "IDefinition.OwnedView")] - public List OwnedView { get; internal set; } - - /// - /// The ViewpointUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List OwnedViewpoint { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The parameters of this Behavior, which are defined as its directedFeatures, whose values are passed - /// into and/or out of a performance of the Behavior. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948010065_362066_20413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IBehavior.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The Steps that make up this Behavior. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346067212_587255_17343", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IBehavior.Step")] - public List Step { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Definition (not necessarily owned). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IDefinition.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Definition as a variation point Definition, if - /// isVariation = true. If isVariation = false, the there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IDefinition.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then - /// this must be all ownedMemberships of the Definition. If isVariation = false, then - /// variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IDefinition.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Actions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Kernel.Behaviors; + using SysML2.NET.Core.DTO.Systems.Occurrences; + using SysML2.NET.Decorators; + + /// + /// An ActionDefinition is a Definition that is also a Behavior that defines an Action performed by a + /// system or part of a system. + /// + [Class(xmiId: "_18_5_3_12e503d9_1565500542970_17430_30342", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class ActionDefinition : IActionDefinition + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// The ActionUsages that are steps in this ActionDefinition, which define the actions that specify the + /// behavior of the ActionDefinition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565500809065_170841_30688", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IActionDefinition.Action")] + public List action { get; internal set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IBehavior.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IBehavior.Parameter"); + + /// + /// The usages of this Definition that are directedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565495064714_974634_26150", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IDefinition.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + public bool IsAbstract { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceDefinition is constrained to represent at most one thing. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618955405499_394357_6740", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceDefinition.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IDefinition.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ActionUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedAction")] + public List ownedAction { get; internal set; } + + /// + /// The AllocationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedAllocation")] + public List ownedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedAnalysisCase")] + public List ownedAnalysisCase { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The AttributeUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedAttribute")] + public List ownedAttribute { get; internal set; } + + /// + /// The CalculationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] + [Implements(implementation: "IDefinition.OwnedCalculation")] + public List ownedCalculation { get; internal set; } + + /// + /// The code>CaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] + [Implements(implementation: "IDefinition.OwnedCase")] + public List ownedCase { get; internal set; } + + /// + /// The ConcernUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + [Implements(implementation: "IDefinition.OwnedConcern")] + public List ownedConcern { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowUsages because these are ConnectorAsUsages + /// even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedConnection")] + public List ownedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedConstraint")] + public List ownedConstraint { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The EnumerationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] + [Implements(implementation: "IDefinition.OwnedEnumeration")] + public List ownedEnumeration { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The FlowUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedFlow")] + public List ownedFlow { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The InterfaceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedInterface")] + public List ownedInterface { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The ItemUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedItem")] + public List ownedItem { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The MetadataUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] + [Implements(implementation: "IDefinition.OwnedMetadata")] + public List ownedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedOccurrence")] + public List ownedOccurrence { get; internal set; } + + /// + /// The PartUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] + [Implements(implementation: "IDefinition.OwnedPart")] + public List ownedPart { get; internal set; } + + /// + /// The PortUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedPort")] + public List ownedPort { get; internal set; } + + /// + /// The ReferenceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedReference")] + public List ownedReference { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The RenderingUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] + [Implements(implementation: "IDefinition.OwnedRendering")] + public List ownedRendering { get; internal set; } + + /// + /// The RequirementUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] + [Implements(implementation: "IDefinition.OwnedRequirement")] + public List ownedRequirement { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The StateUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] + [Implements(implementation: "IDefinition.OwnedState")] + public List ownedState { get; internal set; } + + /// + /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier + /// is the subclassifier. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [Implements(implementation: "IClassifier.OwnedSubclassification")] + public List ownedSubclassification { get; internal set; } + + /// + /// The TransitionUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedTransition")] + public List ownedTransition { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Definition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686637_967933_23236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IDefinition.OwnedUsage")] + public List ownedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedUseCase")] + public List ownedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedVerificationCase")] + public List ownedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] + [Implements(implementation: "IDefinition.OwnedView")] + public List ownedView { get; internal set; } + + /// + /// The ViewpointUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + [Implements(implementation: "IDefinition.OwnedViewpoint")] + public List ownedViewpoint { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The parameters of this Behavior, which are defined as its directedFeatures, whose values are passed + /// into and/or out of a performance of the Behavior. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948010065_362066_20413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IBehavior.Parameter")] + public List parameter { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The Steps that make up this Behavior. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346067212_587255_17343", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IBehavior.Step")] + public List step { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Definition (not necessarily owned). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IDefinition.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Definition as a variation point Definition, if + /// isVariation = true. If isVariation = false, the there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IDefinition.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then + /// this must be all ownedMemberships of the Definition. If isVariation = false, then + /// variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IDefinition.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ActionUsage.cs b/SysML2.NET/Core/AutoGenDto/ActionUsage.cs index f2a5ff86..2a61e481 100644 --- a/SysML2.NET/Core/AutoGenDto/ActionUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/ActionUsage.cs @@ -1,1105 +1,1109 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Actions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Core.DTO.Kernel.Behaviors; - using SysML2.NET.Core.DTO.Systems.Occurrences; - using SysML2.NET.Decorators; - - /// - /// An ActionUsage is a Usage that is also a Step, and, so, is typed by a Behavior. Nominally, if the - /// type is an ActionDefinition, an ActionUsage is a Usage of that ActionDefinition within a system. - /// However, other kinds of kernel Behaviors are also allowed, to permit use of Behaviors from the - /// Kernel Model Libraries. - /// - [Class(xmiId: "_18_5_3_12e503d9_1565500580749_954926_30405", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class ActionUsage : IActionUsage - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// The Behaviors that are the types of this ActionUsage. Nominally, these would be ActionDefinitions, - /// but other kinds of Kernel Behaviors are also allowed, to permit use of Behaviors from the Kernel - /// Model Libraries. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565500905804_589845_30779", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IActionUsage.ActionDefinition")] - public List ActionDefinition { get; internal set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Behaviors that type this Step. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IActionUsage.ActionDefinition")] - [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds - /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] - [Implements(implementation: "IUsage.Definition")] - public List Definition { get; internal set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IStep.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Usage that are directedFeatures. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// The at most one occurrenceDefinition that has isIndividual = true. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public Guid? IndividualDefinition { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its - /// individualDefinition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceUsage.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - public bool IsPortion { get; set; } - - /// - /// Whether this Usage is a referential Usage, that is, it has isComposite = false. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsReference")] - public bool IsReference { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [RedefinedByProperty("IUsage.MayTimeVary")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage - /// must be VariantMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its - /// owningType, rather than being featured by the owningType itself). However, if isConstant is also - /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance - /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary - /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is - /// inherited from Feature. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] - [Implements(implementation: "IUsage.MayTimeVary")] - public bool MayTimeVary { get; internal set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ActionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedAction")] - public List NestedAction { get; internal set; } - - /// - /// The AllocationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedAllocation")] - public List NestedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List NestedAnalysisCase { get; internal set; } - - /// - /// The code>AttributeUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedAttribute")] - public List NestedAttribute { get; internal set; } - - /// - /// The CalculationUsage that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedCalculation")] - public List NestedCalculation { get; internal set; } - - /// - /// The CaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] - [Implements(implementation: "IUsage.NestedCase")] - public List NestedCase { get; internal set; } - - /// - /// The ConcernUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedConcern")] - public List NestedConcern { get; internal set; } - - /// - /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are - /// ConnectorAsUsages even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedConnection")] - public List NestedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedConstraint")] - public List NestedConstraint { get; internal set; } - - /// - /// The code>EnumerationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] - [Implements(implementation: "IUsage.NestedEnumeration")] - public List NestedEnumeration { get; internal set; } - - /// - /// The code>FlowUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedFlow")] - public List NestedFlow { get; internal set; } - - /// - /// The InterfaceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedInterface")] - public List NestedInterface { get; internal set; } - - /// - /// The ItemUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedItem")] - public List NestedItem { get; internal set; } - - /// - /// The MetadataUsages that are nestedUsages of this of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedMetadata")] - public List NestedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedOccurrence")] - public List NestedOccurrence { get; internal set; } - - /// - /// The PartUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedPart")] - public List NestedPart { get; internal set; } - - /// - /// The PortUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedPort")] - public List NestedPort { get; internal set; } - - /// - /// The ReferenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedReference")] - public List NestedReference { get; internal set; } - - /// - /// The RenderingUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedRendering")] - public List NestedRendering { get; internal set; } - - /// - /// The RequirementUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] - [Implements(implementation: "IUsage.NestedRequirement")] - public List NestedRequirement { get; internal set; } - - /// - /// The StateUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedState")] - public List NestedState { get; internal set; } - - /// - /// The TransitionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedTransition")] - public List NestedTransition { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.NestedUsage")] - public List NestedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedUseCase")] - public List NestedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedVerificationCase")] - public List NestedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedView")] - public List NestedView { get; internal set; } - - /// - /// The ViewpointUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedViewpoint")] - public List NestedViewpoint { get; internal set; } - - /// - /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, - /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] - [RedefinedByProperty("IActionUsage.ActionDefinition")] - [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List OccurrenceDefinition { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The Definition that owns this Usage (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] - [Implements(implementation: "IUsage.OwningDefinition")] - public Guid? OwningDefinition { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The Usage in which this Usage is nested (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IUsage.OwningUsage")] - public Guid? OwningUsage { get; internal set; } - - /// - /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into - /// and/or out of a performance of the Step. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If - /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the - /// OccurrenceUsage represents portions of the featuring instance of the owningType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IOccurrenceUsage.PortionKind")] - public PortionKind? PortionKind { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IUsage.Definition")] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Usage (not necessarily owned). - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IUsage.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = - /// true. If isVariation = false, then there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IUsage.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this - /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IUsage.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Actions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Core.DTO.Kernel.Behaviors; + using SysML2.NET.Core.DTO.Systems.Occurrences; + using SysML2.NET.Decorators; + + /// + /// An ActionUsage is a Usage that is also a Step, and, so, is typed by a Behavior. Nominally, if the + /// type is an ActionDefinition, an ActionUsage is a Usage of that ActionDefinition within a system. + /// However, other kinds of kernel Behaviors are also allowed, to permit use of Behaviors from the + /// Kernel Model Libraries. + /// + [Class(xmiId: "_18_5_3_12e503d9_1565500580749_954926_30405", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class ActionUsage : IActionUsage + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// The Behaviors that are the types of this ActionUsage. Nominally, these would be ActionDefinitions, + /// but other kinds of Kernel Behaviors are also allowed, to permit use of Behaviors from the Kernel + /// Model Libraries. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565500905804_589845_30779", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IActionUsage.ActionDefinition")] + public List actionDefinition { get; internal set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Behaviors that type this Step. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IActionUsage.ActionDefinition")] + [Implements(implementation: "IStep.Behavior")] + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds + /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] + [Implements(implementation: "IUsage.Definition")] + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IStep.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); + + /// + /// The usages of this Usage that are directedFeatures. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// The at most one occurrenceDefinition that has isIndividual = true. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] + public Guid? individualDefinition { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its + /// individualDefinition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceUsage.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + public bool IsPortion { get; set; } + + /// + /// Whether this Usage is a referential Usage, that is, it has isComposite = false. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsReference")] + public bool isReference { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [RedefinedByProperty("IUsage.MayTimeVary")] + [Implements(implementation: "IFeature.IsVariable")] + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } + + /// + /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage + /// must be VariantMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its + /// owningType, rather than being featured by the owningType itself). However, if isConstant is also + /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance + /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary + /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is + /// inherited from Feature. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] + [Implements(implementation: "IUsage.MayTimeVary")] + public bool mayTimeVary { get; internal set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ActionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedAction")] + public List nestedAction { get; internal set; } + + /// + /// The AllocationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedAllocation")] + public List nestedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedAnalysisCase")] + public List nestedAnalysisCase { get; internal set; } + + /// + /// The code>AttributeUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedAttribute")] + public List nestedAttribute { get; internal set; } + + /// + /// The CalculationUsage that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedCalculation")] + public List nestedCalculation { get; internal set; } + + /// + /// The CaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] + [Implements(implementation: "IUsage.NestedCase")] + public List nestedCase { get; internal set; } + + /// + /// The ConcernUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedConcern")] + public List nestedConcern { get; internal set; } + + /// + /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are + /// ConnectorAsUsages even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedConnection")] + public List nestedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedConstraint")] + public List nestedConstraint { get; internal set; } + + /// + /// The code>EnumerationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] + [Implements(implementation: "IUsage.NestedEnumeration")] + public List nestedEnumeration { get; internal set; } + + /// + /// The code>FlowUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedFlow")] + public List nestedFlow { get; internal set; } + + /// + /// The InterfaceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedInterface")] + public List nestedInterface { get; internal set; } + + /// + /// The ItemUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedItem")] + public List nestedItem { get; internal set; } + + /// + /// The MetadataUsages that are nestedUsages of this of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedMetadata")] + public List nestedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedOccurrence")] + public List nestedOccurrence { get; internal set; } + + /// + /// The PartUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedPart")] + public List nestedPart { get; internal set; } + + /// + /// The PortUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedPort")] + public List nestedPort { get; internal set; } + + /// + /// The ReferenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedReference")] + public List nestedReference { get; internal set; } + + /// + /// The RenderingUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedRendering")] + public List nestedRendering { get; internal set; } + + /// + /// The RequirementUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] + [Implements(implementation: "IUsage.NestedRequirement")] + public List nestedRequirement { get; internal set; } + + /// + /// The StateUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedState")] + public List nestedState { get; internal set; } + + /// + /// The TransitionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedTransition")] + public List nestedTransition { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.NestedUsage")] + public List nestedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedUseCase")] + public List nestedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedVerificationCase")] + public List nestedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedView")] + public List nestedView { get; internal set; } + + /// + /// The ViewpointUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedViewpoint")] + public List nestedViewpoint { get; internal set; } + + /// + /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, + /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] + [RedefinedByProperty("IActionUsage.ActionDefinition")] + [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] + List Systems.Occurrences.IOccurrenceUsage.occurrenceDefinition => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The Definition that owns this Usage (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] + [Implements(implementation: "IUsage.OwningDefinition")] + public Guid? owningDefinition { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The Usage in which this Usage is nested (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IUsage.OwningUsage")] + public Guid? owningUsage { get; internal set; } + + /// + /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into + /// and/or out of a performance of the Step. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IStep.Parameter")] + public List parameter { get; internal set; } + + /// + /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If + /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the + /// OccurrenceUsage represents portions of the featuring instance of the owningType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IOccurrenceUsage.PortionKind")] + public PortionKind? PortionKind { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IUsage.Definition")] + [Implements(implementation: "IFeature.Type")] + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Usage (not necessarily owned). + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IUsage.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = + /// true. If isVariation = false, then there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IUsage.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this + /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IUsage.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ActorMembership.cs b/SysML2.NET/Core/AutoGenDto/ActorMembership.cs index 016d6693..a2ef85c1 100644 --- a/SysML2.NET/Core/AutoGenDto/ActorMembership.cs +++ b/SysML2.NET/Core/AutoGenDto/ActorMembership.cs @@ -1,389 +1,409 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Requirements -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Root.Namespaces; - using SysML2.NET.Core.DTO.Kernel.Behaviors; - using SysML2.NET.Decorators; - - /// - /// An ActorMembership is a ParameterMembership that identifies a PartUsage as an actor parameter, which - /// specifies a role played by an external entity in interaction with the owningType of the - /// ActorMembership. - /// - [Class(xmiId: "_19_0_4_12e503d9_1621464240681_650455_1312", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class ActorMembership : IActorMembership - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_819490_43195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] - [Implements(implementation: "IMembership.MemberElement")] - public Guid MemberElement { get; set; } - - /// - /// The elementId of the memberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] - [Implements(implementation: "IMembership.MemberElementId")] - public string MemberElementId { get; internal set; } - - /// - /// The name of the memberElement relative to the membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberName")] - [Implements(implementation: "IMembership.MemberName")] - public string MemberName { get; set; } - - /// - /// The Namespace of which the memberElement becomes a member due to this Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_193857_43197", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_531296_43182")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [RedefinedByProperty("IFeatureMembership.OwningType")] - [Implements(implementation: "IMembership.MembershipOwningNamespace")] - public Guid MembershipOwningNamespace { get; internal set; } - - /// - /// The short name of the memberElement relative to the membershipOwningNamespace. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] - [Implements(implementation: "IMembership.MemberShortName")] - public string MemberShortName { get; set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The PartUsage specifying the actor. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621464305451_983612_1421", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1557528016548_548098_110830")] - [Implements(implementation: "IActorMembership.OwnedActorParameter")] - public Guid OwnedActorParameter { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this - /// OwningMembership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_501750_43196", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_59873_43302")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] - [RedefinedByProperty("IFeatureMembership.OwnedMemberFeature")] - [Implements(implementation: "IOwningMembership.OwnedMemberElement")] - public Guid OwnedMemberElement { get; internal set; } - - /// - /// The elementId of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] - [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] - public string OwnedMemberElementId { get; internal set; } - - /// - /// The Feature that this FeatureMembership relates to its owningType, making it an ownedFeature of the - /// owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_898044_43344", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] - [RedefinedByProperty("IParameterMembership.OwnedMemberParameter")] - [Implements(implementation: "IFeatureMembership.OwnedMemberFeature")] - public Guid OwnedMemberFeature { get; internal set; } - - /// - /// The name of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] - [Implements(implementation: "IOwningMembership.OwnedMemberName")] - public string OwnedMemberName { get; internal set; } - - /// - /// The Feature that is identified as a parameter by this ParameterMembership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1557528016548_548098_110830", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] - [RedefinedByProperty("IActorMembership.OwnedActorParameter")] - [Implements(implementation: "IParameterMembership.OwnedMemberParameter")] - public Guid OwnedMemberParameter { get; internal set; } - - /// - /// The shortName of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] - [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] - public string OwnedMemberShortName { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that owns this FeatureMembership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_418504_43339", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866524_738482_486")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] - [Implements(implementation: "IFeatureMembership.OwningType")] - public Guid OwningType { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IMembership.MembershipOwningNamespace")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IMembership.MemberElement")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly - /// visible outside that Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_42975_43193", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "public")] - [Implements(implementation: "IMembership.Visibility")] - public VisibilityKind Visibility { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Requirements +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Root.Namespaces; + using SysML2.NET.Core.DTO.Kernel.Behaviors; + using SysML2.NET.Decorators; + + /// + /// An ActorMembership is a ParameterMembership that identifies a PartUsage as an actor parameter, which + /// specifies a role played by an external entity in interaction with the owningType of the + /// ActorMembership. + /// + [Class(xmiId: "_19_0_4_12e503d9_1621464240681_650455_1312", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class ActorMembership : IActorMembership + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_819490_43195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] + [Implements(implementation: "IMembership.MemberElement")] + Guid Root.Namespaces.IMembership.MemberElement + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + } + + /// + /// The elementId of the memberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] + [Implements(implementation: "IMembership.MemberElementId")] + string Root.Namespaces.IMembership.memberElementId => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElementId"); + + /// + /// The name of the memberElement relative to the membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberName")] + [Implements(implementation: "IMembership.MemberName")] + string Root.Namespaces.IMembership.MemberName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + } + + /// + /// The Namespace of which the memberElement becomes a member due to this Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_193857_43197", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_531296_43182")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [RedefinedByProperty("IFeatureMembership.OwningType")] + [Implements(implementation: "IMembership.MembershipOwningNamespace")] + Guid Root.Namespaces.IMembership.membershipOwningNamespace => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwningType"); + + /// + /// The short name of the memberElement relative to the membershipOwningNamespace. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] + [Implements(implementation: "IMembership.MemberShortName")] + string Root.Namespaces.IMembership.MemberShortName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The PartUsage specifying the actor. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621464305451_983612_1421", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1557528016548_548098_110830")] + [Implements(implementation: "IActorMembership.OwnedActorParameter")] + public Guid ownedActorParameter { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this + /// OwningMembership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_501750_43196", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_59873_43302")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] + [RedefinedByProperty("IFeatureMembership.OwnedMemberFeature")] + [Implements(implementation: "IOwningMembership.OwnedMemberElement")] + Guid Root.Namespaces.IOwningMembership.ownedMemberElement => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwnedMemberFeature"); + + /// + /// The elementId of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] + [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] + public string ownedMemberElementId { get; internal set; } + + /// + /// The Feature that this FeatureMembership relates to its owningType, making it an ownedFeature of the + /// owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_898044_43344", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] + [RedefinedByProperty("IParameterMembership.OwnedMemberParameter")] + [Implements(implementation: "IFeatureMembership.OwnedMemberFeature")] + Guid Core.Types.IFeatureMembership.ownedMemberFeature => throw new InvalidOperationException("Redefined by property IParameterMembership.OwnedMemberParameter"); + + /// + /// The name of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] + [Implements(implementation: "IOwningMembership.OwnedMemberName")] + public string ownedMemberName { get; internal set; } + + /// + /// The Feature that is identified as a parameter by this ParameterMembership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1557528016548_548098_110830", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] + [RedefinedByProperty("IActorMembership.OwnedActorParameter")] + [Implements(implementation: "IParameterMembership.OwnedMemberParameter")] + Guid Kernel.Behaviors.IParameterMembership.ownedMemberParameter => throw new InvalidOperationException("Redefined by property IActorMembership.OwnedActorParameter"); + + /// + /// The shortName of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] + [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] + public string ownedMemberShortName { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that owns this FeatureMembership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_418504_43339", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866524_738482_486")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] + [Implements(implementation: "IFeatureMembership.OwningType")] + public Guid owningType { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IRelationship.RelatedElement")] + public List relatedElement { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IMembership.MembershipOwningNamespace")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IMembership.MemberElement")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + set => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly + /// visible outside that Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_42975_43193", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "public")] + [Implements(implementation: "IMembership.Visibility")] + public VisibilityKind Visibility { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/AllocationDefinition.cs b/SysML2.NET/Core/AutoGenDto/AllocationDefinition.cs index 17b5ec38..f1900e3c 100644 --- a/SysML2.NET/Core/AutoGenDto/AllocationDefinition.cs +++ b/SysML2.NET/Core/AutoGenDto/AllocationDefinition.cs @@ -1,891 +1,903 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Allocations -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Systems.Connections; - using SysML2.NET.Decorators; - - /// - /// An AllocationDefinition is a ConnectionDefinition that specifies that some or all of the - /// responsibility to realize the intent of the source is allocated to the target instances. Such - /// allocations define mappings across the various structures and hierarchies of a system model, perhaps - /// as a precursor to more rigorous specifications and implementations. An AllocationDefinition can - /// itself be refined using nested allocations that give a finer-grained decomposition of the containing - /// allocation mapping. - /// - [Class(xmiId: "_19_0_4_12e503d9_1611430566467_608282_906", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class AllocationDefinition : IAllocationDefinition - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The AllocationUsages that refine the allocation mapping defined by this AllocationDefinition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430644481_402036_964", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IAllocationDefinition.Allocation")] - public List Allocation { get; internal set; } - - /// - /// The features of the Association that identify the things that can be related by it. A concrete - /// Association must have at least two associationEnds. When it has exactly two, the Association is - /// called a binary Association. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562477648742_24204_22901", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [RedefinedByProperty("IConnectionDefinition.ConnectionEnd")] - [Implements(implementation: "IAssociation.AssociationEnd")] - public List AssociationEnd { get; internal set; } - - /// - /// The Usages that define the things related by the ConnectionDefinition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591476421094_685440_682", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562477648742_24204_22901")] - [Implements(implementation: "IConnectionDefinition.ConnectionEnd")] - public List ConnectionEnd { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Definition that are directedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565495064714_974634_26150", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IDefinition.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IAssociation.AssociationEnd")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - public bool IsAbstract { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceDefinition is constrained to represent at most one thing. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618955405499_394357_6740", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceDefinition.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// A ConnectionDefinition always has isSufficient = true. - /// - [Property(xmiId: "_2022x_2_12e503d9_1734734871008_462076_156", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1564072709069_937523_30797")] - [Implements(implementation: "IConnectionDefinition.IsSufficient")] - bool Systems.Connections.IConnectionDefinition.IsSufficient { get; set; } = true; - - /// - /// 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [RedefinedByProperty("IConnectionDefinition.IsSufficient")] - [Implements(implementation: "IType.IsSufficient")] - bool Core.Types.IType.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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IDefinition.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ActionUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedAction")] - public List OwnedAction { get; internal set; } - - /// - /// The AllocationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedAllocation")] - public List OwnedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List OwnedAnalysisCase { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The AttributeUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedAttribute")] - public List OwnedAttribute { get; internal set; } - - /// - /// The CalculationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - [Implements(implementation: "IDefinition.OwnedCalculation")] - public List OwnedCalculation { get; internal set; } - - /// - /// The code>CaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] - [Implements(implementation: "IDefinition.OwnedCase")] - public List OwnedCase { get; internal set; } - - /// - /// The ConcernUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - [Implements(implementation: "IDefinition.OwnedConcern")] - public List OwnedConcern { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowUsages because these are ConnectorAsUsages - /// even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedConnection")] - public List OwnedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedConstraint")] - public List OwnedConstraint { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The EnumerationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] - [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List OwnedEnumeration { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The FlowUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedFlow")] - public List OwnedFlow { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The InterfaceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedInterface")] - public List OwnedInterface { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The ItemUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedItem")] - public List OwnedItem { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The MetadataUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - [Implements(implementation: "IDefinition.OwnedMetadata")] - public List OwnedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List OwnedOccurrence { get; internal set; } - - /// - /// The PartUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - [Implements(implementation: "IDefinition.OwnedPart")] - public List OwnedPart { get; internal set; } - - /// - /// The PortUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedPort")] - public List OwnedPort { get; internal set; } - - /// - /// The ReferenceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedReference")] - public List OwnedReference { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The RenderingUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - [Implements(implementation: "IDefinition.OwnedRendering")] - public List OwnedRendering { get; internal set; } - - /// - /// The RequirementUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] - [Implements(implementation: "IDefinition.OwnedRequirement")] - public List OwnedRequirement { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The StateUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - [Implements(implementation: "IDefinition.OwnedState")] - public List OwnedState { get; internal set; } - - /// - /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier - /// is the subclassifier. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List OwnedSubclassification { get; internal set; } - - /// - /// The TransitionUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedTransition")] - public List OwnedTransition { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Definition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686637_967933_23236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IDefinition.OwnedUsage")] - public List OwnedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedUseCase")] - public List OwnedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List OwnedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - [Implements(implementation: "IDefinition.OwnedView")] - public List OwnedView { get; internal set; } - - /// - /// The ViewpointUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List OwnedViewpoint { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [RedefinedByProperty("IAssociation.RelatedType")] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The types of the associationEnds of the Association, which are the relatedElements of the - /// Association considered as a Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_4339_43349", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IAssociation.RelatedType")] - public List RelatedType { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IAssociation.SourceType")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// The source relatedType for this Association. It is the first relatedType of the Association. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594939013292_377668_3566", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [Implements(implementation: "IAssociation.SourceType")] - public Guid? SourceType { get; internal set; } - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IAssociation.TargetType")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The target relatedTypes for this Association. This includes all the relatedTypes other than the - /// sourceType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594939237325_861933_3707", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [Implements(implementation: "IAssociation.TargetType")] - public List TargetType { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Definition (not necessarily owned). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IDefinition.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Definition as a variation point Definition, if - /// isVariation = true. If isVariation = false, the there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IDefinition.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then - /// this must be all ownedMemberships of the Definition. If isVariation = false, then - /// variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IDefinition.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Allocations +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Systems.Connections; + using SysML2.NET.Decorators; + + /// + /// An AllocationDefinition is a ConnectionDefinition that specifies that some or all of the + /// responsibility to realize the intent of the source is allocated to the target instances. Such + /// allocations define mappings across the various structures and hierarchies of a system model, perhaps + /// as a precursor to more rigorous specifications and implementations. An AllocationDefinition can + /// itself be refined using nested allocations that give a finer-grained decomposition of the containing + /// allocation mapping. + /// + [Class(xmiId: "_19_0_4_12e503d9_1611430566467_608282_906", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class AllocationDefinition : IAllocationDefinition + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The AllocationUsages that refine the allocation mapping defined by this AllocationDefinition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430644481_402036_964", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IAllocationDefinition.Allocation")] + public List allocation { get; internal set; } + + /// + /// The features of the Association that identify the things that can be related by it. A concrete + /// Association must have at least two associationEnds. When it has exactly two, the Association is + /// called a binary Association. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562477648742_24204_22901", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [RedefinedByProperty("IConnectionDefinition.ConnectionEnd")] + [Implements(implementation: "IAssociation.AssociationEnd")] + List Kernel.Associations.IAssociation.associationEnd => throw new InvalidOperationException("Redefined by property IConnectionDefinition.ConnectionEnd"); + + /// + /// The Usages that define the things related by the ConnectionDefinition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591476421094_685440_682", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562477648742_24204_22901")] + [Implements(implementation: "IConnectionDefinition.ConnectionEnd")] + public List connectionEnd { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.DirectedFeature")] + public List directedFeature { get; internal set; } + + /// + /// The usages of this Definition that are directedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565495064714_974634_26150", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IDefinition.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IAssociation.AssociationEnd")] + [Implements(implementation: "IType.EndFeature")] + List Core.Types.IType.endFeature => throw new InvalidOperationException("Redefined by property IAssociation.AssociationEnd"); + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + public bool IsAbstract { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceDefinition is constrained to represent at most one thing. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618955405499_394357_6740", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceDefinition.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// A ConnectionDefinition always has isSufficient = true. + /// + [Property(xmiId: "_2022x_2_12e503d9_1734734871008_462076_156", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1564072709069_937523_30797")] + [Implements(implementation: "IConnectionDefinition.IsSufficient")] + public bool IsSufficient { get; set; } = true; + + /// + /// 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [RedefinedByProperty("IConnectionDefinition.IsSufficient")] + [Implements(implementation: "IType.IsSufficient")] + bool Core.Types.IType.IsSufficient + { + get => throw new InvalidOperationException("Redefined by property IConnectionDefinition.IsSufficient"); + set => throw new InvalidOperationException("Redefined by property IConnectionDefinition.IsSufficient"); + } + + /// + /// Whether this Definition is for a variation point or not. If true, then all the memberships of the + /// Definition must be VariantMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IDefinition.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ActionUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedAction")] + public List ownedAction { get; internal set; } + + /// + /// The AllocationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedAllocation")] + public List ownedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedAnalysisCase")] + public List ownedAnalysisCase { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The AttributeUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedAttribute")] + public List ownedAttribute { get; internal set; } + + /// + /// The CalculationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] + [Implements(implementation: "IDefinition.OwnedCalculation")] + public List ownedCalculation { get; internal set; } + + /// + /// The code>CaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] + [Implements(implementation: "IDefinition.OwnedCase")] + public List ownedCase { get; internal set; } + + /// + /// The ConcernUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + [Implements(implementation: "IDefinition.OwnedConcern")] + public List ownedConcern { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowUsages because these are ConnectorAsUsages + /// even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedConnection")] + public List ownedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedConstraint")] + public List ownedConstraint { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The EnumerationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] + [Implements(implementation: "IDefinition.OwnedEnumeration")] + public List ownedEnumeration { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The FlowUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedFlow")] + public List ownedFlow { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The InterfaceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedInterface")] + public List ownedInterface { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The ItemUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedItem")] + public List ownedItem { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The MetadataUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] + [Implements(implementation: "IDefinition.OwnedMetadata")] + public List ownedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedOccurrence")] + public List ownedOccurrence { get; internal set; } + + /// + /// The PartUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] + [Implements(implementation: "IDefinition.OwnedPart")] + public List ownedPart { get; internal set; } + + /// + /// The PortUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedPort")] + public List ownedPort { get; internal set; } + + /// + /// The ReferenceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedReference")] + public List ownedReference { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The RenderingUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] + [Implements(implementation: "IDefinition.OwnedRendering")] + public List ownedRendering { get; internal set; } + + /// + /// The RequirementUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] + [Implements(implementation: "IDefinition.OwnedRequirement")] + public List ownedRequirement { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The StateUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] + [Implements(implementation: "IDefinition.OwnedState")] + public List ownedState { get; internal set; } + + /// + /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier + /// is the subclassifier. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [Implements(implementation: "IClassifier.OwnedSubclassification")] + public List ownedSubclassification { get; internal set; } + + /// + /// The TransitionUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedTransition")] + public List ownedTransition { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Definition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686637_967933_23236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IDefinition.OwnedUsage")] + public List ownedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedUseCase")] + public List ownedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedVerificationCase")] + public List ownedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] + [Implements(implementation: "IDefinition.OwnedView")] + public List ownedView { get; internal set; } + + /// + /// The ViewpointUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + [Implements(implementation: "IDefinition.OwnedViewpoint")] + public List ownedViewpoint { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [RedefinedByProperty("IAssociation.RelatedType")] + [Implements(implementation: "IRelationship.RelatedElement")] + List Root.Elements.IRelationship.relatedElement => throw new InvalidOperationException("Redefined by property IAssociation.RelatedType"); + + /// + /// The types of the associationEnds of the Association, which are the relatedElements of the + /// Association considered as a Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_4339_43349", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IAssociation.RelatedType")] + public List relatedType { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IAssociation.SourceType")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IAssociation.SourceType"); + set => throw new InvalidOperationException("Redefined by property IAssociation.SourceType"); + } + + /// + /// The source relatedType for this Association. It is the first relatedType of the Association. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594939013292_377668_3566", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [Implements(implementation: "IAssociation.SourceType")] + public Guid? sourceType { get; internal set; } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IAssociation.TargetType")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IAssociation.TargetType"); + set => throw new InvalidOperationException("Redefined by property IAssociation.TargetType"); + } + + /// + /// The target relatedTypes for this Association. This includes all the relatedTypes other than the + /// sourceType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594939237325_861933_3707", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [Implements(implementation: "IAssociation.TargetType")] + public List targetType { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Definition (not necessarily owned). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IDefinition.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Definition as a variation point Definition, if + /// isVariation = true. If isVariation = false, the there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IDefinition.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then + /// this must be all ownedMemberships of the Definition. If isVariation = false, then + /// variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IDefinition.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/AllocationUsage.cs b/SysML2.NET/Core/AutoGenDto/AllocationUsage.cs index d7f7e2fb..f9e3a6fd 100644 --- a/SysML2.NET/Core/AutoGenDto/AllocationUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/AllocationUsage.cs @@ -1,1217 +1,1229 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Allocations -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Core.DTO.Systems.Connections; - using SysML2.NET.Decorators; - - /// - /// An AllocationUsage is a usage of an AllocationDefinition asserting the allocation of the source - /// feature to the target feature. - /// - [Class(xmiId: "_19_0_4_12e503d9_1611430595314_523036_933", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class AllocationUsage : IAllocationUsage - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The AllocationDefinitions that are the types of this AllocationUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430742949_241425_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1594853499656_139435_802")] - [Implements(implementation: "IAllocationUsage.AllocationDefinition")] - public List AllocationDefinition { get; internal set; } - - /// - /// The Associations that type the Connector. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674983_471497_43284", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IConnectionUsage.ConnectionDefinition")] - [Implements(implementation: "IConnector.Association")] - public List Association { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The AssociationStructures that are the types of this ConnectionUsage. Nominally, these are , but - /// other kinds of Kernel AssociationStructures are also allowed, to permit use of AssociationStructures - /// from the Kernel Model Libraries - /// - [Property(xmiId: "_19_0_2_12e503d9_1594853499656_139435_802", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565471361757_649736_20796")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674983_471497_43284")] - [RedefinedByProperty("IAllocationUsage.AllocationDefinition")] - [Implements(implementation: "IConnectionUsage.ConnectionDefinition")] - public List ConnectionDefinition { get; internal set; } - - /// - /// The endFeatures of a Connector, which redefine the endFeatures of the associations of the Connector. - /// The connectorEnds determine via ReferenceSubsetting Relationships which Features are related by the - /// Connector. - /// - [Property(xmiId: "_18_5_3_12e503d9_1556735067666_827798_21922", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [Implements(implementation: "IConnector.ConnectorEnd")] - public List ConnectorEnd { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The innermost Type that is a common direct or indirect featuringType of the relatedFeatures, such - /// that, if it exists and was the featuringType of this Connector, the Connector would satisfy the - /// checkConnectorTypeFeaturing constraint. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737751598145_444042_71", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IConnector.DefaultFeaturingType")] - public Guid? DefaultFeaturingType { get; internal set; } - - /// - /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds - /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] - [Implements(implementation: "IUsage.Definition")] - public List Definition { get; internal set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Usage that are directedFeatures. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IConnector.ConnectorEnd")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// The at most one occurrenceDefinition that has isIndividual = true. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public Guid? IndividualDefinition { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - public bool IsEnd { get; set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its - /// individualDefinition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceUsage.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - public bool IsPortion { get; set; } - - /// - /// Whether this Usage is a referential Usage, that is, it has isComposite = false. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsReference")] - public bool IsReference { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [RedefinedByProperty("IUsage.MayTimeVary")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage - /// must be VariantMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// The Structures that are the definitions of this ItemUsage. Nominally, these are ItemDefinitions, but - /// other kinds of Kernel Structures are also allowed, to permit use of Structures from the Kernel - /// Library. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565471361757_649736_20796", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IItemUsage.ItemDefinition")] - public List ItemDefinition { get; internal set; } - - /// - /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its - /// owningType, rather than being featured by the owningType itself). However, if isConstant is also - /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance - /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary - /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is - /// inherited from Feature. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] - [Implements(implementation: "IUsage.MayTimeVary")] - public bool MayTimeVary { get; internal set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ActionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedAction")] - public List NestedAction { get; internal set; } - - /// - /// The AllocationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedAllocation")] - public List NestedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List NestedAnalysisCase { get; internal set; } - - /// - /// The code>AttributeUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedAttribute")] - public List NestedAttribute { get; internal set; } - - /// - /// The CalculationUsage that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedCalculation")] - public List NestedCalculation { get; internal set; } - - /// - /// The CaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] - [Implements(implementation: "IUsage.NestedCase")] - public List NestedCase { get; internal set; } - - /// - /// The ConcernUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedConcern")] - public List NestedConcern { get; internal set; } - - /// - /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are - /// ConnectorAsUsages even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedConnection")] - public List NestedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedConstraint")] - public List NestedConstraint { get; internal set; } - - /// - /// The code>EnumerationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] - [Implements(implementation: "IUsage.NestedEnumeration")] - public List NestedEnumeration { get; internal set; } - - /// - /// The code>FlowUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedFlow")] - public List NestedFlow { get; internal set; } - - /// - /// The InterfaceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedInterface")] - public List NestedInterface { get; internal set; } - - /// - /// The ItemUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedItem")] - public List NestedItem { get; internal set; } - - /// - /// The MetadataUsages that are nestedUsages of this of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedMetadata")] - public List NestedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedOccurrence")] - public List NestedOccurrence { get; internal set; } - - /// - /// The PartUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedPart")] - public List NestedPart { get; internal set; } - - /// - /// The PortUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedPort")] - public List NestedPort { get; internal set; } - - /// - /// The ReferenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedReference")] - public List NestedReference { get; internal set; } - - /// - /// The RenderingUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedRendering")] - public List NestedRendering { get; internal set; } - - /// - /// The RequirementUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] - [Implements(implementation: "IUsage.NestedRequirement")] - public List NestedRequirement { get; internal set; } - - /// - /// The StateUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedState")] - public List NestedState { get; internal set; } - - /// - /// The TransitionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedTransition")] - public List NestedTransition { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.NestedUsage")] - public List NestedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedUseCase")] - public List NestedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedVerificationCase")] - public List NestedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedView")] - public List NestedView { get; internal set; } - - /// - /// The ViewpointUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedViewpoint")] - public List NestedViewpoint { get; internal set; } - - /// - /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, - /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] - [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List OccurrenceDefinition { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The Definition that owns this Usage (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] - [Implements(implementation: "IUsage.OwningDefinition")] - public Guid? OwningDefinition { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The Usage in which this Usage is nested (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IUsage.OwningUsage")] - public Guid? OwningUsage { get; internal set; } - - /// - /// The itemDefinitions of this PartUsage that are PartDefinitions. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591475180488_929065_121", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565471361757_649736_20796")] - [Implements(implementation: "IPartUsage.PartDefinition")] - public List PartDefinition { get; internal set; } - - /// - /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If - /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the - /// OccurrenceUsage represents portions of the featuring instance of the owningType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IOccurrenceUsage.PortionKind")] - public PortionKind? PortionKind { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [RedefinedByProperty("IConnector.RelatedFeature")] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The Features that are related by this Connector considered as a Relationship and that restrict the - /// links it identifies, given by the referenced Features of the connectorEnds of the Connector. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_916334_43210", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IConnector.RelatedFeature")] - public List RelatedFeature { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IConnector.SourceFeature")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// The source relatedFeature for this Connector. It is the first relatedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594953058873_558253_3897", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [Implements(implementation: "IConnector.SourceFeature")] - public Guid? SourceFeature { get; internal set; } - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IConnector.TargetFeature")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The target relatedFeatures for this Connector. This includes all the relatedFeatures other than the - /// sourceFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594953128207_991867_3946", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [Implements(implementation: "IConnector.TargetFeature")] - public List TargetFeature { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IUsage.Definition")] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Usage (not necessarily owned). - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IUsage.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = - /// true. If isVariation = false, then there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IUsage.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this - /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IUsage.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Allocations +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Core.DTO.Systems.Connections; + using SysML2.NET.Decorators; + + /// + /// An AllocationUsage is a usage of an AllocationDefinition asserting the allocation of the source + /// feature to the target feature. + /// + [Class(xmiId: "_19_0_4_12e503d9_1611430595314_523036_933", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class AllocationUsage : IAllocationUsage + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The AllocationDefinitions that are the types of this AllocationUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430742949_241425_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1594853499656_139435_802")] + [Implements(implementation: "IAllocationUsage.AllocationDefinition")] + public List allocationDefinition { get; internal set; } + + /// + /// The Associations that type the Connector. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674983_471497_43284", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IConnectionUsage.ConnectionDefinition")] + [Implements(implementation: "IConnector.Association")] + List Kernel.Connectors.IConnector.association => throw new InvalidOperationException("Redefined by property IConnectionUsage.ConnectionDefinition"); + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The AssociationStructures that are the types of this ConnectionUsage. Nominally, these are , but + /// other kinds of Kernel AssociationStructures are also allowed, to permit use of AssociationStructures + /// from the Kernel Model Libraries + /// + [Property(xmiId: "_19_0_2_12e503d9_1594853499656_139435_802", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565471361757_649736_20796")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674983_471497_43284")] + [RedefinedByProperty("IAllocationUsage.AllocationDefinition")] + [Implements(implementation: "IConnectionUsage.ConnectionDefinition")] + List Systems.Connections.IConnectionUsage.connectionDefinition => throw new InvalidOperationException("Redefined by property IAllocationUsage.AllocationDefinition"); + + /// + /// The endFeatures of a Connector, which redefine the endFeatures of the associations of the Connector. + /// The connectorEnds determine via ReferenceSubsetting Relationships which Features are related by the + /// Connector. + /// + [Property(xmiId: "_18_5_3_12e503d9_1556735067666_827798_21922", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [Implements(implementation: "IConnector.ConnectorEnd")] + public List connectorEnd { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The innermost Type that is a common direct or indirect featuringType of the relatedFeatures, such + /// that, if it exists and was the featuringType of this Connector, the Connector would satisfy the + /// checkConnectorTypeFeaturing constraint. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737751598145_444042_71", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IConnector.DefaultFeaturingType")] + public Guid? defaultFeaturingType { get; internal set; } + + /// + /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds + /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] + [Implements(implementation: "IUsage.Definition")] + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.DirectedFeature")] + public List directedFeature { get; internal set; } + + /// + /// The usages of this Usage that are directedFeatures. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IConnector.ConnectorEnd")] + [Implements(implementation: "IType.EndFeature")] + List Core.Types.IType.endFeature => throw new InvalidOperationException("Redefined by property IConnector.ConnectorEnd"); + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// The at most one occurrenceDefinition that has isIndividual = true. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] + public Guid? individualDefinition { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + public bool IsEnd { get; set; } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its + /// individualDefinition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceUsage.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + public bool IsPortion { get; set; } + + /// + /// Whether this Usage is a referential Usage, that is, it has isComposite = false. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsReference")] + public bool isReference { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [RedefinedByProperty("IUsage.MayTimeVary")] + [Implements(implementation: "IFeature.IsVariable")] + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } + + /// + /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage + /// must be VariantMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// The Structures that are the definitions of this ItemUsage. Nominally, these are ItemDefinitions, but + /// other kinds of Kernel Structures are also allowed, to permit use of Structures from the Kernel + /// Library. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565471361757_649736_20796", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IItemUsage.ItemDefinition")] + public List itemDefinition { get; internal set; } + + /// + /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its + /// owningType, rather than being featured by the owningType itself). However, if isConstant is also + /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance + /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary + /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is + /// inherited from Feature. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] + [Implements(implementation: "IUsage.MayTimeVary")] + public bool mayTimeVary { get; internal set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ActionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedAction")] + public List nestedAction { get; internal set; } + + /// + /// The AllocationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedAllocation")] + public List nestedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedAnalysisCase")] + public List nestedAnalysisCase { get; internal set; } + + /// + /// The code>AttributeUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedAttribute")] + public List nestedAttribute { get; internal set; } + + /// + /// The CalculationUsage that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedCalculation")] + public List nestedCalculation { get; internal set; } + + /// + /// The CaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] + [Implements(implementation: "IUsage.NestedCase")] + public List nestedCase { get; internal set; } + + /// + /// The ConcernUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedConcern")] + public List nestedConcern { get; internal set; } + + /// + /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are + /// ConnectorAsUsages even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedConnection")] + public List nestedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedConstraint")] + public List nestedConstraint { get; internal set; } + + /// + /// The code>EnumerationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] + [Implements(implementation: "IUsage.NestedEnumeration")] + public List nestedEnumeration { get; internal set; } + + /// + /// The code>FlowUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedFlow")] + public List nestedFlow { get; internal set; } + + /// + /// The InterfaceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedInterface")] + public List nestedInterface { get; internal set; } + + /// + /// The ItemUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedItem")] + public List nestedItem { get; internal set; } + + /// + /// The MetadataUsages that are nestedUsages of this of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedMetadata")] + public List nestedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedOccurrence")] + public List nestedOccurrence { get; internal set; } + + /// + /// The PartUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedPart")] + public List nestedPart { get; internal set; } + + /// + /// The PortUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedPort")] + public List nestedPort { get; internal set; } + + /// + /// The ReferenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedReference")] + public List nestedReference { get; internal set; } + + /// + /// The RenderingUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedRendering")] + public List nestedRendering { get; internal set; } + + /// + /// The RequirementUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] + [Implements(implementation: "IUsage.NestedRequirement")] + public List nestedRequirement { get; internal set; } + + /// + /// The StateUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedState")] + public List nestedState { get; internal set; } + + /// + /// The TransitionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedTransition")] + public List nestedTransition { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.NestedUsage")] + public List nestedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedUseCase")] + public List nestedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedVerificationCase")] + public List nestedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedView")] + public List nestedView { get; internal set; } + + /// + /// The ViewpointUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedViewpoint")] + public List nestedViewpoint { get; internal set; } + + /// + /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, + /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] + [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] + public List occurrenceDefinition { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The Definition that owns this Usage (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] + [Implements(implementation: "IUsage.OwningDefinition")] + public Guid? owningDefinition { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The Usage in which this Usage is nested (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IUsage.OwningUsage")] + public Guid? owningUsage { get; internal set; } + + /// + /// The itemDefinitions of this PartUsage that are PartDefinitions. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591475180488_929065_121", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565471361757_649736_20796")] + [Implements(implementation: "IPartUsage.PartDefinition")] + public List partDefinition { get; internal set; } + + /// + /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If + /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the + /// OccurrenceUsage represents portions of the featuring instance of the owningType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IOccurrenceUsage.PortionKind")] + public PortionKind? PortionKind { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [RedefinedByProperty("IConnector.RelatedFeature")] + [Implements(implementation: "IRelationship.RelatedElement")] + List Root.Elements.IRelationship.relatedElement => throw new InvalidOperationException("Redefined by property IConnector.RelatedFeature"); + + /// + /// The Features that are related by this Connector considered as a Relationship and that restrict the + /// links it identifies, given by the referenced Features of the connectorEnds of the Connector. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_916334_43210", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IConnector.RelatedFeature")] + public List relatedFeature { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IConnector.SourceFeature")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + } + + /// + /// The source relatedFeature for this Connector. It is the first relatedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594953058873_558253_3897", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [Implements(implementation: "IConnector.SourceFeature")] + public Guid? sourceFeature { get; internal set; } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IConnector.TargetFeature")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + } + + /// + /// The target relatedFeatures for this Connector. This includes all the relatedFeatures other than the + /// sourceFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594953128207_991867_3946", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [Implements(implementation: "IConnector.TargetFeature")] + public List targetFeature { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IUsage.Definition")] + [Implements(implementation: "IFeature.Type")] + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Usage (not necessarily owned). + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IUsage.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = + /// true. If isVariation = false, then there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IUsage.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this + /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IUsage.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/AnalysisCaseDefinition.cs b/SysML2.NET/Core/AutoGenDto/AnalysisCaseDefinition.cs index 1a3ca23c..347bca0d 100644 --- a/SysML2.NET/Core/AutoGenDto/AnalysisCaseDefinition.cs +++ b/SysML2.NET/Core/AutoGenDto/AnalysisCaseDefinition.cs @@ -1,871 +1,871 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.AnalysisCases -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Systems.Cases; - using SysML2.NET.Decorators; - - /// - /// An AnalysisCaseDefinition is a CaseDefinition for the case of carrying out an analysis. - /// - [Class(xmiId: "_19_0_2_59601fc_1590260221442_937295_1064", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class AnalysisCaseDefinition : IAnalysisCaseDefinition - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// The ActionUsages that are steps in this ActionDefinition, which define the actions that specify the - /// behavior of the ActionDefinition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565500809065_170841_30688", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IActionDefinition.Action")] - public List Action { get; internal set; } - - /// - /// The parameters of this CaseDefinition that represent actors involved in the case. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621464609772_382176_1612", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "ICaseDefinition.ActorParameter")] - public List ActorParameter { get; internal set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The actions of this CalculationDefinition that are CalculationUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588214479224_101961_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565500809065_170841_30688")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948400639_301251_20841")] - [Implements(implementation: "ICalculationDefinition.Calculation")] - public List Calculation { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IBehavior.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Definition that are directedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565495064714_974634_26150", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IDefinition.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Expressions that are steps in the calculation of the result of this Function. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948400639_301251_20841", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] - [Implements(implementation: "IFunction.Expression")] - public List Expression { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - public bool IsAbstract { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceDefinition is constrained to represent at most one thing. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618955405499_394357_6740", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceDefinition.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether this Function can be used as the function of a model-level evaluable InvocationExpression. - /// Certain Functions from the Kernel Functions Library are considered to have isModelLevelEvaluable = - /// true. For all other Functions it is false.Note: See the specification of the KerML - /// concrete syntax notation for Expressions for an identification of which library Functions are - /// model-level evaluable. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617395221463_139517_26381", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFunction.IsModelLevelEvaluable")] - public bool IsModelLevelEvaluable { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IDefinition.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The RequirementUsage representing the objective of this CaseDefinition. - /// - [Property(xmiId: "_19_0_2_59601fc_1590259317710_27529_910", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "ICaseDefinition.ObjectiveRequirement")] - public Guid? ObjectiveRequirement { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ActionUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedAction")] - public List OwnedAction { get; internal set; } - - /// - /// The AllocationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedAllocation")] - public List OwnedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List OwnedAnalysisCase { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The AttributeUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedAttribute")] - public List OwnedAttribute { get; internal set; } - - /// - /// The CalculationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - [Implements(implementation: "IDefinition.OwnedCalculation")] - public List OwnedCalculation { get; internal set; } - - /// - /// The code>CaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] - [Implements(implementation: "IDefinition.OwnedCase")] - public List OwnedCase { get; internal set; } - - /// - /// The ConcernUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - [Implements(implementation: "IDefinition.OwnedConcern")] - public List OwnedConcern { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowUsages because these are ConnectorAsUsages - /// even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedConnection")] - public List OwnedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedConstraint")] - public List OwnedConstraint { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The EnumerationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] - [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List OwnedEnumeration { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The FlowUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedFlow")] - public List OwnedFlow { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The InterfaceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedInterface")] - public List OwnedInterface { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The ItemUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedItem")] - public List OwnedItem { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The MetadataUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - [Implements(implementation: "IDefinition.OwnedMetadata")] - public List OwnedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List OwnedOccurrence { get; internal set; } - - /// - /// The PartUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - [Implements(implementation: "IDefinition.OwnedPart")] - public List OwnedPart { get; internal set; } - - /// - /// The PortUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedPort")] - public List OwnedPort { get; internal set; } - - /// - /// The ReferenceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedReference")] - public List OwnedReference { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The RenderingUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - [Implements(implementation: "IDefinition.OwnedRendering")] - public List OwnedRendering { get; internal set; } - - /// - /// The RequirementUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] - [Implements(implementation: "IDefinition.OwnedRequirement")] - public List OwnedRequirement { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The StateUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - [Implements(implementation: "IDefinition.OwnedState")] - public List OwnedState { get; internal set; } - - /// - /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier - /// is the subclassifier. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List OwnedSubclassification { get; internal set; } - - /// - /// The TransitionUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedTransition")] - public List OwnedTransition { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Definition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686637_967933_23236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IDefinition.OwnedUsage")] - public List OwnedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedUseCase")] - public List OwnedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List OwnedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - [Implements(implementation: "IDefinition.OwnedView")] - public List OwnedView { get; internal set; } - - /// - /// The ViewpointUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List OwnedViewpoint { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The parameters of this Behavior, which are defined as its directedFeatures, whose values are passed - /// into and/or out of a performance of the Behavior. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948010065_362066_20413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IBehavior.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The object or value that is the result of evaluating the Function. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948912268_88159_21323", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] - [Implements(implementation: "IFunction.Result")] - public Guid Result { get; internal set; } - - /// - /// An Expression used to compute the result of the AnalysisCaseDefinition, owned via a - /// ResultExpressionMembership. - /// - [Property(xmiId: "_19_0_2_59601fc_1590945152798_315308_221", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948400639_301251_20841")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IAnalysisCaseDefinition.ResultExpression")] - public Guid? ResultExpression { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The Steps that make up this Behavior. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346067212_587255_17343", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IBehavior.Step")] - public List Step { get; internal set; } - - /// - /// The parameter of this CaseDefinition that represents its subject. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189932946_106647_973", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "ICaseDefinition.SubjectParameter")] - public Guid SubjectParameter { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Definition (not necessarily owned). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IDefinition.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Definition as a variation point Definition, if - /// isVariation = true. If isVariation = false, the there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IDefinition.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then - /// this must be all ownedMemberships of the Definition. If isVariation = false, then - /// variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IDefinition.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.AnalysisCases +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Systems.Cases; + using SysML2.NET.Decorators; + + /// + /// An AnalysisCaseDefinition is a CaseDefinition for the case of carrying out an analysis. + /// + [Class(xmiId: "_19_0_2_59601fc_1590260221442_937295_1064", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class AnalysisCaseDefinition : IAnalysisCaseDefinition + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// The ActionUsages that are steps in this ActionDefinition, which define the actions that specify the + /// behavior of the ActionDefinition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565500809065_170841_30688", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IActionDefinition.Action")] + public List action { get; internal set; } + + /// + /// The parameters of this CaseDefinition that represent actors involved in the case. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621464609772_382176_1612", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "ICaseDefinition.ActorParameter")] + public List actorParameter { get; internal set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The actions of this CalculationDefinition that are CalculationUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588214479224_101961_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565500809065_170841_30688")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948400639_301251_20841")] + [Implements(implementation: "ICalculationDefinition.Calculation")] + public List calculation { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IBehavior.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IBehavior.Parameter"); + + /// + /// The usages of this Definition that are directedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565495064714_974634_26150", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IDefinition.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Expressions that are steps in the calculation of the result of this Function. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948400639_301251_20841", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] + [Implements(implementation: "IFunction.Expression")] + public List expression { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + public bool IsAbstract { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceDefinition is constrained to represent at most one thing. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618955405499_394357_6740", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceDefinition.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether this Function can be used as the function of a model-level evaluable InvocationExpression. + /// Certain Functions from the Kernel Functions Library are considered to have isModelLevelEvaluable = + /// true. For all other Functions it is false.Note: See the specification of the KerML + /// concrete syntax notation for Expressions for an identification of which library Functions are + /// model-level evaluable. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617395221463_139517_26381", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFunction.IsModelLevelEvaluable")] + public bool isModelLevelEvaluable { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IDefinition.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The RequirementUsage representing the objective of this CaseDefinition. + /// + [Property(xmiId: "_19_0_2_59601fc_1590259317710_27529_910", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "ICaseDefinition.ObjectiveRequirement")] + public Guid? objectiveRequirement { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ActionUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedAction")] + public List ownedAction { get; internal set; } + + /// + /// The AllocationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedAllocation")] + public List ownedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedAnalysisCase")] + public List ownedAnalysisCase { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The AttributeUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedAttribute")] + public List ownedAttribute { get; internal set; } + + /// + /// The CalculationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] + [Implements(implementation: "IDefinition.OwnedCalculation")] + public List ownedCalculation { get; internal set; } + + /// + /// The code>CaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] + [Implements(implementation: "IDefinition.OwnedCase")] + public List ownedCase { get; internal set; } + + /// + /// The ConcernUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + [Implements(implementation: "IDefinition.OwnedConcern")] + public List ownedConcern { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowUsages because these are ConnectorAsUsages + /// even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedConnection")] + public List ownedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedConstraint")] + public List ownedConstraint { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The EnumerationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] + [Implements(implementation: "IDefinition.OwnedEnumeration")] + public List ownedEnumeration { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The FlowUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedFlow")] + public List ownedFlow { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The InterfaceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedInterface")] + public List ownedInterface { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The ItemUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedItem")] + public List ownedItem { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The MetadataUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] + [Implements(implementation: "IDefinition.OwnedMetadata")] + public List ownedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedOccurrence")] + public List ownedOccurrence { get; internal set; } + + /// + /// The PartUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] + [Implements(implementation: "IDefinition.OwnedPart")] + public List ownedPart { get; internal set; } + + /// + /// The PortUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedPort")] + public List ownedPort { get; internal set; } + + /// + /// The ReferenceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedReference")] + public List ownedReference { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The RenderingUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] + [Implements(implementation: "IDefinition.OwnedRendering")] + public List ownedRendering { get; internal set; } + + /// + /// The RequirementUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] + [Implements(implementation: "IDefinition.OwnedRequirement")] + public List ownedRequirement { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The StateUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] + [Implements(implementation: "IDefinition.OwnedState")] + public List ownedState { get; internal set; } + + /// + /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier + /// is the subclassifier. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [Implements(implementation: "IClassifier.OwnedSubclassification")] + public List ownedSubclassification { get; internal set; } + + /// + /// The TransitionUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedTransition")] + public List ownedTransition { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Definition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686637_967933_23236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IDefinition.OwnedUsage")] + public List ownedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedUseCase")] + public List ownedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedVerificationCase")] + public List ownedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] + [Implements(implementation: "IDefinition.OwnedView")] + public List ownedView { get; internal set; } + + /// + /// The ViewpointUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + [Implements(implementation: "IDefinition.OwnedViewpoint")] + public List ownedViewpoint { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The parameters of this Behavior, which are defined as its directedFeatures, whose values are passed + /// into and/or out of a performance of the Behavior. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948010065_362066_20413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IBehavior.Parameter")] + public List parameter { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The object or value that is the result of evaluating the Function. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948912268_88159_21323", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] + [Implements(implementation: "IFunction.Result")] + public Guid result { get; internal set; } + + /// + /// An Expression used to compute the result of the AnalysisCaseDefinition, owned via a + /// ResultExpressionMembership. + /// + [Property(xmiId: "_19_0_2_59601fc_1590945152798_315308_221", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948400639_301251_20841")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IAnalysisCaseDefinition.ResultExpression")] + public Guid? resultExpression { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The Steps that make up this Behavior. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346067212_587255_17343", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IBehavior.Step")] + public List step { get; internal set; } + + /// + /// The parameter of this CaseDefinition that represents its subject. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189932946_106647_973", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "ICaseDefinition.SubjectParameter")] + public Guid subjectParameter { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Definition (not necessarily owned). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IDefinition.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Definition as a variation point Definition, if + /// isVariation = true. If isVariation = false, the there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IDefinition.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then + /// this must be all ownedMemberships of the Definition. If isVariation = false, then + /// variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IDefinition.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/AnalysisCaseUsage.cs b/SysML2.NET/Core/AutoGenDto/AnalysisCaseUsage.cs index 59033aaa..5659fb24 100644 --- a/SysML2.NET/Core/AutoGenDto/AnalysisCaseUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/AnalysisCaseUsage.cs @@ -1,1194 +1,1198 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.AnalysisCases -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Core.DTO.Systems.Cases; - using SysML2.NET.Decorators; - - /// - /// An AnalysisCaseUsage is a Usage of an AnalysisCaseDefinition. - /// - [Class(xmiId: "_19_0_2_59601fc_1590260225615_617039_1090", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class AnalysisCaseUsage : IAnalysisCaseUsage - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// The Behaviors that are the types of this ActionUsage. Nominally, these would be ActionDefinitions, - /// but other kinds of Kernel Behaviors are also allowed, to permit use of Behaviors from the Kernel - /// Model Libraries. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565500905804_589845_30779", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [RedefinedByProperty("ICalculationUsage.CalculationDefinition")] - [Implements(implementation: "IActionUsage.ActionDefinition")] - public List ActionDefinition { get; internal set; } - - /// - /// The parameters of this CaseUsage that represent actors involved in the case. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621464633171_380461_1655", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "ICaseUsage.ActorParameter")] - public List ActorParameter { get; internal set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The AnalysisCaseDefinition that is the definition of this AnalysisCaseUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152217935_225164_2921", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_59601fc_1590257465225_855208_512")] - [Implements(implementation: "IAnalysisCaseUsage.AnalysisCaseDefinition")] - public Guid? AnalysisCaseDefinition { get; internal set; } - - /// - /// The Behaviors that type this Step. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IExpression.Function")] - [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } - - /// - /// The Function that is the type of this CalculationUsage. Nominally, this would be a - /// CalculationDefinition, but a kernel Function is also allowed, to permit use of Functions from the - /// Kernel Model Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588213526305_899324_302", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1543948477241_299049_20934")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1565500905804_589845_30779")] - [RedefinedByProperty("ICaseUsage.CaseDefinition")] - [Implements(implementation: "ICalculationUsage.CalculationDefinition")] - public Guid? CalculationDefinition { get; internal set; } - - /// - /// The CaseDefinition that is the type of this CaseUsage. - /// - [Property(xmiId: "_19_0_2_59601fc_1590257465225_855208_512", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1588213526305_899324_302")] - [RedefinedByProperty("IAnalysisCaseUsage.AnalysisCaseDefinition")] - [Implements(implementation: "ICaseUsage.CaseDefinition")] - public Guid? CaseDefinition { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds - /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] - [Implements(implementation: "IUsage.Definition")] - public List Definition { get; internal set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IStep.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Usage that are directedFeatures. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Function that types this Expression. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - [RedefinedByProperty("ICalculationUsage.CalculationDefinition")] - [Implements(implementation: "IExpression.Function")] - public Guid? Function { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// The at most one occurrenceDefinition that has isIndividual = true. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public Guid? IndividualDefinition { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its - /// individualDefinition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceUsage.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, - /// using metadata within the model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool IsModelLevelEvaluable { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - public bool IsPortion { get; set; } - - /// - /// Whether this Usage is a referential Usage, that is, it has isComposite = false. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsReference")] - public bool IsReference { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [RedefinedByProperty("IUsage.MayTimeVary")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage - /// must be VariantMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its - /// owningType, rather than being featured by the owningType itself). However, if isConstant is also - /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance - /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary - /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is - /// inherited from Feature. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] - [Implements(implementation: "IUsage.MayTimeVary")] - public bool MayTimeVary { get; internal set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ActionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedAction")] - public List NestedAction { get; internal set; } - - /// - /// The AllocationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedAllocation")] - public List NestedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List NestedAnalysisCase { get; internal set; } - - /// - /// The code>AttributeUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedAttribute")] - public List NestedAttribute { get; internal set; } - - /// - /// The CalculationUsage that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedCalculation")] - public List NestedCalculation { get; internal set; } - - /// - /// The CaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] - [Implements(implementation: "IUsage.NestedCase")] - public List NestedCase { get; internal set; } - - /// - /// The ConcernUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedConcern")] - public List NestedConcern { get; internal set; } - - /// - /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are - /// ConnectorAsUsages even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedConnection")] - public List NestedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedConstraint")] - public List NestedConstraint { get; internal set; } - - /// - /// The code>EnumerationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] - [Implements(implementation: "IUsage.NestedEnumeration")] - public List NestedEnumeration { get; internal set; } - - /// - /// The code>FlowUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedFlow")] - public List NestedFlow { get; internal set; } - - /// - /// The InterfaceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedInterface")] - public List NestedInterface { get; internal set; } - - /// - /// The ItemUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedItem")] - public List NestedItem { get; internal set; } - - /// - /// The MetadataUsages that are nestedUsages of this of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedMetadata")] - public List NestedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedOccurrence")] - public List NestedOccurrence { get; internal set; } - - /// - /// The PartUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedPart")] - public List NestedPart { get; internal set; } - - /// - /// The PortUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedPort")] - public List NestedPort { get; internal set; } - - /// - /// The ReferenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedReference")] - public List NestedReference { get; internal set; } - - /// - /// The RenderingUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedRendering")] - public List NestedRendering { get; internal set; } - - /// - /// The RequirementUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] - [Implements(implementation: "IUsage.NestedRequirement")] - public List NestedRequirement { get; internal set; } - - /// - /// The StateUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedState")] - public List NestedState { get; internal set; } - - /// - /// The TransitionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedTransition")] - public List NestedTransition { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.NestedUsage")] - public List NestedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedUseCase")] - public List NestedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedVerificationCase")] - public List NestedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedView")] - public List NestedView { get; internal set; } - - /// - /// The ViewpointUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedViewpoint")] - public List NestedViewpoint { get; internal set; } - - /// - /// The RequirementUsage representing the objective of this CaseUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591138794257_404044_2145", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "ICaseUsage.ObjectiveRequirement")] - public Guid? ObjectiveRequirement { get; internal set; } - - /// - /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, - /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] - [RedefinedByProperty("IActionUsage.ActionDefinition")] - [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List OccurrenceDefinition { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The Definition that owns this Usage (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] - [Implements(implementation: "IUsage.OwningDefinition")] - public Guid? OwningDefinition { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The Usage in which this Usage is nested (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IUsage.OwningUsage")] - public Guid? OwningUsage { get; internal set; } - - /// - /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into - /// and/or out of a performance of the Step. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If - /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the - /// OccurrenceUsage represents portions of the featuring instance of the owningType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IOccurrenceUsage.PortionKind")] - public PortionKind? PortionKind { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// An output parameter of the Expression whose value is the result of the Expression. The result of an - /// Expression is either inherited from its function or it is related to the Expression via a - /// ReturnParameterMembership, in which case it redefines the result parameter of its function. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [Implements(implementation: "IExpression.Result")] - public Guid Result { get; internal set; } - - /// - /// An Expression used to compute the result of the AnalysisCaseUsage, owned via a - /// ResultExpressionMembership. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591151453868_910052_2600", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IAnalysisCaseUsage.ResultExpression")] - public Guid? ResultExpression { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The parameter of this CaseUsage that represents its subject. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595190279083_51021_1128", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "ICaseUsage.SubjectParameter")] - public Guid SubjectParameter { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IUsage.Definition")] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Usage (not necessarily owned). - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IUsage.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = - /// true. If isVariation = false, then there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IUsage.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this - /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IUsage.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.AnalysisCases +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Core.DTO.Systems.Cases; + using SysML2.NET.Decorators; + + /// + /// An AnalysisCaseUsage is a Usage of an AnalysisCaseDefinition. + /// + [Class(xmiId: "_19_0_2_59601fc_1590260225615_617039_1090", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class AnalysisCaseUsage : IAnalysisCaseUsage + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// The Behaviors that are the types of this ActionUsage. Nominally, these would be ActionDefinitions, + /// but other kinds of Kernel Behaviors are also allowed, to permit use of Behaviors from the Kernel + /// Model Libraries. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565500905804_589845_30779", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [RedefinedByProperty("ICalculationUsage.CalculationDefinition")] + [Implements(implementation: "IActionUsage.ActionDefinition")] + List Systems.Actions.IActionUsage.actionDefinition => throw new InvalidOperationException("Redefined by property ICalculationUsage.CalculationDefinition"); + + /// + /// The parameters of this CaseUsage that represent actors involved in the case. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621464633171_380461_1655", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "ICaseUsage.ActorParameter")] + public List actorParameter { get; internal set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The AnalysisCaseDefinition that is the definition of this AnalysisCaseUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152217935_225164_2921", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_59601fc_1590257465225_855208_512")] + [Implements(implementation: "IAnalysisCaseUsage.AnalysisCaseDefinition")] + public Guid? analysisCaseDefinition { get; internal set; } + + /// + /// The Behaviors that type this Step. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IExpression.Function")] + [Implements(implementation: "IStep.Behavior")] + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); + + /// + /// The Function that is the type of this CalculationUsage. Nominally, this would be a + /// CalculationDefinition, but a kernel Function is also allowed, to permit use of Functions from the + /// Kernel Model Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588213526305_899324_302", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1543948477241_299049_20934")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1565500905804_589845_30779")] + [RedefinedByProperty("ICaseUsage.CaseDefinition")] + [Implements(implementation: "ICalculationUsage.CalculationDefinition")] + Guid? Systems.Calculations.ICalculationUsage.calculationDefinition => throw new InvalidOperationException("Redefined by property ICaseUsage.CaseDefinition"); + + /// + /// The CaseDefinition that is the type of this CaseUsage. + /// + [Property(xmiId: "_19_0_2_59601fc_1590257465225_855208_512", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1588213526305_899324_302")] + [RedefinedByProperty("IAnalysisCaseUsage.AnalysisCaseDefinition")] + [Implements(implementation: "ICaseUsage.CaseDefinition")] + Guid? Systems.Cases.ICaseUsage.caseDefinition => throw new InvalidOperationException("Redefined by property IAnalysisCaseUsage.AnalysisCaseDefinition"); + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds + /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] + [Implements(implementation: "IUsage.Definition")] + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IStep.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); + + /// + /// The usages of this Usage that are directedFeatures. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Function that types this Expression. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] + [RedefinedByProperty("ICalculationUsage.CalculationDefinition")] + [Implements(implementation: "IExpression.Function")] + Guid? Kernel.Functions.IExpression.function => throw new InvalidOperationException("Redefined by property ICalculationUsage.CalculationDefinition"); + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// The at most one occurrenceDefinition that has isIndividual = true. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] + public Guid? individualDefinition { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its + /// individualDefinition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceUsage.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, + /// using metadata within the model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IExpression.IsModelLevelEvaluable")] + public bool isModelLevelEvaluable { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + public bool IsPortion { get; set; } + + /// + /// Whether this Usage is a referential Usage, that is, it has isComposite = false. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsReference")] + public bool isReference { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [RedefinedByProperty("IUsage.MayTimeVary")] + [Implements(implementation: "IFeature.IsVariable")] + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } + + /// + /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage + /// must be VariantMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its + /// owningType, rather than being featured by the owningType itself). However, if isConstant is also + /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance + /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary + /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is + /// inherited from Feature. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] + [Implements(implementation: "IUsage.MayTimeVary")] + public bool mayTimeVary { get; internal set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ActionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedAction")] + public List nestedAction { get; internal set; } + + /// + /// The AllocationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedAllocation")] + public List nestedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedAnalysisCase")] + public List nestedAnalysisCase { get; internal set; } + + /// + /// The code>AttributeUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedAttribute")] + public List nestedAttribute { get; internal set; } + + /// + /// The CalculationUsage that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedCalculation")] + public List nestedCalculation { get; internal set; } + + /// + /// The CaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] + [Implements(implementation: "IUsage.NestedCase")] + public List nestedCase { get; internal set; } + + /// + /// The ConcernUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedConcern")] + public List nestedConcern { get; internal set; } + + /// + /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are + /// ConnectorAsUsages even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedConnection")] + public List nestedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedConstraint")] + public List nestedConstraint { get; internal set; } + + /// + /// The code>EnumerationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] + [Implements(implementation: "IUsage.NestedEnumeration")] + public List nestedEnumeration { get; internal set; } + + /// + /// The code>FlowUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedFlow")] + public List nestedFlow { get; internal set; } + + /// + /// The InterfaceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedInterface")] + public List nestedInterface { get; internal set; } + + /// + /// The ItemUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedItem")] + public List nestedItem { get; internal set; } + + /// + /// The MetadataUsages that are nestedUsages of this of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedMetadata")] + public List nestedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedOccurrence")] + public List nestedOccurrence { get; internal set; } + + /// + /// The PartUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedPart")] + public List nestedPart { get; internal set; } + + /// + /// The PortUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedPort")] + public List nestedPort { get; internal set; } + + /// + /// The ReferenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedReference")] + public List nestedReference { get; internal set; } + + /// + /// The RenderingUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedRendering")] + public List nestedRendering { get; internal set; } + + /// + /// The RequirementUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] + [Implements(implementation: "IUsage.NestedRequirement")] + public List nestedRequirement { get; internal set; } + + /// + /// The StateUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedState")] + public List nestedState { get; internal set; } + + /// + /// The TransitionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedTransition")] + public List nestedTransition { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.NestedUsage")] + public List nestedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedUseCase")] + public List nestedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedVerificationCase")] + public List nestedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedView")] + public List nestedView { get; internal set; } + + /// + /// The ViewpointUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedViewpoint")] + public List nestedViewpoint { get; internal set; } + + /// + /// The RequirementUsage representing the objective of this CaseUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591138794257_404044_2145", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "ICaseUsage.ObjectiveRequirement")] + public Guid? objectiveRequirement { get; internal set; } + + /// + /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, + /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] + [RedefinedByProperty("IActionUsage.ActionDefinition")] + [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] + List Systems.Occurrences.IOccurrenceUsage.occurrenceDefinition => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The Definition that owns this Usage (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] + [Implements(implementation: "IUsage.OwningDefinition")] + public Guid? owningDefinition { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The Usage in which this Usage is nested (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IUsage.OwningUsage")] + public Guid? owningUsage { get; internal set; } + + /// + /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into + /// and/or out of a performance of the Step. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IStep.Parameter")] + public List parameter { get; internal set; } + + /// + /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If + /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the + /// OccurrenceUsage represents portions of the featuring instance of the owningType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IOccurrenceUsage.PortionKind")] + public PortionKind? PortionKind { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// An output parameter of the Expression whose value is the result of the Expression. The result of an + /// Expression is either inherited from its function or it is related to the Expression via a + /// ReturnParameterMembership, in which case it redefines the result parameter of its function. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [Implements(implementation: "IExpression.Result")] + public Guid result { get; internal set; } + + /// + /// An Expression used to compute the result of the AnalysisCaseUsage, owned via a + /// ResultExpressionMembership. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591151453868_910052_2600", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IAnalysisCaseUsage.ResultExpression")] + public Guid? resultExpression { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The parameter of this CaseUsage that represents its subject. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595190279083_51021_1128", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "ICaseUsage.SubjectParameter")] + public Guid subjectParameter { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IUsage.Definition")] + [Implements(implementation: "IFeature.Type")] + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Usage (not necessarily owned). + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IUsage.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = + /// true. If isVariation = false, then there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IUsage.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this + /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IUsage.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/AnnotatingElement.cs b/SysML2.NET/Core/AutoGenDto/AnnotatingElement.cs index 33e7a0d9..3938d09d 100644 --- a/SysML2.NET/Core/AutoGenDto/AnnotatingElement.cs +++ b/SysML2.NET/Core/AutoGenDto/AnnotatingElement.cs @@ -1,252 +1,252 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Root.Annotations -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Root.Elements; - 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. - /// - [Class(xmiId: "_19_0_2_12e503d9_1594145576693_532940_27", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class AnnotatingElement : IAnnotatingElement - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Elements that are annotated by this AnnotatingElement. If annotation is not empty, these are the - /// annotatedElements of the annotations. If annotation is empty, then it is the owningNamespace of the - /// AnnotatingElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594145755058_99428_86", aggregation: AggregationKind.None, lowerValue: 1, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IAnnotatingElement.AnnotatedElement")] - public List AnnotatedElement { get; internal set; } - - /// - /// The Annotations that relate this AnnotatingElement to its annotatedElements. This includes the - /// owningAnnotatingRelationship (if any) followed by all the ownedAnnotatingRelationshps. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543094212714_953084_18407", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IAnnotatingElement.Annotation")] - public List Annotation { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ownedRelationships of this AnnotatingElement that are Annotations, for which this - /// AnnotatingElement is the annotatingElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1703019570915_375100_18", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IAnnotatingElement.OwnedAnnotatingRelationship")] - public List OwnedAnnotatingRelationship { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this AnnotatingRelationship, if it is an Annotation - /// - [Property(xmiId: "_2022x_2_12e503d9_1735188506571_308678_376", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] - [Implements(implementation: "IAnnotatingElement.OwningAnnotatingRelationship")] - public Guid? OwningAnnotatingRelationship { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Root.Annotations +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Root.Elements; + 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. + /// + [Class(xmiId: "_19_0_2_12e503d9_1594145576693_532940_27", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class AnnotatingElement : IAnnotatingElement + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Elements that are annotated by this AnnotatingElement. If annotation is not empty, these are the + /// annotatedElements of the annotations. If annotation is empty, then it is the owningNamespace of the + /// AnnotatingElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594145755058_99428_86", aggregation: AggregationKind.None, lowerValue: 1, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IAnnotatingElement.AnnotatedElement")] + public List annotatedElement { get; internal set; } + + /// + /// The Annotations that relate this AnnotatingElement to its annotatedElements. This includes the + /// owningAnnotatingRelationship (if any) followed by all the ownedAnnotatingRelationshps. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543094212714_953084_18407", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IAnnotatingElement.Annotation")] + public List annotation { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ownedRelationships of this AnnotatingElement that are Annotations, for which this + /// AnnotatingElement is the annotatingElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1703019570915_375100_18", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IAnnotatingElement.OwnedAnnotatingRelationship")] + public List ownedAnnotatingRelationship { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this AnnotatingRelationship, if it is an Annotation + /// + [Property(xmiId: "_2022x_2_12e503d9_1735188506571_308678_376", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] + [Implements(implementation: "IAnnotatingElement.OwningAnnotatingRelationship")] + public Guid? owningAnnotatingRelationship { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/Annotation.cs b/SysML2.NET/Core/AutoGenDto/Annotation.cs index 46fe0f41..06da31df 100644 --- a/SysML2.NET/Core/AutoGenDto/Annotation.cs +++ b/SysML2.NET/Core/AutoGenDto/Annotation.cs @@ -1,308 +1,316 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Root.Annotations -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Root.Elements; - using SysML2.NET.Decorators; - - /// - /// An Annotation is a Relationship between an AnnotatingElement and the Element that is annotated by - /// that AnnotatingElement. - /// - [Class(xmiId: "_18_5_3_12e503d9_1543093613150_792705_18263", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class Annotation : IAnnotation - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Element that is annotated by the annotatingElement of this Annotation. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543094430277_494140_18542", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [Implements(implementation: "IAnnotation.AnnotatedElement")] - public Guid AnnotatedElement { get; set; } - - /// - /// The AnnotatingElement that annotates the annotatedElement of this Annotation. This is always either - /// the ownedAnnotatingElement or the owningAnnotatingElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543094212714_638255_18408", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [Implements(implementation: "IAnnotation.AnnotatingElement")] - public Guid AnnotatingElement { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The annotatingElement of this Annotation, when it is an ownedRelatedElement. - /// - [Property(xmiId: "_2022x_2_12e503d9_1735188506571_384269_375", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_638255_18408")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_59873_43302")] - [Implements(implementation: "IAnnotation.OwnedAnnotatingElement")] - public Guid? OwnedAnnotatingElement { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The annotatedElement of this Annotation, when it is also the owningRelatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_104456_2501", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_494140_18542")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - [Implements(implementation: "IAnnotation.OwningAnnotatedElement")] - public Guid? OwningAnnotatedElement { get; internal set; } - - /// - /// The annotatingElement of this Annotation, when it is the owningRelatedElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1703019570939_266622_19", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_638255_18408")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - [Implements(implementation: "IAnnotation.OwningAnnotatingElement")] - public Guid? OwningAnnotatingElement { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IAnnotation.AnnotatingElement")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IAnnotation.AnnotatedElement")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Root.Annotations +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Root.Elements; + using SysML2.NET.Decorators; + + /// + /// An Annotation is a Relationship between an AnnotatingElement and the Element that is annotated by + /// that AnnotatingElement. + /// + [Class(xmiId: "_18_5_3_12e503d9_1543093613150_792705_18263", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class Annotation : IAnnotation + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Element that is annotated by the annotatingElement of this Annotation. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543094430277_494140_18542", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [Implements(implementation: "IAnnotation.AnnotatedElement")] + public Guid AnnotatedElement { get; set; } + + /// + /// The AnnotatingElement that annotates the annotatedElement of this Annotation. This is always either + /// the ownedAnnotatingElement or the owningAnnotatingElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543094212714_638255_18408", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [Implements(implementation: "IAnnotation.AnnotatingElement")] + public Guid annotatingElement { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The annotatingElement of this Annotation, when it is an ownedRelatedElement. + /// + [Property(xmiId: "_2022x_2_12e503d9_1735188506571_384269_375", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_638255_18408")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_59873_43302")] + [Implements(implementation: "IAnnotation.OwnedAnnotatingElement")] + public Guid? ownedAnnotatingElement { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The annotatedElement of this Annotation, when it is also the owningRelatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_104456_2501", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_494140_18542")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + [Implements(implementation: "IAnnotation.OwningAnnotatedElement")] + public Guid? owningAnnotatedElement { get; internal set; } + + /// + /// The annotatingElement of this Annotation, when it is the owningRelatedElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1703019570939_266622_19", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_638255_18408")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + [Implements(implementation: "IAnnotation.OwningAnnotatingElement")] + public Guid? owningAnnotatingElement { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IRelationship.RelatedElement")] + public List relatedElement { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IAnnotation.AnnotatingElement")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IAnnotation.AnnotatingElement"); + set => throw new InvalidOperationException("Redefined by property IAnnotation.AnnotatingElement"); + } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IAnnotation.AnnotatedElement")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IAnnotation.AnnotatedElement"); + set => throw new InvalidOperationException("Redefined by property IAnnotation.AnnotatedElement"); + } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/AssertConstraintUsage.cs b/SysML2.NET/Core/AutoGenDto/AssertConstraintUsage.cs index dac01e94..575b6497 100644 --- a/SysML2.NET/Core/AutoGenDto/AssertConstraintUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/AssertConstraintUsage.cs @@ -1,1154 +1,1158 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Constraints -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Core.DTO.Kernel.Functions; - using SysML2.NET.Decorators; - - /// - /// An AssertConstraintUsage is a ConstraintUsage that is also an Invariant and, so, is asserted to be - /// true (by default). Unless it is the AssertConstraintUsage itself, the asserted ConstraintUsage is - /// related to the AssertConstraintUsage by a ReferenceSubsetting Relationship. - /// - [Class(xmiId: "_19_0_2_12e503d9_1581045078368_47459_9326", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class AssertConstraintUsage : IAssertConstraintUsage - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The ConstraintUsage to be performed by the AssertConstraintUsage. It is the referenceFeature of the - /// ownedReferenceSubsetting for the AssertConstraintUsage, if there is one, and, otherwise, the - /// AssertConstraintUsage itself. - /// - [Property(xmiId: "_19_0_2_12e503d9_1581045158665_239617_9458", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IAssertConstraintUsage.AssertedConstraint")] - public Guid AssertedConstraint { get; internal set; } - - /// - /// The Behaviors that type this Step. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IExpression.Function")] - [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The (single) Predicate that is the type of this ConstraintUsage. Nominally, this will be a - /// ConstraintDefinition, but other kinds of Predicates are also allowed, to permit use of Predicates - /// from the Kernel Model Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578067546711_751168_1745", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1578025035149_386_969")] - [Implements(implementation: "IConstraintUsage.ConstraintDefinition")] - public Guid? ConstraintDefinition { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds - /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] - [Implements(implementation: "IUsage.Definition")] - public List Definition { get; internal set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IStep.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Usage that are directedFeatures. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Function that types this Expression. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - [RedefinedByProperty("IBooleanExpression.Predicate")] - [Implements(implementation: "IExpression.Function")] - public Guid? Function { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// The at most one occurrenceDefinition that has isIndividual = true. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public Guid? IndividualDefinition { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its - /// individualDefinition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceUsage.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, - /// using metadata within the model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool IsModelLevelEvaluable { get; internal set; } - - /// - /// Whether this Invariant is asserted to be false rather than true. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623945815201_648891_36531", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IInvariant.IsNegated")] - public bool IsNegated { get; set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - public bool IsPortion { get; set; } - - /// - /// Whether this Usage is a referential Usage, that is, it has isComposite = false. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsReference")] - public bool IsReference { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [RedefinedByProperty("IUsage.MayTimeVary")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage - /// must be VariantMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its - /// owningType, rather than being featured by the owningType itself). However, if isConstant is also - /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance - /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary - /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is - /// inherited from Feature. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] - [Implements(implementation: "IUsage.MayTimeVary")] - public bool MayTimeVary { get; internal set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ActionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedAction")] - public List NestedAction { get; internal set; } - - /// - /// The AllocationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedAllocation")] - public List NestedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List NestedAnalysisCase { get; internal set; } - - /// - /// The code>AttributeUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedAttribute")] - public List NestedAttribute { get; internal set; } - - /// - /// The CalculationUsage that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedCalculation")] - public List NestedCalculation { get; internal set; } - - /// - /// The CaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] - [Implements(implementation: "IUsage.NestedCase")] - public List NestedCase { get; internal set; } - - /// - /// The ConcernUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedConcern")] - public List NestedConcern { get; internal set; } - - /// - /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are - /// ConnectorAsUsages even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedConnection")] - public List NestedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedConstraint")] - public List NestedConstraint { get; internal set; } - - /// - /// The code>EnumerationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] - [Implements(implementation: "IUsage.NestedEnumeration")] - public List NestedEnumeration { get; internal set; } - - /// - /// The code>FlowUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedFlow")] - public List NestedFlow { get; internal set; } - - /// - /// The InterfaceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedInterface")] - public List NestedInterface { get; internal set; } - - /// - /// The ItemUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedItem")] - public List NestedItem { get; internal set; } - - /// - /// The MetadataUsages that are nestedUsages of this of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedMetadata")] - public List NestedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedOccurrence")] - public List NestedOccurrence { get; internal set; } - - /// - /// The PartUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedPart")] - public List NestedPart { get; internal set; } - - /// - /// The PortUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedPort")] - public List NestedPort { get; internal set; } - - /// - /// The ReferenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedReference")] - public List NestedReference { get; internal set; } - - /// - /// The RenderingUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedRendering")] - public List NestedRendering { get; internal set; } - - /// - /// The RequirementUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] - [Implements(implementation: "IUsage.NestedRequirement")] - public List NestedRequirement { get; internal set; } - - /// - /// The StateUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedState")] - public List NestedState { get; internal set; } - - /// - /// The TransitionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedTransition")] - public List NestedTransition { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.NestedUsage")] - public List NestedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedUseCase")] - public List NestedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedVerificationCase")] - public List NestedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedView")] - public List NestedView { get; internal set; } - - /// - /// The ViewpointUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedViewpoint")] - public List NestedViewpoint { get; internal set; } - - /// - /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, - /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] - [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List OccurrenceDefinition { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The Definition that owns this Usage (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] - [Implements(implementation: "IUsage.OwningDefinition")] - public Guid? OwningDefinition { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The Usage in which this Usage is nested (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IUsage.OwningUsage")] - public Guid? OwningUsage { get; internal set; } - - /// - /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into - /// and/or out of a performance of the Step. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If - /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the - /// OccurrenceUsage represents portions of the featuring instance of the owningType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IOccurrenceUsage.PortionKind")] - public PortionKind? PortionKind { get; set; } - - /// - /// The Predicate that types the Expression. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578025035149_386_969", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1543948477241_299049_20934")] - [RedefinedByProperty("IConstraintUsage.ConstraintDefinition")] - [Implements(implementation: "IBooleanExpression.Predicate")] - public Guid? Predicate { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// An output parameter of the Expression whose value is the result of the Expression. The result of an - /// Expression is either inherited from its function or it is related to the Expression via a - /// ReturnParameterMembership, in which case it redefines the result parameter of its function. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [Implements(implementation: "IExpression.Result")] - public Guid Result { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IUsage.Definition")] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Usage (not necessarily owned). - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IUsage.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = - /// true. If isVariation = false, then there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IUsage.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this - /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IUsage.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Constraints +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Core.DTO.Kernel.Functions; + using SysML2.NET.Decorators; + + /// + /// An AssertConstraintUsage is a ConstraintUsage that is also an Invariant and, so, is asserted to be + /// true (by default). Unless it is the AssertConstraintUsage itself, the asserted ConstraintUsage is + /// related to the AssertConstraintUsage by a ReferenceSubsetting Relationship. + /// + [Class(xmiId: "_19_0_2_12e503d9_1581045078368_47459_9326", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class AssertConstraintUsage : IAssertConstraintUsage + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The ConstraintUsage to be performed by the AssertConstraintUsage. It is the referenceFeature of the + /// ownedReferenceSubsetting for the AssertConstraintUsage, if there is one, and, otherwise, the + /// AssertConstraintUsage itself. + /// + [Property(xmiId: "_19_0_2_12e503d9_1581045158665_239617_9458", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IAssertConstraintUsage.AssertedConstraint")] + public Guid assertedConstraint { get; internal set; } + + /// + /// The Behaviors that type this Step. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IExpression.Function")] + [Implements(implementation: "IStep.Behavior")] + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The (single) Predicate that is the type of this ConstraintUsage. Nominally, this will be a + /// ConstraintDefinition, but other kinds of Predicates are also allowed, to permit use of Predicates + /// from the Kernel Model Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578067546711_751168_1745", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1578025035149_386_969")] + [Implements(implementation: "IConstraintUsage.ConstraintDefinition")] + public Guid? constraintDefinition { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds + /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] + [Implements(implementation: "IUsage.Definition")] + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IStep.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); + + /// + /// The usages of this Usage that are directedFeatures. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Function that types this Expression. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] + [RedefinedByProperty("IBooleanExpression.Predicate")] + [Implements(implementation: "IExpression.Function")] + Guid? Kernel.Functions.IExpression.function => throw new InvalidOperationException("Redefined by property IBooleanExpression.Predicate"); + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// The at most one occurrenceDefinition that has isIndividual = true. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] + public Guid? individualDefinition { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its + /// individualDefinition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceUsage.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, + /// using metadata within the model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IExpression.IsModelLevelEvaluable")] + public bool isModelLevelEvaluable { get; internal set; } + + /// + /// Whether this Invariant is asserted to be false rather than true. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623945815201_648891_36531", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IInvariant.IsNegated")] + public bool IsNegated { get; set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + public bool IsPortion { get; set; } + + /// + /// Whether this Usage is a referential Usage, that is, it has isComposite = false. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsReference")] + public bool isReference { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [RedefinedByProperty("IUsage.MayTimeVary")] + [Implements(implementation: "IFeature.IsVariable")] + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } + + /// + /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage + /// must be VariantMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its + /// owningType, rather than being featured by the owningType itself). However, if isConstant is also + /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance + /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary + /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is + /// inherited from Feature. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] + [Implements(implementation: "IUsage.MayTimeVary")] + public bool mayTimeVary { get; internal set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ActionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedAction")] + public List nestedAction { get; internal set; } + + /// + /// The AllocationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedAllocation")] + public List nestedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedAnalysisCase")] + public List nestedAnalysisCase { get; internal set; } + + /// + /// The code>AttributeUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedAttribute")] + public List nestedAttribute { get; internal set; } + + /// + /// The CalculationUsage that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedCalculation")] + public List nestedCalculation { get; internal set; } + + /// + /// The CaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] + [Implements(implementation: "IUsage.NestedCase")] + public List nestedCase { get; internal set; } + + /// + /// The ConcernUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedConcern")] + public List nestedConcern { get; internal set; } + + /// + /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are + /// ConnectorAsUsages even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedConnection")] + public List nestedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedConstraint")] + public List nestedConstraint { get; internal set; } + + /// + /// The code>EnumerationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] + [Implements(implementation: "IUsage.NestedEnumeration")] + public List nestedEnumeration { get; internal set; } + + /// + /// The code>FlowUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedFlow")] + public List nestedFlow { get; internal set; } + + /// + /// The InterfaceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedInterface")] + public List nestedInterface { get; internal set; } + + /// + /// The ItemUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedItem")] + public List nestedItem { get; internal set; } + + /// + /// The MetadataUsages that are nestedUsages of this of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedMetadata")] + public List nestedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedOccurrence")] + public List nestedOccurrence { get; internal set; } + + /// + /// The PartUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedPart")] + public List nestedPart { get; internal set; } + + /// + /// The PortUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedPort")] + public List nestedPort { get; internal set; } + + /// + /// The ReferenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedReference")] + public List nestedReference { get; internal set; } + + /// + /// The RenderingUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedRendering")] + public List nestedRendering { get; internal set; } + + /// + /// The RequirementUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] + [Implements(implementation: "IUsage.NestedRequirement")] + public List nestedRequirement { get; internal set; } + + /// + /// The StateUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedState")] + public List nestedState { get; internal set; } + + /// + /// The TransitionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedTransition")] + public List nestedTransition { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.NestedUsage")] + public List nestedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedUseCase")] + public List nestedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedVerificationCase")] + public List nestedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedView")] + public List nestedView { get; internal set; } + + /// + /// The ViewpointUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedViewpoint")] + public List nestedViewpoint { get; internal set; } + + /// + /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, + /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] + [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] + public List occurrenceDefinition { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The Definition that owns this Usage (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] + [Implements(implementation: "IUsage.OwningDefinition")] + public Guid? owningDefinition { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The Usage in which this Usage is nested (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IUsage.OwningUsage")] + public Guid? owningUsage { get; internal set; } + + /// + /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into + /// and/or out of a performance of the Step. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IStep.Parameter")] + public List parameter { get; internal set; } + + /// + /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If + /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the + /// OccurrenceUsage represents portions of the featuring instance of the owningType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IOccurrenceUsage.PortionKind")] + public PortionKind? PortionKind { get; set; } + + /// + /// The Predicate that types the Expression. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578025035149_386_969", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1543948477241_299049_20934")] + [RedefinedByProperty("IConstraintUsage.ConstraintDefinition")] + [Implements(implementation: "IBooleanExpression.Predicate")] + Guid? Kernel.Functions.IBooleanExpression.predicate => throw new InvalidOperationException("Redefined by property IConstraintUsage.ConstraintDefinition"); + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// An output parameter of the Expression whose value is the result of the Expression. The result of an + /// Expression is either inherited from its function or it is related to the Expression via a + /// ReturnParameterMembership, in which case it redefines the result parameter of its function. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [Implements(implementation: "IExpression.Result")] + public Guid result { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IUsage.Definition")] + [Implements(implementation: "IFeature.Type")] + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Usage (not necessarily owned). + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IUsage.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = + /// true. If isVariation = false, then there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IUsage.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this + /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IUsage.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/AssignmentActionUsage.cs b/SysML2.NET/Core/AutoGenDto/AssignmentActionUsage.cs index e87863c2..f828e959 100644 --- a/SysML2.NET/Core/AutoGenDto/AssignmentActionUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/AssignmentActionUsage.cs @@ -1,1127 +1,1131 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Actions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Decorators; - - /// - /// An AssignmentActionUsage is an ActionUsage that is defined, directly or indirectly, by the - /// ActionDefinition AssignmentAction from the Systems Model Library. It specifies that the value of the - /// referent Feature, relative to the target given by the result of the targetArgument Expression, - /// should be set to the result of the valueExpression. - /// - [Class(xmiId: "_19_0_4_12e503d9_1624201606942_142574_2658", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class AssignmentActionUsage : IAssignmentActionUsage - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// The Behaviors that are the types of this ActionUsage. Nominally, these would be ActionDefinitions, - /// but other kinds of Kernel Behaviors are also allowed, to permit use of Behaviors from the Kernel - /// Model Libraries. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565500905804_589845_30779", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IActionUsage.ActionDefinition")] - public List ActionDefinition { get; internal set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Behaviors that type this Step. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IActionUsage.ActionDefinition")] - [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds - /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] - [Implements(implementation: "IUsage.Definition")] - public List Definition { get; internal set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IStep.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Usage that are directedFeatures. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// The at most one occurrenceDefinition that has isIndividual = true. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public Guid? IndividualDefinition { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its - /// individualDefinition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceUsage.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - public bool IsPortion { get; set; } - - /// - /// Whether this Usage is a referential Usage, that is, it has isComposite = false. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsReference")] - public bool IsReference { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [RedefinedByProperty("IUsage.MayTimeVary")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage - /// must be VariantMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its - /// owningType, rather than being featured by the owningType itself). However, if isConstant is also - /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance - /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary - /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is - /// inherited from Feature. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] - [Implements(implementation: "IUsage.MayTimeVary")] - public bool MayTimeVary { get; internal set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ActionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedAction")] - public List NestedAction { get; internal set; } - - /// - /// The AllocationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedAllocation")] - public List NestedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List NestedAnalysisCase { get; internal set; } - - /// - /// The code>AttributeUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedAttribute")] - public List NestedAttribute { get; internal set; } - - /// - /// The CalculationUsage that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedCalculation")] - public List NestedCalculation { get; internal set; } - - /// - /// The CaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] - [Implements(implementation: "IUsage.NestedCase")] - public List NestedCase { get; internal set; } - - /// - /// The ConcernUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedConcern")] - public List NestedConcern { get; internal set; } - - /// - /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are - /// ConnectorAsUsages even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedConnection")] - public List NestedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedConstraint")] - public List NestedConstraint { get; internal set; } - - /// - /// The code>EnumerationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] - [Implements(implementation: "IUsage.NestedEnumeration")] - public List NestedEnumeration { get; internal set; } - - /// - /// The code>FlowUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedFlow")] - public List NestedFlow { get; internal set; } - - /// - /// The InterfaceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedInterface")] - public List NestedInterface { get; internal set; } - - /// - /// The ItemUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedItem")] - public List NestedItem { get; internal set; } - - /// - /// The MetadataUsages that are nestedUsages of this of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedMetadata")] - public List NestedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedOccurrence")] - public List NestedOccurrence { get; internal set; } - - /// - /// The PartUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedPart")] - public List NestedPart { get; internal set; } - - /// - /// The PortUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedPort")] - public List NestedPort { get; internal set; } - - /// - /// The ReferenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedReference")] - public List NestedReference { get; internal set; } - - /// - /// The RenderingUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedRendering")] - public List NestedRendering { get; internal set; } - - /// - /// The RequirementUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] - [Implements(implementation: "IUsage.NestedRequirement")] - public List NestedRequirement { get; internal set; } - - /// - /// The StateUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedState")] - public List NestedState { get; internal set; } - - /// - /// The TransitionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedTransition")] - public List NestedTransition { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.NestedUsage")] - public List NestedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedUseCase")] - public List NestedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedVerificationCase")] - public List NestedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedView")] - public List NestedView { get; internal set; } - - /// - /// The ViewpointUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedViewpoint")] - public List NestedViewpoint { get; internal set; } - - /// - /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, - /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] - [RedefinedByProperty("IActionUsage.ActionDefinition")] - [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List OccurrenceDefinition { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The Definition that owns this Usage (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] - [Implements(implementation: "IUsage.OwningDefinition")] - public Guid? OwningDefinition { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The Usage in which this Usage is nested (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IUsage.OwningUsage")] - public Guid? OwningUsage { get; internal set; } - - /// - /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into - /// and/or out of a performance of the Step. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If - /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the - /// OccurrenceUsage represents portions of the featuring instance of the owningType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IOccurrenceUsage.PortionKind")] - public PortionKind? PortionKind { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Feature whose value is to be set. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624202269076_561550_3109", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IAssignmentActionUsage.Referent")] - public Guid Referent { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The Expression whose value is an occurrence in the domain of the referent Feature, for which the - /// value of the referent will be set to the result of the valueExpression by this - /// AssignmentActionUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624201786354_844501_2835", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IAssignmentActionUsage.TargetArgument")] - public Guid? TargetArgument { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IUsage.Definition")] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Usage (not necessarily owned). - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IUsage.Usage")] - public List Usage { get; internal set; } - - /// - /// The Expression whose result is to be assigned to the referent Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624201792996_104394_2856", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IAssignmentActionUsage.ValueExpression")] - public Guid? ValueExpression { get; internal set; } - - /// - /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = - /// true. If isVariation = false, then there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IUsage.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this - /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IUsage.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Actions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Decorators; + + /// + /// An AssignmentActionUsage is an ActionUsage that is defined, directly or indirectly, by the + /// ActionDefinition AssignmentAction from the Systems Model Library. It specifies that the value of the + /// referent Feature, relative to the target given by the result of the targetArgument Expression, + /// should be set to the result of the valueExpression. + /// + [Class(xmiId: "_19_0_4_12e503d9_1624201606942_142574_2658", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class AssignmentActionUsage : IAssignmentActionUsage + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// The Behaviors that are the types of this ActionUsage. Nominally, these would be ActionDefinitions, + /// but other kinds of Kernel Behaviors are also allowed, to permit use of Behaviors from the Kernel + /// Model Libraries. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565500905804_589845_30779", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IActionUsage.ActionDefinition")] + public List actionDefinition { get; internal set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Behaviors that type this Step. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IActionUsage.ActionDefinition")] + [Implements(implementation: "IStep.Behavior")] + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds + /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] + [Implements(implementation: "IUsage.Definition")] + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IStep.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); + + /// + /// The usages of this Usage that are directedFeatures. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// The at most one occurrenceDefinition that has isIndividual = true. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] + public Guid? individualDefinition { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its + /// individualDefinition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceUsage.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + public bool IsPortion { get; set; } + + /// + /// Whether this Usage is a referential Usage, that is, it has isComposite = false. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsReference")] + public bool isReference { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [RedefinedByProperty("IUsage.MayTimeVary")] + [Implements(implementation: "IFeature.IsVariable")] + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } + + /// + /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage + /// must be VariantMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its + /// owningType, rather than being featured by the owningType itself). However, if isConstant is also + /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance + /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary + /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is + /// inherited from Feature. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] + [Implements(implementation: "IUsage.MayTimeVary")] + public bool mayTimeVary { get; internal set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ActionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedAction")] + public List nestedAction { get; internal set; } + + /// + /// The AllocationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedAllocation")] + public List nestedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedAnalysisCase")] + public List nestedAnalysisCase { get; internal set; } + + /// + /// The code>AttributeUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedAttribute")] + public List nestedAttribute { get; internal set; } + + /// + /// The CalculationUsage that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedCalculation")] + public List nestedCalculation { get; internal set; } + + /// + /// The CaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] + [Implements(implementation: "IUsage.NestedCase")] + public List nestedCase { get; internal set; } + + /// + /// The ConcernUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedConcern")] + public List nestedConcern { get; internal set; } + + /// + /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are + /// ConnectorAsUsages even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedConnection")] + public List nestedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedConstraint")] + public List nestedConstraint { get; internal set; } + + /// + /// The code>EnumerationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] + [Implements(implementation: "IUsage.NestedEnumeration")] + public List nestedEnumeration { get; internal set; } + + /// + /// The code>FlowUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedFlow")] + public List nestedFlow { get; internal set; } + + /// + /// The InterfaceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedInterface")] + public List nestedInterface { get; internal set; } + + /// + /// The ItemUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedItem")] + public List nestedItem { get; internal set; } + + /// + /// The MetadataUsages that are nestedUsages of this of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedMetadata")] + public List nestedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedOccurrence")] + public List nestedOccurrence { get; internal set; } + + /// + /// The PartUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedPart")] + public List nestedPart { get; internal set; } + + /// + /// The PortUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedPort")] + public List nestedPort { get; internal set; } + + /// + /// The ReferenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedReference")] + public List nestedReference { get; internal set; } + + /// + /// The RenderingUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedRendering")] + public List nestedRendering { get; internal set; } + + /// + /// The RequirementUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] + [Implements(implementation: "IUsage.NestedRequirement")] + public List nestedRequirement { get; internal set; } + + /// + /// The StateUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedState")] + public List nestedState { get; internal set; } + + /// + /// The TransitionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedTransition")] + public List nestedTransition { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.NestedUsage")] + public List nestedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedUseCase")] + public List nestedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedVerificationCase")] + public List nestedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedView")] + public List nestedView { get; internal set; } + + /// + /// The ViewpointUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedViewpoint")] + public List nestedViewpoint { get; internal set; } + + /// + /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, + /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] + [RedefinedByProperty("IActionUsage.ActionDefinition")] + [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] + List Systems.Occurrences.IOccurrenceUsage.occurrenceDefinition => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The Definition that owns this Usage (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] + [Implements(implementation: "IUsage.OwningDefinition")] + public Guid? owningDefinition { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The Usage in which this Usage is nested (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IUsage.OwningUsage")] + public Guid? owningUsage { get; internal set; } + + /// + /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into + /// and/or out of a performance of the Step. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IStep.Parameter")] + public List parameter { get; internal set; } + + /// + /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If + /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the + /// OccurrenceUsage represents portions of the featuring instance of the owningType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IOccurrenceUsage.PortionKind")] + public PortionKind? PortionKind { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Feature whose value is to be set. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624202269076_561550_3109", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IAssignmentActionUsage.Referent")] + public Guid referent { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The Expression whose value is an occurrence in the domain of the referent Feature, for which the + /// value of the referent will be set to the result of the valueExpression by this + /// AssignmentActionUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624201786354_844501_2835", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IAssignmentActionUsage.TargetArgument")] + public Guid? targetArgument { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IUsage.Definition")] + [Implements(implementation: "IFeature.Type")] + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Usage (not necessarily owned). + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IUsage.Usage")] + public List usage { get; internal set; } + + /// + /// The Expression whose result is to be assigned to the referent Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624201792996_104394_2856", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IAssignmentActionUsage.ValueExpression")] + public Guid? valueExpression { get; internal set; } + + /// + /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = + /// true. If isVariation = false, then there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IUsage.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this + /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IUsage.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/Association.cs b/SysML2.NET/Core/AutoGenDto/Association.cs index 2b0b421a..7b7f3382 100644 --- a/SysML2.NET/Core/AutoGenDto/Association.cs +++ b/SysML2.NET/Core/AutoGenDto/Association.cs @@ -1,593 +1,601 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Associations -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Core.Classifiers; - using SysML2.NET.Core.DTO.Root.Elements; - 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. - /// - [Class(xmiId: "_18_5_3_12e503d9_1533160651716_116234_42240", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class Association : IAssociation - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The features of the Association that identify the things that can be related by it. A concrete - /// Association must have at least two associationEnds. When it has exactly two, the Association is - /// called a binary Association. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562477648742_24204_22901", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [Implements(implementation: "IAssociation.AssociationEnd")] - public List AssociationEnd { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IAssociation.AssociationEnd")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - public bool IsAbstract { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier - /// is the subclassifier. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List OwnedSubclassification { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [RedefinedByProperty("IAssociation.RelatedType")] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The types of the associationEnds of the Association, which are the relatedElements of the - /// Association considered as a Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_4339_43349", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IAssociation.RelatedType")] - public List RelatedType { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IAssociation.SourceType")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// The source relatedType for this Association. It is the first relatedType of the Association. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594939013292_377668_3566", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [Implements(implementation: "IAssociation.SourceType")] - public Guid? SourceType { get; internal set; } - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IAssociation.TargetType")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The target relatedTypes for this Association. This includes all the relatedTypes other than the - /// sourceType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594939237325_861933_3707", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [Implements(implementation: "IAssociation.TargetType")] - public List TargetType { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Associations +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Core.Classifiers; + using SysML2.NET.Core.DTO.Root.Elements; + 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. + /// + [Class(xmiId: "_18_5_3_12e503d9_1533160651716_116234_42240", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class Association : IAssociation + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The features of the Association that identify the things that can be related by it. A concrete + /// Association must have at least two associationEnds. When it has exactly two, the Association is + /// called a binary Association. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562477648742_24204_22901", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [Implements(implementation: "IAssociation.AssociationEnd")] + public List associationEnd { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.DirectedFeature")] + public List directedFeature { get; internal set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IAssociation.AssociationEnd")] + [Implements(implementation: "IType.EndFeature")] + List Core.Types.IType.endFeature => throw new InvalidOperationException("Redefined by property IAssociation.AssociationEnd"); + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + public bool IsAbstract { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier + /// is the subclassifier. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [Implements(implementation: "IClassifier.OwnedSubclassification")] + public List ownedSubclassification { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [RedefinedByProperty("IAssociation.RelatedType")] + [Implements(implementation: "IRelationship.RelatedElement")] + List Root.Elements.IRelationship.relatedElement => throw new InvalidOperationException("Redefined by property IAssociation.RelatedType"); + + /// + /// The types of the associationEnds of the Association, which are the relatedElements of the + /// Association considered as a Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_4339_43349", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IAssociation.RelatedType")] + public List relatedType { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IAssociation.SourceType")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IAssociation.SourceType"); + set => throw new InvalidOperationException("Redefined by property IAssociation.SourceType"); + } + + /// + /// The source relatedType for this Association. It is the first relatedType of the Association. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594939013292_377668_3566", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [Implements(implementation: "IAssociation.SourceType")] + public Guid? sourceType { get; internal set; } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IAssociation.TargetType")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IAssociation.TargetType"); + set => throw new InvalidOperationException("Redefined by property IAssociation.TargetType"); + } + + /// + /// The target relatedTypes for this Association. This includes all the relatedTypes other than the + /// sourceType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594939237325_861933_3707", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [Implements(implementation: "IAssociation.TargetType")] + public List targetType { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/AssociationStructure.cs b/SysML2.NET/Core/AutoGenDto/AssociationStructure.cs index ebd056f4..9d967e97 100644 --- a/SysML2.NET/Core/AutoGenDto/AssociationStructure.cs +++ b/SysML2.NET/Core/AutoGenDto/AssociationStructure.cs @@ -1,593 +1,601 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Associations -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Kernel.Structures; - using SysML2.NET.Decorators; - - /// - /// An AssociationStructure is an Association that is also a Structure, classifying link objects that - /// are both links and objects. As objects, link objects can be created and destroyed, and their non-end - /// Features can change over time. However, the values of the end Features of a link object are fixed - /// and cannot change over its lifetime. - /// - [Class(xmiId: "_19_0_4_b9102da_1609608726569_644338_601", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class AssociationStructure : IAssociationStructure - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The features of the Association that identify the things that can be related by it. A concrete - /// Association must have at least two associationEnds. When it has exactly two, the Association is - /// called a binary Association. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562477648742_24204_22901", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [Implements(implementation: "IAssociation.AssociationEnd")] - public List AssociationEnd { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IAssociation.AssociationEnd")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - public bool IsAbstract { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier - /// is the subclassifier. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List OwnedSubclassification { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [RedefinedByProperty("IAssociation.RelatedType")] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The types of the associationEnds of the Association, which are the relatedElements of the - /// Association considered as a Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_4339_43349", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IAssociation.RelatedType")] - public List RelatedType { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IAssociation.SourceType")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// The source relatedType for this Association. It is the first relatedType of the Association. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594939013292_377668_3566", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [Implements(implementation: "IAssociation.SourceType")] - public Guid? SourceType { get; internal set; } - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IAssociation.TargetType")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The target relatedTypes for this Association. This includes all the relatedTypes other than the - /// sourceType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594939237325_861933_3707", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [Implements(implementation: "IAssociation.TargetType")] - public List TargetType { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Associations +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Kernel.Structures; + using SysML2.NET.Decorators; + + /// + /// An AssociationStructure is an Association that is also a Structure, classifying link objects that + /// are both links and objects. As objects, link objects can be created and destroyed, and their non-end + /// Features can change over time. However, the values of the end Features of a link object are fixed + /// and cannot change over its lifetime. + /// + [Class(xmiId: "_19_0_4_b9102da_1609608726569_644338_601", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class AssociationStructure : IAssociationStructure + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The features of the Association that identify the things that can be related by it. A concrete + /// Association must have at least two associationEnds. When it has exactly two, the Association is + /// called a binary Association. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562477648742_24204_22901", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [Implements(implementation: "IAssociation.AssociationEnd")] + public List associationEnd { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.DirectedFeature")] + public List directedFeature { get; internal set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IAssociation.AssociationEnd")] + [Implements(implementation: "IType.EndFeature")] + List Core.Types.IType.endFeature => throw new InvalidOperationException("Redefined by property IAssociation.AssociationEnd"); + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + public bool IsAbstract { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier + /// is the subclassifier. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [Implements(implementation: "IClassifier.OwnedSubclassification")] + public List ownedSubclassification { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [RedefinedByProperty("IAssociation.RelatedType")] + [Implements(implementation: "IRelationship.RelatedElement")] + List Root.Elements.IRelationship.relatedElement => throw new InvalidOperationException("Redefined by property IAssociation.RelatedType"); + + /// + /// The types of the associationEnds of the Association, which are the relatedElements of the + /// Association considered as a Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_4339_43349", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IAssociation.RelatedType")] + public List relatedType { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IAssociation.SourceType")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IAssociation.SourceType"); + set => throw new InvalidOperationException("Redefined by property IAssociation.SourceType"); + } + + /// + /// The source relatedType for this Association. It is the first relatedType of the Association. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594939013292_377668_3566", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [Implements(implementation: "IAssociation.SourceType")] + public Guid? sourceType { get; internal set; } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IAssociation.TargetType")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IAssociation.TargetType"); + set => throw new InvalidOperationException("Redefined by property IAssociation.TargetType"); + } + + /// + /// The target relatedTypes for this Association. This includes all the relatedTypes other than the + /// sourceType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594939237325_861933_3707", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [Implements(implementation: "IAssociation.TargetType")] + public List targetType { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/AttributeDefinition.cs b/SysML2.NET/Core/AutoGenDto/AttributeDefinition.cs index bc23da7a..6c6c8b9d 100644 --- a/SysML2.NET/Core/AutoGenDto/AttributeDefinition.cs +++ b/SysML2.NET/Core/AutoGenDto/AttributeDefinition.cs @@ -1,768 +1,768 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Attributes -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Kernel.DataTypes; - using SysML2.NET.Core.DTO.Systems.DefinitionAndUsage; - using SysML2.NET.Decorators; - - /// - /// An AttributeDefinition is a Definition and a DataType of information about a quality or - /// characteristic of a system or part of a system that has no independent identity other than its - /// value. All features of an AttributeDefinition must be referential (non-composite).As a DataType, an - /// AttributeDefinition must specialize, directly or indirectly, the base DataType Base::DataValue from - /// the Kernel Semantic Library. - /// - [Class(xmiId: "_18_5_3_12e503d9_1565471213468_167708_20650", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class AttributeDefinition : IAttributeDefinition - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Definition that are directedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565495064714_974634_26150", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IDefinition.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - public bool IsAbstract { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IDefinition.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ActionUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedAction")] - public List OwnedAction { get; internal set; } - - /// - /// The AllocationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedAllocation")] - public List OwnedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List OwnedAnalysisCase { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The AttributeUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedAttribute")] - public List OwnedAttribute { get; internal set; } - - /// - /// The CalculationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - [Implements(implementation: "IDefinition.OwnedCalculation")] - public List OwnedCalculation { get; internal set; } - - /// - /// The code>CaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] - [Implements(implementation: "IDefinition.OwnedCase")] - public List OwnedCase { get; internal set; } - - /// - /// The ConcernUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - [Implements(implementation: "IDefinition.OwnedConcern")] - public List OwnedConcern { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowUsages because these are ConnectorAsUsages - /// even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedConnection")] - public List OwnedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedConstraint")] - public List OwnedConstraint { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The EnumerationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] - [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List OwnedEnumeration { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The FlowUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedFlow")] - public List OwnedFlow { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The InterfaceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedInterface")] - public List OwnedInterface { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The ItemUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedItem")] - public List OwnedItem { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The MetadataUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - [Implements(implementation: "IDefinition.OwnedMetadata")] - public List OwnedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List OwnedOccurrence { get; internal set; } - - /// - /// The PartUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - [Implements(implementation: "IDefinition.OwnedPart")] - public List OwnedPart { get; internal set; } - - /// - /// The PortUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedPort")] - public List OwnedPort { get; internal set; } - - /// - /// The ReferenceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedReference")] - public List OwnedReference { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The RenderingUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - [Implements(implementation: "IDefinition.OwnedRendering")] - public List OwnedRendering { get; internal set; } - - /// - /// The RequirementUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] - [Implements(implementation: "IDefinition.OwnedRequirement")] - public List OwnedRequirement { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The StateUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - [Implements(implementation: "IDefinition.OwnedState")] - public List OwnedState { get; internal set; } - - /// - /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier - /// is the subclassifier. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List OwnedSubclassification { get; internal set; } - - /// - /// The TransitionUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedTransition")] - public List OwnedTransition { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Definition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686637_967933_23236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IDefinition.OwnedUsage")] - public List OwnedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedUseCase")] - public List OwnedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List OwnedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - [Implements(implementation: "IDefinition.OwnedView")] - public List OwnedView { get; internal set; } - - /// - /// The ViewpointUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List OwnedViewpoint { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Definition (not necessarily owned). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IDefinition.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Definition as a variation point Definition, if - /// isVariation = true. If isVariation = false, the there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IDefinition.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then - /// this must be all ownedMemberships of the Definition. If isVariation = false, then - /// variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IDefinition.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Attributes +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Kernel.DataTypes; + using SysML2.NET.Core.DTO.Systems.DefinitionAndUsage; + using SysML2.NET.Decorators; + + /// + /// An AttributeDefinition is a Definition and a DataType of information about a quality or + /// characteristic of a system or part of a system that has no independent identity other than its + /// value. All features of an AttributeDefinition must be referential (non-composite).As a DataType, an + /// AttributeDefinition must specialize, directly or indirectly, the base DataType Base::DataValue from + /// the Kernel Semantic Library. + /// + [Class(xmiId: "_18_5_3_12e503d9_1565471213468_167708_20650", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class AttributeDefinition : IAttributeDefinition + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.DirectedFeature")] + public List directedFeature { get; internal set; } + + /// + /// The usages of this Definition that are directedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565495064714_974634_26150", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IDefinition.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + public bool IsAbstract { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IDefinition.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ActionUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedAction")] + public List ownedAction { get; internal set; } + + /// + /// The AllocationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedAllocation")] + public List ownedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedAnalysisCase")] + public List ownedAnalysisCase { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The AttributeUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedAttribute")] + public List ownedAttribute { get; internal set; } + + /// + /// The CalculationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] + [Implements(implementation: "IDefinition.OwnedCalculation")] + public List ownedCalculation { get; internal set; } + + /// + /// The code>CaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] + [Implements(implementation: "IDefinition.OwnedCase")] + public List ownedCase { get; internal set; } + + /// + /// The ConcernUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + [Implements(implementation: "IDefinition.OwnedConcern")] + public List ownedConcern { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowUsages because these are ConnectorAsUsages + /// even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedConnection")] + public List ownedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedConstraint")] + public List ownedConstraint { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The EnumerationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] + [Implements(implementation: "IDefinition.OwnedEnumeration")] + public List ownedEnumeration { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The FlowUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedFlow")] + public List ownedFlow { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The InterfaceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedInterface")] + public List ownedInterface { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The ItemUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedItem")] + public List ownedItem { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The MetadataUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] + [Implements(implementation: "IDefinition.OwnedMetadata")] + public List ownedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedOccurrence")] + public List ownedOccurrence { get; internal set; } + + /// + /// The PartUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] + [Implements(implementation: "IDefinition.OwnedPart")] + public List ownedPart { get; internal set; } + + /// + /// The PortUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedPort")] + public List ownedPort { get; internal set; } + + /// + /// The ReferenceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedReference")] + public List ownedReference { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The RenderingUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] + [Implements(implementation: "IDefinition.OwnedRendering")] + public List ownedRendering { get; internal set; } + + /// + /// The RequirementUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] + [Implements(implementation: "IDefinition.OwnedRequirement")] + public List ownedRequirement { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The StateUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] + [Implements(implementation: "IDefinition.OwnedState")] + public List ownedState { get; internal set; } + + /// + /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier + /// is the subclassifier. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [Implements(implementation: "IClassifier.OwnedSubclassification")] + public List ownedSubclassification { get; internal set; } + + /// + /// The TransitionUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedTransition")] + public List ownedTransition { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Definition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686637_967933_23236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IDefinition.OwnedUsage")] + public List ownedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedUseCase")] + public List ownedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedVerificationCase")] + public List ownedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] + [Implements(implementation: "IDefinition.OwnedView")] + public List ownedView { get; internal set; } + + /// + /// The ViewpointUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + [Implements(implementation: "IDefinition.OwnedViewpoint")] + public List ownedViewpoint { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Definition (not necessarily owned). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IDefinition.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Definition as a variation point Definition, if + /// isVariation = true. If isVariation = false, the there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IDefinition.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then + /// this must be all ownedMemberships of the Definition. If isVariation = false, then + /// variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IDefinition.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/AttributeUsage.cs b/SysML2.NET/Core/AutoGenDto/AttributeUsage.cs index a25469a9..7ea562af 100644 --- a/SysML2.NET/Core/AutoGenDto/AttributeUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/AttributeUsage.cs @@ -1,1058 +1,1062 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Attributes -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.DTO.Systems.DefinitionAndUsage; - using SysML2.NET.Decorators; - - /// - /// An AttributeUsage is a Usage whose type is a DataType. Nominally, if the type is an - /// AttributeDefinition, an AttributeUsage is a usage of a AttributeDefinition to represent the value of - /// some system quality or characteristic. However, other kinds of kernel DataTypes are also allowed, to - /// permit use of DataTypes from the Kernel Model Libraries. An AttributeUsage itself as well as all its - /// nested features must be referential (non-composite).An AttributeUsage must specialize, directly or - /// indirectly, the base Feature Base::dataValues from the Kernel Semantic Library. - /// - [Class(xmiId: "_18_5_3_12e503d9_1565471291545_950196_20762", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class AttributeUsage : IAttributeUsage - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The DataTypes that are the types of this AttributeUsage. Nominally, these are AttributeDefinitions, - /// but other kinds of kernel DataTypes are also allowed, to permit use of DataTypes from the Kernel - /// Model Libraries. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565471811429_523492_20975", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] - [Implements(implementation: "IAttributeUsage.AttributeDefinition")] - public List AttributeDefinition { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds - /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IAttributeUsage.AttributeDefinition")] - [Implements(implementation: "IUsage.Definition")] - public List Definition { get; internal set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Usage that are directedFeatures. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - public bool IsPortion { get; set; } - - /// - /// Always true for an AttributeUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624050661138_649455_27", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1624035114787_488767_41423")] - [Implements(implementation: "IAttributeUsage.IsReference")] - bool IAttributeUsage.IsReference { get; } - - /// - /// Whether this Usage is a referential Usage, that is, it has isComposite = false. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IAttributeUsage.IsReference")] - [Implements(implementation: "IUsage.IsReference")] - bool Systems.DefinitionAndUsage.IUsage.IsReference { get; } - - /// - /// 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [RedefinedByProperty("IUsage.MayTimeVary")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage - /// must be VariantMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its - /// owningType, rather than being featured by the owningType itself). However, if isConstant is also - /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance - /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary - /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is - /// inherited from Feature. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] - [Implements(implementation: "IUsage.MayTimeVary")] - public bool MayTimeVary { get; internal set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ActionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedAction")] - public List NestedAction { get; internal set; } - - /// - /// The AllocationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedAllocation")] - public List NestedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List NestedAnalysisCase { get; internal set; } - - /// - /// The code>AttributeUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedAttribute")] - public List NestedAttribute { get; internal set; } - - /// - /// The CalculationUsage that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedCalculation")] - public List NestedCalculation { get; internal set; } - - /// - /// The CaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] - [Implements(implementation: "IUsage.NestedCase")] - public List NestedCase { get; internal set; } - - /// - /// The ConcernUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedConcern")] - public List NestedConcern { get; internal set; } - - /// - /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are - /// ConnectorAsUsages even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedConnection")] - public List NestedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedConstraint")] - public List NestedConstraint { get; internal set; } - - /// - /// The code>EnumerationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] - [Implements(implementation: "IUsage.NestedEnumeration")] - public List NestedEnumeration { get; internal set; } - - /// - /// The code>FlowUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedFlow")] - public List NestedFlow { get; internal set; } - - /// - /// The InterfaceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedInterface")] - public List NestedInterface { get; internal set; } - - /// - /// The ItemUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedItem")] - public List NestedItem { get; internal set; } - - /// - /// The MetadataUsages that are nestedUsages of this of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedMetadata")] - public List NestedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedOccurrence")] - public List NestedOccurrence { get; internal set; } - - /// - /// The PartUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedPart")] - public List NestedPart { get; internal set; } - - /// - /// The PortUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedPort")] - public List NestedPort { get; internal set; } - - /// - /// The ReferenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedReference")] - public List NestedReference { get; internal set; } - - /// - /// The RenderingUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedRendering")] - public List NestedRendering { get; internal set; } - - /// - /// The RequirementUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] - [Implements(implementation: "IUsage.NestedRequirement")] - public List NestedRequirement { get; internal set; } - - /// - /// The StateUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedState")] - public List NestedState { get; internal set; } - - /// - /// The TransitionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedTransition")] - public List NestedTransition { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.NestedUsage")] - public List NestedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedUseCase")] - public List NestedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedVerificationCase")] - public List NestedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedView")] - public List NestedView { get; internal set; } - - /// - /// The ViewpointUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedViewpoint")] - public List NestedViewpoint { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The Definition that owns this Usage (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] - [Implements(implementation: "IUsage.OwningDefinition")] - public Guid? OwningDefinition { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The Usage in which this Usage is nested (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IUsage.OwningUsage")] - public Guid? OwningUsage { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IUsage.Definition")] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Usage (not necessarily owned). - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IUsage.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = - /// true. If isVariation = false, then there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IUsage.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this - /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IUsage.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Attributes +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.DTO.Systems.DefinitionAndUsage; + using SysML2.NET.Decorators; + + /// + /// An AttributeUsage is a Usage whose type is a DataType. Nominally, if the type is an + /// AttributeDefinition, an AttributeUsage is a usage of a AttributeDefinition to represent the value of + /// some system quality or characteristic. However, other kinds of kernel DataTypes are also allowed, to + /// permit use of DataTypes from the Kernel Model Libraries. An AttributeUsage itself as well as all its + /// nested features must be referential (non-composite).An AttributeUsage must specialize, directly or + /// indirectly, the base Feature Base::dataValues from the Kernel Semantic Library. + /// + [Class(xmiId: "_18_5_3_12e503d9_1565471291545_950196_20762", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class AttributeUsage : IAttributeUsage + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The DataTypes that are the types of this AttributeUsage. Nominally, these are AttributeDefinitions, + /// but other kinds of kernel DataTypes are also allowed, to permit use of DataTypes from the Kernel + /// Model Libraries. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565471811429_523492_20975", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] + [Implements(implementation: "IAttributeUsage.AttributeDefinition")] + public List attributeDefinition { get; internal set; } + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds + /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IAttributeUsage.AttributeDefinition")] + [Implements(implementation: "IUsage.Definition")] + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IAttributeUsage.AttributeDefinition"); + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.DirectedFeature")] + public List directedFeature { get; internal set; } + + /// + /// The usages of this Usage that are directedFeatures. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + public bool IsPortion { get; set; } + + /// + /// Always true for an AttributeUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624050661138_649455_27", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1624035114787_488767_41423")] + [Implements(implementation: "IAttributeUsage.IsReference")] + public bool isReference { get; internal set; } + + /// + /// Whether this Usage is a referential Usage, that is, it has isComposite = false. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IAttributeUsage.IsReference")] + [Implements(implementation: "IUsage.IsReference")] + bool Systems.DefinitionAndUsage.IUsage.isReference => throw new InvalidOperationException("Redefined by property IAttributeUsage.IsReference"); + + /// + /// 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [RedefinedByProperty("IUsage.MayTimeVary")] + [Implements(implementation: "IFeature.IsVariable")] + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } + + /// + /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage + /// must be VariantMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its + /// owningType, rather than being featured by the owningType itself). However, if isConstant is also + /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance + /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary + /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is + /// inherited from Feature. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] + [Implements(implementation: "IUsage.MayTimeVary")] + public bool mayTimeVary { get; internal set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ActionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedAction")] + public List nestedAction { get; internal set; } + + /// + /// The AllocationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedAllocation")] + public List nestedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedAnalysisCase")] + public List nestedAnalysisCase { get; internal set; } + + /// + /// The code>AttributeUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedAttribute")] + public List nestedAttribute { get; internal set; } + + /// + /// The CalculationUsage that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedCalculation")] + public List nestedCalculation { get; internal set; } + + /// + /// The CaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] + [Implements(implementation: "IUsage.NestedCase")] + public List nestedCase { get; internal set; } + + /// + /// The ConcernUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedConcern")] + public List nestedConcern { get; internal set; } + + /// + /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are + /// ConnectorAsUsages even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedConnection")] + public List nestedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedConstraint")] + public List nestedConstraint { get; internal set; } + + /// + /// The code>EnumerationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] + [Implements(implementation: "IUsage.NestedEnumeration")] + public List nestedEnumeration { get; internal set; } + + /// + /// The code>FlowUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedFlow")] + public List nestedFlow { get; internal set; } + + /// + /// The InterfaceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedInterface")] + public List nestedInterface { get; internal set; } + + /// + /// The ItemUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedItem")] + public List nestedItem { get; internal set; } + + /// + /// The MetadataUsages that are nestedUsages of this of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedMetadata")] + public List nestedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedOccurrence")] + public List nestedOccurrence { get; internal set; } + + /// + /// The PartUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedPart")] + public List nestedPart { get; internal set; } + + /// + /// The PortUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedPort")] + public List nestedPort { get; internal set; } + + /// + /// The ReferenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedReference")] + public List nestedReference { get; internal set; } + + /// + /// The RenderingUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedRendering")] + public List nestedRendering { get; internal set; } + + /// + /// The RequirementUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] + [Implements(implementation: "IUsage.NestedRequirement")] + public List nestedRequirement { get; internal set; } + + /// + /// The StateUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedState")] + public List nestedState { get; internal set; } + + /// + /// The TransitionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedTransition")] + public List nestedTransition { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.NestedUsage")] + public List nestedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedUseCase")] + public List nestedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedVerificationCase")] + public List nestedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedView")] + public List nestedView { get; internal set; } + + /// + /// The ViewpointUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedViewpoint")] + public List nestedViewpoint { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The Definition that owns this Usage (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] + [Implements(implementation: "IUsage.OwningDefinition")] + public Guid? owningDefinition { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The Usage in which this Usage is nested (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IUsage.OwningUsage")] + public Guid? owningUsage { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IUsage.Definition")] + [Implements(implementation: "IFeature.Type")] + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Usage (not necessarily owned). + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IUsage.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = + /// true. If isVariation = false, then there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IUsage.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this + /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IUsage.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/Behavior.cs b/SysML2.NET/Core/AutoGenDto/Behavior.cs index 0ce7b1c8..91412276 100644 --- a/SysML2.NET/Core/AutoGenDto/Behavior.cs +++ b/SysML2.NET/Core/AutoGenDto/Behavior.cs @@ -1,519 +1,519 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Behaviors -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Kernel.Classes; - using SysML2.NET.Decorators; - - /// - /// A Behavior coordinates occurrences of other Behaviors, as well as changes in objects. Behaviors can - /// be decomposed into Steps and be characterized by parameters. - /// - [Class(xmiId: "_18_5_3_12e503d9_1533160651709_376789_42207", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class Behavior : IBehavior - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IBehavior.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - public bool IsAbstract { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier - /// is the subclassifier. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List OwnedSubclassification { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The parameters of this Behavior, which are defined as its directedFeatures, whose values are passed - /// into and/or out of a performance of the Behavior. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948010065_362066_20413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IBehavior.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The Steps that make up this Behavior. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346067212_587255_17343", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IBehavior.Step")] - public List Step { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Behaviors +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Kernel.Classes; + using SysML2.NET.Decorators; + + /// + /// A Behavior coordinates occurrences of other Behaviors, as well as changes in objects. Behaviors can + /// be decomposed into Steps and be characterized by parameters. + /// + [Class(xmiId: "_18_5_3_12e503d9_1533160651709_376789_42207", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class Behavior : IBehavior + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IBehavior.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IBehavior.Parameter"); + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + public bool IsAbstract { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier + /// is the subclassifier. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [Implements(implementation: "IClassifier.OwnedSubclassification")] + public List ownedSubclassification { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The parameters of this Behavior, which are defined as its directedFeatures, whose values are passed + /// into and/or out of a performance of the Behavior. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948010065_362066_20413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IBehavior.Parameter")] + public List parameter { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The Steps that make up this Behavior. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346067212_587255_17343", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IBehavior.Step")] + public List step { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/BindingConnector.cs b/SysML2.NET/Core/AutoGenDto/BindingConnector.cs index 7bf5ee96..3a1f15c6 100644 --- a/SysML2.NET/Core/AutoGenDto/BindingConnector.cs +++ b/SysML2.NET/Core/AutoGenDto/BindingConnector.cs @@ -1,830 +1,838 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Connectors -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Decorators; - - /// - /// A BindingConnector is a binary Connector that requires its relatedFeatures to identify the same - /// things (have the same values). - /// - [Class(xmiId: "_18_5_3_b9102da_1543591219823_238592_17680", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class BindingConnector : IBindingConnector - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Associations that type the Connector. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674983_471497_43284", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [Implements(implementation: "IConnector.Association")] - public List Association { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The endFeatures of a Connector, which redefine the endFeatures of the associations of the Connector. - /// The connectorEnds determine via ReferenceSubsetting Relationships which Features are related by the - /// Connector. - /// - [Property(xmiId: "_18_5_3_12e503d9_1556735067666_827798_21922", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [Implements(implementation: "IConnector.ConnectorEnd")] - public List ConnectorEnd { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The innermost Type that is a common direct or indirect featuringType of the relatedFeatures, such - /// that, if it exists and was the featuringType of this Connector, the Connector would satisfy the - /// checkConnectorTypeFeaturing constraint. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737751598145_444042_71", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IConnector.DefaultFeaturingType")] - public Guid? DefaultFeaturingType { get; internal set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IConnector.ConnectorEnd")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - public bool IsEnd { get; set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [RedefinedByProperty("IConnector.RelatedFeature")] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The Features that are related by this Connector considered as a Relationship and that restrict the - /// links it identifies, given by the referenced Features of the connectorEnds of the Connector. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_916334_43210", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IConnector.RelatedFeature")] - public List RelatedFeature { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IConnector.SourceFeature")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// The source relatedFeature for this Connector. It is the first relatedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594953058873_558253_3897", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [Implements(implementation: "IConnector.SourceFeature")] - public Guid? SourceFeature { get; internal set; } - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IConnector.TargetFeature")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The target relatedFeatures for this Connector. This includes all the relatedFeatures other than the - /// sourceFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594953128207_991867_3946", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [Implements(implementation: "IConnector.TargetFeature")] - public List TargetFeature { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IConnector.Association")] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Connectors +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Decorators; + + /// + /// A BindingConnector is a binary Connector that requires its relatedFeatures to identify the same + /// things (have the same values). + /// + [Class(xmiId: "_18_5_3_b9102da_1543591219823_238592_17680", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class BindingConnector : IBindingConnector + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Associations that type the Connector. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674983_471497_43284", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [Implements(implementation: "IConnector.Association")] + public List association { get; internal set; } + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The endFeatures of a Connector, which redefine the endFeatures of the associations of the Connector. + /// The connectorEnds determine via ReferenceSubsetting Relationships which Features are related by the + /// Connector. + /// + [Property(xmiId: "_18_5_3_12e503d9_1556735067666_827798_21922", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [Implements(implementation: "IConnector.ConnectorEnd")] + public List connectorEnd { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The innermost Type that is a common direct or indirect featuringType of the relatedFeatures, such + /// that, if it exists and was the featuringType of this Connector, the Connector would satisfy the + /// checkConnectorTypeFeaturing constraint. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737751598145_444042_71", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IConnector.DefaultFeaturingType")] + public Guid? defaultFeaturingType { get; internal set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.DirectedFeature")] + public List directedFeature { get; internal set; } + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IConnector.ConnectorEnd")] + [Implements(implementation: "IType.EndFeature")] + List Core.Types.IType.endFeature => throw new InvalidOperationException("Redefined by property IConnector.ConnectorEnd"); + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + public bool IsEnd { get; set; } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsVariable")] + public bool IsVariable { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [RedefinedByProperty("IConnector.RelatedFeature")] + [Implements(implementation: "IRelationship.RelatedElement")] + List Root.Elements.IRelationship.relatedElement => throw new InvalidOperationException("Redefined by property IConnector.RelatedFeature"); + + /// + /// The Features that are related by this Connector considered as a Relationship and that restrict the + /// links it identifies, given by the referenced Features of the connectorEnds of the Connector. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_916334_43210", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IConnector.RelatedFeature")] + public List relatedFeature { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IConnector.SourceFeature")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + } + + /// + /// The source relatedFeature for this Connector. It is the first relatedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594953058873_558253_3897", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [Implements(implementation: "IConnector.SourceFeature")] + public Guid? sourceFeature { get; internal set; } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IConnector.TargetFeature")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + } + + /// + /// The target relatedFeatures for this Connector. This includes all the relatedFeatures other than the + /// sourceFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594953128207_991867_3946", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [Implements(implementation: "IConnector.TargetFeature")] + public List targetFeature { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IConnector.Association")] + [Implements(implementation: "IFeature.Type")] + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IConnector.Association"); + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/BindingConnectorAsUsage.cs b/SysML2.NET/Core/AutoGenDto/BindingConnectorAsUsage.cs index f7131c2e..2b2f6804 100644 --- a/SysML2.NET/Core/AutoGenDto/BindingConnectorAsUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/BindingConnectorAsUsage.cs @@ -1,1140 +1,1152 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Connections -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.DTO.Kernel.Connectors; - using SysML2.NET.Decorators; - - /// - /// A BindingConnectorAsUsage is both a BindingConnector and a ConnectorAsUsage. - /// - [Class(xmiId: "_19_0_4_12e503d9_1624053366342_865295_501", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class BindingConnectorAsUsage : IBindingConnectorAsUsage - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Associations that type the Connector. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674983_471497_43284", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [Implements(implementation: "IConnector.Association")] - public List Association { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The endFeatures of a Connector, which redefine the endFeatures of the associations of the Connector. - /// The connectorEnds determine via ReferenceSubsetting Relationships which Features are related by the - /// Connector. - /// - [Property(xmiId: "_18_5_3_12e503d9_1556735067666_827798_21922", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [Implements(implementation: "IConnector.ConnectorEnd")] - public List ConnectorEnd { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The innermost Type that is a common direct or indirect featuringType of the relatedFeatures, such - /// that, if it exists and was the featuringType of this Connector, the Connector would satisfy the - /// checkConnectorTypeFeaturing constraint. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737751598145_444042_71", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IConnector.DefaultFeaturingType")] - public Guid? DefaultFeaturingType { get; internal set; } - - /// - /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds - /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [Implements(implementation: "IUsage.Definition")] - public List Definition { get; internal set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Usage that are directedFeatures. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IConnector.ConnectorEnd")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - public bool IsEnd { get; set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - public bool IsPortion { get; set; } - - /// - /// Whether this Usage is a referential Usage, that is, it has isComposite = false. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsReference")] - public bool IsReference { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [RedefinedByProperty("IUsage.MayTimeVary")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage - /// must be VariantMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its - /// owningType, rather than being featured by the owningType itself). However, if isConstant is also - /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance - /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary - /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is - /// inherited from Feature. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] - [Implements(implementation: "IUsage.MayTimeVary")] - public bool MayTimeVary { get; internal set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ActionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedAction")] - public List NestedAction { get; internal set; } - - /// - /// The AllocationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedAllocation")] - public List NestedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List NestedAnalysisCase { get; internal set; } - - /// - /// The code>AttributeUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedAttribute")] - public List NestedAttribute { get; internal set; } - - /// - /// The CalculationUsage that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedCalculation")] - public List NestedCalculation { get; internal set; } - - /// - /// The CaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] - [Implements(implementation: "IUsage.NestedCase")] - public List NestedCase { get; internal set; } - - /// - /// The ConcernUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedConcern")] - public List NestedConcern { get; internal set; } - - /// - /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are - /// ConnectorAsUsages even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedConnection")] - public List NestedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedConstraint")] - public List NestedConstraint { get; internal set; } - - /// - /// The code>EnumerationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] - [Implements(implementation: "IUsage.NestedEnumeration")] - public List NestedEnumeration { get; internal set; } - - /// - /// The code>FlowUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedFlow")] - public List NestedFlow { get; internal set; } - - /// - /// The InterfaceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedInterface")] - public List NestedInterface { get; internal set; } - - /// - /// The ItemUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedItem")] - public List NestedItem { get; internal set; } - - /// - /// The MetadataUsages that are nestedUsages of this of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedMetadata")] - public List NestedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedOccurrence")] - public List NestedOccurrence { get; internal set; } - - /// - /// The PartUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedPart")] - public List NestedPart { get; internal set; } - - /// - /// The PortUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedPort")] - public List NestedPort { get; internal set; } - - /// - /// The ReferenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedReference")] - public List NestedReference { get; internal set; } - - /// - /// The RenderingUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedRendering")] - public List NestedRendering { get; internal set; } - - /// - /// The RequirementUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] - [Implements(implementation: "IUsage.NestedRequirement")] - public List NestedRequirement { get; internal set; } - - /// - /// The StateUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedState")] - public List NestedState { get; internal set; } - - /// - /// The TransitionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedTransition")] - public List NestedTransition { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.NestedUsage")] - public List NestedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedUseCase")] - public List NestedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedVerificationCase")] - public List NestedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedView")] - public List NestedView { get; internal set; } - - /// - /// The ViewpointUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedViewpoint")] - public List NestedViewpoint { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The Definition that owns this Usage (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] - [Implements(implementation: "IUsage.OwningDefinition")] - public Guid? OwningDefinition { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The Usage in which this Usage is nested (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IUsage.OwningUsage")] - public Guid? OwningUsage { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [RedefinedByProperty("IConnector.RelatedFeature")] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The Features that are related by this Connector considered as a Relationship and that restrict the - /// links it identifies, given by the referenced Features of the connectorEnds of the Connector. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_916334_43210", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IConnector.RelatedFeature")] - public List RelatedFeature { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IConnector.SourceFeature")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// The source relatedFeature for this Connector. It is the first relatedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594953058873_558253_3897", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [Implements(implementation: "IConnector.SourceFeature")] - public Guid? SourceFeature { get; internal set; } - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IConnector.TargetFeature")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The target relatedFeatures for this Connector. This includes all the relatedFeatures other than the - /// sourceFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594953128207_991867_3946", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [Implements(implementation: "IConnector.TargetFeature")] - public List TargetFeature { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IConnector.Association")] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Usage (not necessarily owned). - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IUsage.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = - /// true. If isVariation = false, then there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IUsage.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this - /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IUsage.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Connections +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.DTO.Kernel.Connectors; + using SysML2.NET.Decorators; + + /// + /// A BindingConnectorAsUsage is both a BindingConnector and a ConnectorAsUsage. + /// + [Class(xmiId: "_19_0_4_12e503d9_1624053366342_865295_501", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class BindingConnectorAsUsage : IBindingConnectorAsUsage + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Associations that type the Connector. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674983_471497_43284", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [Implements(implementation: "IConnector.Association")] + public List association { get; internal set; } + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The endFeatures of a Connector, which redefine the endFeatures of the associations of the Connector. + /// The connectorEnds determine via ReferenceSubsetting Relationships which Features are related by the + /// Connector. + /// + [Property(xmiId: "_18_5_3_12e503d9_1556735067666_827798_21922", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [Implements(implementation: "IConnector.ConnectorEnd")] + public List connectorEnd { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The innermost Type that is a common direct or indirect featuringType of the relatedFeatures, such + /// that, if it exists and was the featuringType of this Connector, the Connector would satisfy the + /// checkConnectorTypeFeaturing constraint. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737751598145_444042_71", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IConnector.DefaultFeaturingType")] + public Guid? defaultFeaturingType { get; internal set; } + + /// + /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds + /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [Implements(implementation: "IUsage.Definition")] + public List definition { get; internal set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.DirectedFeature")] + public List directedFeature { get; internal set; } + + /// + /// The usages of this Usage that are directedFeatures. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IConnector.ConnectorEnd")] + [Implements(implementation: "IType.EndFeature")] + List Core.Types.IType.endFeature => throw new InvalidOperationException("Redefined by property IConnector.ConnectorEnd"); + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + public bool IsEnd { get; set; } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + public bool IsPortion { get; set; } + + /// + /// Whether this Usage is a referential Usage, that is, it has isComposite = false. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsReference")] + public bool isReference { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [RedefinedByProperty("IUsage.MayTimeVary")] + [Implements(implementation: "IFeature.IsVariable")] + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } + + /// + /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage + /// must be VariantMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its + /// owningType, rather than being featured by the owningType itself). However, if isConstant is also + /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance + /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary + /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is + /// inherited from Feature. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] + [Implements(implementation: "IUsage.MayTimeVary")] + public bool mayTimeVary { get; internal set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ActionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedAction")] + public List nestedAction { get; internal set; } + + /// + /// The AllocationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedAllocation")] + public List nestedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedAnalysisCase")] + public List nestedAnalysisCase { get; internal set; } + + /// + /// The code>AttributeUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedAttribute")] + public List nestedAttribute { get; internal set; } + + /// + /// The CalculationUsage that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedCalculation")] + public List nestedCalculation { get; internal set; } + + /// + /// The CaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] + [Implements(implementation: "IUsage.NestedCase")] + public List nestedCase { get; internal set; } + + /// + /// The ConcernUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedConcern")] + public List nestedConcern { get; internal set; } + + /// + /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are + /// ConnectorAsUsages even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedConnection")] + public List nestedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedConstraint")] + public List nestedConstraint { get; internal set; } + + /// + /// The code>EnumerationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] + [Implements(implementation: "IUsage.NestedEnumeration")] + public List nestedEnumeration { get; internal set; } + + /// + /// The code>FlowUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedFlow")] + public List nestedFlow { get; internal set; } + + /// + /// The InterfaceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedInterface")] + public List nestedInterface { get; internal set; } + + /// + /// The ItemUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedItem")] + public List nestedItem { get; internal set; } + + /// + /// The MetadataUsages that are nestedUsages of this of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedMetadata")] + public List nestedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedOccurrence")] + public List nestedOccurrence { get; internal set; } + + /// + /// The PartUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedPart")] + public List nestedPart { get; internal set; } + + /// + /// The PortUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedPort")] + public List nestedPort { get; internal set; } + + /// + /// The ReferenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedReference")] + public List nestedReference { get; internal set; } + + /// + /// The RenderingUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedRendering")] + public List nestedRendering { get; internal set; } + + /// + /// The RequirementUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] + [Implements(implementation: "IUsage.NestedRequirement")] + public List nestedRequirement { get; internal set; } + + /// + /// The StateUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedState")] + public List nestedState { get; internal set; } + + /// + /// The TransitionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedTransition")] + public List nestedTransition { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.NestedUsage")] + public List nestedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedUseCase")] + public List nestedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedVerificationCase")] + public List nestedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedView")] + public List nestedView { get; internal set; } + + /// + /// The ViewpointUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedViewpoint")] + public List nestedViewpoint { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The Definition that owns this Usage (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] + [Implements(implementation: "IUsage.OwningDefinition")] + public Guid? owningDefinition { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The Usage in which this Usage is nested (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IUsage.OwningUsage")] + public Guid? owningUsage { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [RedefinedByProperty("IConnector.RelatedFeature")] + [Implements(implementation: "IRelationship.RelatedElement")] + List Root.Elements.IRelationship.relatedElement => throw new InvalidOperationException("Redefined by property IConnector.RelatedFeature"); + + /// + /// The Features that are related by this Connector considered as a Relationship and that restrict the + /// links it identifies, given by the referenced Features of the connectorEnds of the Connector. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_916334_43210", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IConnector.RelatedFeature")] + public List relatedFeature { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IConnector.SourceFeature")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + } + + /// + /// The source relatedFeature for this Connector. It is the first relatedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594953058873_558253_3897", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [Implements(implementation: "IConnector.SourceFeature")] + public Guid? sourceFeature { get; internal set; } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IConnector.TargetFeature")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + } + + /// + /// The target relatedFeatures for this Connector. This includes all the relatedFeatures other than the + /// sourceFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594953128207_991867_3946", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [Implements(implementation: "IConnector.TargetFeature")] + public List targetFeature { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IConnector.Association")] + [Implements(implementation: "IFeature.Type")] + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IConnector.Association"); + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Usage (not necessarily owned). + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IUsage.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = + /// true. If isVariation = false, then there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IUsage.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this + /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IUsage.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/BooleanExpression.cs b/SysML2.NET/Core/AutoGenDto/BooleanExpression.cs index 39960599..06df9a58 100644 --- a/SysML2.NET/Core/AutoGenDto/BooleanExpression.cs +++ b/SysML2.NET/Core/AutoGenDto/BooleanExpression.cs @@ -1,777 +1,777 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Functions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Decorators; - - /// - /// A BooleanExpression is a Boolean-valued Expression whose type is a Predicate. It represents a - /// logical condition resulting from the evaluation of the Predicate. - /// - [Class(xmiId: "_19_0_2_12e503d9_1578511256733_336334_354", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class BooleanExpression : IBooleanExpression - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Behaviors that type this Step. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IExpression.Function")] - [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IStep.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Function that types this Expression. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - [RedefinedByProperty("IBooleanExpression.Predicate")] - [Implements(implementation: "IExpression.Function")] - public Guid? Function { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, - /// using metadata within the model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool IsModelLevelEvaluable { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into - /// and/or out of a performance of the Step. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The Predicate that types the Expression. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578025035149_386_969", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1543948477241_299049_20934")] - [Implements(implementation: "IBooleanExpression.Predicate")] - public Guid? Predicate { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// An output parameter of the Expression whose value is the result of the Expression. The result of an - /// Expression is either inherited from its function or it is related to the Expression via a - /// ReturnParameterMembership, in which case it redefines the result parameter of its function. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [Implements(implementation: "IExpression.Result")] - public Guid Result { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Functions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Decorators; + + /// + /// A BooleanExpression is a Boolean-valued Expression whose type is a Predicate. It represents a + /// logical condition resulting from the evaluation of the Predicate. + /// + [Class(xmiId: "_19_0_2_12e503d9_1578511256733_336334_354", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class BooleanExpression : IBooleanExpression + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Behaviors that type this Step. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IExpression.Function")] + [Implements(implementation: "IStep.Behavior")] + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IStep.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Function that types this Expression. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] + [RedefinedByProperty("IBooleanExpression.Predicate")] + [Implements(implementation: "IExpression.Function")] + Guid? IExpression.function => throw new InvalidOperationException("Redefined by property IBooleanExpression.Predicate"); + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, + /// using metadata within the model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IExpression.IsModelLevelEvaluable")] + public bool isModelLevelEvaluable { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsVariable")] + public bool IsVariable { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into + /// and/or out of a performance of the Step. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IStep.Parameter")] + public List parameter { get; internal set; } + + /// + /// The Predicate that types the Expression. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578025035149_386_969", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1543948477241_299049_20934")] + [Implements(implementation: "IBooleanExpression.Predicate")] + public Guid? predicate { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// An output parameter of the Expression whose value is the result of the Expression. The result of an + /// Expression is either inherited from its function or it is related to the Expression via a + /// ReturnParameterMembership, in which case it redefines the result parameter of its function. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [Implements(implementation: "IExpression.Result")] + public Guid result { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Type")] + public List type { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/CalculationDefinition.cs b/SysML2.NET/Core/AutoGenDto/CalculationDefinition.cs index aa94956f..62beaaaf 100644 --- a/SysML2.NET/Core/AutoGenDto/CalculationDefinition.cs +++ b/SysML2.NET/Core/AutoGenDto/CalculationDefinition.cs @@ -1,837 +1,837 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Calculations -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Kernel.Functions; - using SysML2.NET.Core.DTO.Systems.Actions; - using SysML2.NET.Decorators; - - /// - /// A CalculationDefinition is an ActionDefinition that also defines a Function producing a - /// result. - /// - [Class(xmiId: "_19_0_2_12e503d9_1588213234752_326869_117", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class CalculationDefinition : ICalculationDefinition - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// The ActionUsages that are steps in this ActionDefinition, which define the actions that specify the - /// behavior of the ActionDefinition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565500809065_170841_30688", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IActionDefinition.Action")] - public List Action { get; internal set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The actions of this CalculationDefinition that are CalculationUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588214479224_101961_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565500809065_170841_30688")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948400639_301251_20841")] - [Implements(implementation: "ICalculationDefinition.Calculation")] - public List Calculation { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IBehavior.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Definition that are directedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565495064714_974634_26150", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IDefinition.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Expressions that are steps in the calculation of the result of this Function. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948400639_301251_20841", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] - [Implements(implementation: "IFunction.Expression")] - public List Expression { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - public bool IsAbstract { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceDefinition is constrained to represent at most one thing. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618955405499_394357_6740", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceDefinition.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether this Function can be used as the function of a model-level evaluable InvocationExpression. - /// Certain Functions from the Kernel Functions Library are considered to have isModelLevelEvaluable = - /// true. For all other Functions it is false.Note: See the specification of the KerML - /// concrete syntax notation for Expressions for an identification of which library Functions are - /// model-level evaluable. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617395221463_139517_26381", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFunction.IsModelLevelEvaluable")] - public bool IsModelLevelEvaluable { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IDefinition.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ActionUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedAction")] - public List OwnedAction { get; internal set; } - - /// - /// The AllocationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedAllocation")] - public List OwnedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List OwnedAnalysisCase { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The AttributeUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedAttribute")] - public List OwnedAttribute { get; internal set; } - - /// - /// The CalculationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - [Implements(implementation: "IDefinition.OwnedCalculation")] - public List OwnedCalculation { get; internal set; } - - /// - /// The code>CaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] - [Implements(implementation: "IDefinition.OwnedCase")] - public List OwnedCase { get; internal set; } - - /// - /// The ConcernUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - [Implements(implementation: "IDefinition.OwnedConcern")] - public List OwnedConcern { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowUsages because these are ConnectorAsUsages - /// even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedConnection")] - public List OwnedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedConstraint")] - public List OwnedConstraint { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The EnumerationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] - [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List OwnedEnumeration { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The FlowUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedFlow")] - public List OwnedFlow { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The InterfaceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedInterface")] - public List OwnedInterface { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The ItemUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedItem")] - public List OwnedItem { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The MetadataUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - [Implements(implementation: "IDefinition.OwnedMetadata")] - public List OwnedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List OwnedOccurrence { get; internal set; } - - /// - /// The PartUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - [Implements(implementation: "IDefinition.OwnedPart")] - public List OwnedPart { get; internal set; } - - /// - /// The PortUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedPort")] - public List OwnedPort { get; internal set; } - - /// - /// The ReferenceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedReference")] - public List OwnedReference { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The RenderingUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - [Implements(implementation: "IDefinition.OwnedRendering")] - public List OwnedRendering { get; internal set; } - - /// - /// The RequirementUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] - [Implements(implementation: "IDefinition.OwnedRequirement")] - public List OwnedRequirement { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The StateUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - [Implements(implementation: "IDefinition.OwnedState")] - public List OwnedState { get; internal set; } - - /// - /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier - /// is the subclassifier. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List OwnedSubclassification { get; internal set; } - - /// - /// The TransitionUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedTransition")] - public List OwnedTransition { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Definition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686637_967933_23236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IDefinition.OwnedUsage")] - public List OwnedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedUseCase")] - public List OwnedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List OwnedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - [Implements(implementation: "IDefinition.OwnedView")] - public List OwnedView { get; internal set; } - - /// - /// The ViewpointUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List OwnedViewpoint { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The parameters of this Behavior, which are defined as its directedFeatures, whose values are passed - /// into and/or out of a performance of the Behavior. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948010065_362066_20413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IBehavior.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The object or value that is the result of evaluating the Function. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948912268_88159_21323", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] - [Implements(implementation: "IFunction.Result")] - public Guid Result { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The Steps that make up this Behavior. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346067212_587255_17343", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IBehavior.Step")] - public List Step { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Definition (not necessarily owned). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IDefinition.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Definition as a variation point Definition, if - /// isVariation = true. If isVariation = false, the there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IDefinition.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then - /// this must be all ownedMemberships of the Definition. If isVariation = false, then - /// variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IDefinition.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Calculations +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Kernel.Functions; + using SysML2.NET.Core.DTO.Systems.Actions; + using SysML2.NET.Decorators; + + /// + /// A CalculationDefinition is an ActionDefinition that also defines a Function producing a + /// result. + /// + [Class(xmiId: "_19_0_2_12e503d9_1588213234752_326869_117", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class CalculationDefinition : ICalculationDefinition + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// The ActionUsages that are steps in this ActionDefinition, which define the actions that specify the + /// behavior of the ActionDefinition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565500809065_170841_30688", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IActionDefinition.Action")] + public List action { get; internal set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The actions of this CalculationDefinition that are CalculationUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588214479224_101961_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565500809065_170841_30688")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948400639_301251_20841")] + [Implements(implementation: "ICalculationDefinition.Calculation")] + public List calculation { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IBehavior.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IBehavior.Parameter"); + + /// + /// The usages of this Definition that are directedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565495064714_974634_26150", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IDefinition.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Expressions that are steps in the calculation of the result of this Function. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948400639_301251_20841", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] + [Implements(implementation: "IFunction.Expression")] + public List expression { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + public bool IsAbstract { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceDefinition is constrained to represent at most one thing. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618955405499_394357_6740", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceDefinition.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether this Function can be used as the function of a model-level evaluable InvocationExpression. + /// Certain Functions from the Kernel Functions Library are considered to have isModelLevelEvaluable = + /// true. For all other Functions it is false.Note: See the specification of the KerML + /// concrete syntax notation for Expressions for an identification of which library Functions are + /// model-level evaluable. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617395221463_139517_26381", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFunction.IsModelLevelEvaluable")] + public bool isModelLevelEvaluable { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IDefinition.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ActionUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedAction")] + public List ownedAction { get; internal set; } + + /// + /// The AllocationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedAllocation")] + public List ownedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedAnalysisCase")] + public List ownedAnalysisCase { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The AttributeUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedAttribute")] + public List ownedAttribute { get; internal set; } + + /// + /// The CalculationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] + [Implements(implementation: "IDefinition.OwnedCalculation")] + public List ownedCalculation { get; internal set; } + + /// + /// The code>CaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] + [Implements(implementation: "IDefinition.OwnedCase")] + public List ownedCase { get; internal set; } + + /// + /// The ConcernUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + [Implements(implementation: "IDefinition.OwnedConcern")] + public List ownedConcern { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowUsages because these are ConnectorAsUsages + /// even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedConnection")] + public List ownedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedConstraint")] + public List ownedConstraint { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The EnumerationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] + [Implements(implementation: "IDefinition.OwnedEnumeration")] + public List ownedEnumeration { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The FlowUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedFlow")] + public List ownedFlow { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The InterfaceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedInterface")] + public List ownedInterface { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The ItemUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedItem")] + public List ownedItem { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The MetadataUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] + [Implements(implementation: "IDefinition.OwnedMetadata")] + public List ownedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedOccurrence")] + public List ownedOccurrence { get; internal set; } + + /// + /// The PartUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] + [Implements(implementation: "IDefinition.OwnedPart")] + public List ownedPart { get; internal set; } + + /// + /// The PortUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedPort")] + public List ownedPort { get; internal set; } + + /// + /// The ReferenceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedReference")] + public List ownedReference { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The RenderingUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] + [Implements(implementation: "IDefinition.OwnedRendering")] + public List ownedRendering { get; internal set; } + + /// + /// The RequirementUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] + [Implements(implementation: "IDefinition.OwnedRequirement")] + public List ownedRequirement { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The StateUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] + [Implements(implementation: "IDefinition.OwnedState")] + public List ownedState { get; internal set; } + + /// + /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier + /// is the subclassifier. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [Implements(implementation: "IClassifier.OwnedSubclassification")] + public List ownedSubclassification { get; internal set; } + + /// + /// The TransitionUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedTransition")] + public List ownedTransition { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Definition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686637_967933_23236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IDefinition.OwnedUsage")] + public List ownedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedUseCase")] + public List ownedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedVerificationCase")] + public List ownedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] + [Implements(implementation: "IDefinition.OwnedView")] + public List ownedView { get; internal set; } + + /// + /// The ViewpointUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + [Implements(implementation: "IDefinition.OwnedViewpoint")] + public List ownedViewpoint { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The parameters of this Behavior, which are defined as its directedFeatures, whose values are passed + /// into and/or out of a performance of the Behavior. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948010065_362066_20413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IBehavior.Parameter")] + public List parameter { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The object or value that is the result of evaluating the Function. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948912268_88159_21323", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] + [Implements(implementation: "IFunction.Result")] + public Guid result { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The Steps that make up this Behavior. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346067212_587255_17343", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IBehavior.Step")] + public List step { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Definition (not necessarily owned). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IDefinition.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Definition as a variation point Definition, if + /// isVariation = true. If isVariation = false, the there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IDefinition.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then + /// this must be all ownedMemberships of the Definition. If isVariation = false, then + /// variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IDefinition.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/CalculationUsage.cs b/SysML2.NET/Core/AutoGenDto/CalculationUsage.cs index e41e3b30..b4830f22 100644 --- a/SysML2.NET/Core/AutoGenDto/CalculationUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/CalculationUsage.cs @@ -1,1145 +1,1149 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Calculations -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Core.DTO.Kernel.Functions; - using SysML2.NET.Core.DTO.Systems.Actions; - using SysML2.NET.Decorators; - - /// - /// A CalculationUsage is an ActionUsage that is also an Expression, and, so, is typed by a Function. - /// Nominally, if the type is a CalculationDefinition, a CalculationUsage is a Usage of that - /// CalculationDefinition within a system. However, other kinds of kernel Functions are also allowed, to - /// permit use of Functions from the Kernel Model Libraries. - /// - [Class(xmiId: "_19_0_2_12e503d9_1588213258220_731107_146", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class CalculationUsage : ICalculationUsage - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// The Behaviors that are the types of this ActionUsage. Nominally, these would be ActionDefinitions, - /// but other kinds of Kernel Behaviors are also allowed, to permit use of Behaviors from the Kernel - /// Model Libraries. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565500905804_589845_30779", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [RedefinedByProperty("ICalculationUsage.CalculationDefinition")] - [Implements(implementation: "IActionUsage.ActionDefinition")] - public List ActionDefinition { get; internal set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Behaviors that type this Step. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IExpression.Function")] - [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } - - /// - /// The Function that is the type of this CalculationUsage. Nominally, this would be a - /// CalculationDefinition, but a kernel Function is also allowed, to permit use of Functions from the - /// Kernel Model Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588213526305_899324_302", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1543948477241_299049_20934")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1565500905804_589845_30779")] - [Implements(implementation: "ICalculationUsage.CalculationDefinition")] - public Guid? CalculationDefinition { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds - /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] - [Implements(implementation: "IUsage.Definition")] - public List Definition { get; internal set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IStep.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Usage that are directedFeatures. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Function that types this Expression. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - [RedefinedByProperty("ICalculationUsage.CalculationDefinition")] - [Implements(implementation: "IExpression.Function")] - public Guid? Function { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// The at most one occurrenceDefinition that has isIndividual = true. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public Guid? IndividualDefinition { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its - /// individualDefinition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceUsage.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, - /// using metadata within the model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool IsModelLevelEvaluable { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - public bool IsPortion { get; set; } - - /// - /// Whether this Usage is a referential Usage, that is, it has isComposite = false. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsReference")] - public bool IsReference { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [RedefinedByProperty("IUsage.MayTimeVary")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage - /// must be VariantMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its - /// owningType, rather than being featured by the owningType itself). However, if isConstant is also - /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance - /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary - /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is - /// inherited from Feature. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] - [Implements(implementation: "IUsage.MayTimeVary")] - public bool MayTimeVary { get; internal set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ActionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedAction")] - public List NestedAction { get; internal set; } - - /// - /// The AllocationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedAllocation")] - public List NestedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List NestedAnalysisCase { get; internal set; } - - /// - /// The code>AttributeUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedAttribute")] - public List NestedAttribute { get; internal set; } - - /// - /// The CalculationUsage that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedCalculation")] - public List NestedCalculation { get; internal set; } - - /// - /// The CaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] - [Implements(implementation: "IUsage.NestedCase")] - public List NestedCase { get; internal set; } - - /// - /// The ConcernUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedConcern")] - public List NestedConcern { get; internal set; } - - /// - /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are - /// ConnectorAsUsages even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedConnection")] - public List NestedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedConstraint")] - public List NestedConstraint { get; internal set; } - - /// - /// The code>EnumerationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] - [Implements(implementation: "IUsage.NestedEnumeration")] - public List NestedEnumeration { get; internal set; } - - /// - /// The code>FlowUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedFlow")] - public List NestedFlow { get; internal set; } - - /// - /// The InterfaceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedInterface")] - public List NestedInterface { get; internal set; } - - /// - /// The ItemUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedItem")] - public List NestedItem { get; internal set; } - - /// - /// The MetadataUsages that are nestedUsages of this of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedMetadata")] - public List NestedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedOccurrence")] - public List NestedOccurrence { get; internal set; } - - /// - /// The PartUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedPart")] - public List NestedPart { get; internal set; } - - /// - /// The PortUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedPort")] - public List NestedPort { get; internal set; } - - /// - /// The ReferenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedReference")] - public List NestedReference { get; internal set; } - - /// - /// The RenderingUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedRendering")] - public List NestedRendering { get; internal set; } - - /// - /// The RequirementUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] - [Implements(implementation: "IUsage.NestedRequirement")] - public List NestedRequirement { get; internal set; } - - /// - /// The StateUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedState")] - public List NestedState { get; internal set; } - - /// - /// The TransitionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedTransition")] - public List NestedTransition { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.NestedUsage")] - public List NestedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedUseCase")] - public List NestedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedVerificationCase")] - public List NestedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedView")] - public List NestedView { get; internal set; } - - /// - /// The ViewpointUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedViewpoint")] - public List NestedViewpoint { get; internal set; } - - /// - /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, - /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] - [RedefinedByProperty("IActionUsage.ActionDefinition")] - [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List OccurrenceDefinition { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The Definition that owns this Usage (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] - [Implements(implementation: "IUsage.OwningDefinition")] - public Guid? OwningDefinition { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The Usage in which this Usage is nested (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IUsage.OwningUsage")] - public Guid? OwningUsage { get; internal set; } - - /// - /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into - /// and/or out of a performance of the Step. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If - /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the - /// OccurrenceUsage represents portions of the featuring instance of the owningType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IOccurrenceUsage.PortionKind")] - public PortionKind? PortionKind { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// An output parameter of the Expression whose value is the result of the Expression. The result of an - /// Expression is either inherited from its function or it is related to the Expression via a - /// ReturnParameterMembership, in which case it redefines the result parameter of its function. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [Implements(implementation: "IExpression.Result")] - public Guid Result { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IUsage.Definition")] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Usage (not necessarily owned). - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IUsage.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = - /// true. If isVariation = false, then there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IUsage.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this - /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IUsage.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Calculations +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Core.DTO.Kernel.Functions; + using SysML2.NET.Core.DTO.Systems.Actions; + using SysML2.NET.Decorators; + + /// + /// A CalculationUsage is an ActionUsage that is also an Expression, and, so, is typed by a Function. + /// Nominally, if the type is a CalculationDefinition, a CalculationUsage is a Usage of that + /// CalculationDefinition within a system. However, other kinds of kernel Functions are also allowed, to + /// permit use of Functions from the Kernel Model Libraries. + /// + [Class(xmiId: "_19_0_2_12e503d9_1588213258220_731107_146", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class CalculationUsage : ICalculationUsage + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// The Behaviors that are the types of this ActionUsage. Nominally, these would be ActionDefinitions, + /// but other kinds of Kernel Behaviors are also allowed, to permit use of Behaviors from the Kernel + /// Model Libraries. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565500905804_589845_30779", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [RedefinedByProperty("ICalculationUsage.CalculationDefinition")] + [Implements(implementation: "IActionUsage.ActionDefinition")] + List Systems.Actions.IActionUsage.actionDefinition => throw new InvalidOperationException("Redefined by property ICalculationUsage.CalculationDefinition"); + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Behaviors that type this Step. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IExpression.Function")] + [Implements(implementation: "IStep.Behavior")] + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); + + /// + /// The Function that is the type of this CalculationUsage. Nominally, this would be a + /// CalculationDefinition, but a kernel Function is also allowed, to permit use of Functions from the + /// Kernel Model Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588213526305_899324_302", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1543948477241_299049_20934")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1565500905804_589845_30779")] + [Implements(implementation: "ICalculationUsage.CalculationDefinition")] + public Guid? calculationDefinition { get; internal set; } + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds + /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] + [Implements(implementation: "IUsage.Definition")] + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IStep.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); + + /// + /// The usages of this Usage that are directedFeatures. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Function that types this Expression. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] + [RedefinedByProperty("ICalculationUsage.CalculationDefinition")] + [Implements(implementation: "IExpression.Function")] + Guid? Kernel.Functions.IExpression.function => throw new InvalidOperationException("Redefined by property ICalculationUsage.CalculationDefinition"); + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// The at most one occurrenceDefinition that has isIndividual = true. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] + public Guid? individualDefinition { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its + /// individualDefinition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceUsage.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, + /// using metadata within the model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IExpression.IsModelLevelEvaluable")] + public bool isModelLevelEvaluable { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + public bool IsPortion { get; set; } + + /// + /// Whether this Usage is a referential Usage, that is, it has isComposite = false. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsReference")] + public bool isReference { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [RedefinedByProperty("IUsage.MayTimeVary")] + [Implements(implementation: "IFeature.IsVariable")] + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } + + /// + /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage + /// must be VariantMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its + /// owningType, rather than being featured by the owningType itself). However, if isConstant is also + /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance + /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary + /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is + /// inherited from Feature. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] + [Implements(implementation: "IUsage.MayTimeVary")] + public bool mayTimeVary { get; internal set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ActionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedAction")] + public List nestedAction { get; internal set; } + + /// + /// The AllocationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedAllocation")] + public List nestedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedAnalysisCase")] + public List nestedAnalysisCase { get; internal set; } + + /// + /// The code>AttributeUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedAttribute")] + public List nestedAttribute { get; internal set; } + + /// + /// The CalculationUsage that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedCalculation")] + public List nestedCalculation { get; internal set; } + + /// + /// The CaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] + [Implements(implementation: "IUsage.NestedCase")] + public List nestedCase { get; internal set; } + + /// + /// The ConcernUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedConcern")] + public List nestedConcern { get; internal set; } + + /// + /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are + /// ConnectorAsUsages even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedConnection")] + public List nestedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedConstraint")] + public List nestedConstraint { get; internal set; } + + /// + /// The code>EnumerationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] + [Implements(implementation: "IUsage.NestedEnumeration")] + public List nestedEnumeration { get; internal set; } + + /// + /// The code>FlowUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedFlow")] + public List nestedFlow { get; internal set; } + + /// + /// The InterfaceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedInterface")] + public List nestedInterface { get; internal set; } + + /// + /// The ItemUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedItem")] + public List nestedItem { get; internal set; } + + /// + /// The MetadataUsages that are nestedUsages of this of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedMetadata")] + public List nestedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedOccurrence")] + public List nestedOccurrence { get; internal set; } + + /// + /// The PartUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedPart")] + public List nestedPart { get; internal set; } + + /// + /// The PortUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedPort")] + public List nestedPort { get; internal set; } + + /// + /// The ReferenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedReference")] + public List nestedReference { get; internal set; } + + /// + /// The RenderingUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedRendering")] + public List nestedRendering { get; internal set; } + + /// + /// The RequirementUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] + [Implements(implementation: "IUsage.NestedRequirement")] + public List nestedRequirement { get; internal set; } + + /// + /// The StateUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedState")] + public List nestedState { get; internal set; } + + /// + /// The TransitionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedTransition")] + public List nestedTransition { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.NestedUsage")] + public List nestedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedUseCase")] + public List nestedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedVerificationCase")] + public List nestedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedView")] + public List nestedView { get; internal set; } + + /// + /// The ViewpointUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedViewpoint")] + public List nestedViewpoint { get; internal set; } + + /// + /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, + /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] + [RedefinedByProperty("IActionUsage.ActionDefinition")] + [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] + List Systems.Occurrences.IOccurrenceUsage.occurrenceDefinition => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The Definition that owns this Usage (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] + [Implements(implementation: "IUsage.OwningDefinition")] + public Guid? owningDefinition { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The Usage in which this Usage is nested (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IUsage.OwningUsage")] + public Guid? owningUsage { get; internal set; } + + /// + /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into + /// and/or out of a performance of the Step. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IStep.Parameter")] + public List parameter { get; internal set; } + + /// + /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If + /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the + /// OccurrenceUsage represents portions of the featuring instance of the owningType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IOccurrenceUsage.PortionKind")] + public PortionKind? PortionKind { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// An output parameter of the Expression whose value is the result of the Expression. The result of an + /// Expression is either inherited from its function or it is related to the Expression via a + /// ReturnParameterMembership, in which case it redefines the result parameter of its function. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [Implements(implementation: "IExpression.Result")] + public Guid result { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IUsage.Definition")] + [Implements(implementation: "IFeature.Type")] + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Usage (not necessarily owned). + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IUsage.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = + /// true. If isVariation = false, then there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IUsage.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this + /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IUsage.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/CaseDefinition.cs b/SysML2.NET/Core/AutoGenDto/CaseDefinition.cs index 25f7b987..53826b78 100644 --- a/SysML2.NET/Core/AutoGenDto/CaseDefinition.cs +++ b/SysML2.NET/Core/AutoGenDto/CaseDefinition.cs @@ -1,863 +1,863 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Cases -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Systems.Calculations; - using SysML2.NET.Decorators; - - /// - /// A CaseDefinition is a CalculationDefinition for a process, often involving collecting evidence or - /// data, relative to a subject, possibly involving the collaboration of one or more other actors, - /// producing a result that meets an objective. - /// - [Class(xmiId: "_19_0_2_59601fc_1590256070522_658678_81", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class CaseDefinition : ICaseDefinition - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// The ActionUsages that are steps in this ActionDefinition, which define the actions that specify the - /// behavior of the ActionDefinition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565500809065_170841_30688", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IActionDefinition.Action")] - public List Action { get; internal set; } - - /// - /// The parameters of this CaseDefinition that represent actors involved in the case. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621464609772_382176_1612", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "ICaseDefinition.ActorParameter")] - public List ActorParameter { get; internal set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The actions of this CalculationDefinition that are CalculationUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588214479224_101961_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565500809065_170841_30688")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948400639_301251_20841")] - [Implements(implementation: "ICalculationDefinition.Calculation")] - public List Calculation { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IBehavior.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Definition that are directedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565495064714_974634_26150", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IDefinition.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Expressions that are steps in the calculation of the result of this Function. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948400639_301251_20841", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] - [Implements(implementation: "IFunction.Expression")] - public List Expression { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - public bool IsAbstract { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceDefinition is constrained to represent at most one thing. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618955405499_394357_6740", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceDefinition.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether this Function can be used as the function of a model-level evaluable InvocationExpression. - /// Certain Functions from the Kernel Functions Library are considered to have isModelLevelEvaluable = - /// true. For all other Functions it is false.Note: See the specification of the KerML - /// concrete syntax notation for Expressions for an identification of which library Functions are - /// model-level evaluable. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617395221463_139517_26381", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFunction.IsModelLevelEvaluable")] - public bool IsModelLevelEvaluable { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IDefinition.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The RequirementUsage representing the objective of this CaseDefinition. - /// - [Property(xmiId: "_19_0_2_59601fc_1590259317710_27529_910", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "ICaseDefinition.ObjectiveRequirement")] - public Guid? ObjectiveRequirement { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ActionUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedAction")] - public List OwnedAction { get; internal set; } - - /// - /// The AllocationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedAllocation")] - public List OwnedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List OwnedAnalysisCase { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The AttributeUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedAttribute")] - public List OwnedAttribute { get; internal set; } - - /// - /// The CalculationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - [Implements(implementation: "IDefinition.OwnedCalculation")] - public List OwnedCalculation { get; internal set; } - - /// - /// The code>CaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] - [Implements(implementation: "IDefinition.OwnedCase")] - public List OwnedCase { get; internal set; } - - /// - /// The ConcernUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - [Implements(implementation: "IDefinition.OwnedConcern")] - public List OwnedConcern { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowUsages because these are ConnectorAsUsages - /// even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedConnection")] - public List OwnedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedConstraint")] - public List OwnedConstraint { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The EnumerationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] - [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List OwnedEnumeration { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The FlowUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedFlow")] - public List OwnedFlow { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The InterfaceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedInterface")] - public List OwnedInterface { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The ItemUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedItem")] - public List OwnedItem { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The MetadataUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - [Implements(implementation: "IDefinition.OwnedMetadata")] - public List OwnedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List OwnedOccurrence { get; internal set; } - - /// - /// The PartUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - [Implements(implementation: "IDefinition.OwnedPart")] - public List OwnedPart { get; internal set; } - - /// - /// The PortUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedPort")] - public List OwnedPort { get; internal set; } - - /// - /// The ReferenceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedReference")] - public List OwnedReference { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The RenderingUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - [Implements(implementation: "IDefinition.OwnedRendering")] - public List OwnedRendering { get; internal set; } - - /// - /// The RequirementUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] - [Implements(implementation: "IDefinition.OwnedRequirement")] - public List OwnedRequirement { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The StateUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - [Implements(implementation: "IDefinition.OwnedState")] - public List OwnedState { get; internal set; } - - /// - /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier - /// is the subclassifier. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List OwnedSubclassification { get; internal set; } - - /// - /// The TransitionUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedTransition")] - public List OwnedTransition { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Definition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686637_967933_23236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IDefinition.OwnedUsage")] - public List OwnedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedUseCase")] - public List OwnedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List OwnedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - [Implements(implementation: "IDefinition.OwnedView")] - public List OwnedView { get; internal set; } - - /// - /// The ViewpointUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List OwnedViewpoint { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The parameters of this Behavior, which are defined as its directedFeatures, whose values are passed - /// into and/or out of a performance of the Behavior. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948010065_362066_20413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IBehavior.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The object or value that is the result of evaluating the Function. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948912268_88159_21323", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] - [Implements(implementation: "IFunction.Result")] - public Guid Result { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The Steps that make up this Behavior. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346067212_587255_17343", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IBehavior.Step")] - public List Step { get; internal set; } - - /// - /// The parameter of this CaseDefinition that represents its subject. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189932946_106647_973", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "ICaseDefinition.SubjectParameter")] - public Guid SubjectParameter { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Definition (not necessarily owned). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IDefinition.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Definition as a variation point Definition, if - /// isVariation = true. If isVariation = false, the there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IDefinition.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then - /// this must be all ownedMemberships of the Definition. If isVariation = false, then - /// variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IDefinition.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Cases +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Systems.Calculations; + using SysML2.NET.Decorators; + + /// + /// A CaseDefinition is a CalculationDefinition for a process, often involving collecting evidence or + /// data, relative to a subject, possibly involving the collaboration of one or more other actors, + /// producing a result that meets an objective. + /// + [Class(xmiId: "_19_0_2_59601fc_1590256070522_658678_81", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class CaseDefinition : ICaseDefinition + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// The ActionUsages that are steps in this ActionDefinition, which define the actions that specify the + /// behavior of the ActionDefinition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565500809065_170841_30688", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IActionDefinition.Action")] + public List action { get; internal set; } + + /// + /// The parameters of this CaseDefinition that represent actors involved in the case. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621464609772_382176_1612", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "ICaseDefinition.ActorParameter")] + public List actorParameter { get; internal set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The actions of this CalculationDefinition that are CalculationUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588214479224_101961_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565500809065_170841_30688")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948400639_301251_20841")] + [Implements(implementation: "ICalculationDefinition.Calculation")] + public List calculation { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IBehavior.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IBehavior.Parameter"); + + /// + /// The usages of this Definition that are directedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565495064714_974634_26150", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IDefinition.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Expressions that are steps in the calculation of the result of this Function. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948400639_301251_20841", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] + [Implements(implementation: "IFunction.Expression")] + public List expression { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + public bool IsAbstract { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceDefinition is constrained to represent at most one thing. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618955405499_394357_6740", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceDefinition.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether this Function can be used as the function of a model-level evaluable InvocationExpression. + /// Certain Functions from the Kernel Functions Library are considered to have isModelLevelEvaluable = + /// true. For all other Functions it is false.Note: See the specification of the KerML + /// concrete syntax notation for Expressions for an identification of which library Functions are + /// model-level evaluable. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617395221463_139517_26381", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFunction.IsModelLevelEvaluable")] + public bool isModelLevelEvaluable { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IDefinition.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The RequirementUsage representing the objective of this CaseDefinition. + /// + [Property(xmiId: "_19_0_2_59601fc_1590259317710_27529_910", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "ICaseDefinition.ObjectiveRequirement")] + public Guid? objectiveRequirement { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ActionUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedAction")] + public List ownedAction { get; internal set; } + + /// + /// The AllocationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedAllocation")] + public List ownedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedAnalysisCase")] + public List ownedAnalysisCase { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The AttributeUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedAttribute")] + public List ownedAttribute { get; internal set; } + + /// + /// The CalculationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] + [Implements(implementation: "IDefinition.OwnedCalculation")] + public List ownedCalculation { get; internal set; } + + /// + /// The code>CaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] + [Implements(implementation: "IDefinition.OwnedCase")] + public List ownedCase { get; internal set; } + + /// + /// The ConcernUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + [Implements(implementation: "IDefinition.OwnedConcern")] + public List ownedConcern { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowUsages because these are ConnectorAsUsages + /// even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedConnection")] + public List ownedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedConstraint")] + public List ownedConstraint { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The EnumerationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] + [Implements(implementation: "IDefinition.OwnedEnumeration")] + public List ownedEnumeration { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The FlowUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedFlow")] + public List ownedFlow { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The InterfaceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedInterface")] + public List ownedInterface { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The ItemUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedItem")] + public List ownedItem { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The MetadataUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] + [Implements(implementation: "IDefinition.OwnedMetadata")] + public List ownedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedOccurrence")] + public List ownedOccurrence { get; internal set; } + + /// + /// The PartUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] + [Implements(implementation: "IDefinition.OwnedPart")] + public List ownedPart { get; internal set; } + + /// + /// The PortUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedPort")] + public List ownedPort { get; internal set; } + + /// + /// The ReferenceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedReference")] + public List ownedReference { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The RenderingUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] + [Implements(implementation: "IDefinition.OwnedRendering")] + public List ownedRendering { get; internal set; } + + /// + /// The RequirementUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] + [Implements(implementation: "IDefinition.OwnedRequirement")] + public List ownedRequirement { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The StateUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] + [Implements(implementation: "IDefinition.OwnedState")] + public List ownedState { get; internal set; } + + /// + /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier + /// is the subclassifier. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [Implements(implementation: "IClassifier.OwnedSubclassification")] + public List ownedSubclassification { get; internal set; } + + /// + /// The TransitionUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedTransition")] + public List ownedTransition { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Definition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686637_967933_23236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IDefinition.OwnedUsage")] + public List ownedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedUseCase")] + public List ownedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedVerificationCase")] + public List ownedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] + [Implements(implementation: "IDefinition.OwnedView")] + public List ownedView { get; internal set; } + + /// + /// The ViewpointUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + [Implements(implementation: "IDefinition.OwnedViewpoint")] + public List ownedViewpoint { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The parameters of this Behavior, which are defined as its directedFeatures, whose values are passed + /// into and/or out of a performance of the Behavior. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948010065_362066_20413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IBehavior.Parameter")] + public List parameter { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The object or value that is the result of evaluating the Function. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948912268_88159_21323", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] + [Implements(implementation: "IFunction.Result")] + public Guid result { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The Steps that make up this Behavior. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346067212_587255_17343", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IBehavior.Step")] + public List step { get; internal set; } + + /// + /// The parameter of this CaseDefinition that represents its subject. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189932946_106647_973", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "ICaseDefinition.SubjectParameter")] + public Guid subjectParameter { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Definition (not necessarily owned). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IDefinition.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Definition as a variation point Definition, if + /// isVariation = true. If isVariation = false, the there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IDefinition.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then + /// this must be all ownedMemberships of the Definition. If isVariation = false, then + /// variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IDefinition.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/CaseUsage.cs b/SysML2.NET/Core/AutoGenDto/CaseUsage.cs index 0c71d1de..a7a98695 100644 --- a/SysML2.NET/Core/AutoGenDto/CaseUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/CaseUsage.cs @@ -1,1176 +1,1180 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Cases -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Core.DTO.Systems.Calculations; - using SysML2.NET.Decorators; - - /// - /// A CaseUsage is a Usage of a CaseDefinition. - /// - [Class(xmiId: "_19_0_2_59601fc_1590256077623_424527_107", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class CaseUsage : ICaseUsage - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// The Behaviors that are the types of this ActionUsage. Nominally, these would be ActionDefinitions, - /// but other kinds of Kernel Behaviors are also allowed, to permit use of Behaviors from the Kernel - /// Model Libraries. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565500905804_589845_30779", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [RedefinedByProperty("ICalculationUsage.CalculationDefinition")] - [Implements(implementation: "IActionUsage.ActionDefinition")] - public List ActionDefinition { get; internal set; } - - /// - /// The parameters of this CaseUsage that represent actors involved in the case. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621464633171_380461_1655", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "ICaseUsage.ActorParameter")] - public List ActorParameter { get; internal set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Behaviors that type this Step. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IExpression.Function")] - [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } - - /// - /// The Function that is the type of this CalculationUsage. Nominally, this would be a - /// CalculationDefinition, but a kernel Function is also allowed, to permit use of Functions from the - /// Kernel Model Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588213526305_899324_302", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1543948477241_299049_20934")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1565500905804_589845_30779")] - [RedefinedByProperty("ICaseUsage.CaseDefinition")] - [Implements(implementation: "ICalculationUsage.CalculationDefinition")] - public Guid? CalculationDefinition { get; internal set; } - - /// - /// The CaseDefinition that is the type of this CaseUsage. - /// - [Property(xmiId: "_19_0_2_59601fc_1590257465225_855208_512", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1588213526305_899324_302")] - [Implements(implementation: "ICaseUsage.CaseDefinition")] - public Guid? CaseDefinition { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds - /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] - [Implements(implementation: "IUsage.Definition")] - public List Definition { get; internal set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IStep.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Usage that are directedFeatures. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Function that types this Expression. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - [RedefinedByProperty("ICalculationUsage.CalculationDefinition")] - [Implements(implementation: "IExpression.Function")] - public Guid? Function { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// The at most one occurrenceDefinition that has isIndividual = true. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public Guid? IndividualDefinition { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its - /// individualDefinition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceUsage.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, - /// using metadata within the model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool IsModelLevelEvaluable { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - public bool IsPortion { get; set; } - - /// - /// Whether this Usage is a referential Usage, that is, it has isComposite = false. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsReference")] - public bool IsReference { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [RedefinedByProperty("IUsage.MayTimeVary")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage - /// must be VariantMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its - /// owningType, rather than being featured by the owningType itself). However, if isConstant is also - /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance - /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary - /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is - /// inherited from Feature. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] - [Implements(implementation: "IUsage.MayTimeVary")] - public bool MayTimeVary { get; internal set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ActionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedAction")] - public List NestedAction { get; internal set; } - - /// - /// The AllocationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedAllocation")] - public List NestedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List NestedAnalysisCase { get; internal set; } - - /// - /// The code>AttributeUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedAttribute")] - public List NestedAttribute { get; internal set; } - - /// - /// The CalculationUsage that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedCalculation")] - public List NestedCalculation { get; internal set; } - - /// - /// The CaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] - [Implements(implementation: "IUsage.NestedCase")] - public List NestedCase { get; internal set; } - - /// - /// The ConcernUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedConcern")] - public List NestedConcern { get; internal set; } - - /// - /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are - /// ConnectorAsUsages even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedConnection")] - public List NestedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedConstraint")] - public List NestedConstraint { get; internal set; } - - /// - /// The code>EnumerationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] - [Implements(implementation: "IUsage.NestedEnumeration")] - public List NestedEnumeration { get; internal set; } - - /// - /// The code>FlowUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedFlow")] - public List NestedFlow { get; internal set; } - - /// - /// The InterfaceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedInterface")] - public List NestedInterface { get; internal set; } - - /// - /// The ItemUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedItem")] - public List NestedItem { get; internal set; } - - /// - /// The MetadataUsages that are nestedUsages of this of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedMetadata")] - public List NestedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedOccurrence")] - public List NestedOccurrence { get; internal set; } - - /// - /// The PartUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedPart")] - public List NestedPart { get; internal set; } - - /// - /// The PortUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedPort")] - public List NestedPort { get; internal set; } - - /// - /// The ReferenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedReference")] - public List NestedReference { get; internal set; } - - /// - /// The RenderingUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedRendering")] - public List NestedRendering { get; internal set; } - - /// - /// The RequirementUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] - [Implements(implementation: "IUsage.NestedRequirement")] - public List NestedRequirement { get; internal set; } - - /// - /// The StateUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedState")] - public List NestedState { get; internal set; } - - /// - /// The TransitionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedTransition")] - public List NestedTransition { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.NestedUsage")] - public List NestedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedUseCase")] - public List NestedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedVerificationCase")] - public List NestedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedView")] - public List NestedView { get; internal set; } - - /// - /// The ViewpointUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedViewpoint")] - public List NestedViewpoint { get; internal set; } - - /// - /// The RequirementUsage representing the objective of this CaseUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591138794257_404044_2145", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "ICaseUsage.ObjectiveRequirement")] - public Guid? ObjectiveRequirement { get; internal set; } - - /// - /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, - /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] - [RedefinedByProperty("IActionUsage.ActionDefinition")] - [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List OccurrenceDefinition { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The Definition that owns this Usage (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] - [Implements(implementation: "IUsage.OwningDefinition")] - public Guid? OwningDefinition { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The Usage in which this Usage is nested (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IUsage.OwningUsage")] - public Guid? OwningUsage { get; internal set; } - - /// - /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into - /// and/or out of a performance of the Step. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If - /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the - /// OccurrenceUsage represents portions of the featuring instance of the owningType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IOccurrenceUsage.PortionKind")] - public PortionKind? PortionKind { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// An output parameter of the Expression whose value is the result of the Expression. The result of an - /// Expression is either inherited from its function or it is related to the Expression via a - /// ReturnParameterMembership, in which case it redefines the result parameter of its function. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [Implements(implementation: "IExpression.Result")] - public Guid Result { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The parameter of this CaseUsage that represents its subject. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595190279083_51021_1128", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "ICaseUsage.SubjectParameter")] - public Guid SubjectParameter { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IUsage.Definition")] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Usage (not necessarily owned). - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IUsage.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = - /// true. If isVariation = false, then there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IUsage.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this - /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IUsage.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Cases +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Core.DTO.Systems.Calculations; + using SysML2.NET.Decorators; + + /// + /// A CaseUsage is a Usage of a CaseDefinition. + /// + [Class(xmiId: "_19_0_2_59601fc_1590256077623_424527_107", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class CaseUsage : ICaseUsage + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// The Behaviors that are the types of this ActionUsage. Nominally, these would be ActionDefinitions, + /// but other kinds of Kernel Behaviors are also allowed, to permit use of Behaviors from the Kernel + /// Model Libraries. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565500905804_589845_30779", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [RedefinedByProperty("ICalculationUsage.CalculationDefinition")] + [Implements(implementation: "IActionUsage.ActionDefinition")] + List Systems.Actions.IActionUsage.actionDefinition => throw new InvalidOperationException("Redefined by property ICalculationUsage.CalculationDefinition"); + + /// + /// The parameters of this CaseUsage that represent actors involved in the case. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621464633171_380461_1655", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "ICaseUsage.ActorParameter")] + public List actorParameter { get; internal set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Behaviors that type this Step. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IExpression.Function")] + [Implements(implementation: "IStep.Behavior")] + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); + + /// + /// The Function that is the type of this CalculationUsage. Nominally, this would be a + /// CalculationDefinition, but a kernel Function is also allowed, to permit use of Functions from the + /// Kernel Model Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588213526305_899324_302", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1543948477241_299049_20934")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1565500905804_589845_30779")] + [RedefinedByProperty("ICaseUsage.CaseDefinition")] + [Implements(implementation: "ICalculationUsage.CalculationDefinition")] + Guid? Systems.Calculations.ICalculationUsage.calculationDefinition => throw new InvalidOperationException("Redefined by property ICaseUsage.CaseDefinition"); + + /// + /// The CaseDefinition that is the type of this CaseUsage. + /// + [Property(xmiId: "_19_0_2_59601fc_1590257465225_855208_512", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1588213526305_899324_302")] + [Implements(implementation: "ICaseUsage.CaseDefinition")] + public Guid? caseDefinition { get; internal set; } + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds + /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] + [Implements(implementation: "IUsage.Definition")] + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IStep.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); + + /// + /// The usages of this Usage that are directedFeatures. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Function that types this Expression. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] + [RedefinedByProperty("ICalculationUsage.CalculationDefinition")] + [Implements(implementation: "IExpression.Function")] + Guid? Kernel.Functions.IExpression.function => throw new InvalidOperationException("Redefined by property ICalculationUsage.CalculationDefinition"); + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// The at most one occurrenceDefinition that has isIndividual = true. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] + public Guid? individualDefinition { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its + /// individualDefinition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceUsage.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, + /// using metadata within the model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IExpression.IsModelLevelEvaluable")] + public bool isModelLevelEvaluable { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + public bool IsPortion { get; set; } + + /// + /// Whether this Usage is a referential Usage, that is, it has isComposite = false. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsReference")] + public bool isReference { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [RedefinedByProperty("IUsage.MayTimeVary")] + [Implements(implementation: "IFeature.IsVariable")] + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } + + /// + /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage + /// must be VariantMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its + /// owningType, rather than being featured by the owningType itself). However, if isConstant is also + /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance + /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary + /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is + /// inherited from Feature. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] + [Implements(implementation: "IUsage.MayTimeVary")] + public bool mayTimeVary { get; internal set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ActionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedAction")] + public List nestedAction { get; internal set; } + + /// + /// The AllocationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedAllocation")] + public List nestedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedAnalysisCase")] + public List nestedAnalysisCase { get; internal set; } + + /// + /// The code>AttributeUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedAttribute")] + public List nestedAttribute { get; internal set; } + + /// + /// The CalculationUsage that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedCalculation")] + public List nestedCalculation { get; internal set; } + + /// + /// The CaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] + [Implements(implementation: "IUsage.NestedCase")] + public List nestedCase { get; internal set; } + + /// + /// The ConcernUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedConcern")] + public List nestedConcern { get; internal set; } + + /// + /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are + /// ConnectorAsUsages even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedConnection")] + public List nestedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedConstraint")] + public List nestedConstraint { get; internal set; } + + /// + /// The code>EnumerationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] + [Implements(implementation: "IUsage.NestedEnumeration")] + public List nestedEnumeration { get; internal set; } + + /// + /// The code>FlowUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedFlow")] + public List nestedFlow { get; internal set; } + + /// + /// The InterfaceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedInterface")] + public List nestedInterface { get; internal set; } + + /// + /// The ItemUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedItem")] + public List nestedItem { get; internal set; } + + /// + /// The MetadataUsages that are nestedUsages of this of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedMetadata")] + public List nestedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedOccurrence")] + public List nestedOccurrence { get; internal set; } + + /// + /// The PartUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedPart")] + public List nestedPart { get; internal set; } + + /// + /// The PortUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedPort")] + public List nestedPort { get; internal set; } + + /// + /// The ReferenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedReference")] + public List nestedReference { get; internal set; } + + /// + /// The RenderingUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedRendering")] + public List nestedRendering { get; internal set; } + + /// + /// The RequirementUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] + [Implements(implementation: "IUsage.NestedRequirement")] + public List nestedRequirement { get; internal set; } + + /// + /// The StateUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedState")] + public List nestedState { get; internal set; } + + /// + /// The TransitionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedTransition")] + public List nestedTransition { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.NestedUsage")] + public List nestedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedUseCase")] + public List nestedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedVerificationCase")] + public List nestedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedView")] + public List nestedView { get; internal set; } + + /// + /// The ViewpointUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedViewpoint")] + public List nestedViewpoint { get; internal set; } + + /// + /// The RequirementUsage representing the objective of this CaseUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591138794257_404044_2145", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "ICaseUsage.ObjectiveRequirement")] + public Guid? objectiveRequirement { get; internal set; } + + /// + /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, + /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] + [RedefinedByProperty("IActionUsage.ActionDefinition")] + [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] + List Systems.Occurrences.IOccurrenceUsage.occurrenceDefinition => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The Definition that owns this Usage (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] + [Implements(implementation: "IUsage.OwningDefinition")] + public Guid? owningDefinition { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The Usage in which this Usage is nested (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IUsage.OwningUsage")] + public Guid? owningUsage { get; internal set; } + + /// + /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into + /// and/or out of a performance of the Step. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IStep.Parameter")] + public List parameter { get; internal set; } + + /// + /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If + /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the + /// OccurrenceUsage represents portions of the featuring instance of the owningType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IOccurrenceUsage.PortionKind")] + public PortionKind? PortionKind { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// An output parameter of the Expression whose value is the result of the Expression. The result of an + /// Expression is either inherited from its function or it is related to the Expression via a + /// ReturnParameterMembership, in which case it redefines the result parameter of its function. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [Implements(implementation: "IExpression.Result")] + public Guid result { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The parameter of this CaseUsage that represents its subject. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595190279083_51021_1128", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "ICaseUsage.SubjectParameter")] + public Guid subjectParameter { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IUsage.Definition")] + [Implements(implementation: "IFeature.Type")] + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Usage (not necessarily owned). + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IUsage.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = + /// true. If isVariation = false, then there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IUsage.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this + /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IUsage.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/Class.cs b/SysML2.NET/Core/AutoGenDto/Class.cs index 9eb43ccc..cdb43440 100644 --- a/SysML2.NET/Core/AutoGenDto/Class.cs +++ b/SysML2.NET/Core/AutoGenDto/Class.cs @@ -1,502 +1,502 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Classes -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Core.Classifiers; - using SysML2.NET.Decorators; - - /// - /// A Class is a Classifier of things (in the universe) that can be distinguished without regard to how - /// they are related to other things (via Features). This means multiple things classified by the same - /// Class can be distinguished, even when they are related other things in exactly the same way. - /// - [Class(xmiId: "_18_5_3_12e503d9_1557527582956_258352_110280", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class Class : IClass - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - public bool IsAbstract { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier - /// is the subclassifier. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List OwnedSubclassification { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Classes +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Core.Classifiers; + using SysML2.NET.Decorators; + + /// + /// A Class is a Classifier of things (in the universe) that can be distinguished without regard to how + /// they are related to other things (via Features). This means multiple things classified by the same + /// Class can be distinguished, even when they are related other things in exactly the same way. + /// + [Class(xmiId: "_18_5_3_12e503d9_1557527582956_258352_110280", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class Class : IClass + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.DirectedFeature")] + public List directedFeature { get; internal set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + public bool IsAbstract { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier + /// is the subclassifier. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [Implements(implementation: "IClassifier.OwnedSubclassification")] + public List ownedSubclassification { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/Classifier.cs b/SysML2.NET/Core/AutoGenDto/Classifier.cs index 4876d1de..0e9001e1 100644 --- a/SysML2.NET/Core/AutoGenDto/Classifier.cs +++ b/SysML2.NET/Core/AutoGenDto/Classifier.cs @@ -1,505 +1,505 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Core.Classifiers -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Core.Types; - using SysML2.NET.Decorators; - - /// - /// A Classifier is a Type that classifies:
  • Things (in the universe) regardless of how Features - /// relate them. (These are interpreted semantically as sequences of exactly one thing.)
  • How - /// the above things are related by Features. (These are interpreted semantically as sequences of - /// multiple things, such that the last thing in the sequence is also classified by the Classifier. Note - /// that this means that a Classifier modeled as specializing a Feature cannot classify - /// anything.)
- ///
- [Class(xmiId: "_18_5_3_12e503d9_1533160651676_375105_42143", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class Classifier : IClassifier - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - public bool IsAbstract { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier - /// is the subclassifier. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List OwnedSubclassification { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Core.Classifiers +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Core.Types; + using SysML2.NET.Decorators; + + /// + /// A Classifier is a Type that classifies:
  • Things (in the universe) regardless of how Features + /// relate them. (These are interpreted semantically as sequences of exactly one thing.)
  • How + /// the above things are related by Features. (These are interpreted semantically as sequences of + /// multiple things, such that the last thing in the sequence is also classified by the Classifier. Note + /// that this means that a Classifier modeled as specializing a Feature cannot classify + /// anything.)
+ ///
+ [Class(xmiId: "_18_5_3_12e503d9_1533160651676_375105_42143", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class Classifier : IClassifier + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.DirectedFeature")] + public List directedFeature { get; internal set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + public bool IsAbstract { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier + /// is the subclassifier. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [Implements(implementation: "IClassifier.OwnedSubclassification")] + public List ownedSubclassification { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/CollectExpression.cs b/SysML2.NET/Core/AutoGenDto/CollectExpression.cs index f046e655..45db3465 100644 --- a/SysML2.NET/Core/AutoGenDto/CollectExpression.cs +++ b/SysML2.NET/Core/AutoGenDto/CollectExpression.cs @@ -1,802 +1,806 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Expressions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Decorators; - - /// - /// A CollectExpression is an OperatorExpression whose operator is "collect", which resolves to the - /// Function ControlFunctions::collect from the Kernel Functions Library. - /// - [Class(xmiId: "_18_5_3_12e503d9_1559596612705_364896_29003", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class CollectExpression : ICollectExpression - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Expressions whose results are bound to features of the instantiatedType. The arguments are - /// ordered consistent with the order of the features, though they may not be one-to-one with all the - /// features.Note. The derivation of argument is given in the concrete subclasses of - /// InstantiationExpression. - /// - [Property(xmiId: "_2022x_2_12e503d9_1739134437590_328753_108", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IInstantiationExpression.Argument")] - public List Argument { get; internal set; } - - /// - /// The Behaviors that type this Step. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IExpression.Function")] - [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IStep.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Function that types this Expression. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - [Implements(implementation: "IExpression.Function")] - public Guid? Function { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The Type that is being instantiated. - /// - [Property(xmiId: "_2022x_2_12e503d9_1739134352572_416088_80", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IInstantiationExpression.InstantiatedType")] - public Guid InstantiatedType { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, - /// using metadata within the model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool IsModelLevelEvaluable { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// - [Property(xmiId: "_18_5_3_12e503d9_1559596670531_992404_29068", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "collect")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1557528808100_646606_111674")] - [Implements(implementation: "ICollectExpression.Operator")] - string ICollectExpression.Operator { get; set; } = "collect"; - - /// - /// An operator symbol that names a corresponding Function from one of the standard packages from the - /// Kernel Function Library . - /// - [Property(xmiId: "_18_5_3_12e503d9_1557528808100_646606_111674", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("ICollectExpression.Operator")] - [Implements(implementation: "IOperatorExpression.Operator")] - string IOperatorExpression.Operator { get; set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into - /// and/or out of a performance of the Step. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// An output parameter of the Expression whose value is the result of the Expression. The result of an - /// Expression is either inherited from its function or it is related to the Expression via a - /// ReturnParameterMembership, in which case it redefines the result parameter of its function. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [Implements(implementation: "IExpression.Result")] - public Guid Result { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Expressions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Decorators; + + /// + /// A CollectExpression is an OperatorExpression whose operator is "collect", which resolves to the + /// Function ControlFunctions::collect from the Kernel Functions Library. + /// + [Class(xmiId: "_18_5_3_12e503d9_1559596612705_364896_29003", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class CollectExpression : ICollectExpression + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Expressions whose results are bound to features of the instantiatedType. The arguments are + /// ordered consistent with the order of the features, though they may not be one-to-one with all the + /// features.Note. The derivation of argument is given in the concrete subclasses of + /// InstantiationExpression. + /// + [Property(xmiId: "_2022x_2_12e503d9_1739134437590_328753_108", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IInstantiationExpression.Argument")] + public List argument { get; internal set; } + + /// + /// The Behaviors that type this Step. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IExpression.Function")] + [Implements(implementation: "IStep.Behavior")] + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IStep.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Function that types this Expression. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] + [Implements(implementation: "IExpression.Function")] + public Guid? function { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The Type that is being instantiated. + /// + [Property(xmiId: "_2022x_2_12e503d9_1739134352572_416088_80", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IInstantiationExpression.InstantiatedType")] + public Guid instantiatedType { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, + /// using metadata within the model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IExpression.IsModelLevelEvaluable")] + public bool isModelLevelEvaluable { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsVariable")] + public bool IsVariable { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// + [Property(xmiId: "_18_5_3_12e503d9_1559596670531_992404_29068", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "collect")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1557528808100_646606_111674")] + [Implements(implementation: "ICollectExpression.Operator")] + public string Operator { get; set; } = "collect"; + + /// + /// An operator symbol that names a corresponding Function from one of the standard packages from the + /// Kernel Function Library . + /// + [Property(xmiId: "_18_5_3_12e503d9_1557528808100_646606_111674", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("ICollectExpression.Operator")] + [Implements(implementation: "IOperatorExpression.Operator")] + string IOperatorExpression.Operator + { + get => throw new InvalidOperationException("Redefined by property ICollectExpression.Operator"); + set => throw new InvalidOperationException("Redefined by property ICollectExpression.Operator"); + } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into + /// and/or out of a performance of the Step. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IStep.Parameter")] + public List parameter { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// An output parameter of the Expression whose value is the result of the Expression. The result of an + /// Expression is either inherited from its function or it is related to the Expression via a + /// ReturnParameterMembership, in which case it redefines the result parameter of its function. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [Implements(implementation: "IExpression.Result")] + public Guid result { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Type")] + public List type { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/Comment.cs b/SysML2.NET/Core/AutoGenDto/Comment.cs index b52a21fe..e7190ddc 100644 --- a/SysML2.NET/Core/AutoGenDto/Comment.cs +++ b/SysML2.NET/Core/AutoGenDto/Comment.cs @@ -1,265 +1,265 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Root.Annotations -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Decorators; - - /// - /// A Comment is an AnnotatingElement whose body in some way describes its annotatedElements. - /// - [Class(xmiId: "_18_5_3_12e503d9_1533160651696_959404_42181", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class Comment : IComment - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Elements that are annotated by this AnnotatingElement. If annotation is not empty, these are the - /// annotatedElements of the annotations. If annotation is empty, then it is the owningNamespace of the - /// AnnotatingElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594145755058_99428_86", aggregation: AggregationKind.None, lowerValue: 1, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IAnnotatingElement.AnnotatedElement")] - public List AnnotatedElement { get; internal set; } - - /// - /// The Annotations that relate this AnnotatingElement to its annotatedElements. This includes the - /// owningAnnotatingRelationship (if any) followed by all the ownedAnnotatingRelationshps. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543094212714_953084_18407", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IAnnotatingElement.Annotation")] - public List Annotation { get; internal set; } - - /// - /// The annotation text for the Comment. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674981_840045_43277", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IComment.Body")] - public string Body { get; set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Identification of the language of the body text and, optionally, the region and/or encoding. The - /// format shall be a POSIX locale conformant to ISO/IEC 15897, with the format - /// [language[_territory][.codeset][@modifier]]. - /// - [Property(xmiId: "_19_0_4_12e503d9_1647722682836_708148_649", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IComment.Locale")] - public string Locale { get; set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ownedRelationships of this AnnotatingElement that are Annotations, for which this - /// AnnotatingElement is the annotatingElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1703019570915_375100_18", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IAnnotatingElement.OwnedAnnotatingRelationship")] - public List OwnedAnnotatingRelationship { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this AnnotatingRelationship, if it is an Annotation - /// - [Property(xmiId: "_2022x_2_12e503d9_1735188506571_308678_376", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] - [Implements(implementation: "IAnnotatingElement.OwningAnnotatingRelationship")] - public Guid? OwningAnnotatingRelationship { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Root.Annotations +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Decorators; + + /// + /// A Comment is an AnnotatingElement whose body in some way describes its annotatedElements. + /// + [Class(xmiId: "_18_5_3_12e503d9_1533160651696_959404_42181", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class Comment : IComment + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Elements that are annotated by this AnnotatingElement. If annotation is not empty, these are the + /// annotatedElements of the annotations. If annotation is empty, then it is the owningNamespace of the + /// AnnotatingElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594145755058_99428_86", aggregation: AggregationKind.None, lowerValue: 1, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IAnnotatingElement.AnnotatedElement")] + public List annotatedElement { get; internal set; } + + /// + /// The Annotations that relate this AnnotatingElement to its annotatedElements. This includes the + /// owningAnnotatingRelationship (if any) followed by all the ownedAnnotatingRelationshps. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543094212714_953084_18407", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IAnnotatingElement.Annotation")] + public List annotation { get; internal set; } + + /// + /// The annotation text for the Comment. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674981_840045_43277", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IComment.Body")] + public string Body { get; set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Identification of the language of the body text and, optionally, the region and/or encoding. The + /// format shall be a POSIX locale conformant to ISO/IEC 15897, with the format + /// [language[_territory][.codeset][@modifier]]. + /// + [Property(xmiId: "_19_0_4_12e503d9_1647722682836_708148_649", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IComment.Locale")] + public string Locale { get; set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ownedRelationships of this AnnotatingElement that are Annotations, for which this + /// AnnotatingElement is the annotatingElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1703019570915_375100_18", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IAnnotatingElement.OwnedAnnotatingRelationship")] + public List ownedAnnotatingRelationship { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this AnnotatingRelationship, if it is an Annotation + /// + [Property(xmiId: "_2022x_2_12e503d9_1735188506571_308678_376", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] + [Implements(implementation: "IAnnotatingElement.OwningAnnotatingRelationship")] + public Guid? owningAnnotatingRelationship { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ConcernDefinition.cs b/SysML2.NET/Core/AutoGenDto/ConcernDefinition.cs index 5c5212e3..27752a8c 100644 --- a/SysML2.NET/Core/AutoGenDto/ConcernDefinition.cs +++ b/SysML2.NET/Core/AutoGenDto/ConcernDefinition.cs @@ -1,892 +1,896 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Requirements -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Decorators; - - /// - /// A ConcernDefinition is a RequirementDefinition that one or more stakeholders may be interested in - /// having addressed. These stakeholders are identified by the ownedStakeholdersof the - /// ConcernDefinition. - /// - [Class(xmiId: "_19_0_4_12e503d9_1617051538049_980762_1225", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class ConcernDefinition : IConcernDefinition - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// The parameters of this RequirementDefinition that represent actors involved in the requirement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621564041941_652319_2722", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IRequirementDefinition.ActorParameter")] - public List ActorParameter { get; internal set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The owned ConstraintUsages that represent assumptions of this RequirementDefinition, which are the - /// ownedConstraints of the RequirementConstraintMemberships of the RequirementDefinition with kind = - /// assumption. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583376806647_629021_133", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IRequirementDefinition.AssumedConstraint")] - public List AssumedConstraint { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IRequirementDefinition.ReqId")] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IBehavior.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Definition that are directedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565495064714_974634_26150", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IDefinition.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Expressions that are steps in the calculation of the result of this Function. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948400639_301251_20841", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] - [Implements(implementation: "IFunction.Expression")] - public List Expression { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The ConcernUsages framed by this RequirementDefinition, which are the ownedConcerns of all - /// FramedConcernMemberships of the RequirementDefinition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617116733499_587735_3242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583376932997_792124_158")] - [Implements(implementation: "IRequirementDefinition.FramedConcern")] - public List FramedConcern { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - public bool IsAbstract { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceDefinition is constrained to represent at most one thing. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618955405499_394357_6740", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceDefinition.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether this Function can be used as the function of a model-level evaluable InvocationExpression. - /// Certain Functions from the Kernel Functions Library are considered to have isModelLevelEvaluable = - /// true. For all other Functions it is false.Note: See the specification of the KerML - /// concrete syntax notation for Expressions for an identification of which library Functions are - /// model-level evaluable. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617395221463_139517_26381", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFunction.IsModelLevelEvaluable")] - public bool IsModelLevelEvaluable { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IDefinition.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ActionUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedAction")] - public List OwnedAction { get; internal set; } - - /// - /// The AllocationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedAllocation")] - public List OwnedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List OwnedAnalysisCase { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The AttributeUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedAttribute")] - public List OwnedAttribute { get; internal set; } - - /// - /// The CalculationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - [Implements(implementation: "IDefinition.OwnedCalculation")] - public List OwnedCalculation { get; internal set; } - - /// - /// The code>CaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] - [Implements(implementation: "IDefinition.OwnedCase")] - public List OwnedCase { get; internal set; } - - /// - /// The ConcernUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - [Implements(implementation: "IDefinition.OwnedConcern")] - public List OwnedConcern { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowUsages because these are ConnectorAsUsages - /// even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedConnection")] - public List OwnedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedConstraint")] - public List OwnedConstraint { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The EnumerationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] - [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List OwnedEnumeration { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The FlowUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedFlow")] - public List OwnedFlow { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The InterfaceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedInterface")] - public List OwnedInterface { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The ItemUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedItem")] - public List OwnedItem { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The MetadataUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - [Implements(implementation: "IDefinition.OwnedMetadata")] - public List OwnedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List OwnedOccurrence { get; internal set; } - - /// - /// The PartUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - [Implements(implementation: "IDefinition.OwnedPart")] - public List OwnedPart { get; internal set; } - - /// - /// The PortUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedPort")] - public List OwnedPort { get; internal set; } - - /// - /// The ReferenceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedReference")] - public List OwnedReference { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The RenderingUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - [Implements(implementation: "IDefinition.OwnedRendering")] - public List OwnedRendering { get; internal set; } - - /// - /// The RequirementUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] - [Implements(implementation: "IDefinition.OwnedRequirement")] - public List OwnedRequirement { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The StateUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - [Implements(implementation: "IDefinition.OwnedState")] - public List OwnedState { get; internal set; } - - /// - /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier - /// is the subclassifier. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List OwnedSubclassification { get; internal set; } - - /// - /// The TransitionUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedTransition")] - public List OwnedTransition { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Definition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686637_967933_23236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IDefinition.OwnedUsage")] - public List OwnedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedUseCase")] - public List OwnedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List OwnedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - [Implements(implementation: "IDefinition.OwnedView")] - public List OwnedView { get; internal set; } - - /// - /// The ViewpointUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List OwnedViewpoint { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The parameters of this Behavior, which are defined as its directedFeatures, whose values are passed - /// into and/or out of a performance of the Behavior. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948010065_362066_20413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IBehavior.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// An optional modeler-specified identifier for this RequirementDefinition (used, e.g., to link it to - /// an original requirement text in some source document), which is the declaredShortName for the - /// RequirementDefinition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583376411386_270321_92", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1594160442439_915308_4153")] - [Implements(implementation: "IRequirementDefinition.ReqId")] - public string ReqId { get; set; } - - /// - /// The owned ConstraintUsages that represent requirements of this RequirementDefinition, derived as the - /// ownedConstraints of the RequirementConstraintMemberships of the RequirementDefinition with kind = - /// requirement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583376932997_792124_158", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IRequirementDefinition.RequiredConstraint")] - public List RequiredConstraint { get; internal set; } - - /// - /// The object or value that is the result of evaluating the Function. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948912268_88159_21323", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] - [Implements(implementation: "IFunction.Result")] - public Guid Result { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The parameters of this RequirementDefinition that represent stakeholders for th requirement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624033010374_29375_40166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IRequirementDefinition.StakeholderParameter")] - public List StakeholderParameter { get; internal set; } - - /// - /// The Steps that make up this Behavior. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346067212_587255_17343", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IBehavior.Step")] - public List Step { get; internal set; } - - /// - /// The parameter of this RequirementDefinition that represents its subject. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189007408_784255_586", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IRequirementDefinition.SubjectParameter")] - public Guid SubjectParameter { get; internal set; } - - /// - /// An optional textual statement of the requirement represented by this RequirementDefinition, derived - /// from the bodies of the documentation of the RequirementDefinition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583376433122_189839_94", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IRequirementDefinition.Text")] - public List Text { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Definition (not necessarily owned). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IDefinition.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Definition as a variation point Definition, if - /// isVariation = true. If isVariation = false, the there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IDefinition.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then - /// this must be all ownedMemberships of the Definition. If isVariation = false, then - /// variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IDefinition.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Requirements +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Decorators; + + /// + /// A ConcernDefinition is a RequirementDefinition that one or more stakeholders may be interested in + /// having addressed. These stakeholders are identified by the ownedStakeholdersof the + /// ConcernDefinition. + /// + [Class(xmiId: "_19_0_4_12e503d9_1617051538049_980762_1225", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class ConcernDefinition : IConcernDefinition + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// The parameters of this RequirementDefinition that represent actors involved in the requirement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621564041941_652319_2722", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IRequirementDefinition.ActorParameter")] + public List actorParameter { get; internal set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The owned ConstraintUsages that represent assumptions of this RequirementDefinition, which are the + /// ownedConstraints of the RequirementConstraintMemberships of the RequirementDefinition with kind = + /// assumption. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583376806647_629021_133", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IRequirementDefinition.AssumedConstraint")] + public List assumedConstraint { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IRequirementDefinition.ReqId")] + [Implements(implementation: "IElement.DeclaredShortName")] + string Root.Elements.IElement.DeclaredShortName + { + get => throw new InvalidOperationException("Redefined by property IRequirementDefinition.ReqId"); + set => throw new InvalidOperationException("Redefined by property IRequirementDefinition.ReqId"); + } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IBehavior.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IBehavior.Parameter"); + + /// + /// The usages of this Definition that are directedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565495064714_974634_26150", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IDefinition.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Expressions that are steps in the calculation of the result of this Function. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948400639_301251_20841", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] + [Implements(implementation: "IFunction.Expression")] + public List expression { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The ConcernUsages framed by this RequirementDefinition, which are the ownedConcerns of all + /// FramedConcernMemberships of the RequirementDefinition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617116733499_587735_3242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583376932997_792124_158")] + [Implements(implementation: "IRequirementDefinition.FramedConcern")] + public List framedConcern { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + public bool IsAbstract { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceDefinition is constrained to represent at most one thing. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618955405499_394357_6740", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceDefinition.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether this Function can be used as the function of a model-level evaluable InvocationExpression. + /// Certain Functions from the Kernel Functions Library are considered to have isModelLevelEvaluable = + /// true. For all other Functions it is false.Note: See the specification of the KerML + /// concrete syntax notation for Expressions for an identification of which library Functions are + /// model-level evaluable. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617395221463_139517_26381", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFunction.IsModelLevelEvaluable")] + public bool isModelLevelEvaluable { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IDefinition.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ActionUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedAction")] + public List ownedAction { get; internal set; } + + /// + /// The AllocationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedAllocation")] + public List ownedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedAnalysisCase")] + public List ownedAnalysisCase { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The AttributeUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedAttribute")] + public List ownedAttribute { get; internal set; } + + /// + /// The CalculationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] + [Implements(implementation: "IDefinition.OwnedCalculation")] + public List ownedCalculation { get; internal set; } + + /// + /// The code>CaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] + [Implements(implementation: "IDefinition.OwnedCase")] + public List ownedCase { get; internal set; } + + /// + /// The ConcernUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + [Implements(implementation: "IDefinition.OwnedConcern")] + public List ownedConcern { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowUsages because these are ConnectorAsUsages + /// even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedConnection")] + public List ownedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedConstraint")] + public List ownedConstraint { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The EnumerationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] + [Implements(implementation: "IDefinition.OwnedEnumeration")] + public List ownedEnumeration { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The FlowUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedFlow")] + public List ownedFlow { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The InterfaceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedInterface")] + public List ownedInterface { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The ItemUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedItem")] + public List ownedItem { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The MetadataUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] + [Implements(implementation: "IDefinition.OwnedMetadata")] + public List ownedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedOccurrence")] + public List ownedOccurrence { get; internal set; } + + /// + /// The PartUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] + [Implements(implementation: "IDefinition.OwnedPart")] + public List ownedPart { get; internal set; } + + /// + /// The PortUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedPort")] + public List ownedPort { get; internal set; } + + /// + /// The ReferenceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedReference")] + public List ownedReference { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The RenderingUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] + [Implements(implementation: "IDefinition.OwnedRendering")] + public List ownedRendering { get; internal set; } + + /// + /// The RequirementUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] + [Implements(implementation: "IDefinition.OwnedRequirement")] + public List ownedRequirement { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The StateUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] + [Implements(implementation: "IDefinition.OwnedState")] + public List ownedState { get; internal set; } + + /// + /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier + /// is the subclassifier. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [Implements(implementation: "IClassifier.OwnedSubclassification")] + public List ownedSubclassification { get; internal set; } + + /// + /// The TransitionUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedTransition")] + public List ownedTransition { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Definition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686637_967933_23236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IDefinition.OwnedUsage")] + public List ownedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedUseCase")] + public List ownedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedVerificationCase")] + public List ownedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] + [Implements(implementation: "IDefinition.OwnedView")] + public List ownedView { get; internal set; } + + /// + /// The ViewpointUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + [Implements(implementation: "IDefinition.OwnedViewpoint")] + public List ownedViewpoint { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The parameters of this Behavior, which are defined as its directedFeatures, whose values are passed + /// into and/or out of a performance of the Behavior. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948010065_362066_20413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IBehavior.Parameter")] + public List parameter { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// An optional modeler-specified identifier for this RequirementDefinition (used, e.g., to link it to + /// an original requirement text in some source document), which is the declaredShortName for the + /// RequirementDefinition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583376411386_270321_92", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1594160442439_915308_4153")] + [Implements(implementation: "IRequirementDefinition.ReqId")] + public string ReqId { get; set; } + + /// + /// The owned ConstraintUsages that represent requirements of this RequirementDefinition, derived as the + /// ownedConstraints of the RequirementConstraintMemberships of the RequirementDefinition with kind = + /// requirement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583376932997_792124_158", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IRequirementDefinition.RequiredConstraint")] + public List requiredConstraint { get; internal set; } + + /// + /// The object or value that is the result of evaluating the Function. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948912268_88159_21323", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] + [Implements(implementation: "IFunction.Result")] + public Guid result { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The parameters of this RequirementDefinition that represent stakeholders for th requirement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624033010374_29375_40166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IRequirementDefinition.StakeholderParameter")] + public List stakeholderParameter { get; internal set; } + + /// + /// The Steps that make up this Behavior. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346067212_587255_17343", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IBehavior.Step")] + public List step { get; internal set; } + + /// + /// The parameter of this RequirementDefinition that represents its subject. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189007408_784255_586", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IRequirementDefinition.SubjectParameter")] + public Guid subjectParameter { get; internal set; } + + /// + /// An optional textual statement of the requirement represented by this RequirementDefinition, derived + /// from the bodies of the documentation of the RequirementDefinition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583376433122_189839_94", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IRequirementDefinition.Text")] + public List text { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Definition (not necessarily owned). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IDefinition.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Definition as a variation point Definition, if + /// isVariation = true. If isVariation = false, the there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IDefinition.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then + /// this must be all ownedMemberships of the Definition. If isVariation = false, then + /// variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IDefinition.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ConcernUsage.cs b/SysML2.NET/Core/AutoGenDto/ConcernUsage.cs index aa13779d..a1ea8fb0 100644 --- a/SysML2.NET/Core/AutoGenDto/ConcernUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/ConcernUsage.cs @@ -1,1231 +1,1239 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Requirements -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Decorators; - - /// - /// A ConcernUsage is a Usage of a ConcernDefinition. The ownedStakeholder features of the ConcernUsage - /// shall all subset the ConcernCheck::concernedStakeholders feature. If the ConcernUsage is an - /// ownedFeature of a StakeholderDefinition or StakeholderUsage, then the ConcernUsage shall have an - /// ownedStakeholder feature that is bound to the self feature of its owner. - /// - [Class(xmiId: "_19_0_4_12e503d9_1617051561652_163085_1288", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class ConcernUsage : IConcernUsage - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// The parameters of this RequirementUsage that represent actors involved in the requirement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621564075474_350859_2735", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IRequirementUsage.ActorParameter")] - public List ActorParameter { get; internal set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The owned ConstraintUsages that represent assumptions of this RequirementUsage, derived as the - /// ownedConstraints of the RequirementConstraintMemberships of the RequirementUsage with kind = - /// assumption. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583377612865_991722_535", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IRequirementUsage.AssumedConstraint")] - public List AssumedConstraint { get; internal set; } - - /// - /// The Behaviors that type this Step. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IExpression.Function")] - [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The ConcernDefinition that is the single type of this ConcernUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617052514912_780627_2256", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1583000408905_769743_1223")] - [Implements(implementation: "IConcernUsage.ConcernDefinition")] - public Guid? ConcernDefinition { get; internal set; } - - /// - /// The (single) Predicate that is the type of this ConstraintUsage. Nominally, this will be a - /// ConstraintDefinition, but other kinds of Predicates are also allowed, to permit use of Predicates - /// from the Kernel Model Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578067546711_751168_1745", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1578025035149_386_969")] - [RedefinedByProperty("IRequirementUsage.RequirementDefinition")] - [Implements(implementation: "IConstraintUsage.ConstraintDefinition")] - public Guid? ConstraintDefinition { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IRequirementUsage.ReqId")] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds - /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] - [Implements(implementation: "IUsage.Definition")] - public List Definition { get; internal set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IStep.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Usage that are directedFeatures. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The ConcernUsages framed by this RequirementUsage, which are the ownedConcerns of all - /// FramedConcernMemberships of the RequirementUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617116922864_514612_3264", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583377448339_252740_390")] - [Implements(implementation: "IRequirementUsage.FramedConcern")] - public List FramedConcern { get; internal set; } - - /// - /// The Function that types this Expression. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - [RedefinedByProperty("IBooleanExpression.Predicate")] - [Implements(implementation: "IExpression.Function")] - public Guid? Function { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// The at most one occurrenceDefinition that has isIndividual = true. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public Guid? IndividualDefinition { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its - /// individualDefinition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceUsage.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, - /// using metadata within the model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool IsModelLevelEvaluable { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - public bool IsPortion { get; set; } - - /// - /// Whether this Usage is a referential Usage, that is, it has isComposite = false. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsReference")] - public bool IsReference { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [RedefinedByProperty("IUsage.MayTimeVary")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage - /// must be VariantMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its - /// owningType, rather than being featured by the owningType itself). However, if isConstant is also - /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance - /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary - /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is - /// inherited from Feature. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] - [Implements(implementation: "IUsage.MayTimeVary")] - public bool MayTimeVary { get; internal set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ActionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedAction")] - public List NestedAction { get; internal set; } - - /// - /// The AllocationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedAllocation")] - public List NestedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List NestedAnalysisCase { get; internal set; } - - /// - /// The code>AttributeUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedAttribute")] - public List NestedAttribute { get; internal set; } - - /// - /// The CalculationUsage that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedCalculation")] - public List NestedCalculation { get; internal set; } - - /// - /// The CaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] - [Implements(implementation: "IUsage.NestedCase")] - public List NestedCase { get; internal set; } - - /// - /// The ConcernUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedConcern")] - public List NestedConcern { get; internal set; } - - /// - /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are - /// ConnectorAsUsages even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedConnection")] - public List NestedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedConstraint")] - public List NestedConstraint { get; internal set; } - - /// - /// The code>EnumerationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] - [Implements(implementation: "IUsage.NestedEnumeration")] - public List NestedEnumeration { get; internal set; } - - /// - /// The code>FlowUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedFlow")] - public List NestedFlow { get; internal set; } - - /// - /// The InterfaceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedInterface")] - public List NestedInterface { get; internal set; } - - /// - /// The ItemUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedItem")] - public List NestedItem { get; internal set; } - - /// - /// The MetadataUsages that are nestedUsages of this of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedMetadata")] - public List NestedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedOccurrence")] - public List NestedOccurrence { get; internal set; } - - /// - /// The PartUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedPart")] - public List NestedPart { get; internal set; } - - /// - /// The PortUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedPort")] - public List NestedPort { get; internal set; } - - /// - /// The ReferenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedReference")] - public List NestedReference { get; internal set; } - - /// - /// The RenderingUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedRendering")] - public List NestedRendering { get; internal set; } - - /// - /// The RequirementUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] - [Implements(implementation: "IUsage.NestedRequirement")] - public List NestedRequirement { get; internal set; } - - /// - /// The StateUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedState")] - public List NestedState { get; internal set; } - - /// - /// The TransitionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedTransition")] - public List NestedTransition { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.NestedUsage")] - public List NestedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedUseCase")] - public List NestedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedVerificationCase")] - public List NestedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedView")] - public List NestedView { get; internal set; } - - /// - /// The ViewpointUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedViewpoint")] - public List NestedViewpoint { get; internal set; } - - /// - /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, - /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] - [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List OccurrenceDefinition { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The Definition that owns this Usage (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] - [Implements(implementation: "IUsage.OwningDefinition")] - public Guid? OwningDefinition { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The Usage in which this Usage is nested (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IUsage.OwningUsage")] - public Guid? OwningUsage { get; internal set; } - - /// - /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into - /// and/or out of a performance of the Step. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If - /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the - /// OccurrenceUsage represents portions of the featuring instance of the owningType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IOccurrenceUsage.PortionKind")] - public PortionKind? PortionKind { get; set; } - - /// - /// The Predicate that types the Expression. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578025035149_386_969", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1543948477241_299049_20934")] - [RedefinedByProperty("IConstraintUsage.ConstraintDefinition")] - [Implements(implementation: "IBooleanExpression.Predicate")] - public Guid? Predicate { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// An optional modeler-specified identifier for this RequirementUsage (used, e.g., to link it to an - /// original requirement text in some source document), which is the declaredShortName for the - /// RequirementUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583376474630_975784_96", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1594160442439_915308_4153")] - [Implements(implementation: "IRequirementUsage.ReqId")] - public string ReqId { get; set; } - - /// - /// The owned ConstraintUsages that represent requirements of this RequirementUsage, which are the - /// ownedConstraints of the RequirementConstraintMemberships of the RequirementUsage with kind = - /// requirement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583377448339_252740_390", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IRequirementUsage.RequiredConstraint")] - public List RequiredConstraint { get; internal set; } - - /// - /// The RequirementDefinition that is the single definition of this RequirementUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000408905_769743_1223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1578067546711_751168_1745")] - [RedefinedByProperty("IConcernUsage.ConcernDefinition")] - [Implements(implementation: "IRequirementUsage.RequirementDefinition")] - public Guid? RequirementDefinition { get; internal set; } - - /// - /// An output parameter of the Expression whose value is the result of the Expression. The result of an - /// Expression is either inherited from its function or it is related to the Expression via a - /// ReturnParameterMembership, in which case it redefines the result parameter of its function. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [Implements(implementation: "IExpression.Result")] - public Guid Result { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The parameters of this RequirementUsage that represent stakeholders for the requirement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624032823963_328647_40107", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IRequirementUsage.StakeholderParameter")] - public List StakeholderParameter { get; internal set; } - - /// - /// The parameter of this RequirementUsage that represents its subject. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189397261_941898_844", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IRequirementUsage.SubjectParameter")] - public Guid SubjectParameter { get; internal set; } - - /// - /// An optional textual statement of the requirement represented by this RequirementUsage, derived from - /// the bodies of the documentation of the RequirementUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583376480942_745679_99", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IRequirementUsage.Text")] - public List Text { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IUsage.Definition")] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Usage (not necessarily owned). - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IUsage.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = - /// true. If isVariation = false, then there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IUsage.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this - /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IUsage.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Requirements +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Decorators; + + /// + /// A ConcernUsage is a Usage of a ConcernDefinition. The ownedStakeholder features of the ConcernUsage + /// shall all subset the ConcernCheck::concernedStakeholders feature. If the ConcernUsage is an + /// ownedFeature of a StakeholderDefinition or StakeholderUsage, then the ConcernUsage shall have an + /// ownedStakeholder feature that is bound to the self feature of its owner. + /// + [Class(xmiId: "_19_0_4_12e503d9_1617051561652_163085_1288", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class ConcernUsage : IConcernUsage + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// The parameters of this RequirementUsage that represent actors involved in the requirement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621564075474_350859_2735", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IRequirementUsage.ActorParameter")] + public List actorParameter { get; internal set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The owned ConstraintUsages that represent assumptions of this RequirementUsage, derived as the + /// ownedConstraints of the RequirementConstraintMemberships of the RequirementUsage with kind = + /// assumption. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583377612865_991722_535", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IRequirementUsage.AssumedConstraint")] + public List assumedConstraint { get; internal set; } + + /// + /// The Behaviors that type this Step. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IExpression.Function")] + [Implements(implementation: "IStep.Behavior")] + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The ConcernDefinition that is the single type of this ConcernUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617052514912_780627_2256", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1583000408905_769743_1223")] + [Implements(implementation: "IConcernUsage.ConcernDefinition")] + public Guid? concernDefinition { get; internal set; } + + /// + /// The (single) Predicate that is the type of this ConstraintUsage. Nominally, this will be a + /// ConstraintDefinition, but other kinds of Predicates are also allowed, to permit use of Predicates + /// from the Kernel Model Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578067546711_751168_1745", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1578025035149_386_969")] + [RedefinedByProperty("IRequirementUsage.RequirementDefinition")] + [Implements(implementation: "IConstraintUsage.ConstraintDefinition")] + Guid? Systems.Constraints.IConstraintUsage.constraintDefinition => throw new InvalidOperationException("Redefined by property IRequirementUsage.RequirementDefinition"); + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IRequirementUsage.ReqId")] + [Implements(implementation: "IElement.DeclaredShortName")] + string Root.Elements.IElement.DeclaredShortName + { + get => throw new InvalidOperationException("Redefined by property IRequirementUsage.ReqId"); + set => throw new InvalidOperationException("Redefined by property IRequirementUsage.ReqId"); + } + + /// + /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds + /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] + [Implements(implementation: "IUsage.Definition")] + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IStep.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); + + /// + /// The usages of this Usage that are directedFeatures. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The ConcernUsages framed by this RequirementUsage, which are the ownedConcerns of all + /// FramedConcernMemberships of the RequirementUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617116922864_514612_3264", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583377448339_252740_390")] + [Implements(implementation: "IRequirementUsage.FramedConcern")] + public List framedConcern { get; internal set; } + + /// + /// The Function that types this Expression. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] + [RedefinedByProperty("IBooleanExpression.Predicate")] + [Implements(implementation: "IExpression.Function")] + Guid? Kernel.Functions.IExpression.function => throw new InvalidOperationException("Redefined by property IBooleanExpression.Predicate"); + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// The at most one occurrenceDefinition that has isIndividual = true. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] + public Guid? individualDefinition { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its + /// individualDefinition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceUsage.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, + /// using metadata within the model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IExpression.IsModelLevelEvaluable")] + public bool isModelLevelEvaluable { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + public bool IsPortion { get; set; } + + /// + /// Whether this Usage is a referential Usage, that is, it has isComposite = false. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsReference")] + public bool isReference { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [RedefinedByProperty("IUsage.MayTimeVary")] + [Implements(implementation: "IFeature.IsVariable")] + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } + + /// + /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage + /// must be VariantMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its + /// owningType, rather than being featured by the owningType itself). However, if isConstant is also + /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance + /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary + /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is + /// inherited from Feature. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] + [Implements(implementation: "IUsage.MayTimeVary")] + public bool mayTimeVary { get; internal set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ActionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedAction")] + public List nestedAction { get; internal set; } + + /// + /// The AllocationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedAllocation")] + public List nestedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedAnalysisCase")] + public List nestedAnalysisCase { get; internal set; } + + /// + /// The code>AttributeUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedAttribute")] + public List nestedAttribute { get; internal set; } + + /// + /// The CalculationUsage that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedCalculation")] + public List nestedCalculation { get; internal set; } + + /// + /// The CaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] + [Implements(implementation: "IUsage.NestedCase")] + public List nestedCase { get; internal set; } + + /// + /// The ConcernUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedConcern")] + public List nestedConcern { get; internal set; } + + /// + /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are + /// ConnectorAsUsages even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedConnection")] + public List nestedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedConstraint")] + public List nestedConstraint { get; internal set; } + + /// + /// The code>EnumerationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] + [Implements(implementation: "IUsage.NestedEnumeration")] + public List nestedEnumeration { get; internal set; } + + /// + /// The code>FlowUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedFlow")] + public List nestedFlow { get; internal set; } + + /// + /// The InterfaceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedInterface")] + public List nestedInterface { get; internal set; } + + /// + /// The ItemUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedItem")] + public List nestedItem { get; internal set; } + + /// + /// The MetadataUsages that are nestedUsages of this of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedMetadata")] + public List nestedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedOccurrence")] + public List nestedOccurrence { get; internal set; } + + /// + /// The PartUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedPart")] + public List nestedPart { get; internal set; } + + /// + /// The PortUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedPort")] + public List nestedPort { get; internal set; } + + /// + /// The ReferenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedReference")] + public List nestedReference { get; internal set; } + + /// + /// The RenderingUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedRendering")] + public List nestedRendering { get; internal set; } + + /// + /// The RequirementUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] + [Implements(implementation: "IUsage.NestedRequirement")] + public List nestedRequirement { get; internal set; } + + /// + /// The StateUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedState")] + public List nestedState { get; internal set; } + + /// + /// The TransitionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedTransition")] + public List nestedTransition { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.NestedUsage")] + public List nestedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedUseCase")] + public List nestedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedVerificationCase")] + public List nestedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedView")] + public List nestedView { get; internal set; } + + /// + /// The ViewpointUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedViewpoint")] + public List nestedViewpoint { get; internal set; } + + /// + /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, + /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] + [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] + public List occurrenceDefinition { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The Definition that owns this Usage (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] + [Implements(implementation: "IUsage.OwningDefinition")] + public Guid? owningDefinition { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The Usage in which this Usage is nested (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IUsage.OwningUsage")] + public Guid? owningUsage { get; internal set; } + + /// + /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into + /// and/or out of a performance of the Step. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IStep.Parameter")] + public List parameter { get; internal set; } + + /// + /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If + /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the + /// OccurrenceUsage represents portions of the featuring instance of the owningType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IOccurrenceUsage.PortionKind")] + public PortionKind? PortionKind { get; set; } + + /// + /// The Predicate that types the Expression. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578025035149_386_969", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1543948477241_299049_20934")] + [RedefinedByProperty("IConstraintUsage.ConstraintDefinition")] + [Implements(implementation: "IBooleanExpression.Predicate")] + Guid? Kernel.Functions.IBooleanExpression.predicate => throw new InvalidOperationException("Redefined by property IConstraintUsage.ConstraintDefinition"); + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// An optional modeler-specified identifier for this RequirementUsage (used, e.g., to link it to an + /// original requirement text in some source document), which is the declaredShortName for the + /// RequirementUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583376474630_975784_96", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1594160442439_915308_4153")] + [Implements(implementation: "IRequirementUsage.ReqId")] + public string ReqId { get; set; } + + /// + /// The owned ConstraintUsages that represent requirements of this RequirementUsage, which are the + /// ownedConstraints of the RequirementConstraintMemberships of the RequirementUsage with kind = + /// requirement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583377448339_252740_390", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IRequirementUsage.RequiredConstraint")] + public List requiredConstraint { get; internal set; } + + /// + /// The RequirementDefinition that is the single definition of this RequirementUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000408905_769743_1223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1578067546711_751168_1745")] + [RedefinedByProperty("IConcernUsage.ConcernDefinition")] + [Implements(implementation: "IRequirementUsage.RequirementDefinition")] + Guid? IRequirementUsage.requirementDefinition => throw new InvalidOperationException("Redefined by property IConcernUsage.ConcernDefinition"); + + /// + /// An output parameter of the Expression whose value is the result of the Expression. The result of an + /// Expression is either inherited from its function or it is related to the Expression via a + /// ReturnParameterMembership, in which case it redefines the result parameter of its function. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [Implements(implementation: "IExpression.Result")] + public Guid result { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The parameters of this RequirementUsage that represent stakeholders for the requirement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624032823963_328647_40107", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IRequirementUsage.StakeholderParameter")] + public List stakeholderParameter { get; internal set; } + + /// + /// The parameter of this RequirementUsage that represents its subject. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189397261_941898_844", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IRequirementUsage.SubjectParameter")] + public Guid subjectParameter { get; internal set; } + + /// + /// An optional textual statement of the requirement represented by this RequirementUsage, derived from + /// the bodies of the documentation of the RequirementUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583376480942_745679_99", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IRequirementUsage.Text")] + public List text { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IUsage.Definition")] + [Implements(implementation: "IFeature.Type")] + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Usage (not necessarily owned). + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IUsage.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = + /// true. If isVariation = false, then there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IUsage.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this + /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IUsage.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ConjugatedPortDefinition.cs b/SysML2.NET/Core/AutoGenDto/ConjugatedPortDefinition.cs index 00a8e7b4..519c3c0e 100644 --- a/SysML2.NET/Core/AutoGenDto/ConjugatedPortDefinition.cs +++ b/SysML2.NET/Core/AutoGenDto/ConjugatedPortDefinition.cs @@ -1,803 +1,803 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Ports -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Decorators; - - /// - /// A ConjugatedPortDefinition is a PortDefinition that is a PortDefinition of its original - /// PortDefinition. That is, a ConjugatedPortDefinition inherits all the features of the original - /// PortDefinition, but input flows of the original PortDefinition become outputs on the - /// ConjugatedPortDefinition and output flows of the original PortDefinition become inputs on the - /// ConjugatedPortDefinition. Every PortDefinition (that is not itself a ConjugatedPortDefinition) has - /// exactly one corresponding ConjugatedPortDefinition, whose effective name is the name of the - /// originalPortDefinition, with the character ~ prepended. - /// - [Class(xmiId: "_19_0_2_12e503d9_1575484160733_882684_674", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class ConjugatedPortDefinition : IConjugatedPortDefinition - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The <> that is conjugate to this PortDefinition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575484364015_206236_989", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IPortDefinition.ConjugatedPortDefinition")] - Guid? IPortDefinition.ConjugatedPortDefinition { get; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Definition that are directedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565495064714_974634_26150", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IDefinition.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - public bool IsAbstract { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceDefinition is constrained to represent at most one thing. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618955405499_394357_6740", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceDefinition.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IDefinition.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The original PortDefinition for this ConjugatedPortDefinition, which is the owningNamespace of the - /// ConjugatedPortDefinition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575484364017_387810_990", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [Implements(implementation: "IConjugatedPortDefinition.OriginalPortDefinition")] - public Guid OriginalPortDefinition { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ActionUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedAction")] - public List OwnedAction { get; internal set; } - - /// - /// The AllocationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedAllocation")] - public List OwnedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List OwnedAnalysisCase { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The AttributeUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedAttribute")] - public List OwnedAttribute { get; internal set; } - - /// - /// The CalculationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - [Implements(implementation: "IDefinition.OwnedCalculation")] - public List OwnedCalculation { get; internal set; } - - /// - /// The code>CaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] - [Implements(implementation: "IDefinition.OwnedCase")] - public List OwnedCase { get; internal set; } - - /// - /// The ConcernUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - [Implements(implementation: "IDefinition.OwnedConcern")] - public List OwnedConcern { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [RedefinedByProperty("IConjugatedPortDefinition.OwnedPortConjugator")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowUsages because these are ConnectorAsUsages - /// even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedConnection")] - public List OwnedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedConstraint")] - public List OwnedConstraint { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The EnumerationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] - [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List OwnedEnumeration { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The FlowUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedFlow")] - public List OwnedFlow { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The InterfaceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedInterface")] - public List OwnedInterface { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The ItemUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedItem")] - public List OwnedItem { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The MetadataUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - [Implements(implementation: "IDefinition.OwnedMetadata")] - public List OwnedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List OwnedOccurrence { get; internal set; } - - /// - /// The PartUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - [Implements(implementation: "IDefinition.OwnedPart")] - public List OwnedPart { get; internal set; } - - /// - /// The PortUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedPort")] - public List OwnedPort { get; internal set; } - - /// - /// The PortConjugation that is the ownedConjugator of this ConjugatedPortDefinition, linking it to its - /// originalPortDefinition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575484344901_850046_947", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1575482646809_280165_440")] - [Implements(implementation: "IConjugatedPortDefinition.OwnedPortConjugator")] - public Guid OwnedPortConjugator { get; internal set; } - - /// - /// The ReferenceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedReference")] - public List OwnedReference { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The RenderingUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - [Implements(implementation: "IDefinition.OwnedRendering")] - public List OwnedRendering { get; internal set; } - - /// - /// The RequirementUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] - [Implements(implementation: "IDefinition.OwnedRequirement")] - public List OwnedRequirement { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The StateUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - [Implements(implementation: "IDefinition.OwnedState")] - public List OwnedState { get; internal set; } - - /// - /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier - /// is the subclassifier. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List OwnedSubclassification { get; internal set; } - - /// - /// The TransitionUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedTransition")] - public List OwnedTransition { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Definition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686637_967933_23236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IDefinition.OwnedUsage")] - public List OwnedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedUseCase")] - public List OwnedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List OwnedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - [Implements(implementation: "IDefinition.OwnedView")] - public List OwnedView { get; internal set; } - - /// - /// The ViewpointUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List OwnedViewpoint { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [RedefinedByProperty("IConjugatedPortDefinition.OriginalPortDefinition")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Definition (not necessarily owned). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IDefinition.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Definition as a variation point Definition, if - /// isVariation = true. If isVariation = false, the there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IDefinition.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then - /// this must be all ownedMemberships of the Definition. If isVariation = false, then - /// variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IDefinition.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Ports +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Decorators; + + /// + /// A ConjugatedPortDefinition is a PortDefinition that is a PortDefinition of its original + /// PortDefinition. That is, a ConjugatedPortDefinition inherits all the features of the original + /// PortDefinition, but input flows of the original PortDefinition become outputs on the + /// ConjugatedPortDefinition and output flows of the original PortDefinition become inputs on the + /// ConjugatedPortDefinition. Every PortDefinition (that is not itself a ConjugatedPortDefinition) has + /// exactly one corresponding ConjugatedPortDefinition, whose effective name is the name of the + /// originalPortDefinition, with the character ~ prepended. + /// + [Class(xmiId: "_19_0_2_12e503d9_1575484160733_882684_674", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class ConjugatedPortDefinition : IConjugatedPortDefinition + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The <> that is conjugate to this PortDefinition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575484364015_206236_989", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IPortDefinition.ConjugatedPortDefinition")] + public Guid? conjugatedPortDefinition { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.DirectedFeature")] + public List directedFeature { get; internal set; } + + /// + /// The usages of this Definition that are directedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565495064714_974634_26150", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IDefinition.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + public bool IsAbstract { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceDefinition is constrained to represent at most one thing. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618955405499_394357_6740", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceDefinition.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IDefinition.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The original PortDefinition for this ConjugatedPortDefinition, which is the owningNamespace of the + /// ConjugatedPortDefinition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575484364017_387810_990", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [Implements(implementation: "IConjugatedPortDefinition.OriginalPortDefinition")] + public Guid originalPortDefinition { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ActionUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedAction")] + public List ownedAction { get; internal set; } + + /// + /// The AllocationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedAllocation")] + public List ownedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedAnalysisCase")] + public List ownedAnalysisCase { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The AttributeUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedAttribute")] + public List ownedAttribute { get; internal set; } + + /// + /// The CalculationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] + [Implements(implementation: "IDefinition.OwnedCalculation")] + public List ownedCalculation { get; internal set; } + + /// + /// The code>CaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] + [Implements(implementation: "IDefinition.OwnedCase")] + public List ownedCase { get; internal set; } + + /// + /// The ConcernUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + [Implements(implementation: "IDefinition.OwnedConcern")] + public List ownedConcern { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [RedefinedByProperty("IConjugatedPortDefinition.OwnedPortConjugator")] + [Implements(implementation: "IType.OwnedConjugator")] + Guid? Core.Types.IType.ownedConjugator => throw new InvalidOperationException("Redefined by property IConjugatedPortDefinition.OwnedPortConjugator"); + + /// + /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowUsages because these are ConnectorAsUsages + /// even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedConnection")] + public List ownedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedConstraint")] + public List ownedConstraint { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The EnumerationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] + [Implements(implementation: "IDefinition.OwnedEnumeration")] + public List ownedEnumeration { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The FlowUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedFlow")] + public List ownedFlow { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The InterfaceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedInterface")] + public List ownedInterface { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The ItemUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedItem")] + public List ownedItem { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The MetadataUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] + [Implements(implementation: "IDefinition.OwnedMetadata")] + public List ownedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedOccurrence")] + public List ownedOccurrence { get; internal set; } + + /// + /// The PartUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] + [Implements(implementation: "IDefinition.OwnedPart")] + public List ownedPart { get; internal set; } + + /// + /// The PortUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedPort")] + public List ownedPort { get; internal set; } + + /// + /// The PortConjugation that is the ownedConjugator of this ConjugatedPortDefinition, linking it to its + /// originalPortDefinition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575484344901_850046_947", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1575482646809_280165_440")] + [Implements(implementation: "IConjugatedPortDefinition.OwnedPortConjugator")] + public Guid ownedPortConjugator { get; internal set; } + + /// + /// The ReferenceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedReference")] + public List ownedReference { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The RenderingUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] + [Implements(implementation: "IDefinition.OwnedRendering")] + public List ownedRendering { get; internal set; } + + /// + /// The RequirementUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] + [Implements(implementation: "IDefinition.OwnedRequirement")] + public List ownedRequirement { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The StateUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] + [Implements(implementation: "IDefinition.OwnedState")] + public List ownedState { get; internal set; } + + /// + /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier + /// is the subclassifier. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [Implements(implementation: "IClassifier.OwnedSubclassification")] + public List ownedSubclassification { get; internal set; } + + /// + /// The TransitionUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedTransition")] + public List ownedTransition { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Definition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686637_967933_23236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IDefinition.OwnedUsage")] + public List ownedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedUseCase")] + public List ownedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedVerificationCase")] + public List ownedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] + [Implements(implementation: "IDefinition.OwnedView")] + public List ownedView { get; internal set; } + + /// + /// The ViewpointUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + [Implements(implementation: "IDefinition.OwnedViewpoint")] + public List ownedViewpoint { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [RedefinedByProperty("IConjugatedPortDefinition.OriginalPortDefinition")] + [Implements(implementation: "IElement.OwningNamespace")] + Guid? Root.Elements.IElement.owningNamespace => throw new InvalidOperationException("Redefined by property IConjugatedPortDefinition.OriginalPortDefinition"); + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Definition (not necessarily owned). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IDefinition.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Definition as a variation point Definition, if + /// isVariation = true. If isVariation = false, the there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IDefinition.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then + /// this must be all ownedMemberships of the Definition. If isVariation = false, then + /// variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IDefinition.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ConjugatedPortTyping.cs b/SysML2.NET/Core/AutoGenDto/ConjugatedPortTyping.cs index e2dc75b5..5814c4ab 100644 --- a/SysML2.NET/Core/AutoGenDto/ConjugatedPortTyping.cs +++ b/SysML2.NET/Core/AutoGenDto/ConjugatedPortTyping.cs @@ -1,335 +1,355 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Ports -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Core.Features; - using SysML2.NET.Decorators; - - /// - /// A ConjugatedPortTyping is a FeatureTyping whose type is a ConjugatedPortDefinition. (This - /// relationship is intended to be an abstract-syntax marker for a special surface notation for - /// conjugated typing of ports.) - /// - [Class(xmiId: "_19_0_2_12e503d9_1577914899997_653496_45", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class ConjugatedPortTyping : IConjugatedPortTyping - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The type of this ConjugatedPortTyping considered as a FeatureTyping, which must be a - /// ConjugatedPortDefinition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1577915017970_186033_146", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1543180520185_480887_21131")] - [Implements(implementation: "IConjugatedPortTyping.ConjugatedPortDefinition")] - public Guid ConjugatedPortDefinition { get; set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// A Type with a superset of all instances of the specific Type, which might be the same set. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674980_563969_43273", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [RedefinedByProperty("IFeatureTyping.Type")] - [Implements(implementation: "ISpecialization.General")] - public Guid General { get; set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// A typedFeature that is also the owningRelatedElement of this FeatureTyping. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427753_801746_43", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_13273_21101")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_573157_43226")] - [Implements(implementation: "IFeatureTyping.OwningFeature")] - public Guid? OwningFeature { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the specific Type of this Specialization and owns it as its owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_573157_43226", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] - [RedefinedByProperty("IFeatureTyping.OwningFeature")] - [Implements(implementation: "ISpecialization.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The originalPortDefinition of the conjugatedPortDefinition of this ConjugatedPortTyping. - /// - [Property(xmiId: "_19_0_2_12e503d9_1577915013583_787601_133", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IConjugatedPortTyping.PortDefinition")] - public Guid PortDefinition { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("ISpecialization.Specific")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// A Type with a subset of all instances of the general Type, which might be the same set. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674982_253967_43281", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [RedefinedByProperty("IFeatureTyping.TypedFeature")] - [Implements(implementation: "ISpecialization.Specific")] - public Guid Specific { get; set; } - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("ISpecialization.General")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// The Type that is being applied by this FeatureTyping. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543180520185_480887_21131", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_563969_43273")] - [RedefinedByProperty("IConjugatedPortTyping.ConjugatedPortDefinition")] - [Implements(implementation: "IFeatureTyping.Type")] - public Guid Type { get; set; } - - /// - /// The Feature that has a type determined by this FeatureTyping. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543180501615_13273_21101", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] - [Implements(implementation: "IFeatureTyping.TypedFeature")] - public Guid TypedFeature { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Ports +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Core.Features; + using SysML2.NET.Decorators; + + /// + /// A ConjugatedPortTyping is a FeatureTyping whose type is a ConjugatedPortDefinition. (This + /// relationship is intended to be an abstract-syntax marker for a special surface notation for + /// conjugated typing of ports.) + /// + [Class(xmiId: "_19_0_2_12e503d9_1577914899997_653496_45", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class ConjugatedPortTyping : IConjugatedPortTyping + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The type of this ConjugatedPortTyping considered as a FeatureTyping, which must be a + /// ConjugatedPortDefinition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1577915017970_186033_146", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1543180520185_480887_21131")] + [Implements(implementation: "IConjugatedPortTyping.ConjugatedPortDefinition")] + public Guid ConjugatedPortDefinition { get; set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// A Type with a superset of all instances of the specific Type, which might be the same set. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674980_563969_43273", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [RedefinedByProperty("IFeatureTyping.Type")] + [Implements(implementation: "ISpecialization.General")] + Guid Core.Types.ISpecialization.General + { + get => throw new InvalidOperationException("Redefined by property IFeatureTyping.Type"); + set => throw new InvalidOperationException("Redefined by property IFeatureTyping.Type"); + } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// A typedFeature that is also the owningRelatedElement of this FeatureTyping. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427753_801746_43", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_13273_21101")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_573157_43226")] + [Implements(implementation: "IFeatureTyping.OwningFeature")] + public Guid? owningFeature { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the specific Type of this Specialization and owns it as its owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_573157_43226", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] + [RedefinedByProperty("IFeatureTyping.OwningFeature")] + [Implements(implementation: "ISpecialization.OwningType")] + Guid? Core.Types.ISpecialization.owningType => throw new InvalidOperationException("Redefined by property IFeatureTyping.OwningFeature"); + + /// + /// The originalPortDefinition of the conjugatedPortDefinition of this ConjugatedPortTyping. + /// + [Property(xmiId: "_19_0_2_12e503d9_1577915013583_787601_133", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IConjugatedPortTyping.PortDefinition")] + public Guid portDefinition { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IRelationship.RelatedElement")] + public List relatedElement { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("ISpecialization.Specific")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property ISpecialization.Specific"); + set => throw new InvalidOperationException("Redefined by property ISpecialization.Specific"); + } + + /// + /// A Type with a subset of all instances of the general Type, which might be the same set. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674982_253967_43281", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [RedefinedByProperty("IFeatureTyping.TypedFeature")] + [Implements(implementation: "ISpecialization.Specific")] + Guid Core.Types.ISpecialization.Specific + { + get => throw new InvalidOperationException("Redefined by property IFeatureTyping.TypedFeature"); + set => throw new InvalidOperationException("Redefined by property IFeatureTyping.TypedFeature"); + } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("ISpecialization.General")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property ISpecialization.General"); + set => throw new InvalidOperationException("Redefined by property ISpecialization.General"); + } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// The Type that is being applied by this FeatureTyping. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543180520185_480887_21131", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_563969_43273")] + [RedefinedByProperty("IConjugatedPortTyping.ConjugatedPortDefinition")] + [Implements(implementation: "IFeatureTyping.Type")] + Guid Core.Features.IFeatureTyping.Type + { + get => throw new InvalidOperationException("Redefined by property IConjugatedPortTyping.ConjugatedPortDefinition"); + set => throw new InvalidOperationException("Redefined by property IConjugatedPortTyping.ConjugatedPortDefinition"); + } + + /// + /// The Feature that has a type determined by this FeatureTyping. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543180501615_13273_21101", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] + [Implements(implementation: "IFeatureTyping.TypedFeature")] + public Guid TypedFeature { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/Conjugation.cs b/SysML2.NET/Core/AutoGenDto/Conjugation.cs index 08fdcd67..d2c1967e 100644 --- a/SysML2.NET/Core/AutoGenDto/Conjugation.cs +++ b/SysML2.NET/Core/AutoGenDto/Conjugation.cs @@ -1,295 +1,303 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Core.Types -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Root.Elements; - using SysML2.NET.Decorators; - - /// - /// Conjugation is a Relationship between two types in which the conjugatedType inherits all the - /// Features of the originalType, but with all input and output Features reversed. That is, any Features - /// with a direction in relative to the originalType are considered to have an effective direction of - /// out relative to the conjugatedType and, similarly, Features with direction out in the originalType - /// are considered to have an effective direction of in in the conjugatedType. Features with direction - /// inout, or with no direction, in the originalType, are inherited without change.A Type may - /// participate as a conjugatedType in at most one Conjugation relationship, and such a Type may not - /// also be the specific Type in any Specialization relationship. - /// - [Class(xmiId: "_19_0_2_12e503d9_1575482328287_696279_181", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class Conjugation : IConjugation - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Type that is the result of applying Conjugation to the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482490143_721644_299", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [Implements(implementation: "IConjugation.ConjugatedType")] - public Guid ConjugatedType { get; set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The Type to be conjugated. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482354187_108424_237", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [Implements(implementation: "IConjugation.OriginalType")] - public Guid OriginalType { get; set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The conjugatedType of this Conjugation that is also its owningRelatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_778895_441", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490143_721644_299")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - [Implements(implementation: "IConjugation.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IConjugation.ConjugatedType")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IConjugation.OriginalType")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Core.Types +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Root.Elements; + using SysML2.NET.Decorators; + + /// + /// Conjugation is a Relationship between two types in which the conjugatedType inherits all the + /// Features of the originalType, but with all input and output Features reversed. That is, any Features + /// with a direction in relative to the originalType are considered to have an effective direction of + /// out relative to the conjugatedType and, similarly, Features with direction out in the originalType + /// are considered to have an effective direction of in in the conjugatedType. Features with direction + /// inout, or with no direction, in the originalType, are inherited without change.A Type may + /// participate as a conjugatedType in at most one Conjugation relationship, and such a Type may not + /// also be the specific Type in any Specialization relationship. + /// + [Class(xmiId: "_19_0_2_12e503d9_1575482328287_696279_181", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class Conjugation : IConjugation + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Type that is the result of applying Conjugation to the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482490143_721644_299", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [Implements(implementation: "IConjugation.ConjugatedType")] + public Guid ConjugatedType { get; set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The Type to be conjugated. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482354187_108424_237", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [Implements(implementation: "IConjugation.OriginalType")] + public Guid OriginalType { get; set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The conjugatedType of this Conjugation that is also its owningRelatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_778895_441", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490143_721644_299")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + [Implements(implementation: "IConjugation.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IRelationship.RelatedElement")] + public List relatedElement { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IConjugation.ConjugatedType")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IConjugation.ConjugatedType"); + set => throw new InvalidOperationException("Redefined by property IConjugation.ConjugatedType"); + } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IConjugation.OriginalType")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IConjugation.OriginalType"); + set => throw new InvalidOperationException("Redefined by property IConjugation.OriginalType"); + } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ConnectionDefinition.cs b/SysML2.NET/Core/AutoGenDto/ConnectionDefinition.cs index b009dd42..2b7d591a 100644 --- a/SysML2.NET/Core/AutoGenDto/ConnectionDefinition.cs +++ b/SysML2.NET/Core/AutoGenDto/ConnectionDefinition.cs @@ -1,880 +1,892 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Connections -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Kernel.Associations; - using SysML2.NET.Core.DTO.Systems.Parts; - using SysML2.NET.Decorators; - - /// - /// A ConnectionDefinition is a PartDefinition that is also an AssociationStructure. The end Features of - /// a ConnectionDefinition must be Usages. - /// - [Class(xmiId: "_19_0_2_12e503d9_1565813525877_81950_622", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class ConnectionDefinition : IConnectionDefinition - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The features of the Association that identify the things that can be related by it. A concrete - /// Association must have at least two associationEnds. When it has exactly two, the Association is - /// called a binary Association. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562477648742_24204_22901", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [RedefinedByProperty("IConnectionDefinition.ConnectionEnd")] - [Implements(implementation: "IAssociation.AssociationEnd")] - public List AssociationEnd { get; internal set; } - - /// - /// The Usages that define the things related by the ConnectionDefinition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591476421094_685440_682", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562477648742_24204_22901")] - [Implements(implementation: "IConnectionDefinition.ConnectionEnd")] - public List ConnectionEnd { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Definition that are directedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565495064714_974634_26150", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IDefinition.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IAssociation.AssociationEnd")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - public bool IsAbstract { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceDefinition is constrained to represent at most one thing. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618955405499_394357_6740", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceDefinition.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// A ConnectionDefinition always has isSufficient = true. - /// - [Property(xmiId: "_2022x_2_12e503d9_1734734871008_462076_156", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1564072709069_937523_30797")] - [Implements(implementation: "IConnectionDefinition.IsSufficient")] - bool IConnectionDefinition.IsSufficient { get; set; } = true; - - /// - /// 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [RedefinedByProperty("IConnectionDefinition.IsSufficient")] - [Implements(implementation: "IType.IsSufficient")] - bool Core.Types.IType.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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IDefinition.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ActionUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedAction")] - public List OwnedAction { get; internal set; } - - /// - /// The AllocationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedAllocation")] - public List OwnedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List OwnedAnalysisCase { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The AttributeUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedAttribute")] - public List OwnedAttribute { get; internal set; } - - /// - /// The CalculationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - [Implements(implementation: "IDefinition.OwnedCalculation")] - public List OwnedCalculation { get; internal set; } - - /// - /// The code>CaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] - [Implements(implementation: "IDefinition.OwnedCase")] - public List OwnedCase { get; internal set; } - - /// - /// The ConcernUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - [Implements(implementation: "IDefinition.OwnedConcern")] - public List OwnedConcern { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowUsages because these are ConnectorAsUsages - /// even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedConnection")] - public List OwnedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedConstraint")] - public List OwnedConstraint { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The EnumerationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] - [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List OwnedEnumeration { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The FlowUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedFlow")] - public List OwnedFlow { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The InterfaceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedInterface")] - public List OwnedInterface { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The ItemUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedItem")] - public List OwnedItem { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The MetadataUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - [Implements(implementation: "IDefinition.OwnedMetadata")] - public List OwnedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List OwnedOccurrence { get; internal set; } - - /// - /// The PartUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - [Implements(implementation: "IDefinition.OwnedPart")] - public List OwnedPart { get; internal set; } - - /// - /// The PortUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedPort")] - public List OwnedPort { get; internal set; } - - /// - /// The ReferenceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedReference")] - public List OwnedReference { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The RenderingUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - [Implements(implementation: "IDefinition.OwnedRendering")] - public List OwnedRendering { get; internal set; } - - /// - /// The RequirementUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] - [Implements(implementation: "IDefinition.OwnedRequirement")] - public List OwnedRequirement { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The StateUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - [Implements(implementation: "IDefinition.OwnedState")] - public List OwnedState { get; internal set; } - - /// - /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier - /// is the subclassifier. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List OwnedSubclassification { get; internal set; } - - /// - /// The TransitionUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedTransition")] - public List OwnedTransition { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Definition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686637_967933_23236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IDefinition.OwnedUsage")] - public List OwnedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedUseCase")] - public List OwnedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List OwnedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - [Implements(implementation: "IDefinition.OwnedView")] - public List OwnedView { get; internal set; } - - /// - /// The ViewpointUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List OwnedViewpoint { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [RedefinedByProperty("IAssociation.RelatedType")] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The types of the associationEnds of the Association, which are the relatedElements of the - /// Association considered as a Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_4339_43349", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IAssociation.RelatedType")] - public List RelatedType { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IAssociation.SourceType")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// The source relatedType for this Association. It is the first relatedType of the Association. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594939013292_377668_3566", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [Implements(implementation: "IAssociation.SourceType")] - public Guid? SourceType { get; internal set; } - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IAssociation.TargetType")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The target relatedTypes for this Association. This includes all the relatedTypes other than the - /// sourceType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594939237325_861933_3707", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [Implements(implementation: "IAssociation.TargetType")] - public List TargetType { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Definition (not necessarily owned). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IDefinition.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Definition as a variation point Definition, if - /// isVariation = true. If isVariation = false, the there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IDefinition.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then - /// this must be all ownedMemberships of the Definition. If isVariation = false, then - /// variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IDefinition.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Connections +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Kernel.Associations; + using SysML2.NET.Core.DTO.Systems.Parts; + using SysML2.NET.Decorators; + + /// + /// A ConnectionDefinition is a PartDefinition that is also an AssociationStructure. The end Features of + /// a ConnectionDefinition must be Usages. + /// + [Class(xmiId: "_19_0_2_12e503d9_1565813525877_81950_622", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class ConnectionDefinition : IConnectionDefinition + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The features of the Association that identify the things that can be related by it. A concrete + /// Association must have at least two associationEnds. When it has exactly two, the Association is + /// called a binary Association. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562477648742_24204_22901", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [RedefinedByProperty("IConnectionDefinition.ConnectionEnd")] + [Implements(implementation: "IAssociation.AssociationEnd")] + List Kernel.Associations.IAssociation.associationEnd => throw new InvalidOperationException("Redefined by property IConnectionDefinition.ConnectionEnd"); + + /// + /// The Usages that define the things related by the ConnectionDefinition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591476421094_685440_682", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562477648742_24204_22901")] + [Implements(implementation: "IConnectionDefinition.ConnectionEnd")] + public List connectionEnd { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.DirectedFeature")] + public List directedFeature { get; internal set; } + + /// + /// The usages of this Definition that are directedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565495064714_974634_26150", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IDefinition.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IAssociation.AssociationEnd")] + [Implements(implementation: "IType.EndFeature")] + List Core.Types.IType.endFeature => throw new InvalidOperationException("Redefined by property IAssociation.AssociationEnd"); + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + public bool IsAbstract { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceDefinition is constrained to represent at most one thing. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618955405499_394357_6740", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceDefinition.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// A ConnectionDefinition always has isSufficient = true. + /// + [Property(xmiId: "_2022x_2_12e503d9_1734734871008_462076_156", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1564072709069_937523_30797")] + [Implements(implementation: "IConnectionDefinition.IsSufficient")] + public bool IsSufficient { get; set; } = true; + + /// + /// 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [RedefinedByProperty("IConnectionDefinition.IsSufficient")] + [Implements(implementation: "IType.IsSufficient")] + bool Core.Types.IType.IsSufficient + { + get => throw new InvalidOperationException("Redefined by property IConnectionDefinition.IsSufficient"); + set => throw new InvalidOperationException("Redefined by property IConnectionDefinition.IsSufficient"); + } + + /// + /// Whether this Definition is for a variation point or not. If true, then all the memberships of the + /// Definition must be VariantMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IDefinition.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ActionUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedAction")] + public List ownedAction { get; internal set; } + + /// + /// The AllocationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedAllocation")] + public List ownedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedAnalysisCase")] + public List ownedAnalysisCase { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The AttributeUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedAttribute")] + public List ownedAttribute { get; internal set; } + + /// + /// The CalculationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] + [Implements(implementation: "IDefinition.OwnedCalculation")] + public List ownedCalculation { get; internal set; } + + /// + /// The code>CaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] + [Implements(implementation: "IDefinition.OwnedCase")] + public List ownedCase { get; internal set; } + + /// + /// The ConcernUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + [Implements(implementation: "IDefinition.OwnedConcern")] + public List ownedConcern { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowUsages because these are ConnectorAsUsages + /// even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedConnection")] + public List ownedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedConstraint")] + public List ownedConstraint { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The EnumerationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] + [Implements(implementation: "IDefinition.OwnedEnumeration")] + public List ownedEnumeration { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The FlowUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedFlow")] + public List ownedFlow { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The InterfaceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedInterface")] + public List ownedInterface { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The ItemUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedItem")] + public List ownedItem { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The MetadataUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] + [Implements(implementation: "IDefinition.OwnedMetadata")] + public List ownedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedOccurrence")] + public List ownedOccurrence { get; internal set; } + + /// + /// The PartUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] + [Implements(implementation: "IDefinition.OwnedPart")] + public List ownedPart { get; internal set; } + + /// + /// The PortUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedPort")] + public List ownedPort { get; internal set; } + + /// + /// The ReferenceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedReference")] + public List ownedReference { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The RenderingUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] + [Implements(implementation: "IDefinition.OwnedRendering")] + public List ownedRendering { get; internal set; } + + /// + /// The RequirementUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] + [Implements(implementation: "IDefinition.OwnedRequirement")] + public List ownedRequirement { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The StateUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] + [Implements(implementation: "IDefinition.OwnedState")] + public List ownedState { get; internal set; } + + /// + /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier + /// is the subclassifier. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [Implements(implementation: "IClassifier.OwnedSubclassification")] + public List ownedSubclassification { get; internal set; } + + /// + /// The TransitionUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedTransition")] + public List ownedTransition { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Definition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686637_967933_23236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IDefinition.OwnedUsage")] + public List ownedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedUseCase")] + public List ownedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedVerificationCase")] + public List ownedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] + [Implements(implementation: "IDefinition.OwnedView")] + public List ownedView { get; internal set; } + + /// + /// The ViewpointUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + [Implements(implementation: "IDefinition.OwnedViewpoint")] + public List ownedViewpoint { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [RedefinedByProperty("IAssociation.RelatedType")] + [Implements(implementation: "IRelationship.RelatedElement")] + List Root.Elements.IRelationship.relatedElement => throw new InvalidOperationException("Redefined by property IAssociation.RelatedType"); + + /// + /// The types of the associationEnds of the Association, which are the relatedElements of the + /// Association considered as a Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_4339_43349", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IAssociation.RelatedType")] + public List relatedType { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IAssociation.SourceType")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IAssociation.SourceType"); + set => throw new InvalidOperationException("Redefined by property IAssociation.SourceType"); + } + + /// + /// The source relatedType for this Association. It is the first relatedType of the Association. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594939013292_377668_3566", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [Implements(implementation: "IAssociation.SourceType")] + public Guid? sourceType { get; internal set; } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IAssociation.TargetType")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IAssociation.TargetType"); + set => throw new InvalidOperationException("Redefined by property IAssociation.TargetType"); + } + + /// + /// The target relatedTypes for this Association. This includes all the relatedTypes other than the + /// sourceType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594939237325_861933_3707", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [Implements(implementation: "IAssociation.TargetType")] + public List targetType { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Definition (not necessarily owned). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IDefinition.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Definition as a variation point Definition, if + /// isVariation = true. If isVariation = false, the there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IDefinition.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then + /// this must be all ownedMemberships of the Definition. If isVariation = false, then + /// variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IDefinition.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ConnectionUsage.cs b/SysML2.NET/Core/AutoGenDto/ConnectionUsage.cs index 4b074465..cb7571f7 100644 --- a/SysML2.NET/Core/AutoGenDto/ConnectionUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/ConnectionUsage.cs @@ -1,1210 +1,1222 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Connections -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Core.DTO.Systems.Parts; - using SysML2.NET.Decorators; - - /// - /// A ConnectionUsage is a ConnectorAsUsage that is also a PartUsage. Nominally, if its type is a - /// ConnectionDefinition, then a ConnectionUsage is a Usage of that ConnectionDefinition, representing a - /// connection between parts of a system. However, other kinds of kernel AssociationStructures are also - /// allowed, to permit use of AssociationStructures from the Kernel Model Libraries. - /// - [Class(xmiId: "_19_0_2_12e503d9_1565824079403_302443_1935", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class ConnectionUsage : IConnectionUsage - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Associations that type the Connector. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674983_471497_43284", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IConnectionUsage.ConnectionDefinition")] - [Implements(implementation: "IConnector.Association")] - public List Association { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The AssociationStructures that are the types of this ConnectionUsage. Nominally, these are , but - /// other kinds of Kernel AssociationStructures are also allowed, to permit use of AssociationStructures - /// from the Kernel Model Libraries - /// - [Property(xmiId: "_19_0_2_12e503d9_1594853499656_139435_802", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565471361757_649736_20796")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674983_471497_43284")] - [Implements(implementation: "IConnectionUsage.ConnectionDefinition")] - public List ConnectionDefinition { get; internal set; } - - /// - /// The endFeatures of a Connector, which redefine the endFeatures of the associations of the Connector. - /// The connectorEnds determine via ReferenceSubsetting Relationships which Features are related by the - /// Connector. - /// - [Property(xmiId: "_18_5_3_12e503d9_1556735067666_827798_21922", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [Implements(implementation: "IConnector.ConnectorEnd")] - public List ConnectorEnd { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The innermost Type that is a common direct or indirect featuringType of the relatedFeatures, such - /// that, if it exists and was the featuringType of this Connector, the Connector would satisfy the - /// checkConnectorTypeFeaturing constraint. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737751598145_444042_71", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IConnector.DefaultFeaturingType")] - public Guid? DefaultFeaturingType { get; internal set; } - - /// - /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds - /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] - [Implements(implementation: "IUsage.Definition")] - public List Definition { get; internal set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Usage that are directedFeatures. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IConnector.ConnectorEnd")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// The at most one occurrenceDefinition that has isIndividual = true. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public Guid? IndividualDefinition { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - public bool IsEnd { get; set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its - /// individualDefinition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceUsage.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - public bool IsPortion { get; set; } - - /// - /// Whether this Usage is a referential Usage, that is, it has isComposite = false. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsReference")] - public bool IsReference { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [RedefinedByProperty("IUsage.MayTimeVary")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage - /// must be VariantMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// The Structures that are the definitions of this ItemUsage. Nominally, these are ItemDefinitions, but - /// other kinds of Kernel Structures are also allowed, to permit use of Structures from the Kernel - /// Library. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565471361757_649736_20796", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IItemUsage.ItemDefinition")] - public List ItemDefinition { get; internal set; } - - /// - /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its - /// owningType, rather than being featured by the owningType itself). However, if isConstant is also - /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance - /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary - /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is - /// inherited from Feature. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] - [Implements(implementation: "IUsage.MayTimeVary")] - public bool MayTimeVary { get; internal set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ActionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedAction")] - public List NestedAction { get; internal set; } - - /// - /// The AllocationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedAllocation")] - public List NestedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List NestedAnalysisCase { get; internal set; } - - /// - /// The code>AttributeUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedAttribute")] - public List NestedAttribute { get; internal set; } - - /// - /// The CalculationUsage that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedCalculation")] - public List NestedCalculation { get; internal set; } - - /// - /// The CaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] - [Implements(implementation: "IUsage.NestedCase")] - public List NestedCase { get; internal set; } - - /// - /// The ConcernUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedConcern")] - public List NestedConcern { get; internal set; } - - /// - /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are - /// ConnectorAsUsages even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedConnection")] - public List NestedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedConstraint")] - public List NestedConstraint { get; internal set; } - - /// - /// The code>EnumerationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] - [Implements(implementation: "IUsage.NestedEnumeration")] - public List NestedEnumeration { get; internal set; } - - /// - /// The code>FlowUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedFlow")] - public List NestedFlow { get; internal set; } - - /// - /// The InterfaceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedInterface")] - public List NestedInterface { get; internal set; } - - /// - /// The ItemUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedItem")] - public List NestedItem { get; internal set; } - - /// - /// The MetadataUsages that are nestedUsages of this of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedMetadata")] - public List NestedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedOccurrence")] - public List NestedOccurrence { get; internal set; } - - /// - /// The PartUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedPart")] - public List NestedPart { get; internal set; } - - /// - /// The PortUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedPort")] - public List NestedPort { get; internal set; } - - /// - /// The ReferenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedReference")] - public List NestedReference { get; internal set; } - - /// - /// The RenderingUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedRendering")] - public List NestedRendering { get; internal set; } - - /// - /// The RequirementUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] - [Implements(implementation: "IUsage.NestedRequirement")] - public List NestedRequirement { get; internal set; } - - /// - /// The StateUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedState")] - public List NestedState { get; internal set; } - - /// - /// The TransitionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedTransition")] - public List NestedTransition { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.NestedUsage")] - public List NestedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedUseCase")] - public List NestedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedVerificationCase")] - public List NestedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedView")] - public List NestedView { get; internal set; } - - /// - /// The ViewpointUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedViewpoint")] - public List NestedViewpoint { get; internal set; } - - /// - /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, - /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] - [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List OccurrenceDefinition { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The Definition that owns this Usage (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] - [Implements(implementation: "IUsage.OwningDefinition")] - public Guid? OwningDefinition { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The Usage in which this Usage is nested (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IUsage.OwningUsage")] - public Guid? OwningUsage { get; internal set; } - - /// - /// The itemDefinitions of this PartUsage that are PartDefinitions. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591475180488_929065_121", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565471361757_649736_20796")] - [Implements(implementation: "IPartUsage.PartDefinition")] - public List PartDefinition { get; internal set; } - - /// - /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If - /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the - /// OccurrenceUsage represents portions of the featuring instance of the owningType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IOccurrenceUsage.PortionKind")] - public PortionKind? PortionKind { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [RedefinedByProperty("IConnector.RelatedFeature")] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The Features that are related by this Connector considered as a Relationship and that restrict the - /// links it identifies, given by the referenced Features of the connectorEnds of the Connector. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_916334_43210", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IConnector.RelatedFeature")] - public List RelatedFeature { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IConnector.SourceFeature")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// The source relatedFeature for this Connector. It is the first relatedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594953058873_558253_3897", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [Implements(implementation: "IConnector.SourceFeature")] - public Guid? SourceFeature { get; internal set; } - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IConnector.TargetFeature")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The target relatedFeatures for this Connector. This includes all the relatedFeatures other than the - /// sourceFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594953128207_991867_3946", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [Implements(implementation: "IConnector.TargetFeature")] - public List TargetFeature { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IUsage.Definition")] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Usage (not necessarily owned). - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IUsage.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = - /// true. If isVariation = false, then there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IUsage.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this - /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IUsage.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Connections +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Core.DTO.Systems.Parts; + using SysML2.NET.Decorators; + + /// + /// A ConnectionUsage is a ConnectorAsUsage that is also a PartUsage. Nominally, if its type is a + /// ConnectionDefinition, then a ConnectionUsage is a Usage of that ConnectionDefinition, representing a + /// connection between parts of a system. However, other kinds of kernel AssociationStructures are also + /// allowed, to permit use of AssociationStructures from the Kernel Model Libraries. + /// + [Class(xmiId: "_19_0_2_12e503d9_1565824079403_302443_1935", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class ConnectionUsage : IConnectionUsage + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Associations that type the Connector. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674983_471497_43284", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IConnectionUsage.ConnectionDefinition")] + [Implements(implementation: "IConnector.Association")] + List Kernel.Connectors.IConnector.association => throw new InvalidOperationException("Redefined by property IConnectionUsage.ConnectionDefinition"); + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The AssociationStructures that are the types of this ConnectionUsage. Nominally, these are , but + /// other kinds of Kernel AssociationStructures are also allowed, to permit use of AssociationStructures + /// from the Kernel Model Libraries + /// + [Property(xmiId: "_19_0_2_12e503d9_1594853499656_139435_802", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565471361757_649736_20796")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674983_471497_43284")] + [Implements(implementation: "IConnectionUsage.ConnectionDefinition")] + public List connectionDefinition { get; internal set; } + + /// + /// The endFeatures of a Connector, which redefine the endFeatures of the associations of the Connector. + /// The connectorEnds determine via ReferenceSubsetting Relationships which Features are related by the + /// Connector. + /// + [Property(xmiId: "_18_5_3_12e503d9_1556735067666_827798_21922", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [Implements(implementation: "IConnector.ConnectorEnd")] + public List connectorEnd { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The innermost Type that is a common direct or indirect featuringType of the relatedFeatures, such + /// that, if it exists and was the featuringType of this Connector, the Connector would satisfy the + /// checkConnectorTypeFeaturing constraint. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737751598145_444042_71", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IConnector.DefaultFeaturingType")] + public Guid? defaultFeaturingType { get; internal set; } + + /// + /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds + /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] + [Implements(implementation: "IUsage.Definition")] + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.DirectedFeature")] + public List directedFeature { get; internal set; } + + /// + /// The usages of this Usage that are directedFeatures. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IConnector.ConnectorEnd")] + [Implements(implementation: "IType.EndFeature")] + List Core.Types.IType.endFeature => throw new InvalidOperationException("Redefined by property IConnector.ConnectorEnd"); + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// The at most one occurrenceDefinition that has isIndividual = true. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] + public Guid? individualDefinition { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + public bool IsEnd { get; set; } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its + /// individualDefinition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceUsage.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + public bool IsPortion { get; set; } + + /// + /// Whether this Usage is a referential Usage, that is, it has isComposite = false. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsReference")] + public bool isReference { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [RedefinedByProperty("IUsage.MayTimeVary")] + [Implements(implementation: "IFeature.IsVariable")] + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } + + /// + /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage + /// must be VariantMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// The Structures that are the definitions of this ItemUsage. Nominally, these are ItemDefinitions, but + /// other kinds of Kernel Structures are also allowed, to permit use of Structures from the Kernel + /// Library. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565471361757_649736_20796", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IItemUsage.ItemDefinition")] + public List itemDefinition { get; internal set; } + + /// + /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its + /// owningType, rather than being featured by the owningType itself). However, if isConstant is also + /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance + /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary + /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is + /// inherited from Feature. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] + [Implements(implementation: "IUsage.MayTimeVary")] + public bool mayTimeVary { get; internal set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ActionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedAction")] + public List nestedAction { get; internal set; } + + /// + /// The AllocationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedAllocation")] + public List nestedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedAnalysisCase")] + public List nestedAnalysisCase { get; internal set; } + + /// + /// The code>AttributeUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedAttribute")] + public List nestedAttribute { get; internal set; } + + /// + /// The CalculationUsage that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedCalculation")] + public List nestedCalculation { get; internal set; } + + /// + /// The CaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] + [Implements(implementation: "IUsage.NestedCase")] + public List nestedCase { get; internal set; } + + /// + /// The ConcernUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedConcern")] + public List nestedConcern { get; internal set; } + + /// + /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are + /// ConnectorAsUsages even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedConnection")] + public List nestedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedConstraint")] + public List nestedConstraint { get; internal set; } + + /// + /// The code>EnumerationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] + [Implements(implementation: "IUsage.NestedEnumeration")] + public List nestedEnumeration { get; internal set; } + + /// + /// The code>FlowUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedFlow")] + public List nestedFlow { get; internal set; } + + /// + /// The InterfaceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedInterface")] + public List nestedInterface { get; internal set; } + + /// + /// The ItemUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedItem")] + public List nestedItem { get; internal set; } + + /// + /// The MetadataUsages that are nestedUsages of this of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedMetadata")] + public List nestedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedOccurrence")] + public List nestedOccurrence { get; internal set; } + + /// + /// The PartUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedPart")] + public List nestedPart { get; internal set; } + + /// + /// The PortUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedPort")] + public List nestedPort { get; internal set; } + + /// + /// The ReferenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedReference")] + public List nestedReference { get; internal set; } + + /// + /// The RenderingUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedRendering")] + public List nestedRendering { get; internal set; } + + /// + /// The RequirementUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] + [Implements(implementation: "IUsage.NestedRequirement")] + public List nestedRequirement { get; internal set; } + + /// + /// The StateUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedState")] + public List nestedState { get; internal set; } + + /// + /// The TransitionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedTransition")] + public List nestedTransition { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.NestedUsage")] + public List nestedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedUseCase")] + public List nestedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedVerificationCase")] + public List nestedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedView")] + public List nestedView { get; internal set; } + + /// + /// The ViewpointUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedViewpoint")] + public List nestedViewpoint { get; internal set; } + + /// + /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, + /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] + [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] + public List occurrenceDefinition { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The Definition that owns this Usage (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] + [Implements(implementation: "IUsage.OwningDefinition")] + public Guid? owningDefinition { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The Usage in which this Usage is nested (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IUsage.OwningUsage")] + public Guid? owningUsage { get; internal set; } + + /// + /// The itemDefinitions of this PartUsage that are PartDefinitions. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591475180488_929065_121", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565471361757_649736_20796")] + [Implements(implementation: "IPartUsage.PartDefinition")] + public List partDefinition { get; internal set; } + + /// + /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If + /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the + /// OccurrenceUsage represents portions of the featuring instance of the owningType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IOccurrenceUsage.PortionKind")] + public PortionKind? PortionKind { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [RedefinedByProperty("IConnector.RelatedFeature")] + [Implements(implementation: "IRelationship.RelatedElement")] + List Root.Elements.IRelationship.relatedElement => throw new InvalidOperationException("Redefined by property IConnector.RelatedFeature"); + + /// + /// The Features that are related by this Connector considered as a Relationship and that restrict the + /// links it identifies, given by the referenced Features of the connectorEnds of the Connector. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_916334_43210", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IConnector.RelatedFeature")] + public List relatedFeature { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IConnector.SourceFeature")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + } + + /// + /// The source relatedFeature for this Connector. It is the first relatedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594953058873_558253_3897", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [Implements(implementation: "IConnector.SourceFeature")] + public Guid? sourceFeature { get; internal set; } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IConnector.TargetFeature")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + } + + /// + /// The target relatedFeatures for this Connector. This includes all the relatedFeatures other than the + /// sourceFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594953128207_991867_3946", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [Implements(implementation: "IConnector.TargetFeature")] + public List targetFeature { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IUsage.Definition")] + [Implements(implementation: "IFeature.Type")] + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Usage (not necessarily owned). + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IUsage.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = + /// true. If isVariation = false, then there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IUsage.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this + /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IUsage.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/Connector.cs b/SysML2.NET/Core/AutoGenDto/Connector.cs index c6e676f7..27fb0e66 100644 --- a/SysML2.NET/Core/AutoGenDto/Connector.cs +++ b/SysML2.NET/Core/AutoGenDto/Connector.cs @@ -1,834 +1,842 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Connectors -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.DTO.Core.Features; - using SysML2.NET.Core.DTO.Root.Elements; - using SysML2.NET.Decorators; - - /// - /// A Connector is a usage of Associations, with links restricted according to instances of the Type in - /// which they are used (domain of the Connector). The associations of the Connector restrict what kinds - /// of things might be linked. The Connector further restricts these links to be between values of - /// Features on instances of its domain. - /// - [Class(xmiId: "_18_5_3_12e503d9_1533160651698_598377_42185", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class Connector : IConnector - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Associations that type the Connector. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674983_471497_43284", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [Implements(implementation: "IConnector.Association")] - public List Association { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The endFeatures of a Connector, which redefine the endFeatures of the associations of the Connector. - /// The connectorEnds determine via ReferenceSubsetting Relationships which Features are related by the - /// Connector. - /// - [Property(xmiId: "_18_5_3_12e503d9_1556735067666_827798_21922", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [Implements(implementation: "IConnector.ConnectorEnd")] - public List ConnectorEnd { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The innermost Type that is a common direct or indirect featuringType of the relatedFeatures, such - /// that, if it exists and was the featuringType of this Connector, the Connector would satisfy the - /// checkConnectorTypeFeaturing constraint. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737751598145_444042_71", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IConnector.DefaultFeaturingType")] - public Guid? DefaultFeaturingType { get; internal set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IConnector.ConnectorEnd")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - public bool IsEnd { get; set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [RedefinedByProperty("IConnector.RelatedFeature")] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The Features that are related by this Connector considered as a Relationship and that restrict the - /// links it identifies, given by the referenced Features of the connectorEnds of the Connector. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_916334_43210", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IConnector.RelatedFeature")] - public List RelatedFeature { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IConnector.SourceFeature")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// The source relatedFeature for this Connector. It is the first relatedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594953058873_558253_3897", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [Implements(implementation: "IConnector.SourceFeature")] - public Guid? SourceFeature { get; internal set; } - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IConnector.TargetFeature")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The target relatedFeatures for this Connector. This includes all the relatedFeatures other than the - /// sourceFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594953128207_991867_3946", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [Implements(implementation: "IConnector.TargetFeature")] - public List TargetFeature { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IConnector.Association")] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Connectors +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.DTO.Core.Features; + using SysML2.NET.Core.DTO.Root.Elements; + using SysML2.NET.Decorators; + + /// + /// A Connector is a usage of Associations, with links restricted according to instances of the Type in + /// which they are used (domain of the Connector). The associations of the Connector restrict what kinds + /// of things might be linked. The Connector further restricts these links to be between values of + /// Features on instances of its domain. + /// + [Class(xmiId: "_18_5_3_12e503d9_1533160651698_598377_42185", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class Connector : IConnector + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Associations that type the Connector. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674983_471497_43284", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [Implements(implementation: "IConnector.Association")] + public List association { get; internal set; } + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The endFeatures of a Connector, which redefine the endFeatures of the associations of the Connector. + /// The connectorEnds determine via ReferenceSubsetting Relationships which Features are related by the + /// Connector. + /// + [Property(xmiId: "_18_5_3_12e503d9_1556735067666_827798_21922", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [Implements(implementation: "IConnector.ConnectorEnd")] + public List connectorEnd { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The innermost Type that is a common direct or indirect featuringType of the relatedFeatures, such + /// that, if it exists and was the featuringType of this Connector, the Connector would satisfy the + /// checkConnectorTypeFeaturing constraint. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737751598145_444042_71", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IConnector.DefaultFeaturingType")] + public Guid? defaultFeaturingType { get; internal set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.DirectedFeature")] + public List directedFeature { get; internal set; } + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IConnector.ConnectorEnd")] + [Implements(implementation: "IType.EndFeature")] + List Core.Types.IType.endFeature => throw new InvalidOperationException("Redefined by property IConnector.ConnectorEnd"); + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + public bool IsEnd { get; set; } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsVariable")] + public bool IsVariable { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [RedefinedByProperty("IConnector.RelatedFeature")] + [Implements(implementation: "IRelationship.RelatedElement")] + List Root.Elements.IRelationship.relatedElement => throw new InvalidOperationException("Redefined by property IConnector.RelatedFeature"); + + /// + /// The Features that are related by this Connector considered as a Relationship and that restrict the + /// links it identifies, given by the referenced Features of the connectorEnds of the Connector. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_916334_43210", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IConnector.RelatedFeature")] + public List relatedFeature { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IConnector.SourceFeature")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + } + + /// + /// The source relatedFeature for this Connector. It is the first relatedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594953058873_558253_3897", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [Implements(implementation: "IConnector.SourceFeature")] + public Guid? sourceFeature { get; internal set; } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IConnector.TargetFeature")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + } + + /// + /// The target relatedFeatures for this Connector. This includes all the relatedFeatures other than the + /// sourceFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594953128207_991867_3946", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [Implements(implementation: "IConnector.TargetFeature")] + public List targetFeature { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IConnector.Association")] + [Implements(implementation: "IFeature.Type")] + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IConnector.Association"); + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ConstraintDefinition.cs b/SysML2.NET/Core/AutoGenDto/ConstraintDefinition.cs index fc63e180..eea3ff1d 100644 --- a/SysML2.NET/Core/AutoGenDto/ConstraintDefinition.cs +++ b/SysML2.NET/Core/AutoGenDto/ConstraintDefinition.cs @@ -1,818 +1,818 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Constraints -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Kernel.Functions; - using SysML2.NET.Core.DTO.Systems.Occurrences; - using SysML2.NET.Decorators; - - /// - /// A ConstraintDefinition is an OccurrenceDefinition that is also a Predicate that defines a constraint - /// that may be asserted to hold on a system or part of a system. - /// - [Class(xmiId: "_19_0_2_12e503d9_1578067054125_439104_1452", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class ConstraintDefinition : IConstraintDefinition - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IBehavior.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Definition that are directedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565495064714_974634_26150", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IDefinition.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Expressions that are steps in the calculation of the result of this Function. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948400639_301251_20841", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] - [Implements(implementation: "IFunction.Expression")] - public List Expression { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - public bool IsAbstract { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceDefinition is constrained to represent at most one thing. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618955405499_394357_6740", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceDefinition.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether this Function can be used as the function of a model-level evaluable InvocationExpression. - /// Certain Functions from the Kernel Functions Library are considered to have isModelLevelEvaluable = - /// true. For all other Functions it is false.Note: See the specification of the KerML - /// concrete syntax notation for Expressions for an identification of which library Functions are - /// model-level evaluable. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617395221463_139517_26381", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFunction.IsModelLevelEvaluable")] - public bool IsModelLevelEvaluable { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IDefinition.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ActionUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedAction")] - public List OwnedAction { get; internal set; } - - /// - /// The AllocationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedAllocation")] - public List OwnedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List OwnedAnalysisCase { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The AttributeUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedAttribute")] - public List OwnedAttribute { get; internal set; } - - /// - /// The CalculationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - [Implements(implementation: "IDefinition.OwnedCalculation")] - public List OwnedCalculation { get; internal set; } - - /// - /// The code>CaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] - [Implements(implementation: "IDefinition.OwnedCase")] - public List OwnedCase { get; internal set; } - - /// - /// The ConcernUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - [Implements(implementation: "IDefinition.OwnedConcern")] - public List OwnedConcern { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowUsages because these are ConnectorAsUsages - /// even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedConnection")] - public List OwnedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedConstraint")] - public List OwnedConstraint { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The EnumerationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] - [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List OwnedEnumeration { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The FlowUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedFlow")] - public List OwnedFlow { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The InterfaceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedInterface")] - public List OwnedInterface { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The ItemUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedItem")] - public List OwnedItem { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The MetadataUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - [Implements(implementation: "IDefinition.OwnedMetadata")] - public List OwnedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List OwnedOccurrence { get; internal set; } - - /// - /// The PartUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - [Implements(implementation: "IDefinition.OwnedPart")] - public List OwnedPart { get; internal set; } - - /// - /// The PortUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedPort")] - public List OwnedPort { get; internal set; } - - /// - /// The ReferenceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedReference")] - public List OwnedReference { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The RenderingUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - [Implements(implementation: "IDefinition.OwnedRendering")] - public List OwnedRendering { get; internal set; } - - /// - /// The RequirementUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] - [Implements(implementation: "IDefinition.OwnedRequirement")] - public List OwnedRequirement { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The StateUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - [Implements(implementation: "IDefinition.OwnedState")] - public List OwnedState { get; internal set; } - - /// - /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier - /// is the subclassifier. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List OwnedSubclassification { get; internal set; } - - /// - /// The TransitionUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedTransition")] - public List OwnedTransition { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Definition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686637_967933_23236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IDefinition.OwnedUsage")] - public List OwnedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedUseCase")] - public List OwnedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List OwnedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - [Implements(implementation: "IDefinition.OwnedView")] - public List OwnedView { get; internal set; } - - /// - /// The ViewpointUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List OwnedViewpoint { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The parameters of this Behavior, which are defined as its directedFeatures, whose values are passed - /// into and/or out of a performance of the Behavior. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948010065_362066_20413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IBehavior.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The object or value that is the result of evaluating the Function. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948912268_88159_21323", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] - [Implements(implementation: "IFunction.Result")] - public Guid Result { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The Steps that make up this Behavior. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346067212_587255_17343", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IBehavior.Step")] - public List Step { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Definition (not necessarily owned). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IDefinition.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Definition as a variation point Definition, if - /// isVariation = true. If isVariation = false, the there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IDefinition.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then - /// this must be all ownedMemberships of the Definition. If isVariation = false, then - /// variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IDefinition.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Constraints +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Kernel.Functions; + using SysML2.NET.Core.DTO.Systems.Occurrences; + using SysML2.NET.Decorators; + + /// + /// A ConstraintDefinition is an OccurrenceDefinition that is also a Predicate that defines a constraint + /// that may be asserted to hold on a system or part of a system. + /// + [Class(xmiId: "_19_0_2_12e503d9_1578067054125_439104_1452", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class ConstraintDefinition : IConstraintDefinition + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IBehavior.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IBehavior.Parameter"); + + /// + /// The usages of this Definition that are directedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565495064714_974634_26150", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IDefinition.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Expressions that are steps in the calculation of the result of this Function. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948400639_301251_20841", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] + [Implements(implementation: "IFunction.Expression")] + public List expression { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + public bool IsAbstract { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceDefinition is constrained to represent at most one thing. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618955405499_394357_6740", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceDefinition.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether this Function can be used as the function of a model-level evaluable InvocationExpression. + /// Certain Functions from the Kernel Functions Library are considered to have isModelLevelEvaluable = + /// true. For all other Functions it is false.Note: See the specification of the KerML + /// concrete syntax notation for Expressions for an identification of which library Functions are + /// model-level evaluable. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617395221463_139517_26381", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFunction.IsModelLevelEvaluable")] + public bool isModelLevelEvaluable { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IDefinition.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ActionUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedAction")] + public List ownedAction { get; internal set; } + + /// + /// The AllocationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedAllocation")] + public List ownedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedAnalysisCase")] + public List ownedAnalysisCase { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The AttributeUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedAttribute")] + public List ownedAttribute { get; internal set; } + + /// + /// The CalculationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] + [Implements(implementation: "IDefinition.OwnedCalculation")] + public List ownedCalculation { get; internal set; } + + /// + /// The code>CaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] + [Implements(implementation: "IDefinition.OwnedCase")] + public List ownedCase { get; internal set; } + + /// + /// The ConcernUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + [Implements(implementation: "IDefinition.OwnedConcern")] + public List ownedConcern { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowUsages because these are ConnectorAsUsages + /// even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedConnection")] + public List ownedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedConstraint")] + public List ownedConstraint { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The EnumerationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] + [Implements(implementation: "IDefinition.OwnedEnumeration")] + public List ownedEnumeration { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The FlowUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedFlow")] + public List ownedFlow { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The InterfaceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedInterface")] + public List ownedInterface { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The ItemUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedItem")] + public List ownedItem { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The MetadataUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] + [Implements(implementation: "IDefinition.OwnedMetadata")] + public List ownedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedOccurrence")] + public List ownedOccurrence { get; internal set; } + + /// + /// The PartUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] + [Implements(implementation: "IDefinition.OwnedPart")] + public List ownedPart { get; internal set; } + + /// + /// The PortUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedPort")] + public List ownedPort { get; internal set; } + + /// + /// The ReferenceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedReference")] + public List ownedReference { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The RenderingUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] + [Implements(implementation: "IDefinition.OwnedRendering")] + public List ownedRendering { get; internal set; } + + /// + /// The RequirementUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] + [Implements(implementation: "IDefinition.OwnedRequirement")] + public List ownedRequirement { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The StateUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] + [Implements(implementation: "IDefinition.OwnedState")] + public List ownedState { get; internal set; } + + /// + /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier + /// is the subclassifier. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [Implements(implementation: "IClassifier.OwnedSubclassification")] + public List ownedSubclassification { get; internal set; } + + /// + /// The TransitionUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedTransition")] + public List ownedTransition { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Definition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686637_967933_23236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IDefinition.OwnedUsage")] + public List ownedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedUseCase")] + public List ownedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedVerificationCase")] + public List ownedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] + [Implements(implementation: "IDefinition.OwnedView")] + public List ownedView { get; internal set; } + + /// + /// The ViewpointUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + [Implements(implementation: "IDefinition.OwnedViewpoint")] + public List ownedViewpoint { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The parameters of this Behavior, which are defined as its directedFeatures, whose values are passed + /// into and/or out of a performance of the Behavior. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948010065_362066_20413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IBehavior.Parameter")] + public List parameter { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The object or value that is the result of evaluating the Function. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948912268_88159_21323", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] + [Implements(implementation: "IFunction.Result")] + public Guid result { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The Steps that make up this Behavior. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346067212_587255_17343", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IBehavior.Step")] + public List step { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Definition (not necessarily owned). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IDefinition.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Definition as a variation point Definition, if + /// isVariation = true. If isVariation = false, the there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IDefinition.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then + /// this must be all ownedMemberships of the Definition. If isVariation = false, then + /// variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IDefinition.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ConstraintUsage.cs b/SysML2.NET/Core/AutoGenDto/ConstraintUsage.cs index 8b255294..1cd56851 100644 --- a/SysML2.NET/Core/AutoGenDto/ConstraintUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/ConstraintUsage.cs @@ -1,1140 +1,1144 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Constraints -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Core.DTO.Kernel.Functions; - using SysML2.NET.Core.DTO.Systems.Occurrences; - using SysML2.NET.Decorators; - - /// - /// A ConstraintUsage is an OccurrenceUsage that is also a BooleanExpression, and, so, is typed by a - /// Predicate. Nominally, if the type is a ConstraintDefinition, a ConstraintUsage is a Usage of that - /// ConstraintDefinition. However, other kinds of kernel Predicates are also allowed, to permit use of - /// Predicates from the Kernel Model Libraries. - /// - [Class(xmiId: "_19_0_2_12e503d9_1578067096274_745288_1478", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class ConstraintUsage : IConstraintUsage - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Behaviors that type this Step. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IExpression.Function")] - [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The (single) Predicate that is the type of this ConstraintUsage. Nominally, this will be a - /// ConstraintDefinition, but other kinds of Predicates are also allowed, to permit use of Predicates - /// from the Kernel Model Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578067546711_751168_1745", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1578025035149_386_969")] - [Implements(implementation: "IConstraintUsage.ConstraintDefinition")] - public Guid? ConstraintDefinition { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds - /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] - [Implements(implementation: "IUsage.Definition")] - public List Definition { get; internal set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IStep.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Usage that are directedFeatures. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Function that types this Expression. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - [RedefinedByProperty("IBooleanExpression.Predicate")] - [Implements(implementation: "IExpression.Function")] - public Guid? Function { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// The at most one occurrenceDefinition that has isIndividual = true. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public Guid? IndividualDefinition { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its - /// individualDefinition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceUsage.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, - /// using metadata within the model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool IsModelLevelEvaluable { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - public bool IsPortion { get; set; } - - /// - /// Whether this Usage is a referential Usage, that is, it has isComposite = false. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsReference")] - public bool IsReference { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [RedefinedByProperty("IUsage.MayTimeVary")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage - /// must be VariantMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its - /// owningType, rather than being featured by the owningType itself). However, if isConstant is also - /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance - /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary - /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is - /// inherited from Feature. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] - [Implements(implementation: "IUsage.MayTimeVary")] - public bool MayTimeVary { get; internal set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ActionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedAction")] - public List NestedAction { get; internal set; } - - /// - /// The AllocationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedAllocation")] - public List NestedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List NestedAnalysisCase { get; internal set; } - - /// - /// The code>AttributeUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedAttribute")] - public List NestedAttribute { get; internal set; } - - /// - /// The CalculationUsage that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedCalculation")] - public List NestedCalculation { get; internal set; } - - /// - /// The CaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] - [Implements(implementation: "IUsage.NestedCase")] - public List NestedCase { get; internal set; } - - /// - /// The ConcernUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedConcern")] - public List NestedConcern { get; internal set; } - - /// - /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are - /// ConnectorAsUsages even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedConnection")] - public List NestedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedConstraint")] - public List NestedConstraint { get; internal set; } - - /// - /// The code>EnumerationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] - [Implements(implementation: "IUsage.NestedEnumeration")] - public List NestedEnumeration { get; internal set; } - - /// - /// The code>FlowUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedFlow")] - public List NestedFlow { get; internal set; } - - /// - /// The InterfaceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedInterface")] - public List NestedInterface { get; internal set; } - - /// - /// The ItemUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedItem")] - public List NestedItem { get; internal set; } - - /// - /// The MetadataUsages that are nestedUsages of this of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedMetadata")] - public List NestedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedOccurrence")] - public List NestedOccurrence { get; internal set; } - - /// - /// The PartUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedPart")] - public List NestedPart { get; internal set; } - - /// - /// The PortUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedPort")] - public List NestedPort { get; internal set; } - - /// - /// The ReferenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedReference")] - public List NestedReference { get; internal set; } - - /// - /// The RenderingUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedRendering")] - public List NestedRendering { get; internal set; } - - /// - /// The RequirementUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] - [Implements(implementation: "IUsage.NestedRequirement")] - public List NestedRequirement { get; internal set; } - - /// - /// The StateUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedState")] - public List NestedState { get; internal set; } - - /// - /// The TransitionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedTransition")] - public List NestedTransition { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.NestedUsage")] - public List NestedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedUseCase")] - public List NestedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedVerificationCase")] - public List NestedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedView")] - public List NestedView { get; internal set; } - - /// - /// The ViewpointUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedViewpoint")] - public List NestedViewpoint { get; internal set; } - - /// - /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, - /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] - [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List OccurrenceDefinition { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The Definition that owns this Usage (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] - [Implements(implementation: "IUsage.OwningDefinition")] - public Guid? OwningDefinition { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The Usage in which this Usage is nested (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IUsage.OwningUsage")] - public Guid? OwningUsage { get; internal set; } - - /// - /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into - /// and/or out of a performance of the Step. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If - /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the - /// OccurrenceUsage represents portions of the featuring instance of the owningType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IOccurrenceUsage.PortionKind")] - public PortionKind? PortionKind { get; set; } - - /// - /// The Predicate that types the Expression. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578025035149_386_969", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1543948477241_299049_20934")] - [RedefinedByProperty("IConstraintUsage.ConstraintDefinition")] - [Implements(implementation: "IBooleanExpression.Predicate")] - public Guid? Predicate { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// An output parameter of the Expression whose value is the result of the Expression. The result of an - /// Expression is either inherited from its function or it is related to the Expression via a - /// ReturnParameterMembership, in which case it redefines the result parameter of its function. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [Implements(implementation: "IExpression.Result")] - public Guid Result { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IUsage.Definition")] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Usage (not necessarily owned). - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IUsage.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = - /// true. If isVariation = false, then there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IUsage.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this - /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IUsage.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Constraints +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Core.DTO.Kernel.Functions; + using SysML2.NET.Core.DTO.Systems.Occurrences; + using SysML2.NET.Decorators; + + /// + /// A ConstraintUsage is an OccurrenceUsage that is also a BooleanExpression, and, so, is typed by a + /// Predicate. Nominally, if the type is a ConstraintDefinition, a ConstraintUsage is a Usage of that + /// ConstraintDefinition. However, other kinds of kernel Predicates are also allowed, to permit use of + /// Predicates from the Kernel Model Libraries. + /// + [Class(xmiId: "_19_0_2_12e503d9_1578067096274_745288_1478", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class ConstraintUsage : IConstraintUsage + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Behaviors that type this Step. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IExpression.Function")] + [Implements(implementation: "IStep.Behavior")] + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The (single) Predicate that is the type of this ConstraintUsage. Nominally, this will be a + /// ConstraintDefinition, but other kinds of Predicates are also allowed, to permit use of Predicates + /// from the Kernel Model Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578067546711_751168_1745", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1578025035149_386_969")] + [Implements(implementation: "IConstraintUsage.ConstraintDefinition")] + public Guid? constraintDefinition { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds + /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] + [Implements(implementation: "IUsage.Definition")] + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IStep.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); + + /// + /// The usages of this Usage that are directedFeatures. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Function that types this Expression. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] + [RedefinedByProperty("IBooleanExpression.Predicate")] + [Implements(implementation: "IExpression.Function")] + Guid? Kernel.Functions.IExpression.function => throw new InvalidOperationException("Redefined by property IBooleanExpression.Predicate"); + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// The at most one occurrenceDefinition that has isIndividual = true. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] + public Guid? individualDefinition { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its + /// individualDefinition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceUsage.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, + /// using metadata within the model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IExpression.IsModelLevelEvaluable")] + public bool isModelLevelEvaluable { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + public bool IsPortion { get; set; } + + /// + /// Whether this Usage is a referential Usage, that is, it has isComposite = false. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsReference")] + public bool isReference { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [RedefinedByProperty("IUsage.MayTimeVary")] + [Implements(implementation: "IFeature.IsVariable")] + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } + + /// + /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage + /// must be VariantMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its + /// owningType, rather than being featured by the owningType itself). However, if isConstant is also + /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance + /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary + /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is + /// inherited from Feature. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] + [Implements(implementation: "IUsage.MayTimeVary")] + public bool mayTimeVary { get; internal set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ActionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedAction")] + public List nestedAction { get; internal set; } + + /// + /// The AllocationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedAllocation")] + public List nestedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedAnalysisCase")] + public List nestedAnalysisCase { get; internal set; } + + /// + /// The code>AttributeUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedAttribute")] + public List nestedAttribute { get; internal set; } + + /// + /// The CalculationUsage that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedCalculation")] + public List nestedCalculation { get; internal set; } + + /// + /// The CaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] + [Implements(implementation: "IUsage.NestedCase")] + public List nestedCase { get; internal set; } + + /// + /// The ConcernUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedConcern")] + public List nestedConcern { get; internal set; } + + /// + /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are + /// ConnectorAsUsages even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedConnection")] + public List nestedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedConstraint")] + public List nestedConstraint { get; internal set; } + + /// + /// The code>EnumerationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] + [Implements(implementation: "IUsage.NestedEnumeration")] + public List nestedEnumeration { get; internal set; } + + /// + /// The code>FlowUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedFlow")] + public List nestedFlow { get; internal set; } + + /// + /// The InterfaceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedInterface")] + public List nestedInterface { get; internal set; } + + /// + /// The ItemUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedItem")] + public List nestedItem { get; internal set; } + + /// + /// The MetadataUsages that are nestedUsages of this of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedMetadata")] + public List nestedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedOccurrence")] + public List nestedOccurrence { get; internal set; } + + /// + /// The PartUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedPart")] + public List nestedPart { get; internal set; } + + /// + /// The PortUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedPort")] + public List nestedPort { get; internal set; } + + /// + /// The ReferenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedReference")] + public List nestedReference { get; internal set; } + + /// + /// The RenderingUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedRendering")] + public List nestedRendering { get; internal set; } + + /// + /// The RequirementUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] + [Implements(implementation: "IUsage.NestedRequirement")] + public List nestedRequirement { get; internal set; } + + /// + /// The StateUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedState")] + public List nestedState { get; internal set; } + + /// + /// The TransitionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedTransition")] + public List nestedTransition { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.NestedUsage")] + public List nestedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedUseCase")] + public List nestedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedVerificationCase")] + public List nestedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedView")] + public List nestedView { get; internal set; } + + /// + /// The ViewpointUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedViewpoint")] + public List nestedViewpoint { get; internal set; } + + /// + /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, + /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] + [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] + public List occurrenceDefinition { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The Definition that owns this Usage (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] + [Implements(implementation: "IUsage.OwningDefinition")] + public Guid? owningDefinition { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The Usage in which this Usage is nested (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IUsage.OwningUsage")] + public Guid? owningUsage { get; internal set; } + + /// + /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into + /// and/or out of a performance of the Step. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IStep.Parameter")] + public List parameter { get; internal set; } + + /// + /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If + /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the + /// OccurrenceUsage represents portions of the featuring instance of the owningType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IOccurrenceUsage.PortionKind")] + public PortionKind? PortionKind { get; set; } + + /// + /// The Predicate that types the Expression. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578025035149_386_969", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1543948477241_299049_20934")] + [RedefinedByProperty("IConstraintUsage.ConstraintDefinition")] + [Implements(implementation: "IBooleanExpression.Predicate")] + Guid? Kernel.Functions.IBooleanExpression.predicate => throw new InvalidOperationException("Redefined by property IConstraintUsage.ConstraintDefinition"); + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// An output parameter of the Expression whose value is the result of the Expression. The result of an + /// Expression is either inherited from its function or it is related to the Expression via a + /// ReturnParameterMembership, in which case it redefines the result parameter of its function. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [Implements(implementation: "IExpression.Result")] + public Guid result { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IUsage.Definition")] + [Implements(implementation: "IFeature.Type")] + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Usage (not necessarily owned). + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IUsage.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = + /// true. If isVariation = false, then there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IUsage.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this + /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IUsage.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ConstructorExpression.cs b/SysML2.NET/Core/AutoGenDto/ConstructorExpression.cs index b27d77c7..bafce400 100644 --- a/SysML2.NET/Core/AutoGenDto/ConstructorExpression.cs +++ b/SysML2.NET/Core/AutoGenDto/ConstructorExpression.cs @@ -62,7 +62,7 @@ public partial class ConstructorExpression : IConstructorExpression ///
[Property(xmiId: "_2022x_2_12e503d9_1739134437590_328753_108", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IInstantiationExpression.Argument")] - public List Argument { get; internal set; } + public List argument { get; internal set; } /// /// The Behaviors that type this Step. @@ -71,7 +71,7 @@ public partial class ConstructorExpression : IConstructorExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IExpression.Function")] [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -83,7 +83,7 @@ public partial class ConstructorExpression : IConstructorExpression /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } + public List chainingFeature { get; internal set; } /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -93,7 +93,7 @@ public partial class ConstructorExpression : IConstructorExpression /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } + public Guid? crossFeature { get; internal set; } /// /// The declared name of this Element. @@ -123,7 +123,7 @@ public partial class ConstructorExpression : IConstructorExpression /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } + public List differencingType { get; internal set; } /// /// The features of this Type that have a non-null direction. @@ -132,7 +132,7 @@ public partial class ConstructorExpression : IConstructorExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -149,7 +149,7 @@ public partial class ConstructorExpression : IConstructorExpression [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } + public List documentation { get; internal set; } /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -165,7 +165,7 @@ public partial class ConstructorExpression : IConstructorExpression [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } + public List endFeature { get; internal set; } /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -175,7 +175,7 @@ public partial class ConstructorExpression : IConstructorExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } + public Guid? endOwningType { get; internal set; } /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -183,7 +183,7 @@ public partial class ConstructorExpression : IConstructorExpression [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } + public List feature { get; internal set; } /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -192,14 +192,14 @@ public partial class ConstructorExpression : IConstructorExpression /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } + public List featureMembership { get; internal set; } /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } + public Guid featureTarget { get; internal set; } /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -209,7 +209,7 @@ public partial class ConstructorExpression : IConstructorExpression /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } + public List featuringType { get; internal set; } /// /// The Function that types this Expression. @@ -217,7 +217,7 @@ public partial class ConstructorExpression : IConstructorExpression [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [Implements(implementation: "IExpression.Function")] - public Guid? Function { get; internal set; } + public Guid? function { get; internal set; } /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -225,7 +225,7 @@ public partial class ConstructorExpression : IConstructorExpression [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } + public List importedMembership { get; internal set; } /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -233,7 +233,7 @@ public partial class ConstructorExpression : IConstructorExpression [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } + public List inheritedFeature { get; internal set; } /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -242,7 +242,7 @@ public partial class ConstructorExpression : IConstructorExpression [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } + public List inheritedMembership { get; internal set; } /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -250,7 +250,7 @@ public partial class ConstructorExpression : IConstructorExpression [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } + public List input { get; internal set; } /// /// The Type that is being instantiated. @@ -258,7 +258,7 @@ public partial class ConstructorExpression : IConstructorExpression [Property(xmiId: "_2022x_2_12e503d9_1739134352572_416088_80", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IInstantiationExpression.InstantiatedType")] - public Guid InstantiatedType { get; internal set; } + public Guid instantiatedType { get; internal set; } /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -271,7 +271,7 @@ public partial class ConstructorExpression : IConstructorExpression /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } + public List intersectingType { get; internal set; } /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -295,7 +295,7 @@ public partial class ConstructorExpression : IConstructorExpression /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } + public bool isConjugated { get; internal set; } /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -342,7 +342,7 @@ public partial class ConstructorExpression : IConstructorExpression /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } + public bool isLibraryElement { get; internal set; } /// /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, @@ -350,7 +350,7 @@ public partial class ConstructorExpression : IConstructorExpression /// [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool IsModelLevelEvaluable { get; internal set; } + public bool isModelLevelEvaluable { get; internal set; } /// /// Whether an order exists for the values of this Feature or not. @@ -400,7 +400,7 @@ public partial class ConstructorExpression : IConstructorExpression /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } + public List member { get; internal set; } /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -408,7 +408,7 @@ public partial class ConstructorExpression : IConstructorExpression /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } + public List membership { get; internal set; } /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -418,7 +418,7 @@ public partial class ConstructorExpression : IConstructorExpression [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } + public Guid? multiplicity { get; internal set; } /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -428,7 +428,7 @@ public partial class ConstructorExpression : IConstructorExpression /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } + public string name { get; internal set; } /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -436,7 +436,7 @@ public partial class ConstructorExpression : IConstructorExpression [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } + public List output { get; internal set; } /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -446,7 +446,7 @@ public partial class ConstructorExpression : IConstructorExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } + public List ownedAnnotation { get; internal set; } /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -455,7 +455,7 @@ public partial class ConstructorExpression : IConstructorExpression [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } + public Guid? ownedConjugator { get; internal set; } /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -464,7 +464,7 @@ public partial class ConstructorExpression : IConstructorExpression [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } + public Guid? ownedCrossSubsetting { get; internal set; } /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -474,7 +474,7 @@ public partial class ConstructorExpression : IConstructorExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } + public List ownedDifferencing { get; internal set; } /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -484,7 +484,7 @@ public partial class ConstructorExpression : IConstructorExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } + public List ownedDisjoining { get; internal set; } /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -492,7 +492,7 @@ public partial class ConstructorExpression : IConstructorExpression /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } + public List ownedElement { get; internal set; } /// /// All endFeatures of this Type that are ownedFeatures. @@ -501,7 +501,7 @@ public partial class ConstructorExpression : IConstructorExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } + public List ownedEndFeature { get; internal set; } /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -509,7 +509,7 @@ public partial class ConstructorExpression : IConstructorExpression [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } + public List ownedFeature { get; internal set; } /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -519,7 +519,7 @@ public partial class ConstructorExpression : IConstructorExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } + public List ownedFeatureChaining { get; internal set; } /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -529,7 +529,7 @@ public partial class ConstructorExpression : IConstructorExpression [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } + public List ownedFeatureInverting { get; internal set; } /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -539,7 +539,7 @@ public partial class ConstructorExpression : IConstructorExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } + public List ownedFeatureMembership { get; internal set; } /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -549,7 +549,7 @@ public partial class ConstructorExpression : IConstructorExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } + public List ownedImport { get; internal set; } /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -558,7 +558,7 @@ public partial class ConstructorExpression : IConstructorExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } + public List ownedIntersecting { get; internal set; } /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -567,7 +567,7 @@ public partial class ConstructorExpression : IConstructorExpression [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } + public List ownedMember { get; internal set; } /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -578,7 +578,7 @@ public partial class ConstructorExpression : IConstructorExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } + public List ownedMembership { get; internal set; } /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -587,7 +587,7 @@ public partial class ConstructorExpression : IConstructorExpression [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } + public List ownedRedefinition { get; internal set; } /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -596,7 +596,7 @@ public partial class ConstructorExpression : IConstructorExpression [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } + public Guid? ownedReferenceSubsetting { get; internal set; } /// /// The Relationships for which this Element is the owningRelatedElement. @@ -614,7 +614,7 @@ public partial class ConstructorExpression : IConstructorExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } + public List ownedSpecialization { get; internal set; } /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -624,7 +624,7 @@ public partial class ConstructorExpression : IConstructorExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } + public List ownedSubsetting { get; internal set; } /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -634,7 +634,7 @@ public partial class ConstructorExpression : IConstructorExpression [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } + public List ownedTypeFeaturing { get; internal set; } /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -644,7 +644,7 @@ public partial class ConstructorExpression : IConstructorExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } + public List ownedTyping { get; internal set; } /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -653,7 +653,7 @@ public partial class ConstructorExpression : IConstructorExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } + public List ownedUnioning { get; internal set; } /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -661,7 +661,7 @@ public partial class ConstructorExpression : IConstructorExpression /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } + public Guid? owner { get; internal set; } /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -669,7 +669,7 @@ public partial class ConstructorExpression : IConstructorExpression [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } + public Guid? owningFeatureMembership { get; internal set; } /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -678,7 +678,7 @@ public partial class ConstructorExpression : IConstructorExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } + public Guid? owningMembership { get; internal set; } /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -687,7 +687,7 @@ public partial class ConstructorExpression : IConstructorExpression [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } + public Guid? owningNamespace { get; internal set; } /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -705,7 +705,7 @@ public partial class ConstructorExpression : IConstructorExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } + public Guid? owningType { get; internal set; } /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -714,7 +714,7 @@ public partial class ConstructorExpression : IConstructorExpression [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } + public List parameter { get; internal set; } /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -726,7 +726,7 @@ public partial class ConstructorExpression : IConstructorExpression /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } + public string qualifiedName { get; internal set; } /// /// An output parameter of the Expression whose value is the result of the Expression. The result of an @@ -737,7 +737,7 @@ public partial class ConstructorExpression : IConstructorExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [Implements(implementation: "IExpression.Result")] - public Guid Result { get; internal set; } + public Guid result { get; internal set; } /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -747,7 +747,7 @@ public partial class ConstructorExpression : IConstructorExpression /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } + public string shortName { get; internal set; } /// /// The TextualRepresentations that annotate this Element. @@ -756,7 +756,7 @@ public partial class ConstructorExpression : IConstructorExpression [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } + public List textualRepresentation { get; internal set; } /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -766,7 +766,7 @@ public partial class ConstructorExpression : IConstructorExpression /// [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } + public List type { get; internal set; } /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -777,7 +777,7 @@ public partial class ConstructorExpression : IConstructorExpression /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } + public List unioningType { get; internal set; } } } diff --git a/SysML2.NET/Core/AutoGenDto/CrossSubsetting.cs b/SysML2.NET/Core/AutoGenDto/CrossSubsetting.cs index 3a737e7d..835b8629 100644 --- a/SysML2.NET/Core/AutoGenDto/CrossSubsetting.cs +++ b/SysML2.NET/Core/AutoGenDto/CrossSubsetting.cs @@ -79,7 +79,7 @@ public partial class CrossSubsetting : ICrossSubsetting [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_236250_43311")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674967_140305_43206")] [Implements(implementation: "ICrossSubsetting.CrossingFeature")] - public Guid CrossingFeature { get; internal set; } + public Guid crossingFeature { get; internal set; } /// /// The declared name of this Element. @@ -105,7 +105,7 @@ public partial class CrossSubsetting : ICrossSubsetting [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } + public List documentation { get; internal set; } /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -122,7 +122,11 @@ public partial class CrossSubsetting : ICrossSubsetting [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [RedefinedByProperty("ISubsetting.SubsettedFeature")] [Implements(implementation: "ISpecialization.General")] - public Guid General { get; set; } + Guid Core.Types.ISpecialization.General + { + get => throw new InvalidOperationException("Redefined by property ISubsetting.SubsettedFeature"); + set => throw new InvalidOperationException("Redefined by property ISubsetting.SubsettedFeature"); + } /// /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being @@ -148,7 +152,7 @@ public partial class CrossSubsetting : ICrossSubsetting /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } + public bool isLibraryElement { get; internal set; } /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -158,7 +162,7 @@ public partial class CrossSubsetting : ICrossSubsetting /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } + public string name { get; internal set; } /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -168,7 +172,7 @@ public partial class CrossSubsetting : ICrossSubsetting [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } + public List ownedAnnotation { get; internal set; } /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -176,7 +180,7 @@ public partial class CrossSubsetting : ICrossSubsetting /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } + public List ownedElement { get; internal set; } /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -200,7 +204,7 @@ public partial class CrossSubsetting : ICrossSubsetting /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } + public Guid? owner { get; internal set; } /// /// A subsettingFeature that is also the owningRelatedElement of this Subsetting. @@ -210,7 +214,7 @@ public partial class CrossSubsetting : ICrossSubsetting [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_573157_43226")] [RedefinedByProperty("ICrossSubsetting.CrossingFeature")] [Implements(implementation: "ISubsetting.OwningFeature")] - public Guid? OwningFeature { get; internal set; } + Guid? ISubsetting.owningFeature => throw new InvalidOperationException("Redefined by property ICrossSubsetting.CrossingFeature"); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -219,7 +223,7 @@ public partial class CrossSubsetting : ICrossSubsetting [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } + public Guid? owningMembership { get; internal set; } /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -228,7 +232,7 @@ public partial class CrossSubsetting : ICrossSubsetting [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } + public Guid? owningNamespace { get; internal set; } /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -254,7 +258,7 @@ public partial class CrossSubsetting : ICrossSubsetting [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] [RedefinedByProperty("ISubsetting.OwningFeature")] [Implements(implementation: "ISpecialization.OwningType")] - public Guid? OwningType { get; internal set; } + Guid? Core.Types.ISpecialization.owningType => throw new InvalidOperationException("Redefined by property ISubsetting.OwningFeature"); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -266,7 +270,7 @@ public partial class CrossSubsetting : ICrossSubsetting /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } + public string qualifiedName { get; internal set; } /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -274,7 +278,7 @@ public partial class CrossSubsetting : ICrossSubsetting /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } + public List relatedElement { get; internal set; } /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -284,7 +288,7 @@ public partial class CrossSubsetting : ICrossSubsetting /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } + public string shortName { get; internal set; } /// /// The relatedElements from which this Relationship is considered to be directed. @@ -293,7 +297,11 @@ public partial class CrossSubsetting : ICrossSubsetting [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("ISpecialization.Specific")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property ISpecialization.Specific"); + set => throw new InvalidOperationException("Redefined by property ISpecialization.Specific"); + } /// /// A Type with a subset of all instances of the general Type, which might be the same set. @@ -302,7 +310,11 @@ public partial class CrossSubsetting : ICrossSubsetting [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [RedefinedByProperty("ISubsetting.SubsettingFeature")] [Implements(implementation: "ISpecialization.Specific")] - public Guid Specific { get; set; } + Guid Core.Types.ISpecialization.Specific + { + get => throw new InvalidOperationException("Redefined by property ISubsetting.SubsettingFeature"); + set => throw new InvalidOperationException("Redefined by property ISubsetting.SubsettingFeature"); + } /// /// The Feature that is subsetted by the subsettingFeature of this Subsetting. @@ -311,7 +323,11 @@ public partial class CrossSubsetting : ICrossSubsetting [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_563969_43273")] [RedefinedByProperty("ICrossSubsetting.CrossedFeature")] [Implements(implementation: "ISubsetting.SubsettedFeature")] - public Guid SubsettedFeature { get; set; } + Guid ISubsetting.SubsettedFeature + { + get => throw new InvalidOperationException("Redefined by property ICrossSubsetting.CrossedFeature"); + set => throw new InvalidOperationException("Redefined by property ICrossSubsetting.CrossedFeature"); + } /// /// The Feature that is a subset of the subsettedFeature of this Subsetting. @@ -320,7 +336,11 @@ public partial class CrossSubsetting : ICrossSubsetting [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] [RedefinedByProperty("ICrossSubsetting.CrossingFeature")] [Implements(implementation: "ISubsetting.SubsettingFeature")] - public Guid SubsettingFeature { get; set; } + Guid ISubsetting.SubsettingFeature + { + get => throw new InvalidOperationException("Redefined by property ICrossSubsetting.CrossingFeature"); + set => throw new InvalidOperationException("Redefined by property ICrossSubsetting.CrossingFeature"); + } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -329,7 +349,11 @@ public partial class CrossSubsetting : ICrossSubsetting [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("ISpecialization.General")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property ISpecialization.General"); + set => throw new InvalidOperationException("Redefined by property ISpecialization.General"); + } /// /// The TextualRepresentations that annotate this Element. @@ -338,7 +362,7 @@ public partial class CrossSubsetting : ICrossSubsetting [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } + public List textualRepresentation { get; internal set; } } } diff --git a/SysML2.NET/Core/AutoGenDto/DataType.cs b/SysML2.NET/Core/AutoGenDto/DataType.cs index 6028e691..bf260ac4 100644 --- a/SysML2.NET/Core/AutoGenDto/DataType.cs +++ b/SysML2.NET/Core/AutoGenDto/DataType.cs @@ -1,505 +1,505 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.DataTypes -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Core.Classifiers; - using SysML2.NET.Decorators; - - /// - /// A DataType is a Classifier of things (in the universe) that can only be distinguished by how they - /// are related to other things (via Features). This means multiple things classified by the same - /// DataType
  • Cannot be distinguished when they are related to other things in exactly the same - /// way, even when they are intended to be about different things.
  • Can be distinguished when - /// they are related to other things in different ways, even when they are intended to be about the same - /// thing.
- ///
- [Class(xmiId: "_18_5_3_12e503d9_1557527599533_240072_110321", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class DataType : IDataType - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - public bool IsAbstract { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier - /// is the subclassifier. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List OwnedSubclassification { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.DataTypes +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Core.Classifiers; + using SysML2.NET.Decorators; + + /// + /// A DataType is a Classifier of things (in the universe) that can only be distinguished by how they + /// are related to other things (via Features). This means multiple things classified by the same + /// DataType
  • Cannot be distinguished when they are related to other things in exactly the same + /// way, even when they are intended to be about different things.
  • Can be distinguished when + /// they are related to other things in different ways, even when they are intended to be about the same + /// thing.
+ ///
+ [Class(xmiId: "_18_5_3_12e503d9_1557527599533_240072_110321", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class DataType : IDataType + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.DirectedFeature")] + public List directedFeature { get; internal set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + public bool IsAbstract { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier + /// is the subclassifier. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [Implements(implementation: "IClassifier.OwnedSubclassification")] + public List ownedSubclassification { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/DecisionNode.cs b/SysML2.NET/Core/AutoGenDto/DecisionNode.cs index 5a9d8dc5..b15a24e3 100644 --- a/SysML2.NET/Core/AutoGenDto/DecisionNode.cs +++ b/SysML2.NET/Core/AutoGenDto/DecisionNode.cs @@ -1,1100 +1,1104 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Actions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Decorators; - - /// - /// A DecisionNode is a ControlNode that makes a selection from its outgoing Successions. - /// - [Class(xmiId: "_18_5_3_12e503d9_1565503118756_203952_33551", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class DecisionNode : IDecisionNode - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// The Behaviors that are the types of this ActionUsage. Nominally, these would be ActionDefinitions, - /// but other kinds of Kernel Behaviors are also allowed, to permit use of Behaviors from the Kernel - /// Model Libraries. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565500905804_589845_30779", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IActionUsage.ActionDefinition")] - public List ActionDefinition { get; internal set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Behaviors that type this Step. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IActionUsage.ActionDefinition")] - [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds - /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] - [Implements(implementation: "IUsage.Definition")] - public List Definition { get; internal set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IStep.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Usage that are directedFeatures. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// The at most one occurrenceDefinition that has isIndividual = true. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public Guid? IndividualDefinition { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its - /// individualDefinition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceUsage.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - public bool IsPortion { get; set; } - - /// - /// Whether this Usage is a referential Usage, that is, it has isComposite = false. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsReference")] - public bool IsReference { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [RedefinedByProperty("IUsage.MayTimeVary")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage - /// must be VariantMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its - /// owningType, rather than being featured by the owningType itself). However, if isConstant is also - /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance - /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary - /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is - /// inherited from Feature. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] - [Implements(implementation: "IUsage.MayTimeVary")] - public bool MayTimeVary { get; internal set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ActionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedAction")] - public List NestedAction { get; internal set; } - - /// - /// The AllocationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedAllocation")] - public List NestedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List NestedAnalysisCase { get; internal set; } - - /// - /// The code>AttributeUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedAttribute")] - public List NestedAttribute { get; internal set; } - - /// - /// The CalculationUsage that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedCalculation")] - public List NestedCalculation { get; internal set; } - - /// - /// The CaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] - [Implements(implementation: "IUsage.NestedCase")] - public List NestedCase { get; internal set; } - - /// - /// The ConcernUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedConcern")] - public List NestedConcern { get; internal set; } - - /// - /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are - /// ConnectorAsUsages even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedConnection")] - public List NestedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedConstraint")] - public List NestedConstraint { get; internal set; } - - /// - /// The code>EnumerationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] - [Implements(implementation: "IUsage.NestedEnumeration")] - public List NestedEnumeration { get; internal set; } - - /// - /// The code>FlowUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedFlow")] - public List NestedFlow { get; internal set; } - - /// - /// The InterfaceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedInterface")] - public List NestedInterface { get; internal set; } - - /// - /// The ItemUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedItem")] - public List NestedItem { get; internal set; } - - /// - /// The MetadataUsages that are nestedUsages of this of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedMetadata")] - public List NestedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedOccurrence")] - public List NestedOccurrence { get; internal set; } - - /// - /// The PartUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedPart")] - public List NestedPart { get; internal set; } - - /// - /// The PortUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedPort")] - public List NestedPort { get; internal set; } - - /// - /// The ReferenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedReference")] - public List NestedReference { get; internal set; } - - /// - /// The RenderingUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedRendering")] - public List NestedRendering { get; internal set; } - - /// - /// The RequirementUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] - [Implements(implementation: "IUsage.NestedRequirement")] - public List NestedRequirement { get; internal set; } - - /// - /// The StateUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedState")] - public List NestedState { get; internal set; } - - /// - /// The TransitionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedTransition")] - public List NestedTransition { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.NestedUsage")] - public List NestedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedUseCase")] - public List NestedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedVerificationCase")] - public List NestedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedView")] - public List NestedView { get; internal set; } - - /// - /// The ViewpointUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedViewpoint")] - public List NestedViewpoint { get; internal set; } - - /// - /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, - /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] - [RedefinedByProperty("IActionUsage.ActionDefinition")] - [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List OccurrenceDefinition { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The Definition that owns this Usage (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] - [Implements(implementation: "IUsage.OwningDefinition")] - public Guid? OwningDefinition { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The Usage in which this Usage is nested (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IUsage.OwningUsage")] - public Guid? OwningUsage { get; internal set; } - - /// - /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into - /// and/or out of a performance of the Step. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If - /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the - /// OccurrenceUsage represents portions of the featuring instance of the owningType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IOccurrenceUsage.PortionKind")] - public PortionKind? PortionKind { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IUsage.Definition")] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Usage (not necessarily owned). - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IUsage.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = - /// true. If isVariation = false, then there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IUsage.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this - /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IUsage.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Actions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Decorators; + + /// + /// A DecisionNode is a ControlNode that makes a selection from its outgoing Successions. + /// + [Class(xmiId: "_18_5_3_12e503d9_1565503118756_203952_33551", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class DecisionNode : IDecisionNode + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// The Behaviors that are the types of this ActionUsage. Nominally, these would be ActionDefinitions, + /// but other kinds of Kernel Behaviors are also allowed, to permit use of Behaviors from the Kernel + /// Model Libraries. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565500905804_589845_30779", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IActionUsage.ActionDefinition")] + public List actionDefinition { get; internal set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Behaviors that type this Step. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IActionUsage.ActionDefinition")] + [Implements(implementation: "IStep.Behavior")] + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds + /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] + [Implements(implementation: "IUsage.Definition")] + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IStep.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); + + /// + /// The usages of this Usage that are directedFeatures. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// The at most one occurrenceDefinition that has isIndividual = true. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] + public Guid? individualDefinition { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its + /// individualDefinition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceUsage.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + public bool IsPortion { get; set; } + + /// + /// Whether this Usage is a referential Usage, that is, it has isComposite = false. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsReference")] + public bool isReference { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [RedefinedByProperty("IUsage.MayTimeVary")] + [Implements(implementation: "IFeature.IsVariable")] + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } + + /// + /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage + /// must be VariantMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its + /// owningType, rather than being featured by the owningType itself). However, if isConstant is also + /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance + /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary + /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is + /// inherited from Feature. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] + [Implements(implementation: "IUsage.MayTimeVary")] + public bool mayTimeVary { get; internal set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ActionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedAction")] + public List nestedAction { get; internal set; } + + /// + /// The AllocationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedAllocation")] + public List nestedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedAnalysisCase")] + public List nestedAnalysisCase { get; internal set; } + + /// + /// The code>AttributeUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedAttribute")] + public List nestedAttribute { get; internal set; } + + /// + /// The CalculationUsage that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedCalculation")] + public List nestedCalculation { get; internal set; } + + /// + /// The CaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] + [Implements(implementation: "IUsage.NestedCase")] + public List nestedCase { get; internal set; } + + /// + /// The ConcernUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedConcern")] + public List nestedConcern { get; internal set; } + + /// + /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are + /// ConnectorAsUsages even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedConnection")] + public List nestedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedConstraint")] + public List nestedConstraint { get; internal set; } + + /// + /// The code>EnumerationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] + [Implements(implementation: "IUsage.NestedEnumeration")] + public List nestedEnumeration { get; internal set; } + + /// + /// The code>FlowUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedFlow")] + public List nestedFlow { get; internal set; } + + /// + /// The InterfaceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedInterface")] + public List nestedInterface { get; internal set; } + + /// + /// The ItemUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedItem")] + public List nestedItem { get; internal set; } + + /// + /// The MetadataUsages that are nestedUsages of this of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedMetadata")] + public List nestedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedOccurrence")] + public List nestedOccurrence { get; internal set; } + + /// + /// The PartUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedPart")] + public List nestedPart { get; internal set; } + + /// + /// The PortUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedPort")] + public List nestedPort { get; internal set; } + + /// + /// The ReferenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedReference")] + public List nestedReference { get; internal set; } + + /// + /// The RenderingUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedRendering")] + public List nestedRendering { get; internal set; } + + /// + /// The RequirementUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] + [Implements(implementation: "IUsage.NestedRequirement")] + public List nestedRequirement { get; internal set; } + + /// + /// The StateUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedState")] + public List nestedState { get; internal set; } + + /// + /// The TransitionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedTransition")] + public List nestedTransition { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.NestedUsage")] + public List nestedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedUseCase")] + public List nestedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedVerificationCase")] + public List nestedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedView")] + public List nestedView { get; internal set; } + + /// + /// The ViewpointUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedViewpoint")] + public List nestedViewpoint { get; internal set; } + + /// + /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, + /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] + [RedefinedByProperty("IActionUsage.ActionDefinition")] + [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] + List Systems.Occurrences.IOccurrenceUsage.occurrenceDefinition => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The Definition that owns this Usage (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] + [Implements(implementation: "IUsage.OwningDefinition")] + public Guid? owningDefinition { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The Usage in which this Usage is nested (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IUsage.OwningUsage")] + public Guid? owningUsage { get; internal set; } + + /// + /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into + /// and/or out of a performance of the Step. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IStep.Parameter")] + public List parameter { get; internal set; } + + /// + /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If + /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the + /// OccurrenceUsage represents portions of the featuring instance of the owningType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IOccurrenceUsage.PortionKind")] + public PortionKind? PortionKind { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IUsage.Definition")] + [Implements(implementation: "IFeature.Type")] + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Usage (not necessarily owned). + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IUsage.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = + /// true. If isVariation = false, then there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IUsage.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this + /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IUsage.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/Definition.cs b/SysML2.NET/Core/AutoGenDto/Definition.cs index a4c848da..3d4e55a5 100644 --- a/SysML2.NET/Core/AutoGenDto/Definition.cs +++ b/SysML2.NET/Core/AutoGenDto/Definition.cs @@ -1,772 +1,772 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.DefinitionAndUsage -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Core.Classifiers; - using SysML2.NET.Decorators; - - /// - /// A Definition is a Classifier of Usages. The actual kinds of Definition that may appear in a model - /// are given by the subclasses of Definition (possibly as extended with user-defined - /// SemanticMetadata).Normally, a Definition has owned Usages that model features of the thing being - /// defined. A Definition may also have other Definitions nested in it, but this has no semantic - /// significance, other than the nested scoping resulting from the Definition being considered as a - /// Namespace for any nested Definitions.However, if a Definition has isVariation = true, then it - /// represents a variation point Definition. In this case, all of its members must be variant Usages, - /// related to the Definition by VariantMembership Relationships. Rather than being features of the - /// Definition, variant Usages model different concrete alternatives that can be chosen to fill in for - /// an abstract Usage of the variation point Definition. - /// - [Class(xmiId: "_18_5_3_12e503d9_1565479032244_336549_22524", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class Definition : IDefinition - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Definition that are directedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565495064714_974634_26150", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IDefinition.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - public bool IsAbstract { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IDefinition.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ActionUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedAction")] - public List OwnedAction { get; internal set; } - - /// - /// The AllocationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedAllocation")] - public List OwnedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List OwnedAnalysisCase { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The AttributeUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedAttribute")] - public List OwnedAttribute { get; internal set; } - - /// - /// The CalculationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - [Implements(implementation: "IDefinition.OwnedCalculation")] - public List OwnedCalculation { get; internal set; } - - /// - /// The code>CaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] - [Implements(implementation: "IDefinition.OwnedCase")] - public List OwnedCase { get; internal set; } - - /// - /// The ConcernUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - [Implements(implementation: "IDefinition.OwnedConcern")] - public List OwnedConcern { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowUsages because these are ConnectorAsUsages - /// even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedConnection")] - public List OwnedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedConstraint")] - public List OwnedConstraint { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The EnumerationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] - [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List OwnedEnumeration { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The FlowUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedFlow")] - public List OwnedFlow { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The InterfaceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedInterface")] - public List OwnedInterface { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The ItemUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedItem")] - public List OwnedItem { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The MetadataUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - [Implements(implementation: "IDefinition.OwnedMetadata")] - public List OwnedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List OwnedOccurrence { get; internal set; } - - /// - /// The PartUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - [Implements(implementation: "IDefinition.OwnedPart")] - public List OwnedPart { get; internal set; } - - /// - /// The PortUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedPort")] - public List OwnedPort { get; internal set; } - - /// - /// The ReferenceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedReference")] - public List OwnedReference { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The RenderingUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - [Implements(implementation: "IDefinition.OwnedRendering")] - public List OwnedRendering { get; internal set; } - - /// - /// The RequirementUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] - [Implements(implementation: "IDefinition.OwnedRequirement")] - public List OwnedRequirement { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The StateUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - [Implements(implementation: "IDefinition.OwnedState")] - public List OwnedState { get; internal set; } - - /// - /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier - /// is the subclassifier. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List OwnedSubclassification { get; internal set; } - - /// - /// The TransitionUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedTransition")] - public List OwnedTransition { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Definition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686637_967933_23236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IDefinition.OwnedUsage")] - public List OwnedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedUseCase")] - public List OwnedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List OwnedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - [Implements(implementation: "IDefinition.OwnedView")] - public List OwnedView { get; internal set; } - - /// - /// The ViewpointUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List OwnedViewpoint { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Definition (not necessarily owned). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IDefinition.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Definition as a variation point Definition, if - /// isVariation = true. If isVariation = false, the there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IDefinition.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then - /// this must be all ownedMemberships of the Definition. If isVariation = false, then - /// variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IDefinition.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.DefinitionAndUsage +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Core.Classifiers; + using SysML2.NET.Decorators; + + /// + /// A Definition is a Classifier of Usages. The actual kinds of Definition that may appear in a model + /// are given by the subclasses of Definition (possibly as extended with user-defined + /// SemanticMetadata).Normally, a Definition has owned Usages that model features of the thing being + /// defined. A Definition may also have other Definitions nested in it, but this has no semantic + /// significance, other than the nested scoping resulting from the Definition being considered as a + /// Namespace for any nested Definitions.However, if a Definition has isVariation = true, then it + /// represents a variation point Definition. In this case, all of its members must be variant Usages, + /// related to the Definition by VariantMembership Relationships. Rather than being features of the + /// Definition, variant Usages model different concrete alternatives that can be chosen to fill in for + /// an abstract Usage of the variation point Definition. + /// + [Class(xmiId: "_18_5_3_12e503d9_1565479032244_336549_22524", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class Definition : IDefinition + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.DirectedFeature")] + public List directedFeature { get; internal set; } + + /// + /// The usages of this Definition that are directedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565495064714_974634_26150", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IDefinition.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + public bool IsAbstract { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IDefinition.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ActionUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedAction")] + public List ownedAction { get; internal set; } + + /// + /// The AllocationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedAllocation")] + public List ownedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedAnalysisCase")] + public List ownedAnalysisCase { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The AttributeUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedAttribute")] + public List ownedAttribute { get; internal set; } + + /// + /// The CalculationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] + [Implements(implementation: "IDefinition.OwnedCalculation")] + public List ownedCalculation { get; internal set; } + + /// + /// The code>CaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] + [Implements(implementation: "IDefinition.OwnedCase")] + public List ownedCase { get; internal set; } + + /// + /// The ConcernUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + [Implements(implementation: "IDefinition.OwnedConcern")] + public List ownedConcern { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowUsages because these are ConnectorAsUsages + /// even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedConnection")] + public List ownedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedConstraint")] + public List ownedConstraint { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The EnumerationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] + [Implements(implementation: "IDefinition.OwnedEnumeration")] + public List ownedEnumeration { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The FlowUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedFlow")] + public List ownedFlow { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The InterfaceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedInterface")] + public List ownedInterface { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The ItemUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedItem")] + public List ownedItem { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The MetadataUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] + [Implements(implementation: "IDefinition.OwnedMetadata")] + public List ownedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedOccurrence")] + public List ownedOccurrence { get; internal set; } + + /// + /// The PartUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] + [Implements(implementation: "IDefinition.OwnedPart")] + public List ownedPart { get; internal set; } + + /// + /// The PortUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedPort")] + public List ownedPort { get; internal set; } + + /// + /// The ReferenceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedReference")] + public List ownedReference { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The RenderingUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] + [Implements(implementation: "IDefinition.OwnedRendering")] + public List ownedRendering { get; internal set; } + + /// + /// The RequirementUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] + [Implements(implementation: "IDefinition.OwnedRequirement")] + public List ownedRequirement { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The StateUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] + [Implements(implementation: "IDefinition.OwnedState")] + public List ownedState { get; internal set; } + + /// + /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier + /// is the subclassifier. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [Implements(implementation: "IClassifier.OwnedSubclassification")] + public List ownedSubclassification { get; internal set; } + + /// + /// The TransitionUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedTransition")] + public List ownedTransition { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Definition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686637_967933_23236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IDefinition.OwnedUsage")] + public List ownedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedUseCase")] + public List ownedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedVerificationCase")] + public List ownedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] + [Implements(implementation: "IDefinition.OwnedView")] + public List ownedView { get; internal set; } + + /// + /// The ViewpointUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + [Implements(implementation: "IDefinition.OwnedViewpoint")] + public List ownedViewpoint { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Definition (not necessarily owned). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IDefinition.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Definition as a variation point Definition, if + /// isVariation = true. If isVariation = false, the there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IDefinition.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then + /// this must be all ownedMemberships of the Definition. If isVariation = false, then + /// variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IDefinition.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/Dependency.cs b/SysML2.NET/Core/AutoGenDto/Dependency.cs index 04b795c6..0a0ac803 100644 --- a/SysML2.NET/Core/AutoGenDto/Dependency.cs +++ b/SysML2.NET/Core/AutoGenDto/Dependency.cs @@ -1,282 +1,290 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Root.Dependencies -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Root.Elements; - 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. - /// - [Class(xmiId: "_19_0_2_12e503d9_1594006219028_628649_74", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class Dependency : IDependency - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Element or Elements dependent on the supplier Elements. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594006406653_175551_182", aggregation: AggregationKind.None, lowerValue: 1, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [Implements(implementation: "IDependency.Client")] - public List Client { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IDependency.Client")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// The Element or Elements on which the client Elements depend in some respect. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594006525044_548771_207", aggregation: AggregationKind.None, lowerValue: 1, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [Implements(implementation: "IDependency.Supplier")] - public List Supplier { get; set; } = []; - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IDependency.Supplier")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Root.Dependencies +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Root.Elements; + 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. + /// + [Class(xmiId: "_19_0_2_12e503d9_1594006219028_628649_74", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class Dependency : IDependency + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Element or Elements dependent on the supplier Elements. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594006406653_175551_182", aggregation: AggregationKind.None, lowerValue: 1, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [Implements(implementation: "IDependency.Client")] + public List Client { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IRelationship.RelatedElement")] + public List relatedElement { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IDependency.Client")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IDependency.Client"); + set => throw new InvalidOperationException("Redefined by property IDependency.Client"); + } + + /// + /// The Element or Elements on which the client Elements depend in some respect. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594006525044_548771_207", aggregation: AggregationKind.None, lowerValue: 1, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [Implements(implementation: "IDependency.Supplier")] + public List Supplier { get; set; } = []; + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IDependency.Supplier")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IDependency.Supplier"); + set => throw new InvalidOperationException("Redefined by property IDependency.Supplier"); + } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/Differencing.cs b/SysML2.NET/Core/AutoGenDto/Differencing.cs index 0207ad9c..76c6ca22 100644 --- a/SysML2.NET/Core/AutoGenDto/Differencing.cs +++ b/SysML2.NET/Core/AutoGenDto/Differencing.cs @@ -1,283 +1,291 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Core.Types -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Root.Elements; - using SysML2.NET.Decorators; - - /// - /// Differencing is a Relationship that makes its differencingType one of the differencingTypes of its - /// typeDifferenced. - /// - [Class(xmiId: "_19_0_4_b9102da_1661870994364_119372_712", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class Differencing : IDifferencing - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// Type that partly determines interpretations of typeDifferenced, as described in - /// Type::differencingType. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871173117_978241_809", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [Implements(implementation: "IDifferencing.DifferencingType")] - public Guid DifferencingType { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IDifferencing.TypeDifferenced")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IDifferencing.DifferencingType")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Type with interpretations partly determined by differencingType, as described in - /// Type::differencingType. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168453_175911_796", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [Implements(implementation: "IDifferencing.TypeDifferenced")] - public Guid TypeDifferenced { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Core.Types +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Root.Elements; + using SysML2.NET.Decorators; + + /// + /// Differencing is a Relationship that makes its differencingType one of the differencingTypes of its + /// typeDifferenced. + /// + [Class(xmiId: "_19_0_4_b9102da_1661870994364_119372_712", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class Differencing : IDifferencing + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// Type that partly determines interpretations of typeDifferenced, as described in + /// Type::differencingType. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871173117_978241_809", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [Implements(implementation: "IDifferencing.DifferencingType")] + public Guid DifferencingType { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IRelationship.RelatedElement")] + public List relatedElement { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IDifferencing.TypeDifferenced")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IDifferencing.TypeDifferenced"); + set => throw new InvalidOperationException("Redefined by property IDifferencing.TypeDifferenced"); + } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IDifferencing.DifferencingType")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IDifferencing.DifferencingType"); + set => throw new InvalidOperationException("Redefined by property IDifferencing.DifferencingType"); + } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Type with interpretations partly determined by differencingType, as described in + /// Type::differencingType. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168453_175911_796", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [Implements(implementation: "IDifferencing.TypeDifferenced")] + public Guid typeDifferenced { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/Disjoining.cs b/SysML2.NET/Core/AutoGenDto/Disjoining.cs index 4c19a8a2..0be97017 100644 --- a/SysML2.NET/Core/AutoGenDto/Disjoining.cs +++ b/SysML2.NET/Core/AutoGenDto/Disjoining.cs @@ -1,291 +1,299 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Core.Types -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Root.Elements; - using SysML2.NET.Decorators; - - /// - /// A Disjoining is a Relationship between Types asserted to have interpretations that are not shared - /// (disjoint) between them, identified as typeDisjoined and disjoiningType. For example, a Classifier - /// for mammals is disjoint from a Classifier for minerals, and a Feature for people's parents is - /// disjoint from a Feature for their children. - /// - [Class(xmiId: "_19_0_4_b9102da_1623182941809_239395_557", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class Disjoining : IDisjoining - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// Type asserted to be disjoint with the typeDisjoined. - /// - [Property(xmiId: "_19_0_4_b9102da_1623183201866_537160_629", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [Implements(implementation: "IDisjoining.DisjoiningType")] - public Guid DisjoiningType { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// A typeDisjoined that is also an owningRelatedElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519614_499771_371", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_955906_617")] - [Implements(implementation: "IDisjoining.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IDisjoining.TypeDisjoined")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IDisjoining.DisjoiningType")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Type asserted to be disjoint with the disjoiningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1623183194914_955906_617", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [Implements(implementation: "IDisjoining.TypeDisjoined")] - public Guid TypeDisjoined { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Core.Types +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Root.Elements; + using SysML2.NET.Decorators; + + /// + /// A Disjoining is a Relationship between Types asserted to have interpretations that are not shared + /// (disjoint) between them, identified as typeDisjoined and disjoiningType. For example, a Classifier + /// for mammals is disjoint from a Classifier for minerals, and a Feature for people's parents is + /// disjoint from a Feature for their children. + /// + [Class(xmiId: "_19_0_4_b9102da_1623182941809_239395_557", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class Disjoining : IDisjoining + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// Type asserted to be disjoint with the typeDisjoined. + /// + [Property(xmiId: "_19_0_4_b9102da_1623183201866_537160_629", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [Implements(implementation: "IDisjoining.DisjoiningType")] + public Guid DisjoiningType { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// A typeDisjoined that is also an owningRelatedElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519614_499771_371", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_955906_617")] + [Implements(implementation: "IDisjoining.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IRelationship.RelatedElement")] + public List relatedElement { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IDisjoining.TypeDisjoined")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IDisjoining.TypeDisjoined"); + set => throw new InvalidOperationException("Redefined by property IDisjoining.TypeDisjoined"); + } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IDisjoining.DisjoiningType")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IDisjoining.DisjoiningType"); + set => throw new InvalidOperationException("Redefined by property IDisjoining.DisjoiningType"); + } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Type asserted to be disjoint with the disjoiningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1623183194914_955906_617", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [Implements(implementation: "IDisjoining.TypeDisjoined")] + public Guid TypeDisjoined { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/Documentation.cs b/SysML2.NET/Core/AutoGenDto/Documentation.cs index 39c6bc05..f2fd7e5c 100644 --- a/SysML2.NET/Core/AutoGenDto/Documentation.cs +++ b/SysML2.NET/Core/AutoGenDto/Documentation.cs @@ -1,275 +1,275 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Root.Annotations -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Decorators; - - /// - /// Documentation is a Comment that specifically documents a documentedElement, which must be its owner. - /// - [Class(xmiId: "_19_0_4_12e503d9_1647722169749_235252_587", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class Documentation : IDocumentation - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Elements that are annotated by this AnnotatingElement. If annotation is not empty, these are the - /// annotatedElements of the annotations. If annotation is empty, then it is the owningNamespace of the - /// AnnotatingElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594145755058_99428_86", aggregation: AggregationKind.None, lowerValue: 1, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IDocumentation.DocumentedElement")] - [Implements(implementation: "IAnnotatingElement.AnnotatedElement")] - public List AnnotatedElement { get; internal set; } - - /// - /// The Annotations that relate this AnnotatingElement to its annotatedElements. This includes the - /// owningAnnotatingRelationship (if any) followed by all the ownedAnnotatingRelationshps. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543094212714_953084_18407", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IAnnotatingElement.Annotation")] - public List Annotation { get; internal set; } - - /// - /// The annotation text for the Comment. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674981_840045_43277", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IComment.Body")] - public string Body { get; set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - List Root.Elements.IElement.Documentation { get; } - - /// - /// The Element that is documented by this Documentation. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_948466_1622", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_744477_17277")] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1594145755058_99428_86")] - [Implements(implementation: "IDocumentation.DocumentedElement")] - public Guid DocumentedElement { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Identification of the language of the body text and, optionally, the region and/or encoding. The - /// format shall be a POSIX locale conformant to ISO/IEC 15897, with the format - /// [language[_territory][.codeset][@modifier]]. - /// - [Property(xmiId: "_19_0_4_12e503d9_1647722682836_708148_649", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IComment.Locale")] - public string Locale { get; set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ownedRelationships of this AnnotatingElement that are Annotations, for which this - /// AnnotatingElement is the annotatingElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1703019570915_375100_18", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IAnnotatingElement.OwnedAnnotatingRelationship")] - public List OwnedAnnotatingRelationship { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this AnnotatingRelationship, if it is an Annotation - /// - [Property(xmiId: "_2022x_2_12e503d9_1735188506571_308678_376", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] - [Implements(implementation: "IAnnotatingElement.OwningAnnotatingRelationship")] - public Guid? OwningAnnotatingRelationship { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Root.Annotations +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Decorators; + + /// + /// Documentation is a Comment that specifically documents a documentedElement, which must be its owner. + /// + [Class(xmiId: "_19_0_4_12e503d9_1647722169749_235252_587", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class Documentation : IDocumentation + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Elements that are annotated by this AnnotatingElement. If annotation is not empty, these are the + /// annotatedElements of the annotations. If annotation is empty, then it is the owningNamespace of the + /// AnnotatingElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594145755058_99428_86", aggregation: AggregationKind.None, lowerValue: 1, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IDocumentation.DocumentedElement")] + [Implements(implementation: "IAnnotatingElement.AnnotatedElement")] + List IAnnotatingElement.annotatedElement => throw new InvalidOperationException("Redefined by property IDocumentation.DocumentedElement"); + + /// + /// The Annotations that relate this AnnotatingElement to its annotatedElements. This includes the + /// owningAnnotatingRelationship (if any) followed by all the ownedAnnotatingRelationshps. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543094212714_953084_18407", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IAnnotatingElement.Annotation")] + public List annotation { get; internal set; } + + /// + /// The annotation text for the Comment. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674981_840045_43277", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IComment.Body")] + public string Body { get; set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// The Element that is documented by this Documentation. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_948466_1622", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_744477_17277")] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1594145755058_99428_86")] + [Implements(implementation: "IDocumentation.DocumentedElement")] + public Guid documentedElement { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Identification of the language of the body text and, optionally, the region and/or encoding. The + /// format shall be a POSIX locale conformant to ISO/IEC 15897, with the format + /// [language[_territory][.codeset][@modifier]]. + /// + [Property(xmiId: "_19_0_4_12e503d9_1647722682836_708148_649", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IComment.Locale")] + public string Locale { get; set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ownedRelationships of this AnnotatingElement that are Annotations, for which this + /// AnnotatingElement is the annotatingElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1703019570915_375100_18", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IAnnotatingElement.OwnedAnnotatingRelationship")] + public List ownedAnnotatingRelationship { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this AnnotatingRelationship, if it is an Annotation + /// + [Property(xmiId: "_2022x_2_12e503d9_1735188506571_308678_376", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] + [Implements(implementation: "IAnnotatingElement.OwningAnnotatingRelationship")] + public Guid? owningAnnotatingRelationship { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ElementFilterMembership.cs b/SysML2.NET/Core/AutoGenDto/ElementFilterMembership.cs index 50d3c0e7..9c261844 100644 --- a/SysML2.NET/Core/AutoGenDto/ElementFilterMembership.cs +++ b/SysML2.NET/Core/AutoGenDto/ElementFilterMembership.cs @@ -1,362 +1,382 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Packages -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Root.Namespaces; - using SysML2.NET.Core.DTO.Root.Namespaces; - using SysML2.NET.Decorators; - - /// - /// ElementFilterMembership is a Membership between a Namespace and a model-level evaluable - /// Boolean-valued Expression, asserting that imported members of the Namespace should be filtered using - /// the condition Expression. A general Namespace does not define any specific filtering behavior, but - /// such behavior may be defined for various specialized kinds of Namespaces. - /// - [Class(xmiId: "_19_0_4_12e503d9_1605760960644_813844_5877", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class ElementFilterMembership : IElementFilterMembership - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The model-level evaluable Boolean-valued Expression used to filter the imported members of the - /// membershipOwningNamespace of this ElementFilterMembership. - /// - [Property(xmiId: "_19_0_4_12e503d9_1605762464250_876969_157", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] - [Implements(implementation: "IElementFilterMembership.Condition")] - public Guid Condition { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_819490_43195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] - [Implements(implementation: "IMembership.MemberElement")] - public Guid MemberElement { get; set; } - - /// - /// The elementId of the memberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] - [Implements(implementation: "IMembership.MemberElementId")] - public string MemberElementId { get; internal set; } - - /// - /// The name of the memberElement relative to the membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberName")] - [Implements(implementation: "IMembership.MemberName")] - public string MemberName { get; set; } - - /// - /// The Namespace of which the memberElement becomes a member due to this Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_193857_43197", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_531296_43182")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [Implements(implementation: "IMembership.MembershipOwningNamespace")] - public Guid MembershipOwningNamespace { get; internal set; } - - /// - /// The short name of the memberElement relative to the membershipOwningNamespace. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] - [Implements(implementation: "IMembership.MemberShortName")] - public string MemberShortName { get; set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this - /// OwningMembership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_501750_43196", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_59873_43302")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] - [RedefinedByProperty("IElementFilterMembership.Condition")] - [Implements(implementation: "IOwningMembership.OwnedMemberElement")] - public Guid OwnedMemberElement { get; internal set; } - - /// - /// The elementId of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] - [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] - public string OwnedMemberElementId { get; internal set; } - - /// - /// The name of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] - [Implements(implementation: "IOwningMembership.OwnedMemberName")] - public string OwnedMemberName { get; internal set; } - - /// - /// The shortName of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] - [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] - public string OwnedMemberShortName { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IMembership.MembershipOwningNamespace")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IMembership.MemberElement")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly - /// visible outside that Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_42975_43193", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "public")] - [Implements(implementation: "IMembership.Visibility")] - public VisibilityKind Visibility { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Packages +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Root.Namespaces; + using SysML2.NET.Core.DTO.Root.Namespaces; + using SysML2.NET.Decorators; + + /// + /// ElementFilterMembership is a Membership between a Namespace and a model-level evaluable + /// Boolean-valued Expression, asserting that imported members of the Namespace should be filtered using + /// the condition Expression. A general Namespace does not define any specific filtering behavior, but + /// such behavior may be defined for various specialized kinds of Namespaces. + /// + [Class(xmiId: "_19_0_4_12e503d9_1605760960644_813844_5877", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class ElementFilterMembership : IElementFilterMembership + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The model-level evaluable Boolean-valued Expression used to filter the imported members of the + /// membershipOwningNamespace of this ElementFilterMembership. + /// + [Property(xmiId: "_19_0_4_12e503d9_1605762464250_876969_157", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] + [Implements(implementation: "IElementFilterMembership.Condition")] + public Guid condition { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_819490_43195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] + [Implements(implementation: "IMembership.MemberElement")] + Guid Root.Namespaces.IMembership.MemberElement + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + } + + /// + /// The elementId of the memberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] + [Implements(implementation: "IMembership.MemberElementId")] + string Root.Namespaces.IMembership.memberElementId => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElementId"); + + /// + /// The name of the memberElement relative to the membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberName")] + [Implements(implementation: "IMembership.MemberName")] + string Root.Namespaces.IMembership.MemberName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + } + + /// + /// The Namespace of which the memberElement becomes a member due to this Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_193857_43197", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_531296_43182")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [Implements(implementation: "IMembership.MembershipOwningNamespace")] + public Guid membershipOwningNamespace { get; internal set; } + + /// + /// The short name of the memberElement relative to the membershipOwningNamespace. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] + [Implements(implementation: "IMembership.MemberShortName")] + string Root.Namespaces.IMembership.MemberShortName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this + /// OwningMembership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_501750_43196", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_59873_43302")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] + [RedefinedByProperty("IElementFilterMembership.Condition")] + [Implements(implementation: "IOwningMembership.OwnedMemberElement")] + Guid Root.Namespaces.IOwningMembership.ownedMemberElement => throw new InvalidOperationException("Redefined by property IElementFilterMembership.Condition"); + + /// + /// The elementId of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] + [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] + public string ownedMemberElementId { get; internal set; } + + /// + /// The name of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] + [Implements(implementation: "IOwningMembership.OwnedMemberName")] + public string ownedMemberName { get; internal set; } + + /// + /// The shortName of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] + [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] + public string ownedMemberShortName { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IRelationship.RelatedElement")] + public List relatedElement { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IMembership.MembershipOwningNamespace")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IMembership.MemberElement")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + set => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly + /// visible outside that Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_42975_43193", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "public")] + [Implements(implementation: "IMembership.Visibility")] + public VisibilityKind Visibility { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/EndFeatureMembership.cs b/SysML2.NET/Core/AutoGenDto/EndFeatureMembership.cs index 06f18b97..c6d104d7 100644 --- a/SysML2.NET/Core/AutoGenDto/EndFeatureMembership.cs +++ b/SysML2.NET/Core/AutoGenDto/EndFeatureMembership.cs @@ -1,378 +1,398 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Core.Features -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Root.Namespaces; - using SysML2.NET.Core.DTO.Core.Types; - using SysML2.NET.Decorators; - - /// - /// EndFeatureMembership is a FeatureMembership that requires its memberFeature be owned and have isEnd - /// = true. - /// - [Class(xmiId: "_19_0_4_12e503d9_1625459008756_956040_5416", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class EndFeatureMembership : IEndFeatureMembership - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_819490_43195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] - [Implements(implementation: "IMembership.MemberElement")] - public Guid MemberElement { get; set; } - - /// - /// The elementId of the memberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] - [Implements(implementation: "IMembership.MemberElementId")] - public string MemberElementId { get; internal set; } - - /// - /// The name of the memberElement relative to the membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberName")] - [Implements(implementation: "IMembership.MemberName")] - public string MemberName { get; set; } - - /// - /// The Namespace of which the memberElement becomes a member due to this Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_193857_43197", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_531296_43182")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [RedefinedByProperty("IFeatureMembership.OwningType")] - [Implements(implementation: "IMembership.MembershipOwningNamespace")] - public Guid MembershipOwningNamespace { get; internal set; } - - /// - /// The short name of the memberElement relative to the membershipOwningNamespace. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] - [Implements(implementation: "IMembership.MemberShortName")] - public string MemberShortName { get; set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this - /// OwningMembership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_501750_43196", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_59873_43302")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] - [RedefinedByProperty("IFeatureMembership.OwnedMemberFeature")] - [Implements(implementation: "IOwningMembership.OwnedMemberElement")] - public Guid OwnedMemberElement { get; internal set; } - - /// - /// The elementId of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] - [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] - public string OwnedMemberElementId { get; internal set; } - - /// - /// - [Property(xmiId: "_19_0_4_12e503d9_1625459277304_568293_5526", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] - [Implements(implementation: "IEndFeatureMembership.OwnedMemberFeature")] - Guid IEndFeatureMembership.OwnedMemberFeature { get; } - - /// - /// The Feature that this FeatureMembership relates to its owningType, making it an ownedFeature of the - /// owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_898044_43344", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] - [RedefinedByProperty("IEndFeatureMembership.OwnedMemberFeature")] - [Implements(implementation: "IFeatureMembership.OwnedMemberFeature")] - Guid Core.Types.IFeatureMembership.OwnedMemberFeature { get; } - - /// - /// The name of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] - [Implements(implementation: "IOwningMembership.OwnedMemberName")] - public string OwnedMemberName { get; internal set; } - - /// - /// The shortName of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] - [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] - public string OwnedMemberShortName { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that owns this FeatureMembership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_418504_43339", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866524_738482_486")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] - [Implements(implementation: "IFeatureMembership.OwningType")] - public Guid OwningType { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IMembership.MembershipOwningNamespace")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IMembership.MemberElement")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly - /// visible outside that Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_42975_43193", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "public")] - [Implements(implementation: "IMembership.Visibility")] - public VisibilityKind Visibility { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Core.Features +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Root.Namespaces; + using SysML2.NET.Core.DTO.Core.Types; + using SysML2.NET.Decorators; + + /// + /// EndFeatureMembership is a FeatureMembership that requires its memberFeature be owned and have isEnd + /// = true. + /// + [Class(xmiId: "_19_0_4_12e503d9_1625459008756_956040_5416", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class EndFeatureMembership : IEndFeatureMembership + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_819490_43195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] + [Implements(implementation: "IMembership.MemberElement")] + Guid Root.Namespaces.IMembership.MemberElement + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + } + + /// + /// The elementId of the memberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] + [Implements(implementation: "IMembership.MemberElementId")] + string Root.Namespaces.IMembership.memberElementId => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElementId"); + + /// + /// The name of the memberElement relative to the membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberName")] + [Implements(implementation: "IMembership.MemberName")] + string Root.Namespaces.IMembership.MemberName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + } + + /// + /// The Namespace of which the memberElement becomes a member due to this Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_193857_43197", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_531296_43182")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [RedefinedByProperty("IFeatureMembership.OwningType")] + [Implements(implementation: "IMembership.MembershipOwningNamespace")] + Guid Root.Namespaces.IMembership.membershipOwningNamespace => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwningType"); + + /// + /// The short name of the memberElement relative to the membershipOwningNamespace. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] + [Implements(implementation: "IMembership.MemberShortName")] + string Root.Namespaces.IMembership.MemberShortName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this + /// OwningMembership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_501750_43196", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_59873_43302")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] + [RedefinedByProperty("IFeatureMembership.OwnedMemberFeature")] + [Implements(implementation: "IOwningMembership.OwnedMemberElement")] + Guid Root.Namespaces.IOwningMembership.ownedMemberElement => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwnedMemberFeature"); + + /// + /// The elementId of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] + [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] + public string ownedMemberElementId { get; internal set; } + + /// + /// + [Property(xmiId: "_19_0_4_12e503d9_1625459277304_568293_5526", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] + [Implements(implementation: "IEndFeatureMembership.OwnedMemberFeature")] + public Guid ownedMemberFeature { get; internal set; } + + /// + /// The Feature that this FeatureMembership relates to its owningType, making it an ownedFeature of the + /// owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_898044_43344", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] + [RedefinedByProperty("IEndFeatureMembership.OwnedMemberFeature")] + [Implements(implementation: "IFeatureMembership.OwnedMemberFeature")] + Guid Core.Types.IFeatureMembership.ownedMemberFeature => throw new InvalidOperationException("Redefined by property IEndFeatureMembership.OwnedMemberFeature"); + + /// + /// The name of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] + [Implements(implementation: "IOwningMembership.OwnedMemberName")] + public string ownedMemberName { get; internal set; } + + /// + /// The shortName of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] + [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] + public string ownedMemberShortName { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that owns this FeatureMembership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_418504_43339", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866524_738482_486")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] + [Implements(implementation: "IFeatureMembership.OwningType")] + public Guid owningType { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IRelationship.RelatedElement")] + public List relatedElement { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IMembership.MembershipOwningNamespace")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IMembership.MemberElement")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + set => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly + /// visible outside that Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_42975_43193", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "public")] + [Implements(implementation: "IMembership.Visibility")] + public VisibilityKind Visibility { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/EnumerationDefinition.cs b/SysML2.NET/Core/AutoGenDto/EnumerationDefinition.cs index ac422a76..1b17b465 100644 --- a/SysML2.NET/Core/AutoGenDto/EnumerationDefinition.cs +++ b/SysML2.NET/Core/AutoGenDto/EnumerationDefinition.cs @@ -1,785 +1,789 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Enumerations -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Systems.Attributes; - 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. - /// - [Class(xmiId: "_19_0_4_12e503d9_1606946467364_179493_153", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class EnumerationDefinition : IEnumerationDefinition - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Definition that are directedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565495064714_974634_26150", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IDefinition.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// EnumerationUsages of this EnumerationDefinitionthat have distinct, fixed values. Each - /// enumeratedValue specifies one of the allowed instances of the EnumerationDefinition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946634788_959145_265", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1590979457191_746167_951")] - [Implements(implementation: "IEnumerationDefinition.EnumeratedValue")] - public List EnumeratedValue { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - public bool IsAbstract { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// An EnumerationDefinition is considered semantically to be a variation whose allowed variants are its - /// enumerationValues. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946783667_895456_287", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1590978283180_265362_419")] - [Implements(implementation: "IEnumerationDefinition.IsVariation")] - bool IEnumerationDefinition.IsVariation { get; set; } = true; - - /// - /// Whether this Definition is for a variation point or not. If true, then all the memberships of the - /// Definition must be VariantMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IEnumerationDefinition.IsVariation")] - [Implements(implementation: "IDefinition.IsVariation")] - bool Systems.DefinitionAndUsage.IDefinition.IsVariation { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ActionUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedAction")] - public List OwnedAction { get; internal set; } - - /// - /// The AllocationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedAllocation")] - public List OwnedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List OwnedAnalysisCase { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The AttributeUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedAttribute")] - public List OwnedAttribute { get; internal set; } - - /// - /// The CalculationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - [Implements(implementation: "IDefinition.OwnedCalculation")] - public List OwnedCalculation { get; internal set; } - - /// - /// The code>CaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] - [Implements(implementation: "IDefinition.OwnedCase")] - public List OwnedCase { get; internal set; } - - /// - /// The ConcernUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - [Implements(implementation: "IDefinition.OwnedConcern")] - public List OwnedConcern { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowUsages because these are ConnectorAsUsages - /// even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedConnection")] - public List OwnedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedConstraint")] - public List OwnedConstraint { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The EnumerationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] - [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List OwnedEnumeration { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The FlowUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedFlow")] - public List OwnedFlow { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The InterfaceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedInterface")] - public List OwnedInterface { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The ItemUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedItem")] - public List OwnedItem { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The MetadataUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - [Implements(implementation: "IDefinition.OwnedMetadata")] - public List OwnedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List OwnedOccurrence { get; internal set; } - - /// - /// The PartUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - [Implements(implementation: "IDefinition.OwnedPart")] - public List OwnedPart { get; internal set; } - - /// - /// The PortUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedPort")] - public List OwnedPort { get; internal set; } - - /// - /// The ReferenceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedReference")] - public List OwnedReference { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The RenderingUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - [Implements(implementation: "IDefinition.OwnedRendering")] - public List OwnedRendering { get; internal set; } - - /// - /// The RequirementUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] - [Implements(implementation: "IDefinition.OwnedRequirement")] - public List OwnedRequirement { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The StateUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - [Implements(implementation: "IDefinition.OwnedState")] - public List OwnedState { get; internal set; } - - /// - /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier - /// is the subclassifier. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List OwnedSubclassification { get; internal set; } - - /// - /// The TransitionUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedTransition")] - public List OwnedTransition { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Definition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686637_967933_23236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IDefinition.OwnedUsage")] - public List OwnedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedUseCase")] - public List OwnedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List OwnedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - [Implements(implementation: "IDefinition.OwnedView")] - public List OwnedView { get; internal set; } - - /// - /// The ViewpointUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List OwnedViewpoint { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Definition (not necessarily owned). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IDefinition.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Definition as a variation point Definition, if - /// isVariation = true. If isVariation = false, the there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [RedefinedByProperty("IEnumerationDefinition.EnumeratedValue")] - [Implements(implementation: "IDefinition.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then - /// this must be all ownedMemberships of the Definition. If isVariation = false, then - /// variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IDefinition.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Enumerations +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Systems.Attributes; + 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. + /// + [Class(xmiId: "_19_0_4_12e503d9_1606946467364_179493_153", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class EnumerationDefinition : IEnumerationDefinition + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.DirectedFeature")] + public List directedFeature { get; internal set; } + + /// + /// The usages of this Definition that are directedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565495064714_974634_26150", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IDefinition.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// EnumerationUsages of this EnumerationDefinitionthat have distinct, fixed values. Each + /// enumeratedValue specifies one of the allowed instances of the EnumerationDefinition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946634788_959145_265", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1590979457191_746167_951")] + [Implements(implementation: "IEnumerationDefinition.EnumeratedValue")] + public List enumeratedValue { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + public bool IsAbstract { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// An EnumerationDefinition is considered semantically to be a variation whose allowed variants are its + /// enumerationValues. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946783667_895456_287", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1590978283180_265362_419")] + [Implements(implementation: "IEnumerationDefinition.IsVariation")] + public bool IsVariation { get; set; } = true; + + /// + /// Whether this Definition is for a variation point or not. If true, then all the memberships of the + /// Definition must be VariantMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IEnumerationDefinition.IsVariation")] + [Implements(implementation: "IDefinition.IsVariation")] + bool Systems.DefinitionAndUsage.IDefinition.IsVariation + { + get => throw new InvalidOperationException("Redefined by property IEnumerationDefinition.IsVariation"); + set => throw new InvalidOperationException("Redefined by property IEnumerationDefinition.IsVariation"); + } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ActionUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedAction")] + public List ownedAction { get; internal set; } + + /// + /// The AllocationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedAllocation")] + public List ownedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedAnalysisCase")] + public List ownedAnalysisCase { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The AttributeUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedAttribute")] + public List ownedAttribute { get; internal set; } + + /// + /// The CalculationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] + [Implements(implementation: "IDefinition.OwnedCalculation")] + public List ownedCalculation { get; internal set; } + + /// + /// The code>CaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] + [Implements(implementation: "IDefinition.OwnedCase")] + public List ownedCase { get; internal set; } + + /// + /// The ConcernUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + [Implements(implementation: "IDefinition.OwnedConcern")] + public List ownedConcern { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowUsages because these are ConnectorAsUsages + /// even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedConnection")] + public List ownedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedConstraint")] + public List ownedConstraint { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The EnumerationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] + [Implements(implementation: "IDefinition.OwnedEnumeration")] + public List ownedEnumeration { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The FlowUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedFlow")] + public List ownedFlow { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The InterfaceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedInterface")] + public List ownedInterface { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The ItemUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedItem")] + public List ownedItem { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The MetadataUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] + [Implements(implementation: "IDefinition.OwnedMetadata")] + public List ownedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedOccurrence")] + public List ownedOccurrence { get; internal set; } + + /// + /// The PartUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] + [Implements(implementation: "IDefinition.OwnedPart")] + public List ownedPart { get; internal set; } + + /// + /// The PortUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedPort")] + public List ownedPort { get; internal set; } + + /// + /// The ReferenceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedReference")] + public List ownedReference { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The RenderingUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] + [Implements(implementation: "IDefinition.OwnedRendering")] + public List ownedRendering { get; internal set; } + + /// + /// The RequirementUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] + [Implements(implementation: "IDefinition.OwnedRequirement")] + public List ownedRequirement { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The StateUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] + [Implements(implementation: "IDefinition.OwnedState")] + public List ownedState { get; internal set; } + + /// + /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier + /// is the subclassifier. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [Implements(implementation: "IClassifier.OwnedSubclassification")] + public List ownedSubclassification { get; internal set; } + + /// + /// The TransitionUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedTransition")] + public List ownedTransition { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Definition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686637_967933_23236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IDefinition.OwnedUsage")] + public List ownedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedUseCase")] + public List ownedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedVerificationCase")] + public List ownedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] + [Implements(implementation: "IDefinition.OwnedView")] + public List ownedView { get; internal set; } + + /// + /// The ViewpointUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + [Implements(implementation: "IDefinition.OwnedViewpoint")] + public List ownedViewpoint { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Definition (not necessarily owned). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IDefinition.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Definition as a variation point Definition, if + /// isVariation = true. If isVariation = false, the there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [RedefinedByProperty("IEnumerationDefinition.EnumeratedValue")] + [Implements(implementation: "IDefinition.Variant")] + List Systems.DefinitionAndUsage.IDefinition.variant => throw new InvalidOperationException("Redefined by property IEnumerationDefinition.EnumeratedValue"); + + /// + /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then + /// this must be all ownedMemberships of the Definition. If isVariation = false, then + /// variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IDefinition.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/EnumerationUsage.cs b/SysML2.NET/Core/AutoGenDto/EnumerationUsage.cs index 0fa5dcaf..89d019fd 100644 --- a/SysML2.NET/Core/AutoGenDto/EnumerationUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/EnumerationUsage.cs @@ -1,1062 +1,1066 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Enumerations -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.DTO.Systems.Attributes; - using SysML2.NET.Decorators; - - /// - /// An EnumerationUsage is an AttributeUsage whose attributeDefinition is an EnumerationDefinition. - /// - [Class(xmiId: "_19_0_4_12e503d9_1606946489455_954016_180", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class EnumerationUsage : IEnumerationUsage - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The DataTypes that are the types of this AttributeUsage. Nominally, these are AttributeDefinitions, - /// but other kinds of kernel DataTypes are also allowed, to permit use of DataTypes from the Kernel - /// Model Libraries. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565471811429_523492_20975", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] - [RedefinedByProperty("IEnumerationUsage.EnumerationDefinition")] - [Implements(implementation: "IAttributeUsage.AttributeDefinition")] - public List AttributeDefinition { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds - /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IAttributeUsage.AttributeDefinition")] - [Implements(implementation: "IUsage.Definition")] - public List Definition { get; internal set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Usage that are directedFeatures. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The single EnumerationDefinition that is the type of this EnumerationUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946962858_570633_331", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1565471811429_523492_20975")] - [Implements(implementation: "IEnumerationUsage.EnumerationDefinition")] - public Guid EnumerationDefinition { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - public bool IsPortion { get; set; } - - /// - /// Always true for an AttributeUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624050661138_649455_27", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1624035114787_488767_41423")] - [Implements(implementation: "IAttributeUsage.IsReference")] - bool Systems.Attributes.IAttributeUsage.IsReference { get; } - - /// - /// Whether this Usage is a referential Usage, that is, it has isComposite = false. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IAttributeUsage.IsReference")] - [Implements(implementation: "IUsage.IsReference")] - bool Systems.DefinitionAndUsage.IUsage.IsReference { get; } - - /// - /// 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [RedefinedByProperty("IUsage.MayTimeVary")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage - /// must be VariantMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its - /// owningType, rather than being featured by the owningType itself). However, if isConstant is also - /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance - /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary - /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is - /// inherited from Feature. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] - [Implements(implementation: "IUsage.MayTimeVary")] - public bool MayTimeVary { get; internal set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ActionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedAction")] - public List NestedAction { get; internal set; } - - /// - /// The AllocationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedAllocation")] - public List NestedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List NestedAnalysisCase { get; internal set; } - - /// - /// The code>AttributeUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedAttribute")] - public List NestedAttribute { get; internal set; } - - /// - /// The CalculationUsage that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedCalculation")] - public List NestedCalculation { get; internal set; } - - /// - /// The CaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] - [Implements(implementation: "IUsage.NestedCase")] - public List NestedCase { get; internal set; } - - /// - /// The ConcernUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedConcern")] - public List NestedConcern { get; internal set; } - - /// - /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are - /// ConnectorAsUsages even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedConnection")] - public List NestedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedConstraint")] - public List NestedConstraint { get; internal set; } - - /// - /// The code>EnumerationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] - [Implements(implementation: "IUsage.NestedEnumeration")] - public List NestedEnumeration { get; internal set; } - - /// - /// The code>FlowUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedFlow")] - public List NestedFlow { get; internal set; } - - /// - /// The InterfaceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedInterface")] - public List NestedInterface { get; internal set; } - - /// - /// The ItemUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedItem")] - public List NestedItem { get; internal set; } - - /// - /// The MetadataUsages that are nestedUsages of this of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedMetadata")] - public List NestedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedOccurrence")] - public List NestedOccurrence { get; internal set; } - - /// - /// The PartUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedPart")] - public List NestedPart { get; internal set; } - - /// - /// The PortUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedPort")] - public List NestedPort { get; internal set; } - - /// - /// The ReferenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedReference")] - public List NestedReference { get; internal set; } - - /// - /// The RenderingUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedRendering")] - public List NestedRendering { get; internal set; } - - /// - /// The RequirementUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] - [Implements(implementation: "IUsage.NestedRequirement")] - public List NestedRequirement { get; internal set; } - - /// - /// The StateUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedState")] - public List NestedState { get; internal set; } - - /// - /// The TransitionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedTransition")] - public List NestedTransition { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.NestedUsage")] - public List NestedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedUseCase")] - public List NestedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedVerificationCase")] - public List NestedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedView")] - public List NestedView { get; internal set; } - - /// - /// The ViewpointUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedViewpoint")] - public List NestedViewpoint { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The Definition that owns this Usage (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] - [Implements(implementation: "IUsage.OwningDefinition")] - public Guid? OwningDefinition { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The Usage in which this Usage is nested (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IUsage.OwningUsage")] - public Guid? OwningUsage { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IUsage.Definition")] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Usage (not necessarily owned). - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IUsage.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = - /// true. If isVariation = false, then there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IUsage.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this - /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IUsage.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Enumerations +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.DTO.Systems.Attributes; + using SysML2.NET.Decorators; + + /// + /// An EnumerationUsage is an AttributeUsage whose attributeDefinition is an EnumerationDefinition. + /// + [Class(xmiId: "_19_0_4_12e503d9_1606946489455_954016_180", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class EnumerationUsage : IEnumerationUsage + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The DataTypes that are the types of this AttributeUsage. Nominally, these are AttributeDefinitions, + /// but other kinds of kernel DataTypes are also allowed, to permit use of DataTypes from the Kernel + /// Model Libraries. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565471811429_523492_20975", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] + [RedefinedByProperty("IEnumerationUsage.EnumerationDefinition")] + [Implements(implementation: "IAttributeUsage.AttributeDefinition")] + List Systems.Attributes.IAttributeUsage.attributeDefinition => throw new InvalidOperationException("Redefined by property IEnumerationUsage.EnumerationDefinition"); + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds + /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IAttributeUsage.AttributeDefinition")] + [Implements(implementation: "IUsage.Definition")] + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IAttributeUsage.AttributeDefinition"); + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.DirectedFeature")] + public List directedFeature { get; internal set; } + + /// + /// The usages of this Usage that are directedFeatures. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The single EnumerationDefinition that is the type of this EnumerationUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946962858_570633_331", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1565471811429_523492_20975")] + [Implements(implementation: "IEnumerationUsage.EnumerationDefinition")] + public Guid enumerationDefinition { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + public bool IsPortion { get; set; } + + /// + /// Always true for an AttributeUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624050661138_649455_27", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1624035114787_488767_41423")] + [Implements(implementation: "IAttributeUsage.IsReference")] + public bool isReference { get; internal set; } + + /// + /// Whether this Usage is a referential Usage, that is, it has isComposite = false. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IAttributeUsage.IsReference")] + [Implements(implementation: "IUsage.IsReference")] + bool Systems.DefinitionAndUsage.IUsage.isReference => throw new InvalidOperationException("Redefined by property IAttributeUsage.IsReference"); + + /// + /// 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [RedefinedByProperty("IUsage.MayTimeVary")] + [Implements(implementation: "IFeature.IsVariable")] + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } + + /// + /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage + /// must be VariantMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its + /// owningType, rather than being featured by the owningType itself). However, if isConstant is also + /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance + /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary + /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is + /// inherited from Feature. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] + [Implements(implementation: "IUsage.MayTimeVary")] + public bool mayTimeVary { get; internal set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ActionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedAction")] + public List nestedAction { get; internal set; } + + /// + /// The AllocationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedAllocation")] + public List nestedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedAnalysisCase")] + public List nestedAnalysisCase { get; internal set; } + + /// + /// The code>AttributeUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedAttribute")] + public List nestedAttribute { get; internal set; } + + /// + /// The CalculationUsage that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedCalculation")] + public List nestedCalculation { get; internal set; } + + /// + /// The CaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] + [Implements(implementation: "IUsage.NestedCase")] + public List nestedCase { get; internal set; } + + /// + /// The ConcernUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedConcern")] + public List nestedConcern { get; internal set; } + + /// + /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are + /// ConnectorAsUsages even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedConnection")] + public List nestedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedConstraint")] + public List nestedConstraint { get; internal set; } + + /// + /// The code>EnumerationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] + [Implements(implementation: "IUsage.NestedEnumeration")] + public List nestedEnumeration { get; internal set; } + + /// + /// The code>FlowUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedFlow")] + public List nestedFlow { get; internal set; } + + /// + /// The InterfaceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedInterface")] + public List nestedInterface { get; internal set; } + + /// + /// The ItemUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedItem")] + public List nestedItem { get; internal set; } + + /// + /// The MetadataUsages that are nestedUsages of this of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedMetadata")] + public List nestedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedOccurrence")] + public List nestedOccurrence { get; internal set; } + + /// + /// The PartUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedPart")] + public List nestedPart { get; internal set; } + + /// + /// The PortUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedPort")] + public List nestedPort { get; internal set; } + + /// + /// The ReferenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedReference")] + public List nestedReference { get; internal set; } + + /// + /// The RenderingUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedRendering")] + public List nestedRendering { get; internal set; } + + /// + /// The RequirementUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] + [Implements(implementation: "IUsage.NestedRequirement")] + public List nestedRequirement { get; internal set; } + + /// + /// The StateUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedState")] + public List nestedState { get; internal set; } + + /// + /// The TransitionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedTransition")] + public List nestedTransition { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.NestedUsage")] + public List nestedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedUseCase")] + public List nestedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedVerificationCase")] + public List nestedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedView")] + public List nestedView { get; internal set; } + + /// + /// The ViewpointUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedViewpoint")] + public List nestedViewpoint { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The Definition that owns this Usage (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] + [Implements(implementation: "IUsage.OwningDefinition")] + public Guid? owningDefinition { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The Usage in which this Usage is nested (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IUsage.OwningUsage")] + public Guid? owningUsage { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IUsage.Definition")] + [Implements(implementation: "IFeature.Type")] + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Usage (not necessarily owned). + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IUsage.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = + /// true. If isVariation = false, then there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IUsage.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this + /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IUsage.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/EventOccurrenceUsage.cs b/SysML2.NET/Core/AutoGenDto/EventOccurrenceUsage.cs index 127759b2..e3c9ff9b 100644 --- a/SysML2.NET/Core/AutoGenDto/EventOccurrenceUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/EventOccurrenceUsage.cs @@ -1,1092 +1,1096 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Occurrences -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Decorators; - - /// - /// An EventOccurrenceUsage is an OccurrenceUsage that represents another OccurrenceUsage occurring as a - /// suboccurrence of the containing occurrence of the EventOccurrenceUsage. Unless it is the - /// EventOccurrenceUsage itself, the referenced OccurrenceUsage is related to the EventOccurrenceUsage - /// by a ReferenceSubsetting Relationship.If the EventOccurrenceUsage is owned by an - /// OccurrenceDefinition or OccurrenceUsage, then it also subsets the timeEnclosedOccurrences property - /// of the Class Occurrence from the Kernel Semantic Library model Occurrences. - /// - [Class(xmiId: "_19_0_4_12e503d9_1622831611763_442921_132", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class EventOccurrenceUsage : IEventOccurrenceUsage - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds - /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] - [Implements(implementation: "IUsage.Definition")] - public List Definition { get; internal set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Usage that are directedFeatures. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The OccurrenceUsage referenced as an event by this EventOccurrenceUsage. It is the referenceFeature - /// of the ownedReferenceSubsetting for the EventOccurrenceUsage, if there is one, and, otherwise, the - /// EventOccurrenceUsage itself. - /// - [Property(xmiId: "_19_0_4_12e503d9_1622831790393_676695_195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IEventOccurrenceUsage.EventOccurrence")] - public Guid EventOccurrence { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// The at most one occurrenceDefinition that has isIndividual = true. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public Guid? IndividualDefinition { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its - /// individualDefinition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceUsage.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - public bool IsPortion { get; set; } - - /// - /// Always true for an EventOccurrenceUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1672526906017_786343_306", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1624035114787_488767_41423")] - [Implements(implementation: "IEventOccurrenceUsage.IsReference")] - bool IEventOccurrenceUsage.IsReference { get; } - - /// - /// Whether this Usage is a referential Usage, that is, it has isComposite = false. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IEventOccurrenceUsage.IsReference")] - [Implements(implementation: "IUsage.IsReference")] - bool Systems.DefinitionAndUsage.IUsage.IsReference { get; } - - /// - /// 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [RedefinedByProperty("IUsage.MayTimeVary")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage - /// must be VariantMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its - /// owningType, rather than being featured by the owningType itself). However, if isConstant is also - /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance - /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary - /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is - /// inherited from Feature. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] - [Implements(implementation: "IUsage.MayTimeVary")] - public bool MayTimeVary { get; internal set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ActionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedAction")] - public List NestedAction { get; internal set; } - - /// - /// The AllocationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedAllocation")] - public List NestedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List NestedAnalysisCase { get; internal set; } - - /// - /// The code>AttributeUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedAttribute")] - public List NestedAttribute { get; internal set; } - - /// - /// The CalculationUsage that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedCalculation")] - public List NestedCalculation { get; internal set; } - - /// - /// The CaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] - [Implements(implementation: "IUsage.NestedCase")] - public List NestedCase { get; internal set; } - - /// - /// The ConcernUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedConcern")] - public List NestedConcern { get; internal set; } - - /// - /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are - /// ConnectorAsUsages even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedConnection")] - public List NestedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedConstraint")] - public List NestedConstraint { get; internal set; } - - /// - /// The code>EnumerationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] - [Implements(implementation: "IUsage.NestedEnumeration")] - public List NestedEnumeration { get; internal set; } - - /// - /// The code>FlowUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedFlow")] - public List NestedFlow { get; internal set; } - - /// - /// The InterfaceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedInterface")] - public List NestedInterface { get; internal set; } - - /// - /// The ItemUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedItem")] - public List NestedItem { get; internal set; } - - /// - /// The MetadataUsages that are nestedUsages of this of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedMetadata")] - public List NestedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedOccurrence")] - public List NestedOccurrence { get; internal set; } - - /// - /// The PartUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedPart")] - public List NestedPart { get; internal set; } - - /// - /// The PortUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedPort")] - public List NestedPort { get; internal set; } - - /// - /// The ReferenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedReference")] - public List NestedReference { get; internal set; } - - /// - /// The RenderingUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedRendering")] - public List NestedRendering { get; internal set; } - - /// - /// The RequirementUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] - [Implements(implementation: "IUsage.NestedRequirement")] - public List NestedRequirement { get; internal set; } - - /// - /// The StateUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedState")] - public List NestedState { get; internal set; } - - /// - /// The TransitionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedTransition")] - public List NestedTransition { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.NestedUsage")] - public List NestedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedUseCase")] - public List NestedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedVerificationCase")] - public List NestedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedView")] - public List NestedView { get; internal set; } - - /// - /// The ViewpointUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedViewpoint")] - public List NestedViewpoint { get; internal set; } - - /// - /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, - /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] - [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List OccurrenceDefinition { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The Definition that owns this Usage (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] - [Implements(implementation: "IUsage.OwningDefinition")] - public Guid? OwningDefinition { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The Usage in which this Usage is nested (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IUsage.OwningUsage")] - public Guid? OwningUsage { get; internal set; } - - /// - /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If - /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the - /// OccurrenceUsage represents portions of the featuring instance of the owningType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IOccurrenceUsage.PortionKind")] - public PortionKind? PortionKind { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IUsage.Definition")] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Usage (not necessarily owned). - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IUsage.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = - /// true. If isVariation = false, then there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IUsage.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this - /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IUsage.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Occurrences +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Decorators; + + /// + /// An EventOccurrenceUsage is an OccurrenceUsage that represents another OccurrenceUsage occurring as a + /// suboccurrence of the containing occurrence of the EventOccurrenceUsage. Unless it is the + /// EventOccurrenceUsage itself, the referenced OccurrenceUsage is related to the EventOccurrenceUsage + /// by a ReferenceSubsetting Relationship.If the EventOccurrenceUsage is owned by an + /// OccurrenceDefinition or OccurrenceUsage, then it also subsets the timeEnclosedOccurrences property + /// of the Class Occurrence from the Kernel Semantic Library model Occurrences. + /// + [Class(xmiId: "_19_0_4_12e503d9_1622831611763_442921_132", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class EventOccurrenceUsage : IEventOccurrenceUsage + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds + /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] + [Implements(implementation: "IUsage.Definition")] + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.DirectedFeature")] + public List directedFeature { get; internal set; } + + /// + /// The usages of this Usage that are directedFeatures. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The OccurrenceUsage referenced as an event by this EventOccurrenceUsage. It is the referenceFeature + /// of the ownedReferenceSubsetting for the EventOccurrenceUsage, if there is one, and, otherwise, the + /// EventOccurrenceUsage itself. + /// + [Property(xmiId: "_19_0_4_12e503d9_1622831790393_676695_195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IEventOccurrenceUsage.EventOccurrence")] + public Guid eventOccurrence { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// The at most one occurrenceDefinition that has isIndividual = true. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] + public Guid? individualDefinition { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its + /// individualDefinition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceUsage.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + public bool IsPortion { get; set; } + + /// + /// Always true for an EventOccurrenceUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1672526906017_786343_306", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1624035114787_488767_41423")] + [Implements(implementation: "IEventOccurrenceUsage.IsReference")] + public bool isReference { get; internal set; } + + /// + /// Whether this Usage is a referential Usage, that is, it has isComposite = false. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IEventOccurrenceUsage.IsReference")] + [Implements(implementation: "IUsage.IsReference")] + bool Systems.DefinitionAndUsage.IUsage.isReference => throw new InvalidOperationException("Redefined by property IEventOccurrenceUsage.IsReference"); + + /// + /// 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [RedefinedByProperty("IUsage.MayTimeVary")] + [Implements(implementation: "IFeature.IsVariable")] + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } + + /// + /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage + /// must be VariantMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its + /// owningType, rather than being featured by the owningType itself). However, if isConstant is also + /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance + /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary + /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is + /// inherited from Feature. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] + [Implements(implementation: "IUsage.MayTimeVary")] + public bool mayTimeVary { get; internal set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ActionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedAction")] + public List nestedAction { get; internal set; } + + /// + /// The AllocationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedAllocation")] + public List nestedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedAnalysisCase")] + public List nestedAnalysisCase { get; internal set; } + + /// + /// The code>AttributeUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedAttribute")] + public List nestedAttribute { get; internal set; } + + /// + /// The CalculationUsage that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedCalculation")] + public List nestedCalculation { get; internal set; } + + /// + /// The CaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] + [Implements(implementation: "IUsage.NestedCase")] + public List nestedCase { get; internal set; } + + /// + /// The ConcernUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedConcern")] + public List nestedConcern { get; internal set; } + + /// + /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are + /// ConnectorAsUsages even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedConnection")] + public List nestedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedConstraint")] + public List nestedConstraint { get; internal set; } + + /// + /// The code>EnumerationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] + [Implements(implementation: "IUsage.NestedEnumeration")] + public List nestedEnumeration { get; internal set; } + + /// + /// The code>FlowUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedFlow")] + public List nestedFlow { get; internal set; } + + /// + /// The InterfaceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedInterface")] + public List nestedInterface { get; internal set; } + + /// + /// The ItemUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedItem")] + public List nestedItem { get; internal set; } + + /// + /// The MetadataUsages that are nestedUsages of this of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedMetadata")] + public List nestedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedOccurrence")] + public List nestedOccurrence { get; internal set; } + + /// + /// The PartUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedPart")] + public List nestedPart { get; internal set; } + + /// + /// The PortUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedPort")] + public List nestedPort { get; internal set; } + + /// + /// The ReferenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedReference")] + public List nestedReference { get; internal set; } + + /// + /// The RenderingUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedRendering")] + public List nestedRendering { get; internal set; } + + /// + /// The RequirementUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] + [Implements(implementation: "IUsage.NestedRequirement")] + public List nestedRequirement { get; internal set; } + + /// + /// The StateUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedState")] + public List nestedState { get; internal set; } + + /// + /// The TransitionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedTransition")] + public List nestedTransition { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.NestedUsage")] + public List nestedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedUseCase")] + public List nestedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedVerificationCase")] + public List nestedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedView")] + public List nestedView { get; internal set; } + + /// + /// The ViewpointUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedViewpoint")] + public List nestedViewpoint { get; internal set; } + + /// + /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, + /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] + [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] + public List occurrenceDefinition { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The Definition that owns this Usage (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] + [Implements(implementation: "IUsage.OwningDefinition")] + public Guid? owningDefinition { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The Usage in which this Usage is nested (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IUsage.OwningUsage")] + public Guid? owningUsage { get; internal set; } + + /// + /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If + /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the + /// OccurrenceUsage represents portions of the featuring instance of the owningType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IOccurrenceUsage.PortionKind")] + public PortionKind? PortionKind { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IUsage.Definition")] + [Implements(implementation: "IFeature.Type")] + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Usage (not necessarily owned). + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IUsage.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = + /// true. If isVariation = false, then there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IUsage.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this + /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IUsage.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ExhibitStateUsage.cs b/SysML2.NET/Core/AutoGenDto/ExhibitStateUsage.cs index 1d72e44f..e2d996d7 100644 --- a/SysML2.NET/Core/AutoGenDto/ExhibitStateUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/ExhibitStateUsage.cs @@ -1,1188 +1,1192 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.States -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Core.DTO.Systems.Actions; - using SysML2.NET.Decorators; - - /// - /// An ExhibitStateUsage is a StateUsage that represents the exhibiting of a StateUsage. Unless it is - /// the StateUsage itself, the StateUsage to be exhibited is related to the ExhibitStateUsage by a - /// ReferenceSubsetting Relationship. An ExhibitStateUsage is also a PerformActionUsage, with its - /// exhibitedState as the performedAction. - /// - [Class(xmiId: "_19_0_2_12e503d9_1577070975739_684062_203", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class ExhibitStateUsage : IExhibitStateUsage - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// The Behaviors that are the types of this ActionUsage. Nominally, these would be ActionDefinitions, - /// but other kinds of Kernel Behaviors are also allowed, to permit use of Behaviors from the Kernel - /// Model Libraries. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565500905804_589845_30779", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [RedefinedByProperty("IStateUsage.StateDefinition")] - [Implements(implementation: "IActionUsage.ActionDefinition")] - public List ActionDefinition { get; internal set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Behaviors that type this Step. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IActionUsage.ActionDefinition")] - [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds - /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] - [Implements(implementation: "IUsage.Definition")] - public List Definition { get; internal set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IStep.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Usage that are directedFeatures. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The ActionUsage of this StateUsage to be performed while in the state defined by the - /// StateDefinition. It is the owned ActionUsage related to the StateUsage by a StateSubactionMembership - /// with kind = do. - /// - [Property(xmiId: "_19_0_2_12e503d9_1582976255473_203238_644", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IStateUsage.DoAction")] - public Guid? DoAction { get; internal set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ActionUsage of this StateUsage to be performed on entry to the state defined by the - /// StateDefinition. It is the owned ActionUsage related to the StateUsage by a StateSubactionMembership - /// with kind = entry. - /// - [Property(xmiId: "_19_0_2_12e503d9_1582976239200_979652_605", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IStateUsage.EntryAction")] - public Guid? EntryAction { get; internal set; } - - /// - /// The OccurrenceUsage referenced as an event by this EventOccurrenceUsage. It is the referenceFeature - /// of the ownedReferenceSubsetting for the EventOccurrenceUsage, if there is one, and, otherwise, the - /// EventOccurrenceUsage itself. - /// - [Property(xmiId: "_19_0_4_12e503d9_1622831790393_676695_195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IPerformActionUsage.PerformedAction")] - [Implements(implementation: "IEventOccurrenceUsage.EventOccurrence")] - public Guid EventOccurrence { get; internal set; } - - /// - /// The StateUsage to be exhibited by the ExhibitStateUsage. It is the performedAction of the - /// ExhibitStateUsage considered as a PerformActionUsage, which must be a StateUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1577070999039_688794_260", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1567740791820_867719_18017")] - [Implements(implementation: "IExhibitStateUsage.ExhibitedState")] - public Guid ExhibitedState { get; internal set; } - - /// - /// The ActionUsage of this StateUsage to be performed on exit to the state defined by the - /// StateDefinition. It is the owned ActionUsage related to the StateUsage by a StateSubactionMembership - /// with kind = exit. - /// - [Property(xmiId: "_19_0_2_12e503d9_1582976283940_998741_691", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IStateUsage.ExitAction")] - public Guid? ExitAction { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// The at most one occurrenceDefinition that has isIndividual = true. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public Guid? IndividualDefinition { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its - /// individualDefinition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceUsage.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - public bool IsOrdered { get; set; } - - /// - /// Whether the nestedStates of this StateUsage are to all be performed in parallel. If true, none of - /// the nestedActions (which include nestedStates) may have any incoming or outgoing Transitions. If - /// false, only one nestedState may be performed at a time. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624025713025_548712_37708", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IStateUsage.IsParallel")] - public bool IsParallel { 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - public bool IsPortion { get; set; } - - /// - /// Whether this Usage is a referential Usage, that is, it has isComposite = false. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IEventOccurrenceUsage.IsReference")] - [Implements(implementation: "IUsage.IsReference")] - bool Systems.DefinitionAndUsage.IUsage.IsReference { get; } - - /// - /// Always true for an EventOccurrenceUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1672526906017_786343_306", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1624035114787_488767_41423")] - [Implements(implementation: "IEventOccurrenceUsage.IsReference")] - bool Systems.Occurrences.IEventOccurrenceUsage.IsReference { get; } - - /// - /// 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [RedefinedByProperty("IUsage.MayTimeVary")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage - /// must be VariantMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its - /// owningType, rather than being featured by the owningType itself). However, if isConstant is also - /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance - /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary - /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is - /// inherited from Feature. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] - [Implements(implementation: "IUsage.MayTimeVary")] - public bool MayTimeVary { get; internal set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ActionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedAction")] - public List NestedAction { get; internal set; } - - /// - /// The AllocationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedAllocation")] - public List NestedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List NestedAnalysisCase { get; internal set; } - - /// - /// The code>AttributeUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedAttribute")] - public List NestedAttribute { get; internal set; } - - /// - /// The CalculationUsage that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedCalculation")] - public List NestedCalculation { get; internal set; } - - /// - /// The CaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] - [Implements(implementation: "IUsage.NestedCase")] - public List NestedCase { get; internal set; } - - /// - /// The ConcernUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedConcern")] - public List NestedConcern { get; internal set; } - - /// - /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are - /// ConnectorAsUsages even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedConnection")] - public List NestedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedConstraint")] - public List NestedConstraint { get; internal set; } - - /// - /// The code>EnumerationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] - [Implements(implementation: "IUsage.NestedEnumeration")] - public List NestedEnumeration { get; internal set; } - - /// - /// The code>FlowUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedFlow")] - public List NestedFlow { get; internal set; } - - /// - /// The InterfaceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedInterface")] - public List NestedInterface { get; internal set; } - - /// - /// The ItemUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedItem")] - public List NestedItem { get; internal set; } - - /// - /// The MetadataUsages that are nestedUsages of this of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedMetadata")] - public List NestedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedOccurrence")] - public List NestedOccurrence { get; internal set; } - - /// - /// The PartUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedPart")] - public List NestedPart { get; internal set; } - - /// - /// The PortUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedPort")] - public List NestedPort { get; internal set; } - - /// - /// The ReferenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedReference")] - public List NestedReference { get; internal set; } - - /// - /// The RenderingUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedRendering")] - public List NestedRendering { get; internal set; } - - /// - /// The RequirementUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] - [Implements(implementation: "IUsage.NestedRequirement")] - public List NestedRequirement { get; internal set; } - - /// - /// The StateUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedState")] - public List NestedState { get; internal set; } - - /// - /// The TransitionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedTransition")] - public List NestedTransition { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.NestedUsage")] - public List NestedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedUseCase")] - public List NestedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedVerificationCase")] - public List NestedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedView")] - public List NestedView { get; internal set; } - - /// - /// The ViewpointUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedViewpoint")] - public List NestedViewpoint { get; internal set; } - - /// - /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, - /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] - [RedefinedByProperty("IActionUsage.ActionDefinition")] - [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List OccurrenceDefinition { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The Definition that owns this Usage (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] - [Implements(implementation: "IUsage.OwningDefinition")] - public Guid? OwningDefinition { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The Usage in which this Usage is nested (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IUsage.OwningUsage")] - public Guid? OwningUsage { get; internal set; } - - /// - /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into - /// and/or out of a performance of the Step. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The ActionUsage to be performed by this PerformedActionUsage. It is the eventOccurrence of the - /// PerformActionUsage considered as an EventOccurrenceUsage, which must be an ActionUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1567740791820_867719_18017", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1622831790393_676695_195")] - [RedefinedByProperty("IExhibitStateUsage.ExhibitedState")] - [Implements(implementation: "IPerformActionUsage.PerformedAction")] - public Guid PerformedAction { get; internal set; } - - /// - /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If - /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the - /// OccurrenceUsage represents portions of the featuring instance of the owningType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IOccurrenceUsage.PortionKind")] - public PortionKind? PortionKind { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The Behaviors that are the types of this StateUsage. Nominally, these would be StateDefinitions, but - /// kernel Behaviors are also allowed, to permit use of Behaviors from the Kernel Model Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575588456737_49200_1438", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1565500905804_589845_30779")] - [Implements(implementation: "IStateUsage.StateDefinition")] - public List StateDefinition { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IUsage.Definition")] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Usage (not necessarily owned). - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IUsage.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = - /// true. If isVariation = false, then there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IUsage.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this - /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IUsage.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.States +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Core.DTO.Systems.Actions; + using SysML2.NET.Decorators; + + /// + /// An ExhibitStateUsage is a StateUsage that represents the exhibiting of a StateUsage. Unless it is + /// the StateUsage itself, the StateUsage to be exhibited is related to the ExhibitStateUsage by a + /// ReferenceSubsetting Relationship. An ExhibitStateUsage is also a PerformActionUsage, with its + /// exhibitedState as the performedAction. + /// + [Class(xmiId: "_19_0_2_12e503d9_1577070975739_684062_203", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class ExhibitStateUsage : IExhibitStateUsage + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// The Behaviors that are the types of this ActionUsage. Nominally, these would be ActionDefinitions, + /// but other kinds of Kernel Behaviors are also allowed, to permit use of Behaviors from the Kernel + /// Model Libraries. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565500905804_589845_30779", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [RedefinedByProperty("IStateUsage.StateDefinition")] + [Implements(implementation: "IActionUsage.ActionDefinition")] + List Systems.Actions.IActionUsage.actionDefinition => throw new InvalidOperationException("Redefined by property IStateUsage.StateDefinition"); + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Behaviors that type this Step. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IActionUsage.ActionDefinition")] + [Implements(implementation: "IStep.Behavior")] + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds + /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] + [Implements(implementation: "IUsage.Definition")] + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IStep.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); + + /// + /// The usages of this Usage that are directedFeatures. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The ActionUsage of this StateUsage to be performed while in the state defined by the + /// StateDefinition. It is the owned ActionUsage related to the StateUsage by a StateSubactionMembership + /// with kind = do. + /// + [Property(xmiId: "_19_0_2_12e503d9_1582976255473_203238_644", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IStateUsage.DoAction")] + public Guid? doAction { get; internal set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ActionUsage of this StateUsage to be performed on entry to the state defined by the + /// StateDefinition. It is the owned ActionUsage related to the StateUsage by a StateSubactionMembership + /// with kind = entry. + /// + [Property(xmiId: "_19_0_2_12e503d9_1582976239200_979652_605", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IStateUsage.EntryAction")] + public Guid? entryAction { get; internal set; } + + /// + /// The OccurrenceUsage referenced as an event by this EventOccurrenceUsage. It is the referenceFeature + /// of the ownedReferenceSubsetting for the EventOccurrenceUsage, if there is one, and, otherwise, the + /// EventOccurrenceUsage itself. + /// + [Property(xmiId: "_19_0_4_12e503d9_1622831790393_676695_195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IPerformActionUsage.PerformedAction")] + [Implements(implementation: "IEventOccurrenceUsage.EventOccurrence")] + Guid Systems.Occurrences.IEventOccurrenceUsage.eventOccurrence => throw new InvalidOperationException("Redefined by property IPerformActionUsage.PerformedAction"); + + /// + /// The StateUsage to be exhibited by the ExhibitStateUsage. It is the performedAction of the + /// ExhibitStateUsage considered as a PerformActionUsage, which must be a StateUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1577070999039_688794_260", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1567740791820_867719_18017")] + [Implements(implementation: "IExhibitStateUsage.ExhibitedState")] + public Guid exhibitedState { get; internal set; } + + /// + /// The ActionUsage of this StateUsage to be performed on exit to the state defined by the + /// StateDefinition. It is the owned ActionUsage related to the StateUsage by a StateSubactionMembership + /// with kind = exit. + /// + [Property(xmiId: "_19_0_2_12e503d9_1582976283940_998741_691", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IStateUsage.ExitAction")] + public Guid? exitAction { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// The at most one occurrenceDefinition that has isIndividual = true. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] + public Guid? individualDefinition { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its + /// individualDefinition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceUsage.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + public bool IsOrdered { get; set; } + + /// + /// Whether the nestedStates of this StateUsage are to all be performed in parallel. If true, none of + /// the nestedActions (which include nestedStates) may have any incoming or outgoing Transitions. If + /// false, only one nestedState may be performed at a time. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624025713025_548712_37708", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IStateUsage.IsParallel")] + public bool IsParallel { 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + public bool IsPortion { get; set; } + + /// + /// Whether this Usage is a referential Usage, that is, it has isComposite = false. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IEventOccurrenceUsage.IsReference")] + [Implements(implementation: "IUsage.IsReference")] + bool Systems.DefinitionAndUsage.IUsage.isReference => throw new InvalidOperationException("Redefined by property IEventOccurrenceUsage.IsReference"); + + /// + /// Always true for an EventOccurrenceUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1672526906017_786343_306", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1624035114787_488767_41423")] + [Implements(implementation: "IEventOccurrenceUsage.IsReference")] + public bool isReference { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [RedefinedByProperty("IUsage.MayTimeVary")] + [Implements(implementation: "IFeature.IsVariable")] + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } + + /// + /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage + /// must be VariantMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its + /// owningType, rather than being featured by the owningType itself). However, if isConstant is also + /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance + /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary + /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is + /// inherited from Feature. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] + [Implements(implementation: "IUsage.MayTimeVary")] + public bool mayTimeVary { get; internal set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ActionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedAction")] + public List nestedAction { get; internal set; } + + /// + /// The AllocationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedAllocation")] + public List nestedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedAnalysisCase")] + public List nestedAnalysisCase { get; internal set; } + + /// + /// The code>AttributeUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedAttribute")] + public List nestedAttribute { get; internal set; } + + /// + /// The CalculationUsage that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedCalculation")] + public List nestedCalculation { get; internal set; } + + /// + /// The CaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] + [Implements(implementation: "IUsage.NestedCase")] + public List nestedCase { get; internal set; } + + /// + /// The ConcernUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedConcern")] + public List nestedConcern { get; internal set; } + + /// + /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are + /// ConnectorAsUsages even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedConnection")] + public List nestedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedConstraint")] + public List nestedConstraint { get; internal set; } + + /// + /// The code>EnumerationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] + [Implements(implementation: "IUsage.NestedEnumeration")] + public List nestedEnumeration { get; internal set; } + + /// + /// The code>FlowUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedFlow")] + public List nestedFlow { get; internal set; } + + /// + /// The InterfaceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedInterface")] + public List nestedInterface { get; internal set; } + + /// + /// The ItemUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedItem")] + public List nestedItem { get; internal set; } + + /// + /// The MetadataUsages that are nestedUsages of this of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedMetadata")] + public List nestedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedOccurrence")] + public List nestedOccurrence { get; internal set; } + + /// + /// The PartUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedPart")] + public List nestedPart { get; internal set; } + + /// + /// The PortUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedPort")] + public List nestedPort { get; internal set; } + + /// + /// The ReferenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedReference")] + public List nestedReference { get; internal set; } + + /// + /// The RenderingUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedRendering")] + public List nestedRendering { get; internal set; } + + /// + /// The RequirementUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] + [Implements(implementation: "IUsage.NestedRequirement")] + public List nestedRequirement { get; internal set; } + + /// + /// The StateUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedState")] + public List nestedState { get; internal set; } + + /// + /// The TransitionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedTransition")] + public List nestedTransition { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.NestedUsage")] + public List nestedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedUseCase")] + public List nestedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedVerificationCase")] + public List nestedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedView")] + public List nestedView { get; internal set; } + + /// + /// The ViewpointUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedViewpoint")] + public List nestedViewpoint { get; internal set; } + + /// + /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, + /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] + [RedefinedByProperty("IActionUsage.ActionDefinition")] + [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] + List Systems.Occurrences.IOccurrenceUsage.occurrenceDefinition => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The Definition that owns this Usage (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] + [Implements(implementation: "IUsage.OwningDefinition")] + public Guid? owningDefinition { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The Usage in which this Usage is nested (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IUsage.OwningUsage")] + public Guid? owningUsage { get; internal set; } + + /// + /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into + /// and/or out of a performance of the Step. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IStep.Parameter")] + public List parameter { get; internal set; } + + /// + /// The ActionUsage to be performed by this PerformedActionUsage. It is the eventOccurrence of the + /// PerformActionUsage considered as an EventOccurrenceUsage, which must be an ActionUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1567740791820_867719_18017", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1622831790393_676695_195")] + [RedefinedByProperty("IExhibitStateUsage.ExhibitedState")] + [Implements(implementation: "IPerformActionUsage.PerformedAction")] + Guid Systems.Actions.IPerformActionUsage.performedAction => throw new InvalidOperationException("Redefined by property IExhibitStateUsage.ExhibitedState"); + + /// + /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If + /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the + /// OccurrenceUsage represents portions of the featuring instance of the owningType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IOccurrenceUsage.PortionKind")] + public PortionKind? PortionKind { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The Behaviors that are the types of this StateUsage. Nominally, these would be StateDefinitions, but + /// kernel Behaviors are also allowed, to permit use of Behaviors from the Kernel Model Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575588456737_49200_1438", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1565500905804_589845_30779")] + [Implements(implementation: "IStateUsage.StateDefinition")] + public List stateDefinition { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IUsage.Definition")] + [Implements(implementation: "IFeature.Type")] + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Usage (not necessarily owned). + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IUsage.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = + /// true. If isVariation = false, then there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IUsage.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this + /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IUsage.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/Expression.cs b/SysML2.NET/Core/AutoGenDto/Expression.cs index 036714d1..29b7f66c 100644 --- a/SysML2.NET/Core/AutoGenDto/Expression.cs +++ b/SysML2.NET/Core/AutoGenDto/Expression.cs @@ -1,772 +1,772 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Functions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.DTO.Kernel.Behaviors; - using SysML2.NET.Decorators; - - /// - /// An Expression is a Step that is typed by a Function. An Expression that also has a Function as its - /// featuringType is a computational step within that Function. An Expression always has a single result - /// parameter, which redefines the result parameter of its defining function. This allows Expressions to - /// be interconnected in tree structures, in which inputs to each Expression in the tree are determined - /// as the results of other Expression in the tree. - /// - [Class(xmiId: "_18_5_3_12e503d9_1533160651686_908654_42163", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class Expression : IExpression - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Behaviors that type this Step. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IExpression.Function")] - [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IStep.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Function that types this Expression. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - [Implements(implementation: "IExpression.Function")] - public Guid? Function { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, - /// using metadata within the model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool IsModelLevelEvaluable { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into - /// and/or out of a performance of the Step. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// An output parameter of the Expression whose value is the result of the Expression. The result of an - /// Expression is either inherited from its function or it is related to the Expression via a - /// ReturnParameterMembership, in which case it redefines the result parameter of its function. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [Implements(implementation: "IExpression.Result")] - public Guid Result { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Functions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.DTO.Kernel.Behaviors; + using SysML2.NET.Decorators; + + /// + /// An Expression is a Step that is typed by a Function. An Expression that also has a Function as its + /// featuringType is a computational step within that Function. An Expression always has a single result + /// parameter, which redefines the result parameter of its defining function. This allows Expressions to + /// be interconnected in tree structures, in which inputs to each Expression in the tree are determined + /// as the results of other Expression in the tree. + /// + [Class(xmiId: "_18_5_3_12e503d9_1533160651686_908654_42163", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class Expression : IExpression + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Behaviors that type this Step. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IExpression.Function")] + [Implements(implementation: "IStep.Behavior")] + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IStep.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Function that types this Expression. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] + [Implements(implementation: "IExpression.Function")] + public Guid? function { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, + /// using metadata within the model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IExpression.IsModelLevelEvaluable")] + public bool isModelLevelEvaluable { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsVariable")] + public bool IsVariable { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into + /// and/or out of a performance of the Step. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IStep.Parameter")] + public List parameter { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// An output parameter of the Expression whose value is the result of the Expression. The result of an + /// Expression is either inherited from its function or it is related to the Expression via a + /// ReturnParameterMembership, in which case it redefines the result parameter of its function. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [Implements(implementation: "IExpression.Result")] + public Guid result { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Type")] + public List type { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/Feature.cs b/SysML2.NET/Core/AutoGenDto/Feature.cs index b8bd1625..8a8de1e7 100644 --- a/SysML2.NET/Core/AutoGenDto/Feature.cs +++ b/SysML2.NET/Core/AutoGenDto/Feature.cs @@ -1,736 +1,736 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Core.Features -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.DTO.Core.Types; - 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. - /// - [Class(xmiId: "_18_5_3_12e503d9_1533160651684_893483_42160", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class Feature : IFeature - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - List Core.Types.IType.Feature { get; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Core.Features +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.DTO.Core.Types; + 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. + /// + [Class(xmiId: "_18_5_3_12e503d9_1533160651684_893483_42160", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class Feature : IFeature + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.DirectedFeature")] + public List directedFeature { get; internal set; } + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsVariable")] + public bool IsVariable { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Type")] + public List type { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/FeatureChainExpression.cs b/SysML2.NET/Core/AutoGenDto/FeatureChainExpression.cs index d32b427c..77388bca 100644 --- a/SysML2.NET/Core/AutoGenDto/FeatureChainExpression.cs +++ b/SysML2.NET/Core/AutoGenDto/FeatureChainExpression.cs @@ -1,812 +1,816 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Expressions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Decorators; - - /// - /// A FeatureChainExpression is an OperatorExpression whose operator is ".", which resolves to the - /// Function ControlFunctions::'.' from the Kernel Functions Library. It evaluates to the result of - /// chaining the result Feature of its single argument Expression with its targetFeature. - /// - [Class(xmiId: "_19_0_4_12e503d9_1645049764787_93967_15", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class FeatureChainExpression : IFeatureChainExpression - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Expressions whose results are bound to features of the instantiatedType. The arguments are - /// ordered consistent with the order of the features, though they may not be one-to-one with all the - /// features.Note. The derivation of argument is given in the concrete subclasses of - /// InstantiationExpression. - /// - [Property(xmiId: "_2022x_2_12e503d9_1739134437590_328753_108", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IInstantiationExpression.Argument")] - public List Argument { get; internal set; } - - /// - /// The Behaviors that type this Step. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IExpression.Function")] - [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IStep.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Function that types this Expression. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - [Implements(implementation: "IExpression.Function")] - public Guid? Function { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The Type that is being instantiated. - /// - [Property(xmiId: "_2022x_2_12e503d9_1739134352572_416088_80", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IInstantiationExpression.InstantiatedType")] - public Guid InstantiatedType { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, - /// using metadata within the model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool IsModelLevelEvaluable { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// - [Property(xmiId: "_19_0_4_12e503d9_1645049784007_509459_41", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: ".")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1557528808100_646606_111674")] - [Implements(implementation: "IFeatureChainExpression.Operator")] - string IFeatureChainExpression.Operator { get; set; } = "."; - - /// - /// An operator symbol that names a corresponding Function from one of the standard packages from the - /// Kernel Function Library . - /// - [Property(xmiId: "_18_5_3_12e503d9_1557528808100_646606_111674", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IFeatureChainExpression.Operator")] - [Implements(implementation: "IOperatorExpression.Operator")] - string IOperatorExpression.Operator { get; set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into - /// and/or out of a performance of the Step. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// An output parameter of the Expression whose value is the result of the Expression. The result of an - /// Expression is either inherited from its function or it is related to the Expression via a - /// ReturnParameterMembership, in which case it redefines the result parameter of its function. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [Implements(implementation: "IExpression.Result")] - public Guid Result { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The Feature that is accessed by this FeatureChainExpression, which is its first non-parameter - /// member. - /// - [Property(xmiId: "_19_0_4_12e503d9_1645049897369_762611_49", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IFeatureChainExpression.TargetFeature")] - public Guid TargetFeature { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Expressions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Decorators; + + /// + /// A FeatureChainExpression is an OperatorExpression whose operator is ".", which resolves to the + /// Function ControlFunctions::'.' from the Kernel Functions Library. It evaluates to the result of + /// chaining the result Feature of its single argument Expression with its targetFeature. + /// + [Class(xmiId: "_19_0_4_12e503d9_1645049764787_93967_15", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class FeatureChainExpression : IFeatureChainExpression + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Expressions whose results are bound to features of the instantiatedType. The arguments are + /// ordered consistent with the order of the features, though they may not be one-to-one with all the + /// features.Note. The derivation of argument is given in the concrete subclasses of + /// InstantiationExpression. + /// + [Property(xmiId: "_2022x_2_12e503d9_1739134437590_328753_108", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IInstantiationExpression.Argument")] + public List argument { get; internal set; } + + /// + /// The Behaviors that type this Step. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IExpression.Function")] + [Implements(implementation: "IStep.Behavior")] + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IStep.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Function that types this Expression. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] + [Implements(implementation: "IExpression.Function")] + public Guid? function { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The Type that is being instantiated. + /// + [Property(xmiId: "_2022x_2_12e503d9_1739134352572_416088_80", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IInstantiationExpression.InstantiatedType")] + public Guid instantiatedType { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, + /// using metadata within the model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IExpression.IsModelLevelEvaluable")] + public bool isModelLevelEvaluable { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsVariable")] + public bool IsVariable { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// + [Property(xmiId: "_19_0_4_12e503d9_1645049784007_509459_41", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: ".")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1557528808100_646606_111674")] + [Implements(implementation: "IFeatureChainExpression.Operator")] + public string Operator { get; set; } = "."; + + /// + /// An operator symbol that names a corresponding Function from one of the standard packages from the + /// Kernel Function Library . + /// + [Property(xmiId: "_18_5_3_12e503d9_1557528808100_646606_111674", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IFeatureChainExpression.Operator")] + [Implements(implementation: "IOperatorExpression.Operator")] + string IOperatorExpression.Operator + { + get => throw new InvalidOperationException("Redefined by property IFeatureChainExpression.Operator"); + set => throw new InvalidOperationException("Redefined by property IFeatureChainExpression.Operator"); + } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into + /// and/or out of a performance of the Step. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IStep.Parameter")] + public List parameter { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// An output parameter of the Expression whose value is the result of the Expression. The result of an + /// Expression is either inherited from its function or it is related to the Expression via a + /// ReturnParameterMembership, in which case it redefines the result parameter of its function. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [Implements(implementation: "IExpression.Result")] + public Guid result { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The Feature that is accessed by this FeatureChainExpression, which is its first non-parameter + /// member. + /// + [Property(xmiId: "_19_0_4_12e503d9_1645049897369_762611_49", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IFeatureChainExpression.TargetFeature")] + public Guid targetFeature { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Type")] + public List type { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/FeatureChaining.cs b/SysML2.NET/Core/AutoGenDto/FeatureChaining.cs index 884f38a5..f17492a9 100644 --- a/SysML2.NET/Core/AutoGenDto/FeatureChaining.cs +++ b/SysML2.NET/Core/AutoGenDto/FeatureChaining.cs @@ -1,283 +1,291 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Core.Features -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Root.Elements; - using SysML2.NET.Decorators; - - /// - /// FeatureChaining is a Relationship that makes its target Feature one of the chainingFeatures of its - /// owning Feature. - /// - [Class(xmiId: "_19_0_4_b9102da_1622124560789_965972_39", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class FeatureChaining : IFeatureChaining - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Feature whose values partly determine values of featureChained, as described in - /// Feature::chainingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125799011_772669_117", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [Implements(implementation: "IFeatureChaining.ChainingFeature")] - public Guid ChainingFeature { get; set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// The Feature whose values are partly determined by values of the chainingFeature, as described in - /// Feature::chainingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_897608_73", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [Implements(implementation: "IFeatureChaining.FeatureChained")] - public Guid FeatureChained { get; internal set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IFeatureChaining.FeatureChained")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IFeatureChaining.ChainingFeature")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Core.Features +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Root.Elements; + using SysML2.NET.Decorators; + + /// + /// FeatureChaining is a Relationship that makes its target Feature one of the chainingFeatures of its + /// owning Feature. + /// + [Class(xmiId: "_19_0_4_b9102da_1622124560789_965972_39", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class FeatureChaining : IFeatureChaining + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Feature whose values partly determine values of featureChained, as described in + /// Feature::chainingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125799011_772669_117", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [Implements(implementation: "IFeatureChaining.ChainingFeature")] + public Guid ChainingFeature { get; set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// The Feature whose values are partly determined by values of the chainingFeature, as described in + /// Feature::chainingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_897608_73", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [Implements(implementation: "IFeatureChaining.FeatureChained")] + public Guid featureChained { get; internal set; } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IRelationship.RelatedElement")] + public List relatedElement { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IFeatureChaining.FeatureChained")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IFeatureChaining.FeatureChained"); + set => throw new InvalidOperationException("Redefined by property IFeatureChaining.FeatureChained"); + } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IFeatureChaining.ChainingFeature")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IFeatureChaining.ChainingFeature"); + set => throw new InvalidOperationException("Redefined by property IFeatureChaining.ChainingFeature"); + } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/FeatureInverting.cs b/SysML2.NET/Core/AutoGenDto/FeatureInverting.cs index 64fd2b6d..5cabb63e 100644 --- a/SysML2.NET/Core/AutoGenDto/FeatureInverting.cs +++ b/SysML2.NET/Core/AutoGenDto/FeatureInverting.cs @@ -1,292 +1,300 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Core.Features -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Root.Elements; - using SysML2.NET.Decorators; - - /// - /// A FeatureInverting is a Relationship between Features asserting that their interpretations - /// (sequences) are the reverse of each other, identified as featureInverted and invertingFeature. For - /// example, a Feature identifying each person's parents is the inverse of a Feature identifying - /// each person's children. A person identified as a parent of another will identify that other as - /// one of their children. - /// - [Class(xmiId: "_19_0_4_b9102da_1623178487957_761743_77", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class FeatureInverting : IFeatureInverting - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// The Feature that is an inverse of the invertingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1623178838862_842173_146", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [Implements(implementation: "IFeatureInverting.FeatureInverted")] - public Guid FeatureInverted { get; set; } - - /// - /// The Feature that is an inverse of the invertedFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1623178854941_627588_162", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [Implements(implementation: "IFeatureInverting.InvertingFeature")] - public Guid InvertingFeature { get; set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// A featureInverted that is also the owningRelatedElement of this FeatureInverting. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_122613_44", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838862_842173_146")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - [Implements(implementation: "IFeatureInverting.OwningFeature")] - public Guid? OwningFeature { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IFeatureInverting.FeatureInverted")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IFeatureInverting.InvertingFeature")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Core.Features +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Root.Elements; + using SysML2.NET.Decorators; + + /// + /// A FeatureInverting is a Relationship between Features asserting that their interpretations + /// (sequences) are the reverse of each other, identified as featureInverted and invertingFeature. For + /// example, a Feature identifying each person's parents is the inverse of a Feature identifying + /// each person's children. A person identified as a parent of another will identify that other as + /// one of their children. + /// + [Class(xmiId: "_19_0_4_b9102da_1623178487957_761743_77", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class FeatureInverting : IFeatureInverting + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// The Feature that is an inverse of the invertingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1623178838862_842173_146", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [Implements(implementation: "IFeatureInverting.FeatureInverted")] + public Guid FeatureInverted { get; set; } + + /// + /// The Feature that is an inverse of the invertedFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1623178854941_627588_162", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [Implements(implementation: "IFeatureInverting.InvertingFeature")] + public Guid InvertingFeature { get; set; } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// A featureInverted that is also the owningRelatedElement of this FeatureInverting. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_122613_44", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838862_842173_146")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + [Implements(implementation: "IFeatureInverting.OwningFeature")] + public Guid? owningFeature { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IRelationship.RelatedElement")] + public List relatedElement { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IFeatureInverting.FeatureInverted")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IFeatureInverting.FeatureInverted"); + set => throw new InvalidOperationException("Redefined by property IFeatureInverting.FeatureInverted"); + } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IFeatureInverting.InvertingFeature")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IFeatureInverting.InvertingFeature"); + set => throw new InvalidOperationException("Redefined by property IFeatureInverting.InvertingFeature"); + } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/FeatureMembership.cs b/SysML2.NET/Core/AutoGenDto/FeatureMembership.cs index 4f7e8732..5b83b55a 100644 --- a/SysML2.NET/Core/AutoGenDto/FeatureMembership.cs +++ b/SysML2.NET/Core/AutoGenDto/FeatureMembership.cs @@ -1,373 +1,393 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Core.Types -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Root.Namespaces; - using SysML2.NET.Core.DTO.Root.Namespaces; - using SysML2.NET.Decorators; - - /// - /// A FeatureMembership is an OwningMembership between an ownedMemberFeature and an owningType. If the - /// ownedMemberFeature has isVariable = false, then the FeatureMembership implies that the owningType is - /// also a featuringType of the ownedMemberFeature. If the ownedMemberFeature has isVariable = true, - /// then the FeatureMembership implies that the ownedMemberFeature is featured by the snapshots of the - /// owningType, which must specialize the Kernel Semantic Library base class Occurrence. - /// - [Class(xmiId: "_18_5_3_12e503d9_1533160651715_740575_42237", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class FeatureMembership : IFeatureMembership - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_819490_43195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] - [Implements(implementation: "IMembership.MemberElement")] - public Guid MemberElement { get; set; } - - /// - /// The elementId of the memberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] - [Implements(implementation: "IMembership.MemberElementId")] - public string MemberElementId { get; internal set; } - - /// - /// The name of the memberElement relative to the membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberName")] - [Implements(implementation: "IMembership.MemberName")] - public string MemberName { get; set; } - - /// - /// The Namespace of which the memberElement becomes a member due to this Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_193857_43197", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_531296_43182")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [RedefinedByProperty("IFeatureMembership.OwningType")] - [Implements(implementation: "IMembership.MembershipOwningNamespace")] - public Guid MembershipOwningNamespace { get; internal set; } - - /// - /// The short name of the memberElement relative to the membershipOwningNamespace. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] - [Implements(implementation: "IMembership.MemberShortName")] - public string MemberShortName { get; set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this - /// OwningMembership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_501750_43196", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_59873_43302")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] - [RedefinedByProperty("IFeatureMembership.OwnedMemberFeature")] - [Implements(implementation: "IOwningMembership.OwnedMemberElement")] - public Guid OwnedMemberElement { get; internal set; } - - /// - /// The elementId of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] - [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] - public string OwnedMemberElementId { get; internal set; } - - /// - /// The Feature that this FeatureMembership relates to its owningType, making it an ownedFeature of the - /// owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_898044_43344", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] - [Implements(implementation: "IFeatureMembership.OwnedMemberFeature")] - public Guid OwnedMemberFeature { get; internal set; } - - /// - /// The name of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] - [Implements(implementation: "IOwningMembership.OwnedMemberName")] - public string OwnedMemberName { get; internal set; } - - /// - /// The shortName of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] - [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] - public string OwnedMemberShortName { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that owns this FeatureMembership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_418504_43339", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866524_738482_486")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] - [Implements(implementation: "IFeatureMembership.OwningType")] - public Guid OwningType { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IMembership.MembershipOwningNamespace")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IMembership.MemberElement")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly - /// visible outside that Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_42975_43193", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "public")] - [Implements(implementation: "IMembership.Visibility")] - public VisibilityKind Visibility { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Core.Types +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Root.Namespaces; + using SysML2.NET.Core.DTO.Root.Namespaces; + using SysML2.NET.Decorators; + + /// + /// A FeatureMembership is an OwningMembership between an ownedMemberFeature and an owningType. If the + /// ownedMemberFeature has isVariable = false, then the FeatureMembership implies that the owningType is + /// also a featuringType of the ownedMemberFeature. If the ownedMemberFeature has isVariable = true, + /// then the FeatureMembership implies that the ownedMemberFeature is featured by the snapshots of the + /// owningType, which must specialize the Kernel Semantic Library base class Occurrence. + /// + [Class(xmiId: "_18_5_3_12e503d9_1533160651715_740575_42237", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class FeatureMembership : IFeatureMembership + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_819490_43195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] + [Implements(implementation: "IMembership.MemberElement")] + Guid Root.Namespaces.IMembership.MemberElement + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + } + + /// + /// The elementId of the memberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] + [Implements(implementation: "IMembership.MemberElementId")] + string Root.Namespaces.IMembership.memberElementId => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElementId"); + + /// + /// The name of the memberElement relative to the membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberName")] + [Implements(implementation: "IMembership.MemberName")] + string Root.Namespaces.IMembership.MemberName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + } + + /// + /// The Namespace of which the memberElement becomes a member due to this Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_193857_43197", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_531296_43182")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [RedefinedByProperty("IFeatureMembership.OwningType")] + [Implements(implementation: "IMembership.MembershipOwningNamespace")] + Guid Root.Namespaces.IMembership.membershipOwningNamespace => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwningType"); + + /// + /// The short name of the memberElement relative to the membershipOwningNamespace. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] + [Implements(implementation: "IMembership.MemberShortName")] + string Root.Namespaces.IMembership.MemberShortName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this + /// OwningMembership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_501750_43196", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_59873_43302")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] + [RedefinedByProperty("IFeatureMembership.OwnedMemberFeature")] + [Implements(implementation: "IOwningMembership.OwnedMemberElement")] + Guid Root.Namespaces.IOwningMembership.ownedMemberElement => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwnedMemberFeature"); + + /// + /// The elementId of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] + [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] + public string ownedMemberElementId { get; internal set; } + + /// + /// The Feature that this FeatureMembership relates to its owningType, making it an ownedFeature of the + /// owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_898044_43344", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] + [Implements(implementation: "IFeatureMembership.OwnedMemberFeature")] + public Guid ownedMemberFeature { get; internal set; } + + /// + /// The name of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] + [Implements(implementation: "IOwningMembership.OwnedMemberName")] + public string ownedMemberName { get; internal set; } + + /// + /// The shortName of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] + [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] + public string ownedMemberShortName { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that owns this FeatureMembership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_418504_43339", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866524_738482_486")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] + [Implements(implementation: "IFeatureMembership.OwningType")] + public Guid owningType { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IRelationship.RelatedElement")] + public List relatedElement { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IMembership.MembershipOwningNamespace")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IMembership.MemberElement")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + set => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly + /// visible outside that Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_42975_43193", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "public")] + [Implements(implementation: "IMembership.Visibility")] + public VisibilityKind Visibility { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/FeatureReferenceExpression.cs b/SysML2.NET/Core/AutoGenDto/FeatureReferenceExpression.cs index bc1dbb1b..07b4ba8e 100644 --- a/SysML2.NET/Core/AutoGenDto/FeatureReferenceExpression.cs +++ b/SysML2.NET/Core/AutoGenDto/FeatureReferenceExpression.cs @@ -1,777 +1,777 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Expressions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.DTO.Kernel.Functions; - using SysML2.NET.Decorators; - - /// - /// A FeatureReferenceExpression is an Expression whose result is bound to a referent Feature. - /// - [Class(xmiId: "_18_5_3_12e503d9_1533160651680_105632_42151", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class FeatureReferenceExpression : IFeatureReferenceExpression - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Behaviors that type this Step. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IExpression.Function")] - [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IStep.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Function that types this Expression. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - [Implements(implementation: "IExpression.Function")] - public Guid? Function { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, - /// using metadata within the model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool IsModelLevelEvaluable { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into - /// and/or out of a performance of the Step. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Feature that is referenced by this FeatureReferenceExpression, which is its first non-parameter - /// member. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_848357_43185", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IFeatureReferenceExpression.Referent")] - public Guid Referent { get; internal set; } - - /// - /// An output parameter of the Expression whose value is the result of the Expression. The result of an - /// Expression is either inherited from its function or it is related to the Expression via a - /// ReturnParameterMembership, in which case it redefines the result parameter of its function. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [Implements(implementation: "IExpression.Result")] - public Guid Result { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Expressions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.DTO.Kernel.Functions; + using SysML2.NET.Decorators; + + /// + /// A FeatureReferenceExpression is an Expression whose result is bound to a referent Feature. + /// + [Class(xmiId: "_18_5_3_12e503d9_1533160651680_105632_42151", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class FeatureReferenceExpression : IFeatureReferenceExpression + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Behaviors that type this Step. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IExpression.Function")] + [Implements(implementation: "IStep.Behavior")] + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IStep.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Function that types this Expression. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] + [Implements(implementation: "IExpression.Function")] + public Guid? function { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, + /// using metadata within the model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IExpression.IsModelLevelEvaluable")] + public bool isModelLevelEvaluable { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsVariable")] + public bool IsVariable { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into + /// and/or out of a performance of the Step. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IStep.Parameter")] + public List parameter { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Feature that is referenced by this FeatureReferenceExpression, which is its first non-parameter + /// member. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_848357_43185", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IFeatureReferenceExpression.Referent")] + public Guid referent { get; internal set; } + + /// + /// An output parameter of the Expression whose value is the result of the Expression. The result of an + /// Expression is either inherited from its function or it is related to the Expression via a + /// ReturnParameterMembership, in which case it redefines the result parameter of its function. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [Implements(implementation: "IExpression.Result")] + public Guid result { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Type")] + public List type { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/FeatureTyping.cs b/SysML2.NET/Core/AutoGenDto/FeatureTyping.cs index a86fdaac..d7e11c8e 100644 --- a/SysML2.NET/Core/AutoGenDto/FeatureTyping.cs +++ b/SysML2.NET/Core/AutoGenDto/FeatureTyping.cs @@ -1,319 +1,335 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Core.Features -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Core.Types; - 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. - /// - [Class(xmiId: "_18_5_3_12e503d9_1543180339807_437641_20928", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class FeatureTyping : IFeatureTyping - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// A Type with a superset of all instances of the specific Type, which might be the same set. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674980_563969_43273", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [RedefinedByProperty("IFeatureTyping.Type")] - [Implements(implementation: "ISpecialization.General")] - public Guid General { get; set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// A typedFeature that is also the owningRelatedElement of this FeatureTyping. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427753_801746_43", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_13273_21101")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_573157_43226")] - [Implements(implementation: "IFeatureTyping.OwningFeature")] - public Guid? OwningFeature { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the specific Type of this Specialization and owns it as its owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_573157_43226", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] - [RedefinedByProperty("IFeatureTyping.OwningFeature")] - [Implements(implementation: "ISpecialization.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("ISpecialization.Specific")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// A Type with a subset of all instances of the general Type, which might be the same set. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674982_253967_43281", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [RedefinedByProperty("IFeatureTyping.TypedFeature")] - [Implements(implementation: "ISpecialization.Specific")] - public Guid Specific { get; set; } - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("ISpecialization.General")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// The Type that is being applied by this FeatureTyping. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543180520185_480887_21131", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_563969_43273")] - [Implements(implementation: "IFeatureTyping.Type")] - public Guid Type { get; set; } - - /// - /// The Feature that has a type determined by this FeatureTyping. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543180501615_13273_21101", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] - [Implements(implementation: "IFeatureTyping.TypedFeature")] - public Guid TypedFeature { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Core.Features +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Core.Types; + 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. + /// + [Class(xmiId: "_18_5_3_12e503d9_1543180339807_437641_20928", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class FeatureTyping : IFeatureTyping + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// A Type with a superset of all instances of the specific Type, which might be the same set. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674980_563969_43273", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [RedefinedByProperty("IFeatureTyping.Type")] + [Implements(implementation: "ISpecialization.General")] + Guid Core.Types.ISpecialization.General + { + get => throw new InvalidOperationException("Redefined by property IFeatureTyping.Type"); + set => throw new InvalidOperationException("Redefined by property IFeatureTyping.Type"); + } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// A typedFeature that is also the owningRelatedElement of this FeatureTyping. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427753_801746_43", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_13273_21101")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_573157_43226")] + [Implements(implementation: "IFeatureTyping.OwningFeature")] + public Guid? owningFeature { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the specific Type of this Specialization and owns it as its owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_573157_43226", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] + [RedefinedByProperty("IFeatureTyping.OwningFeature")] + [Implements(implementation: "ISpecialization.OwningType")] + Guid? Core.Types.ISpecialization.owningType => throw new InvalidOperationException("Redefined by property IFeatureTyping.OwningFeature"); + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IRelationship.RelatedElement")] + public List relatedElement { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("ISpecialization.Specific")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property ISpecialization.Specific"); + set => throw new InvalidOperationException("Redefined by property ISpecialization.Specific"); + } + + /// + /// A Type with a subset of all instances of the general Type, which might be the same set. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674982_253967_43281", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [RedefinedByProperty("IFeatureTyping.TypedFeature")] + [Implements(implementation: "ISpecialization.Specific")] + Guid Core.Types.ISpecialization.Specific + { + get => throw new InvalidOperationException("Redefined by property IFeatureTyping.TypedFeature"); + set => throw new InvalidOperationException("Redefined by property IFeatureTyping.TypedFeature"); + } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("ISpecialization.General")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property ISpecialization.General"); + set => throw new InvalidOperationException("Redefined by property ISpecialization.General"); + } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// The Type that is being applied by this FeatureTyping. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543180520185_480887_21131", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_563969_43273")] + [Implements(implementation: "IFeatureTyping.Type")] + public Guid Type { get; set; } + + /// + /// The Feature that has a type determined by this FeatureTyping. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543180501615_13273_21101", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] + [Implements(implementation: "IFeatureTyping.TypedFeature")] + public Guid TypedFeature { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/FeatureValue.cs b/SysML2.NET/Core/AutoGenDto/FeatureValue.cs index a413b633..68a06cc8 100644 --- a/SysML2.NET/Core/AutoGenDto/FeatureValue.cs +++ b/SysML2.NET/Core/AutoGenDto/FeatureValue.cs @@ -1,390 +1,410 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.FeatureValues -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Root.Namespaces; - using SysML2.NET.Core.DTO.Root.Namespaces; - using SysML2.NET.Decorators; - - /// - /// A FeatureValue is a Membership that identifies a particular member Expression that provides the - /// value of the Feature that owns the FeatureValue. The value is specified as either a bound value or - /// an initial value, and as either a concrete or default value. A Feature can have at most one - /// FeatureValue.The result of the value Expression is bound to the featureWithValue using a - /// BindingConnector. If isInitial = false, then the featuringType of the BindingConnector is the same - /// as the featuringType of the featureWithValue. If isInitial = true, then the featuringType of the - /// BindingConnector is restricted to its startShot.If isDefault = false, then the above semantics of - /// the FeatureValue are realized for the given featureWithValue. Otherwise, the semantics are realized - /// for any individual of the featuringType of the featureWithValue, unless another value is explicitly - /// given for the featureWithValue for that individual. - /// - [Class(xmiId: "_18_5_3_12e503d9_1543180279304_499907_20659", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class FeatureValue : IFeatureValue - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// The Feature to be provided a value. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573079011690_119762_1724", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] - [Implements(implementation: "IFeatureValue.FeatureWithValue")] - public Guid FeatureWithValue { get; internal set; } - - /// - /// Whether this FeatureValue is a concrete specification of the bound or initial value of the - /// featureWithValue, or just a default value that may be overridden. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623940132054_842266_36467", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeatureValue.IsDefault")] - public bool IsDefault { get; set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this FeatureValue specifies a bound value or an initial value for the featureWithValue. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623940148216_422105_36473", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeatureValue.IsInitial")] - public bool IsInitial { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_819490_43195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] - [Implements(implementation: "IMembership.MemberElement")] - public Guid MemberElement { get; set; } - - /// - /// The elementId of the memberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] - [Implements(implementation: "IMembership.MemberElementId")] - public string MemberElementId { get; internal set; } - - /// - /// The name of the memberElement relative to the membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberName")] - [Implements(implementation: "IMembership.MemberName")] - public string MemberName { get; set; } - - /// - /// The Namespace of which the memberElement becomes a member due to this Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_193857_43197", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_531296_43182")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [Implements(implementation: "IMembership.MembershipOwningNamespace")] - public Guid MembershipOwningNamespace { get; internal set; } - - /// - /// The short name of the memberElement relative to the membershipOwningNamespace. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] - [Implements(implementation: "IMembership.MemberShortName")] - public string MemberShortName { get; set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this - /// OwningMembership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_501750_43196", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_59873_43302")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] - [RedefinedByProperty("IFeatureValue.Value")] - [Implements(implementation: "IOwningMembership.OwnedMemberElement")] - public Guid OwnedMemberElement { get; internal set; } - - /// - /// The elementId of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] - [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] - public string OwnedMemberElementId { get; internal set; } - - /// - /// The name of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] - [Implements(implementation: "IOwningMembership.OwnedMemberName")] - public string OwnedMemberName { get; internal set; } - - /// - /// The shortName of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] - [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] - public string OwnedMemberShortName { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IMembership.MembershipOwningNamespace")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IMembership.MemberElement")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// The Expression that provides the value as a result. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573081851611_231043_3236", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] - [Implements(implementation: "IFeatureValue.Value")] - public Guid Value { get; internal set; } - - /// - /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly - /// visible outside that Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_42975_43193", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "public")] - [Implements(implementation: "IMembership.Visibility")] - public VisibilityKind Visibility { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.FeatureValues +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Root.Namespaces; + using SysML2.NET.Core.DTO.Root.Namespaces; + using SysML2.NET.Decorators; + + /// + /// A FeatureValue is a Membership that identifies a particular member Expression that provides the + /// value of the Feature that owns the FeatureValue. The value is specified as either a bound value or + /// an initial value, and as either a concrete or default value. A Feature can have at most one + /// FeatureValue.The result of the value Expression is bound to the featureWithValue using a + /// BindingConnector. If isInitial = false, then the featuringType of the BindingConnector is the same + /// as the featuringType of the featureWithValue. If isInitial = true, then the featuringType of the + /// BindingConnector is restricted to its startShot.If isDefault = false, then the above semantics of + /// the FeatureValue are realized for the given featureWithValue. Otherwise, the semantics are realized + /// for any individual of the featuringType of the featureWithValue, unless another value is explicitly + /// given for the featureWithValue for that individual. + /// + [Class(xmiId: "_18_5_3_12e503d9_1543180279304_499907_20659", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class FeatureValue : IFeatureValue + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// The Feature to be provided a value. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573079011690_119762_1724", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] + [Implements(implementation: "IFeatureValue.FeatureWithValue")] + public Guid featureWithValue { get; internal set; } + + /// + /// Whether this FeatureValue is a concrete specification of the bound or initial value of the + /// featureWithValue, or just a default value that may be overridden. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623940132054_842266_36467", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeatureValue.IsDefault")] + public bool IsDefault { get; set; } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this FeatureValue specifies a bound value or an initial value for the featureWithValue. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623940148216_422105_36473", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeatureValue.IsInitial")] + public bool IsInitial { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_819490_43195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] + [Implements(implementation: "IMembership.MemberElement")] + Guid Root.Namespaces.IMembership.MemberElement + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + } + + /// + /// The elementId of the memberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] + [Implements(implementation: "IMembership.MemberElementId")] + string Root.Namespaces.IMembership.memberElementId => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElementId"); + + /// + /// The name of the memberElement relative to the membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberName")] + [Implements(implementation: "IMembership.MemberName")] + string Root.Namespaces.IMembership.MemberName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + } + + /// + /// The Namespace of which the memberElement becomes a member due to this Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_193857_43197", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_531296_43182")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [Implements(implementation: "IMembership.MembershipOwningNamespace")] + public Guid membershipOwningNamespace { get; internal set; } + + /// + /// The short name of the memberElement relative to the membershipOwningNamespace. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] + [Implements(implementation: "IMembership.MemberShortName")] + string Root.Namespaces.IMembership.MemberShortName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this + /// OwningMembership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_501750_43196", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_59873_43302")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] + [RedefinedByProperty("IFeatureValue.Value")] + [Implements(implementation: "IOwningMembership.OwnedMemberElement")] + Guid Root.Namespaces.IOwningMembership.ownedMemberElement => throw new InvalidOperationException("Redefined by property IFeatureValue.Value"); + + /// + /// The elementId of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] + [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] + public string ownedMemberElementId { get; internal set; } + + /// + /// The name of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] + [Implements(implementation: "IOwningMembership.OwnedMemberName")] + public string ownedMemberName { get; internal set; } + + /// + /// The shortName of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] + [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] + public string ownedMemberShortName { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IRelationship.RelatedElement")] + public List relatedElement { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IMembership.MembershipOwningNamespace")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IMembership.MemberElement")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + set => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// The Expression that provides the value as a result. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573081851611_231043_3236", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] + [Implements(implementation: "IFeatureValue.Value")] + public Guid value { get; internal set; } + + /// + /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly + /// visible outside that Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_42975_43193", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "public")] + [Implements(implementation: "IMembership.Visibility")] + public VisibilityKind Visibility { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/Flow.cs b/SysML2.NET/Core/AutoGenDto/Flow.cs index 76107e07..94a57816 100644 --- a/SysML2.NET/Core/AutoGenDto/Flow.cs +++ b/SysML2.NET/Core/AutoGenDto/Flow.cs @@ -62,7 +62,7 @@ public partial class Flow : IFlow [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IFlow.Interaction")] [Implements(implementation: "IConnector.Association")] - public List Association { get; internal set; } + List Kernel.Connectors.IConnector.association => throw new InvalidOperationException("Redefined by property IFlow.Interaction"); /// /// The Behaviors that type this Step. @@ -71,7 +71,7 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IFlow.Interaction")] [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IFlow.Interaction"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -83,7 +83,7 @@ public partial class Flow : IFlow /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } + public List chainingFeature { get; internal set; } /// /// The endFeatures of a Connector, which redefine the endFeatures of the associations of the Connector. @@ -93,7 +93,7 @@ public partial class Flow : IFlow [Property(xmiId: "_18_5_3_12e503d9_1556735067666_827798_21922", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [Implements(implementation: "IConnector.ConnectorEnd")] - public List ConnectorEnd { get; internal set; } + public List connectorEnd { get; internal set; } /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -103,7 +103,7 @@ public partial class Flow : IFlow /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } + public Guid? crossFeature { get; internal set; } /// /// The declared name of this Element. @@ -129,7 +129,7 @@ public partial class Flow : IFlow /// [Property(xmiId: "_2022x_2_12e503d9_1737751598145_444042_71", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IConnector.DefaultFeaturingType")] - public Guid? DefaultFeaturingType { get; internal set; } + public Guid? defaultFeaturingType { get; internal set; } /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -142,7 +142,7 @@ public partial class Flow : IFlow /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } + public List differencingType { get; internal set; } /// /// The features of this Type that have a non-null direction. @@ -151,7 +151,7 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -168,7 +168,7 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } + public List documentation { get; internal set; } /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -185,7 +185,7 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IConnector.ConnectorEnd")] [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } + List Core.Types.IType.endFeature => throw new InvalidOperationException("Redefined by property IConnector.ConnectorEnd"); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -195,7 +195,7 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } + public Guid? endOwningType { get; internal set; } /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -203,7 +203,7 @@ public partial class Flow : IFlow [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } + public List feature { get; internal set; } /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -212,14 +212,14 @@ public partial class Flow : IFlow /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } + public List featureMembership { get; internal set; } /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } + public Guid featureTarget { get; internal set; } /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -229,7 +229,7 @@ public partial class Flow : IFlow /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } + public List featuringType { get; internal set; } /// /// The connectorEnds of this Flow that are FlowEnds. @@ -237,7 +237,7 @@ public partial class Flow : IFlow [Property(xmiId: "_18_5_3_12e503d9_1563219311176_506548_20966", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 2, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1556735067666_827798_21922")] [Implements(implementation: "IFlow.FlowEnd")] - public List FlowEnd { get; internal set; } + public List flowEnd { get; internal set; } /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -245,7 +245,7 @@ public partial class Flow : IFlow [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } + public List importedMembership { get; internal set; } /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -253,7 +253,7 @@ public partial class Flow : IFlow [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } + public List inheritedFeature { get; internal set; } /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -262,7 +262,7 @@ public partial class Flow : IFlow [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } + public List inheritedMembership { get; internal set; } /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -270,7 +270,7 @@ public partial class Flow : IFlow [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } + public List input { get; internal set; } /// /// The Interactions that type this Flow. Interactions are both Associations and Behaviors, which can @@ -280,7 +280,7 @@ public partial class Flow : IFlow [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674983_471497_43284")] [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [Implements(implementation: "IFlow.Interaction")] - public List Interaction { get; internal set; } + public List interaction { get; internal set; } /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -293,7 +293,7 @@ public partial class Flow : IFlow /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } + public List intersectingType { get; internal set; } /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -317,7 +317,7 @@ public partial class Flow : IFlow /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } + public bool isConjugated { get; internal set; } /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -372,7 +372,7 @@ public partial class Flow : IFlow /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } + public bool isLibraryElement { get; internal set; } /// /// Whether an order exists for the values of this Feature or not. @@ -422,7 +422,7 @@ public partial class Flow : IFlow /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } + public List member { get; internal set; } /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -430,7 +430,7 @@ public partial class Flow : IFlow /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } + public List membership { get; internal set; } /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -440,7 +440,7 @@ public partial class Flow : IFlow [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } + public Guid? multiplicity { get; internal set; } /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -450,7 +450,7 @@ public partial class Flow : IFlow /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } + public string name { get; internal set; } /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -458,7 +458,7 @@ public partial class Flow : IFlow [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } + public List output { get; internal set; } /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -468,7 +468,7 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } + public List ownedAnnotation { get; internal set; } /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -477,7 +477,7 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } + public Guid? ownedConjugator { get; internal set; } /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -486,7 +486,7 @@ public partial class Flow : IFlow [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } + public Guid? ownedCrossSubsetting { get; internal set; } /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -496,7 +496,7 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } + public List ownedDifferencing { get; internal set; } /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -506,7 +506,7 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } + public List ownedDisjoining { get; internal set; } /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -514,7 +514,7 @@ public partial class Flow : IFlow /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } + public List ownedElement { get; internal set; } /// /// All endFeatures of this Type that are ownedFeatures. @@ -523,7 +523,7 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } + public List ownedEndFeature { get; internal set; } /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -531,7 +531,7 @@ public partial class Flow : IFlow [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } + public List ownedFeature { get; internal set; } /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -541,7 +541,7 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } + public List ownedFeatureChaining { get; internal set; } /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -551,7 +551,7 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } + public List ownedFeatureInverting { get; internal set; } /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -561,7 +561,7 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } + public List ownedFeatureMembership { get; internal set; } /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -571,7 +571,7 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } + public List ownedImport { get; internal set; } /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -580,7 +580,7 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } + public List ownedIntersecting { get; internal set; } /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -589,7 +589,7 @@ public partial class Flow : IFlow [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } + public List ownedMember { get; internal set; } /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -600,7 +600,7 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } + public List ownedMembership { get; internal set; } /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -609,7 +609,7 @@ public partial class Flow : IFlow [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } + public List ownedRedefinition { get; internal set; } /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -618,7 +618,7 @@ public partial class Flow : IFlow [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } + public Guid? ownedReferenceSubsetting { get; internal set; } /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -644,7 +644,7 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } + public List ownedSpecialization { get; internal set; } /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -654,7 +654,7 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } + public List ownedSubsetting { get; internal set; } /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -664,7 +664,7 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } + public List ownedTypeFeaturing { get; internal set; } /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -674,7 +674,7 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } + public List ownedTyping { get; internal set; } /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -683,7 +683,7 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } + public List ownedUnioning { get; internal set; } /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -691,7 +691,7 @@ public partial class Flow : IFlow /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } + public Guid? owner { get; internal set; } /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -699,7 +699,7 @@ public partial class Flow : IFlow [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } + public Guid? owningFeatureMembership { get; internal set; } /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -708,7 +708,7 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } + public Guid? owningMembership { get; internal set; } /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -717,7 +717,7 @@ public partial class Flow : IFlow [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } + public Guid? owningNamespace { get; internal set; } /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -743,7 +743,7 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } + public Guid? owningType { get; internal set; } /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -752,7 +752,7 @@ public partial class Flow : IFlow [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } + public List parameter { get; internal set; } /// /// The ownedFeature of the Flow that is a PayloadFeature (if any). @@ -760,14 +760,14 @@ public partial class Flow : IFlow [Property(xmiId: "_18_5_3_12e503d9_1563219424870_347345_21142", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IFlow.PayloadFeature")] - public Guid? PayloadFeature { get; internal set; } + public Guid? payloadFeature { get; internal set; } /// /// The type of values transferred, which is the type of the payloadFeature of the Flow. /// [Property(xmiId: "_18_5_3_b9102da_1536870569046_1672_18020", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFlow.PayloadType")] - public List PayloadType { get; internal set; } + public List payloadType { get; internal set; } /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -779,7 +779,7 @@ public partial class Flow : IFlow /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } + public string qualifiedName { get; internal set; } /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -788,7 +788,7 @@ public partial class Flow : IFlow [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedByProperty("IConnector.RelatedFeature")] [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } + List Root.Elements.IRelationship.relatedElement => throw new InvalidOperationException("Redefined by property IConnector.RelatedFeature"); /// /// The Features that are related by this Connector considered as a Relationship and that restrict the @@ -797,7 +797,7 @@ public partial class Flow : IFlow [Property(xmiId: "_18_5_3_12e503d9_1533160674968_916334_43210", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [Implements(implementation: "IConnector.RelatedFeature")] - public List RelatedFeature { get; internal set; } + public List relatedFeature { get; internal set; } /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -807,7 +807,7 @@ public partial class Flow : IFlow /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } + public string shortName { get; internal set; } /// /// The relatedElements from which this Relationship is considered to be directed. @@ -816,7 +816,11 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IConnector.SourceFeature")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + } /// /// The source relatedFeature for this Connector. It is the first relatedFeature. @@ -825,7 +829,7 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [Implements(implementation: "IConnector.SourceFeature")] - public Guid? SourceFeature { get; internal set; } + public Guid? sourceFeature { get; internal set; } /// /// The Feature that provides the items carried by the Flow. It must be a feature of the source of the @@ -833,7 +837,7 @@ public partial class Flow : IFlow /// [Property(xmiId: "_18_5_3_b9102da_1536870707078_57525_18088", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFlow.SourceOutputFeature")] - public Guid? SourceOutputFeature { get; internal set; } + public Guid? sourceOutputFeature { get; internal set; } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -842,7 +846,11 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IConnector.TargetFeature")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + } /// /// The target relatedFeatures for this Connector. This includes all the relatedFeatures other than the @@ -852,7 +860,7 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [Implements(implementation: "IConnector.TargetFeature")] - public List TargetFeature { get; internal set; } + public List targetFeature { get; internal set; } /// /// The Feature that receives the values carried by the Flow. It must be a feature of the target of the @@ -860,7 +868,7 @@ public partial class Flow : IFlow /// [Property(xmiId: "_18_5_3_b9102da_1536870573474_966268_18041", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFlow.TargetInputFeature")] - public Guid? TargetInputFeature { get; internal set; } + public Guid? targetInputFeature { get; internal set; } /// /// The TextualRepresentations that annotate this Element. @@ -869,7 +877,7 @@ public partial class Flow : IFlow [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } + public List textualRepresentation { get; internal set; } /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -880,7 +888,7 @@ public partial class Flow : IFlow [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IConnector.Association")] [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IConnector.Association"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -891,7 +899,7 @@ public partial class Flow : IFlow /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } + public List unioningType { get; internal set; } } } diff --git a/SysML2.NET/Core/AutoGenDto/FlowDefinition.cs b/SysML2.NET/Core/AutoGenDto/FlowDefinition.cs index ae27622f..47de3c20 100644 --- a/SysML2.NET/Core/AutoGenDto/FlowDefinition.cs +++ b/SysML2.NET/Core/AutoGenDto/FlowDefinition.cs @@ -55,7 +55,7 @@ public partial class FlowDefinition : IFlowDefinition [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IActionDefinition.Action")] - public List Action { get; internal set; } + public List action { get; internal set; } /// /// Various alternative identifiers for this Element. Generally, these will be set by tools. @@ -73,7 +73,7 @@ public partial class FlowDefinition : IFlowDefinition [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [RedefinedByProperty("IFlowDefinition.FlowEnd")] [Implements(implementation: "IAssociation.AssociationEnd")] - public List AssociationEnd { get; internal set; } + List Kernel.Associations.IAssociation.associationEnd => throw new InvalidOperationException("Redefined by property IFlowDefinition.FlowEnd"); /// /// The declared name of this Element. @@ -103,7 +103,7 @@ public partial class FlowDefinition : IFlowDefinition /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } + public List differencingType { get; internal set; } /// /// The features of this Type that have a non-null direction. @@ -112,7 +112,7 @@ public partial class FlowDefinition : IFlowDefinition [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IBehavior.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IBehavior.Parameter"); /// /// The usages of this Definition that are directedFeatures. @@ -121,7 +121,7 @@ public partial class FlowDefinition : IFlowDefinition [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.DirectedUsage")] - public List DirectedUsage { get; internal set; } + public List directedUsage { get; internal set; } /// /// The Documentation owned by this Element. @@ -130,7 +130,7 @@ public partial class FlowDefinition : IFlowDefinition [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } + public List documentation { get; internal set; } /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -147,7 +147,7 @@ public partial class FlowDefinition : IFlowDefinition [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IAssociation.AssociationEnd")] [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } + List Core.Types.IType.endFeature => throw new InvalidOperationException("Redefined by property IAssociation.AssociationEnd"); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -155,7 +155,7 @@ public partial class FlowDefinition : IFlowDefinition [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } + public List feature { get; internal set; } /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -164,7 +164,7 @@ public partial class FlowDefinition : IFlowDefinition /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } + public List featureMembership { get; internal set; } /// /// The Usages that define the things related by the FlowDefinition. @@ -172,7 +172,7 @@ public partial class FlowDefinition : IFlowDefinition [Property(xmiId: "_2022x_2_12e503d9_1733008492358_136366_19515", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562477648742_24204_22901")] [Implements(implementation: "IFlowDefinition.FlowEnd")] - public List FlowEnd { get; internal set; } + public List flowEnd { get; internal set; } /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -180,7 +180,7 @@ public partial class FlowDefinition : IFlowDefinition [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } + public List importedMembership { get; internal set; } /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -188,7 +188,7 @@ public partial class FlowDefinition : IFlowDefinition [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } + public List inheritedFeature { get; internal set; } /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -197,7 +197,7 @@ public partial class FlowDefinition : IFlowDefinition [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } + public List inheritedMembership { get; internal set; } /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -205,7 +205,7 @@ public partial class FlowDefinition : IFlowDefinition [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } + public List input { get; internal set; } /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -218,7 +218,7 @@ public partial class FlowDefinition : IFlowDefinition /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } + public List intersectingType { get; internal set; } /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -233,7 +233,7 @@ public partial class FlowDefinition : IFlowDefinition /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } + public bool isConjugated { get; internal set; } /// /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being @@ -266,7 +266,7 @@ public partial class FlowDefinition : IFlowDefinition /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } + public bool isLibraryElement { get; internal set; } /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -294,7 +294,7 @@ public partial class FlowDefinition : IFlowDefinition /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } + public List member { get; internal set; } /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -302,7 +302,7 @@ public partial class FlowDefinition : IFlowDefinition /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } + public List membership { get; internal set; } /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -312,7 +312,7 @@ public partial class FlowDefinition : IFlowDefinition [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } + public Guid? multiplicity { get; internal set; } /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -322,7 +322,7 @@ public partial class FlowDefinition : IFlowDefinition /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } + public string name { get; internal set; } /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -330,7 +330,7 @@ public partial class FlowDefinition : IFlowDefinition [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } + public List output { get; internal set; } /// /// The ActionUsages that are ownedUsages of this Definition. @@ -338,7 +338,7 @@ public partial class FlowDefinition : IFlowDefinition [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedAction")] - public List OwnedAction { get; internal set; } + public List ownedAction { get; internal set; } /// /// The AllocationUsages that are ownedUsages of this Definition. @@ -346,7 +346,7 @@ public partial class FlowDefinition : IFlowDefinition [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedAllocation")] - public List OwnedAllocation { get; internal set; } + public List ownedAllocation { get; internal set; } /// /// The AnalysisCaseUsages that are ownedUsages of this Definition. @@ -354,7 +354,7 @@ public partial class FlowDefinition : IFlowDefinition [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List OwnedAnalysisCase { get; internal set; } + public List ownedAnalysisCase { get; internal set; } /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -364,7 +364,7 @@ public partial class FlowDefinition : IFlowDefinition [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } + public List ownedAnnotation { get; internal set; } /// /// The AttributeUsages that are ownedUsages of this Definition. @@ -372,7 +372,7 @@ public partial class FlowDefinition : IFlowDefinition [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedAttribute")] - public List OwnedAttribute { get; internal set; } + public List ownedAttribute { get; internal set; } /// /// The CalculationUsages that are ownedUsages of this Definition. @@ -380,7 +380,7 @@ public partial class FlowDefinition : IFlowDefinition [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedCalculation")] - public List OwnedCalculation { get; internal set; } + public List ownedCalculation { get; internal set; } /// /// The code>CaseUsages that are ownedUsages of this Definition. @@ -388,7 +388,7 @@ public partial class FlowDefinition : IFlowDefinition [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] [Implements(implementation: "IDefinition.OwnedCase")] - public List OwnedCase { get; internal set; } + public List ownedCase { get; internal set; } /// /// The ConcernUsages that are ownedUsages of this Definition. @@ -396,7 +396,7 @@ public partial class FlowDefinition : IFlowDefinition [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedConcern")] - public List OwnedConcern { get; internal set; } + public List ownedConcern { get; internal set; } /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -405,7 +405,7 @@ public partial class FlowDefinition : IFlowDefinition [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } + public Guid? ownedConjugator { get; internal set; } /// /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes @@ -415,7 +415,7 @@ public partial class FlowDefinition : IFlowDefinition [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedConnection")] - public List OwnedConnection { get; internal set; } + public List ownedConnection { get; internal set; } /// /// The ConstraintUsages that are ownedUsages of this Definition. @@ -423,7 +423,7 @@ public partial class FlowDefinition : IFlowDefinition [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedConstraint")] - public List OwnedConstraint { get; internal set; } + public List ownedConstraint { get; internal set; } /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -433,7 +433,7 @@ public partial class FlowDefinition : IFlowDefinition [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } + public List ownedDifferencing { get; internal set; } /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -443,7 +443,7 @@ public partial class FlowDefinition : IFlowDefinition [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } + public List ownedDisjoining { get; internal set; } /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -451,7 +451,7 @@ public partial class FlowDefinition : IFlowDefinition /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } + public List ownedElement { get; internal set; } /// /// All endFeatures of this Type that are ownedFeatures. @@ -460,7 +460,7 @@ public partial class FlowDefinition : IFlowDefinition [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } + public List ownedEndFeature { get; internal set; } /// /// The EnumerationUsages that are ownedUsages of this Definition. @@ -468,7 +468,7 @@ public partial class FlowDefinition : IFlowDefinition [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List OwnedEnumeration { get; internal set; } + public List ownedEnumeration { get; internal set; } /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -476,7 +476,7 @@ public partial class FlowDefinition : IFlowDefinition [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } + public List ownedFeature { get; internal set; } /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -486,7 +486,7 @@ public partial class FlowDefinition : IFlowDefinition [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } + public List ownedFeatureMembership { get; internal set; } /// /// The FlowUsages that are ownedUsages of this Definition. @@ -494,7 +494,7 @@ public partial class FlowDefinition : IFlowDefinition [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedFlow")] - public List OwnedFlow { get; internal set; } + public List ownedFlow { get; internal set; } /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -504,7 +504,7 @@ public partial class FlowDefinition : IFlowDefinition [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } + public List ownedImport { get; internal set; } /// /// The InterfaceUsages that are ownedUsages of this Definition. @@ -512,7 +512,7 @@ public partial class FlowDefinition : IFlowDefinition [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedInterface")] - public List OwnedInterface { get; internal set; } + public List ownedInterface { get; internal set; } /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -521,7 +521,7 @@ public partial class FlowDefinition : IFlowDefinition [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } + public List ownedIntersecting { get; internal set; } /// /// The ItemUsages that are ownedUsages of this Definition. @@ -529,7 +529,7 @@ public partial class FlowDefinition : IFlowDefinition [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedItem")] - public List OwnedItem { get; internal set; } + public List ownedItem { get; internal set; } /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -538,7 +538,7 @@ public partial class FlowDefinition : IFlowDefinition [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } + public List ownedMember { get; internal set; } /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -549,7 +549,7 @@ public partial class FlowDefinition : IFlowDefinition [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } + public List ownedMembership { get; internal set; } /// /// The MetadataUsages that are ownedUsages of this Definition. @@ -557,7 +557,7 @@ public partial class FlowDefinition : IFlowDefinition [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedMetadata")] - public List OwnedMetadata { get; internal set; } + public List ownedMetadata { get; internal set; } /// /// The OccurrenceUsages that are ownedUsages of this Definition. @@ -565,7 +565,7 @@ public partial class FlowDefinition : IFlowDefinition [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List OwnedOccurrence { get; internal set; } + public List ownedOccurrence { get; internal set; } /// /// The PartUsages that are ownedUsages of this Definition. @@ -573,7 +573,7 @@ public partial class FlowDefinition : IFlowDefinition [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedPart")] - public List OwnedPart { get; internal set; } + public List ownedPart { get; internal set; } /// /// The PortUsages that are ownedUsages of this Definition. @@ -581,7 +581,7 @@ public partial class FlowDefinition : IFlowDefinition [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedPort")] - public List OwnedPort { get; internal set; } + public List ownedPort { get; internal set; } /// /// The ReferenceUsages that are ownedUsages of this Definition. @@ -589,7 +589,7 @@ public partial class FlowDefinition : IFlowDefinition [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedReference")] - public List OwnedReference { get; internal set; } + public List ownedReference { get; internal set; } /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -613,7 +613,7 @@ public partial class FlowDefinition : IFlowDefinition [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedRendering")] - public List OwnedRendering { get; internal set; } + public List ownedRendering { get; internal set; } /// /// The RequirementUsages that are ownedUsages of this Definition. @@ -621,7 +621,7 @@ public partial class FlowDefinition : IFlowDefinition [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] [Implements(implementation: "IDefinition.OwnedRequirement")] - public List OwnedRequirement { get; internal set; } + public List ownedRequirement { get; internal set; } /// /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific @@ -631,7 +631,7 @@ public partial class FlowDefinition : IFlowDefinition [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } + public List ownedSpecialization { get; internal set; } /// /// The StateUsages that are ownedUsages of this Definition. @@ -639,7 +639,7 @@ public partial class FlowDefinition : IFlowDefinition [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedState")] - public List OwnedState { get; internal set; } + public List ownedState { get; internal set; } /// /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier @@ -648,7 +648,7 @@ public partial class FlowDefinition : IFlowDefinition [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List OwnedSubclassification { get; internal set; } + public List ownedSubclassification { get; internal set; } /// /// The TransitionUsages that are ownedUsages of this Definition. @@ -656,7 +656,7 @@ public partial class FlowDefinition : IFlowDefinition [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedTransition")] - public List OwnedTransition { get; internal set; } + public List ownedTransition { get; internal set; } /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -665,7 +665,7 @@ public partial class FlowDefinition : IFlowDefinition [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } + public List ownedUnioning { get; internal set; } /// /// The Usages that are ownedFeatures of this Definition. @@ -674,7 +674,7 @@ public partial class FlowDefinition : IFlowDefinition [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.OwnedUsage")] - public List OwnedUsage { get; internal set; } + public List ownedUsage { get; internal set; } /// /// The UseCaseUsages that are ownedUsages of this Definition. @@ -682,7 +682,7 @@ public partial class FlowDefinition : IFlowDefinition [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedUseCase")] - public List OwnedUseCase { get; internal set; } + public List ownedUseCase { get; internal set; } /// /// The VerificationCaseUsages that are ownedUsages of this Definition. @@ -690,7 +690,7 @@ public partial class FlowDefinition : IFlowDefinition [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List OwnedVerificationCase { get; internal set; } + public List ownedVerificationCase { get; internal set; } /// /// The ViewUsages that are ownedUsages of this Definition. @@ -698,7 +698,7 @@ public partial class FlowDefinition : IFlowDefinition [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedView")] - public List OwnedView { get; internal set; } + public List ownedView { get; internal set; } /// /// The ViewpointUsages that are ownedUsages of this Definition. @@ -706,7 +706,7 @@ public partial class FlowDefinition : IFlowDefinition [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List OwnedViewpoint { get; internal set; } + public List ownedViewpoint { get; internal set; } /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -714,7 +714,7 @@ public partial class FlowDefinition : IFlowDefinition /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } + public Guid? owner { get; internal set; } /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -723,7 +723,7 @@ public partial class FlowDefinition : IFlowDefinition [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } + public Guid? owningMembership { get; internal set; } /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -732,7 +732,7 @@ public partial class FlowDefinition : IFlowDefinition [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } + public Guid? owningNamespace { get; internal set; } /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -757,7 +757,7 @@ public partial class FlowDefinition : IFlowDefinition [Property(xmiId: "_18_5_3_12e503d9_1543948010065_362066_20413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IBehavior.Parameter")] - public List Parameter { get; internal set; } + public List parameter { get; internal set; } /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -769,7 +769,7 @@ public partial class FlowDefinition : IFlowDefinition /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } + public string qualifiedName { get; internal set; } /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -778,7 +778,7 @@ public partial class FlowDefinition : IFlowDefinition [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedByProperty("IAssociation.RelatedType")] [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } + List Root.Elements.IRelationship.relatedElement => throw new InvalidOperationException("Redefined by property IAssociation.RelatedType"); /// /// The types of the associationEnds of the Association, which are the relatedElements of the @@ -787,7 +787,7 @@ public partial class FlowDefinition : IFlowDefinition [Property(xmiId: "_18_5_3_12e503d9_1533160674994_4339_43349", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [Implements(implementation: "IAssociation.RelatedType")] - public List RelatedType { get; internal set; } + public List relatedType { get; internal set; } /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -797,7 +797,7 @@ public partial class FlowDefinition : IFlowDefinition /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } + public string shortName { get; internal set; } /// /// The relatedElements from which this Relationship is considered to be directed. @@ -806,7 +806,11 @@ public partial class FlowDefinition : IFlowDefinition [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IAssociation.SourceType")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IAssociation.SourceType"); + set => throw new InvalidOperationException("Redefined by property IAssociation.SourceType"); + } /// /// The source relatedType for this Association. It is the first relatedType of the Association. @@ -815,7 +819,7 @@ public partial class FlowDefinition : IFlowDefinition [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [Implements(implementation: "IAssociation.SourceType")] - public Guid? SourceType { get; internal set; } + public Guid? sourceType { get; internal set; } /// /// The Steps that make up this Behavior. @@ -823,7 +827,7 @@ public partial class FlowDefinition : IFlowDefinition [Property(xmiId: "_18_5_3_b9102da_1536346067212_587255_17343", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IBehavior.Step")] - public List Step { get; internal set; } + public List step { get; internal set; } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -832,7 +836,11 @@ public partial class FlowDefinition : IFlowDefinition [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IAssociation.TargetType")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IAssociation.TargetType"); + set => throw new InvalidOperationException("Redefined by property IAssociation.TargetType"); + } /// /// The target relatedTypes for this Association. This includes all the relatedTypes other than the @@ -842,7 +850,7 @@ public partial class FlowDefinition : IFlowDefinition [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [Implements(implementation: "IAssociation.TargetType")] - public List TargetType { get; internal set; } + public List targetType { get; internal set; } /// /// The TextualRepresentations that annotate this Element. @@ -851,7 +859,7 @@ public partial class FlowDefinition : IFlowDefinition [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } + public List textualRepresentation { get; internal set; } /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -862,7 +870,7 @@ public partial class FlowDefinition : IFlowDefinition /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } + public List unioningType { get; internal set; } /// /// The Usages that are features of this Definition (not necessarily owned). @@ -870,7 +878,7 @@ public partial class FlowDefinition : IFlowDefinition [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IDefinition.Usage")] - public List Usage { get; internal set; } + public List usage { get; internal set; } /// /// The Usages which represent the variants of this Definition as a variation point Definition, if @@ -879,7 +887,7 @@ public partial class FlowDefinition : IFlowDefinition [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IDefinition.Variant")] - public List Variant { get; internal set; } + public List variant { get; internal set; } /// /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then @@ -889,7 +897,7 @@ public partial class FlowDefinition : IFlowDefinition [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IDefinition.VariantMembership")] - public List VariantMembership { get; internal set; } + public List variantMembership { get; internal set; } } } diff --git a/SysML2.NET/Core/AutoGenDto/FlowEnd.cs b/SysML2.NET/Core/AutoGenDto/FlowEnd.cs index 8f74115d..a1fe150c 100644 --- a/SysML2.NET/Core/AutoGenDto/FlowEnd.cs +++ b/SysML2.NET/Core/AutoGenDto/FlowEnd.cs @@ -66,7 +66,7 @@ public partial class FlowEnd : IFlowEnd /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } + public List chainingFeature { get; internal set; } /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -76,7 +76,7 @@ public partial class FlowEnd : IFlowEnd /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } + public Guid? crossFeature { get; internal set; } /// /// The declared name of this Element. @@ -106,7 +106,7 @@ public partial class FlowEnd : IFlowEnd /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } + public List differencingType { get; internal set; } /// /// The features of this Type that have a non-null direction. @@ -114,7 +114,7 @@ public partial class FlowEnd : IFlowEnd [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } + public List directedFeature { get; internal set; } /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -131,7 +131,7 @@ public partial class FlowEnd : IFlowEnd [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } + public List documentation { get; internal set; } /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -147,7 +147,7 @@ public partial class FlowEnd : IFlowEnd [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } + public List endFeature { get; internal set; } /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -157,7 +157,7 @@ public partial class FlowEnd : IFlowEnd [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } + public Guid? endOwningType { get; internal set; } /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -165,7 +165,7 @@ public partial class FlowEnd : IFlowEnd [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } + public List feature { get; internal set; } /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -174,14 +174,14 @@ public partial class FlowEnd : IFlowEnd /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } + public List featureMembership { get; internal set; } /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } + public Guid featureTarget { get; internal set; } /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -191,7 +191,7 @@ public partial class FlowEnd : IFlowEnd /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } + public List featuringType { get; internal set; } /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -199,7 +199,7 @@ public partial class FlowEnd : IFlowEnd [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } + public List importedMembership { get; internal set; } /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -207,7 +207,7 @@ public partial class FlowEnd : IFlowEnd [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } + public List inheritedFeature { get; internal set; } /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -216,7 +216,7 @@ public partial class FlowEnd : IFlowEnd [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } + public List inheritedMembership { get; internal set; } /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -224,7 +224,7 @@ public partial class FlowEnd : IFlowEnd [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } + public List input { get; internal set; } /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -237,7 +237,7 @@ public partial class FlowEnd : IFlowEnd /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } + public List intersectingType { get; internal set; } /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -261,7 +261,7 @@ public partial class FlowEnd : IFlowEnd /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } + public bool isConjugated { get; internal set; } /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -308,7 +308,7 @@ public partial class FlowEnd : IFlowEnd /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } + public bool isLibraryElement { get; internal set; } /// /// Whether an order exists for the values of this Feature or not. @@ -358,7 +358,7 @@ public partial class FlowEnd : IFlowEnd /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } + public List member { get; internal set; } /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -366,7 +366,7 @@ public partial class FlowEnd : IFlowEnd /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } + public List membership { get; internal set; } /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -376,7 +376,7 @@ public partial class FlowEnd : IFlowEnd [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } + public Guid? multiplicity { get; internal set; } /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -386,7 +386,7 @@ public partial class FlowEnd : IFlowEnd /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } + public string name { get; internal set; } /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -394,7 +394,7 @@ public partial class FlowEnd : IFlowEnd [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } + public List output { get; internal set; } /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -404,7 +404,7 @@ public partial class FlowEnd : IFlowEnd [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } + public List ownedAnnotation { get; internal set; } /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -413,7 +413,7 @@ public partial class FlowEnd : IFlowEnd [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } + public Guid? ownedConjugator { get; internal set; } /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -422,7 +422,7 @@ public partial class FlowEnd : IFlowEnd [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } + public Guid? ownedCrossSubsetting { get; internal set; } /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -432,7 +432,7 @@ public partial class FlowEnd : IFlowEnd [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } + public List ownedDifferencing { get; internal set; } /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -442,7 +442,7 @@ public partial class FlowEnd : IFlowEnd [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } + public List ownedDisjoining { get; internal set; } /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -450,7 +450,7 @@ public partial class FlowEnd : IFlowEnd /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } + public List ownedElement { get; internal set; } /// /// All endFeatures of this Type that are ownedFeatures. @@ -459,7 +459,7 @@ public partial class FlowEnd : IFlowEnd [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } + public List ownedEndFeature { get; internal set; } /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -467,7 +467,7 @@ public partial class FlowEnd : IFlowEnd [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } + public List ownedFeature { get; internal set; } /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -477,7 +477,7 @@ public partial class FlowEnd : IFlowEnd [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } + public List ownedFeatureChaining { get; internal set; } /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -487,7 +487,7 @@ public partial class FlowEnd : IFlowEnd [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } + public List ownedFeatureInverting { get; internal set; } /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -497,7 +497,7 @@ public partial class FlowEnd : IFlowEnd [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } + public List ownedFeatureMembership { get; internal set; } /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -507,7 +507,7 @@ public partial class FlowEnd : IFlowEnd [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } + public List ownedImport { get; internal set; } /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -516,7 +516,7 @@ public partial class FlowEnd : IFlowEnd [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } + public List ownedIntersecting { get; internal set; } /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -525,7 +525,7 @@ public partial class FlowEnd : IFlowEnd [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } + public List ownedMember { get; internal set; } /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -536,7 +536,7 @@ public partial class FlowEnd : IFlowEnd [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } + public List ownedMembership { get; internal set; } /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -545,7 +545,7 @@ public partial class FlowEnd : IFlowEnd [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } + public List ownedRedefinition { get; internal set; } /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -554,7 +554,7 @@ public partial class FlowEnd : IFlowEnd [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } + public Guid? ownedReferenceSubsetting { get; internal set; } /// /// The Relationships for which this Element is the owningRelatedElement. @@ -572,7 +572,7 @@ public partial class FlowEnd : IFlowEnd [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } + public List ownedSpecialization { get; internal set; } /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -582,7 +582,7 @@ public partial class FlowEnd : IFlowEnd [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } + public List ownedSubsetting { get; internal set; } /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -592,7 +592,7 @@ public partial class FlowEnd : IFlowEnd [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } + public List ownedTypeFeaturing { get; internal set; } /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -602,7 +602,7 @@ public partial class FlowEnd : IFlowEnd [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } + public List ownedTyping { get; internal set; } /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -611,7 +611,7 @@ public partial class FlowEnd : IFlowEnd [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } + public List ownedUnioning { get; internal set; } /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -619,7 +619,7 @@ public partial class FlowEnd : IFlowEnd /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } + public Guid? owner { get; internal set; } /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -627,7 +627,7 @@ public partial class FlowEnd : IFlowEnd [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } + public Guid? owningFeatureMembership { get; internal set; } /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -636,7 +636,7 @@ public partial class FlowEnd : IFlowEnd [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } + public Guid? owningMembership { get; internal set; } /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -645,7 +645,7 @@ public partial class FlowEnd : IFlowEnd [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } + public Guid? owningNamespace { get; internal set; } /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -663,7 +663,7 @@ public partial class FlowEnd : IFlowEnd [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } + public Guid? owningType { get; internal set; } /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -675,7 +675,7 @@ public partial class FlowEnd : IFlowEnd /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } + public string qualifiedName { get; internal set; } /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -685,7 +685,7 @@ public partial class FlowEnd : IFlowEnd /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } + public string shortName { get; internal set; } /// /// The TextualRepresentations that annotate this Element. @@ -694,7 +694,7 @@ public partial class FlowEnd : IFlowEnd [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } + public List textualRepresentation { get; internal set; } /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -704,7 +704,7 @@ public partial class FlowEnd : IFlowEnd /// [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } + public List type { get; internal set; } /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -715,7 +715,7 @@ public partial class FlowEnd : IFlowEnd /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } + public List unioningType { get; internal set; } } } diff --git a/SysML2.NET/Core/AutoGenDto/FlowUsage.cs b/SysML2.NET/Core/AutoGenDto/FlowUsage.cs index 8b842fa5..c60d72a9 100644 --- a/SysML2.NET/Core/AutoGenDto/FlowUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/FlowUsage.cs @@ -59,7 +59,7 @@ public partial class FlowUsage : IFlowUsage [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [RedefinedByProperty("IFlowUsage.FlowDefinition")] [Implements(implementation: "IActionUsage.ActionDefinition")] - public List ActionDefinition { get; internal set; } + List Systems.Actions.IActionUsage.actionDefinition => throw new InvalidOperationException("Redefined by property IFlowUsage.FlowDefinition"); /// /// Various alternative identifiers for this Element. Generally, these will be set by tools. @@ -75,7 +75,7 @@ public partial class FlowUsage : IFlowUsage [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IFlow.Interaction")] [Implements(implementation: "IConnector.Association")] - public List Association { get; internal set; } + List Kernel.Connectors.IConnector.association => throw new InvalidOperationException("Redefined by property IFlow.Interaction"); /// /// The Behaviors that type this Step. @@ -84,7 +84,7 @@ public partial class FlowUsage : IFlowUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IFlow.Interaction")] [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IFlow.Interaction"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -96,7 +96,7 @@ public partial class FlowUsage : IFlowUsage /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } + public List chainingFeature { get; internal set; } /// /// The endFeatures of a Connector, which redefine the endFeatures of the associations of the Connector. @@ -106,7 +106,7 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_18_5_3_12e503d9_1556735067666_827798_21922", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [Implements(implementation: "IConnector.ConnectorEnd")] - public List ConnectorEnd { get; internal set; } + public List connectorEnd { get; internal set; } /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -116,7 +116,7 @@ public partial class FlowUsage : IFlowUsage /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } + public Guid? crossFeature { get; internal set; } /// /// The declared name of this Element. @@ -142,7 +142,7 @@ public partial class FlowUsage : IFlowUsage /// [Property(xmiId: "_2022x_2_12e503d9_1737751598145_444042_71", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IConnector.DefaultFeaturingType")] - public Guid? DefaultFeaturingType { get; internal set; } + public Guid? defaultFeaturingType { get; internal set; } /// /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds @@ -153,7 +153,7 @@ public partial class FlowUsage : IFlowUsage [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] [Implements(implementation: "IUsage.Definition")] - public List Definition { get; internal set; } + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -166,7 +166,7 @@ public partial class FlowUsage : IFlowUsage /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } + public List differencingType { get; internal set; } /// /// The features of this Type that have a non-null direction. @@ -175,7 +175,7 @@ public partial class FlowUsage : IFlowUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// The usages of this Usage that are directedFeatures. @@ -184,7 +184,7 @@ public partial class FlowUsage : IFlowUsage [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List DirectedUsage { get; internal set; } + public List directedUsage { get; internal set; } /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -201,7 +201,7 @@ public partial class FlowUsage : IFlowUsage [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } + public List documentation { get; internal set; } /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -218,7 +218,7 @@ public partial class FlowUsage : IFlowUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IConnector.ConnectorEnd")] [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } + List Core.Types.IType.endFeature => throw new InvalidOperationException("Redefined by property IConnector.ConnectorEnd"); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -228,7 +228,7 @@ public partial class FlowUsage : IFlowUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } + public Guid? endOwningType { get; internal set; } /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -236,7 +236,7 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } + public List feature { get; internal set; } /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -245,14 +245,14 @@ public partial class FlowUsage : IFlowUsage /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } + public List featureMembership { get; internal set; } /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } + public Guid featureTarget { get; internal set; } /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -262,7 +262,7 @@ public partial class FlowUsage : IFlowUsage /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } + public List featuringType { get; internal set; } /// /// The Interactions that are the types of this FlowUsage. Nominally, these are FlowDefinitions, but @@ -273,7 +273,7 @@ public partial class FlowUsage : IFlowUsage [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1565500905804_589845_30779")] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1661900477937_518125_727")] [Implements(implementation: "IFlowUsage.FlowDefinition")] - public List FlowDefinition { get; internal set; } + public List flowDefinition { get; internal set; } /// /// The connectorEnds of this Flow that are FlowEnds. @@ -281,7 +281,7 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_18_5_3_12e503d9_1563219311176_506548_20966", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 2, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1556735067666_827798_21922")] [Implements(implementation: "IFlow.FlowEnd")] - public List FlowEnd { get; internal set; } + public List flowEnd { get; internal set; } /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -289,7 +289,7 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } + public List importedMembership { get; internal set; } /// /// The at most one occurrenceDefinition that has isIndividual = true. @@ -297,7 +297,7 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public Guid? IndividualDefinition { get; internal set; } + public Guid? individualDefinition { get; internal set; } /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -305,7 +305,7 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } + public List inheritedFeature { get; internal set; } /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -314,7 +314,7 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } + public List inheritedMembership { get; internal set; } /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -322,7 +322,7 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } + public List input { get; internal set; } /// /// The Interactions that type this Flow. Interactions are both Associations and Behaviors, which can @@ -333,7 +333,7 @@ public partial class FlowUsage : IFlowUsage [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [RedefinedByProperty("IFlowUsage.FlowDefinition")] [Implements(implementation: "IFlow.Interaction")] - public List Interaction { get; internal set; } + List Kernel.Interactions.IFlow.interaction => throw new InvalidOperationException("Redefined by property IFlowUsage.FlowDefinition"); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -346,7 +346,7 @@ public partial class FlowUsage : IFlowUsage /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } + public List intersectingType { get; internal set; } /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -370,7 +370,7 @@ public partial class FlowUsage : IFlowUsage /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } + public bool isConjugated { get; internal set; } /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -433,7 +433,7 @@ public partial class FlowUsage : IFlowUsage /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } + public bool isLibraryElement { get; internal set; } /// /// Whether an order exists for the values of this Feature or not. @@ -455,7 +455,7 @@ public partial class FlowUsage : IFlowUsage /// [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IUsage.IsReference")] - public bool IsReference { get; internal set; } + public bool isReference { get; internal set; } /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -483,7 +483,11 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -504,7 +508,7 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool MayTimeVary { get; internal set; } + public bool mayTimeVary { get; internal set; } /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -512,7 +516,7 @@ public partial class FlowUsage : IFlowUsage /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } + public List member { get; internal set; } /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -520,7 +524,7 @@ public partial class FlowUsage : IFlowUsage /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } + public List membership { get; internal set; } /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -530,7 +534,7 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } + public Guid? multiplicity { get; internal set; } /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -540,7 +544,7 @@ public partial class FlowUsage : IFlowUsage /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } + public string name { get; internal set; } /// /// The ActionUsages that are nestedUsages of this Usage. @@ -548,7 +552,7 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List NestedAction { get; internal set; } + public List nestedAction { get; internal set; } /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -556,7 +560,7 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List NestedAllocation { get; internal set; } + public List nestedAllocation { get; internal set; } /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -564,7 +568,7 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List NestedAnalysisCase { get; internal set; } + public List nestedAnalysisCase { get; internal set; } /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -572,7 +576,7 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List NestedAttribute { get; internal set; } + public List nestedAttribute { get; internal set; } /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -580,7 +584,7 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List NestedCalculation { get; internal set; } + public List nestedCalculation { get; internal set; } /// /// The CaseUsages that are nestedUsages of this Usage. @@ -588,7 +592,7 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List NestedCase { get; internal set; } + public List nestedCase { get; internal set; } /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -596,7 +600,7 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List NestedConcern { get; internal set; } + public List nestedConcern { get; internal set; } /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -606,7 +610,7 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List NestedConnection { get; internal set; } + public List nestedConnection { get; internal set; } /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -614,7 +618,7 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List NestedConstraint { get; internal set; } + public List nestedConstraint { get; internal set; } /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -622,7 +626,7 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List NestedEnumeration { get; internal set; } + public List nestedEnumeration { get; internal set; } /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -630,7 +634,7 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List NestedFlow { get; internal set; } + public List nestedFlow { get; internal set; } /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -638,7 +642,7 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List NestedInterface { get; internal set; } + public List nestedInterface { get; internal set; } /// /// The ItemUsages that are nestedUsages of this Usage. @@ -646,7 +650,7 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List NestedItem { get; internal set; } + public List nestedItem { get; internal set; } /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -654,7 +658,7 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List NestedMetadata { get; internal set; } + public List nestedMetadata { get; internal set; } /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -662,7 +666,7 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List NestedOccurrence { get; internal set; } + public List nestedOccurrence { get; internal set; } /// /// The PartUsages that are nestedUsages of this Usage. @@ -670,7 +674,7 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List NestedPart { get; internal set; } + public List nestedPart { get; internal set; } /// /// The PortUsages that are nestedUsages of this Usage. @@ -678,7 +682,7 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List NestedPort { get; internal set; } + public List nestedPort { get; internal set; } /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -686,7 +690,7 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List NestedReference { get; internal set; } + public List nestedReference { get; internal set; } /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -694,7 +698,7 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List NestedRendering { get; internal set; } + public List nestedRendering { get; internal set; } /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -702,7 +706,7 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List NestedRequirement { get; internal set; } + public List nestedRequirement { get; internal set; } /// /// The StateUsages that are nestedUsages of this Usage. @@ -710,7 +714,7 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List NestedState { get; internal set; } + public List nestedState { get; internal set; } /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -718,7 +722,7 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List NestedTransition { get; internal set; } + public List nestedTransition { get; internal set; } /// /// The Usages that are ownedFeatures of this Usage. @@ -727,7 +731,7 @@ public partial class FlowUsage : IFlowUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List NestedUsage { get; internal set; } + public List nestedUsage { get; internal set; } /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -735,7 +739,7 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List NestedUseCase { get; internal set; } + public List nestedUseCase { get; internal set; } /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -743,7 +747,7 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List NestedVerificationCase { get; internal set; } + public List nestedVerificationCase { get; internal set; } /// /// The ViewUsages that are nestedUsages of this Usage. @@ -751,7 +755,7 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List NestedView { get; internal set; } + public List nestedView { get; internal set; } /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -759,7 +763,7 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List NestedViewpoint { get; internal set; } + public List nestedViewpoint { get; internal set; } /// /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, @@ -770,7 +774,7 @@ public partial class FlowUsage : IFlowUsage [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] [RedefinedByProperty("IActionUsage.ActionDefinition")] [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List OccurrenceDefinition { get; internal set; } + List Systems.Occurrences.IOccurrenceUsage.occurrenceDefinition => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -778,7 +782,7 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } + public List output { get; internal set; } /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -788,7 +792,7 @@ public partial class FlowUsage : IFlowUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } + public List ownedAnnotation { get; internal set; } /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -797,7 +801,7 @@ public partial class FlowUsage : IFlowUsage [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } + public Guid? ownedConjugator { get; internal set; } /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -806,7 +810,7 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } + public Guid? ownedCrossSubsetting { get; internal set; } /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -816,7 +820,7 @@ public partial class FlowUsage : IFlowUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } + public List ownedDifferencing { get; internal set; } /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -826,7 +830,7 @@ public partial class FlowUsage : IFlowUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } + public List ownedDisjoining { get; internal set; } /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -834,7 +838,7 @@ public partial class FlowUsage : IFlowUsage /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } + public List ownedElement { get; internal set; } /// /// All endFeatures of this Type that are ownedFeatures. @@ -843,7 +847,7 @@ public partial class FlowUsage : IFlowUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } + public List ownedEndFeature { get; internal set; } /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -851,7 +855,7 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } + public List ownedFeature { get; internal set; } /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -861,7 +865,7 @@ public partial class FlowUsage : IFlowUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } + public List ownedFeatureChaining { get; internal set; } /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -871,7 +875,7 @@ public partial class FlowUsage : IFlowUsage [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } + public List ownedFeatureInverting { get; internal set; } /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -881,7 +885,7 @@ public partial class FlowUsage : IFlowUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } + public List ownedFeatureMembership { get; internal set; } /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -891,7 +895,7 @@ public partial class FlowUsage : IFlowUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } + public List ownedImport { get; internal set; } /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -900,7 +904,7 @@ public partial class FlowUsage : IFlowUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } + public List ownedIntersecting { get; internal set; } /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -909,7 +913,7 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } + public List ownedMember { get; internal set; } /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -920,7 +924,7 @@ public partial class FlowUsage : IFlowUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } + public List ownedMembership { get; internal set; } /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -929,7 +933,7 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } + public List ownedRedefinition { get; internal set; } /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -938,7 +942,7 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } + public Guid? ownedReferenceSubsetting { get; internal set; } /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -964,7 +968,7 @@ public partial class FlowUsage : IFlowUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } + public List ownedSpecialization { get; internal set; } /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -974,7 +978,7 @@ public partial class FlowUsage : IFlowUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } + public List ownedSubsetting { get; internal set; } /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -984,7 +988,7 @@ public partial class FlowUsage : IFlowUsage [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } + public List ownedTypeFeaturing { get; internal set; } /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -994,7 +998,7 @@ public partial class FlowUsage : IFlowUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } + public List ownedTyping { get; internal set; } /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1003,7 +1007,7 @@ public partial class FlowUsage : IFlowUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } + public List ownedUnioning { get; internal set; } /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1011,7 +1015,7 @@ public partial class FlowUsage : IFlowUsage /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } + public Guid? owner { get; internal set; } /// /// The Definition that owns this Usage (if any). @@ -1020,7 +1024,7 @@ public partial class FlowUsage : IFlowUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public Guid? OwningDefinition { get; internal set; } + public Guid? owningDefinition { get; internal set; } /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1028,7 +1032,7 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } + public Guid? owningFeatureMembership { get; internal set; } /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1037,7 +1041,7 @@ public partial class FlowUsage : IFlowUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } + public Guid? owningMembership { get; internal set; } /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1046,7 +1050,7 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } + public Guid? owningNamespace { get; internal set; } /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -1072,7 +1076,7 @@ public partial class FlowUsage : IFlowUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } + public Guid? owningType { get; internal set; } /// /// The Usage in which this Usage is nested (if any). @@ -1080,7 +1084,7 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public Guid? OwningUsage { get; internal set; } + public Guid? owningUsage { get; internal set; } /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -1089,7 +1093,7 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } + public List parameter { get; internal set; } /// /// The ownedFeature of the Flow that is a PayloadFeature (if any). @@ -1097,14 +1101,14 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_18_5_3_12e503d9_1563219424870_347345_21142", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IFlow.PayloadFeature")] - public Guid? PayloadFeature { get; internal set; } + public Guid? payloadFeature { get; internal set; } /// /// The type of values transferred, which is the type of the payloadFeature of the Flow. /// [Property(xmiId: "_18_5_3_b9102da_1536870569046_1672_18020", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFlow.PayloadType")] - public List PayloadType { get; internal set; } + public List payloadType { get; internal set; } /// /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If @@ -1125,7 +1129,7 @@ public partial class FlowUsage : IFlowUsage /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } + public string qualifiedName { get; internal set; } /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -1134,7 +1138,7 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedByProperty("IConnector.RelatedFeature")] [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } + List Root.Elements.IRelationship.relatedElement => throw new InvalidOperationException("Redefined by property IConnector.RelatedFeature"); /// /// The Features that are related by this Connector considered as a Relationship and that restrict the @@ -1143,7 +1147,7 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674968_916334_43210", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [Implements(implementation: "IConnector.RelatedFeature")] - public List RelatedFeature { get; internal set; } + public List relatedFeature { get; internal set; } /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1153,7 +1157,7 @@ public partial class FlowUsage : IFlowUsage /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } + public string shortName { get; internal set; } /// /// The relatedElements from which this Relationship is considered to be directed. @@ -1162,7 +1166,11 @@ public partial class FlowUsage : IFlowUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IConnector.SourceFeature")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + } /// /// The source relatedFeature for this Connector. It is the first relatedFeature. @@ -1171,7 +1179,7 @@ public partial class FlowUsage : IFlowUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [Implements(implementation: "IConnector.SourceFeature")] - public Guid? SourceFeature { get; internal set; } + public Guid? sourceFeature { get; internal set; } /// /// The Feature that provides the items carried by the Flow. It must be a feature of the source of the @@ -1179,7 +1187,7 @@ public partial class FlowUsage : IFlowUsage /// [Property(xmiId: "_18_5_3_b9102da_1536870707078_57525_18088", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFlow.SourceOutputFeature")] - public Guid? SourceOutputFeature { get; internal set; } + public Guid? sourceOutputFeature { get; internal set; } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -1188,7 +1196,11 @@ public partial class FlowUsage : IFlowUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IConnector.TargetFeature")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + } /// /// The target relatedFeatures for this Connector. This includes all the relatedFeatures other than the @@ -1198,7 +1210,7 @@ public partial class FlowUsage : IFlowUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [Implements(implementation: "IConnector.TargetFeature")] - public List TargetFeature { get; internal set; } + public List targetFeature { get; internal set; } /// /// The Feature that receives the values carried by the Flow. It must be a feature of the target of the @@ -1206,7 +1218,7 @@ public partial class FlowUsage : IFlowUsage /// [Property(xmiId: "_18_5_3_b9102da_1536870573474_966268_18041", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFlow.TargetInputFeature")] - public Guid? TargetInputFeature { get; internal set; } + public Guid? targetInputFeature { get; internal set; } /// /// The TextualRepresentations that annotate this Element. @@ -1215,7 +1227,7 @@ public partial class FlowUsage : IFlowUsage [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } + public List textualRepresentation { get; internal set; } /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1226,7 +1238,7 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1237,7 +1249,7 @@ public partial class FlowUsage : IFlowUsage /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } + public List unioningType { get; internal set; } /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1245,7 +1257,7 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List Usage { get; internal set; } + public List usage { get; internal set; } /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1254,7 +1266,7 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List Variant { get; internal set; } + public List variant { get; internal set; } /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1263,7 +1275,7 @@ public partial class FlowUsage : IFlowUsage [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List VariantMembership { get; internal set; } + public List variantMembership { get; internal set; } } } diff --git a/SysML2.NET/Core/AutoGenDto/ForLoopActionUsage.cs b/SysML2.NET/Core/AutoGenDto/ForLoopActionUsage.cs index 2d313589..9267641f 100644 --- a/SysML2.NET/Core/AutoGenDto/ForLoopActionUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/ForLoopActionUsage.cs @@ -1,1128 +1,1132 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Actions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Decorators; - - /// - /// A ForLoopActionUsage is a LoopActionUsage that specifies that its bodyAction ActionUsage should be - /// performed once for each value, in order, from the sequence of values obtained as the result of the - /// seqArgument Expression, with the loopVariable set to the value for each iteration. - /// - [Class(xmiId: "_19_0_4_12e503d9_1624306893649_489444_5711", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class ForLoopActionUsage : IForLoopActionUsage - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// The Behaviors that are the types of this ActionUsage. Nominally, these would be ActionDefinitions, - /// but other kinds of Kernel Behaviors are also allowed, to permit use of Behaviors from the Kernel - /// Model Libraries. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565500905804_589845_30779", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IActionUsage.ActionDefinition")] - public List ActionDefinition { get; internal set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Behaviors that type this Step. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IActionUsage.ActionDefinition")] - [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } - - /// - /// The ActionUsage to be performed repeatedly by the LoopActionUsage. It is the second parameter of the - /// LoopActionUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624203902575_509097_3869", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "ILoopActionUsage.BodyAction")] - public Guid BodyAction { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds - /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] - [Implements(implementation: "IUsage.Definition")] - public List Definition { get; internal set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IStep.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Usage that are directedFeatures. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// The at most one occurrenceDefinition that has isIndividual = true. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public Guid? IndividualDefinition { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its - /// individualDefinition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceUsage.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - public bool IsPortion { get; set; } - - /// - /// Whether this Usage is a referential Usage, that is, it has isComposite = false. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsReference")] - public bool IsReference { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [RedefinedByProperty("IUsage.MayTimeVary")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage - /// must be VariantMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// The ownedFeature of this ForLoopActionUsage that acts as the loop variable, which is assigned - /// the successive values of the input sequence on each iteration. It is the ownedFeature that redefines - /// ForLoopAction::var. - /// - [Property(xmiId: "_19_0_4_12e503d9_1640325378400_227367_3662", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IForLoopActionUsage.LoopVariable")] - public Guid LoopVariable { get; internal set; } - - /// - /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its - /// owningType, rather than being featured by the owningType itself). However, if isConstant is also - /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance - /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary - /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is - /// inherited from Feature. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] - [Implements(implementation: "IUsage.MayTimeVary")] - public bool MayTimeVary { get; internal set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ActionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedAction")] - public List NestedAction { get; internal set; } - - /// - /// The AllocationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedAllocation")] - public List NestedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List NestedAnalysisCase { get; internal set; } - - /// - /// The code>AttributeUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedAttribute")] - public List NestedAttribute { get; internal set; } - - /// - /// The CalculationUsage that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedCalculation")] - public List NestedCalculation { get; internal set; } - - /// - /// The CaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] - [Implements(implementation: "IUsage.NestedCase")] - public List NestedCase { get; internal set; } - - /// - /// The ConcernUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedConcern")] - public List NestedConcern { get; internal set; } - - /// - /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are - /// ConnectorAsUsages even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedConnection")] - public List NestedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedConstraint")] - public List NestedConstraint { get; internal set; } - - /// - /// The code>EnumerationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] - [Implements(implementation: "IUsage.NestedEnumeration")] - public List NestedEnumeration { get; internal set; } - - /// - /// The code>FlowUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedFlow")] - public List NestedFlow { get; internal set; } - - /// - /// The InterfaceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedInterface")] - public List NestedInterface { get; internal set; } - - /// - /// The ItemUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedItem")] - public List NestedItem { get; internal set; } - - /// - /// The MetadataUsages that are nestedUsages of this of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedMetadata")] - public List NestedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedOccurrence")] - public List NestedOccurrence { get; internal set; } - - /// - /// The PartUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedPart")] - public List NestedPart { get; internal set; } - - /// - /// The PortUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedPort")] - public List NestedPort { get; internal set; } - - /// - /// The ReferenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedReference")] - public List NestedReference { get; internal set; } - - /// - /// The RenderingUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedRendering")] - public List NestedRendering { get; internal set; } - - /// - /// The RequirementUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] - [Implements(implementation: "IUsage.NestedRequirement")] - public List NestedRequirement { get; internal set; } - - /// - /// The StateUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedState")] - public List NestedState { get; internal set; } - - /// - /// The TransitionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedTransition")] - public List NestedTransition { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.NestedUsage")] - public List NestedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedUseCase")] - public List NestedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedVerificationCase")] - public List NestedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedView")] - public List NestedView { get; internal set; } - - /// - /// The ViewpointUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedViewpoint")] - public List NestedViewpoint { get; internal set; } - - /// - /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, - /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] - [RedefinedByProperty("IActionUsage.ActionDefinition")] - [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List OccurrenceDefinition { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The Definition that owns this Usage (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] - [Implements(implementation: "IUsage.OwningDefinition")] - public Guid? OwningDefinition { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The Usage in which this Usage is nested (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IUsage.OwningUsage")] - public Guid? OwningUsage { get; internal set; } - - /// - /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into - /// and/or out of a performance of the Step. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If - /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the - /// OccurrenceUsage represents portions of the featuring instance of the owningType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IOccurrenceUsage.PortionKind")] - public PortionKind? PortionKind { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Expression whose result provides the sequence of values to which the loopVariable is set for - /// each iterative performance of the bodyAction. It is the Expression whose result is bound to the seq - /// input parameter of this ForLoopActionUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624306920911_355291_5769", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IForLoopActionUsage.SeqArgument")] - public Guid SeqArgument { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IUsage.Definition")] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Usage (not necessarily owned). - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IUsage.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = - /// true. If isVariation = false, then there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IUsage.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this - /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IUsage.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Actions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Decorators; + + /// + /// A ForLoopActionUsage is a LoopActionUsage that specifies that its bodyAction ActionUsage should be + /// performed once for each value, in order, from the sequence of values obtained as the result of the + /// seqArgument Expression, with the loopVariable set to the value for each iteration. + /// + [Class(xmiId: "_19_0_4_12e503d9_1624306893649_489444_5711", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class ForLoopActionUsage : IForLoopActionUsage + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// The Behaviors that are the types of this ActionUsage. Nominally, these would be ActionDefinitions, + /// but other kinds of Kernel Behaviors are also allowed, to permit use of Behaviors from the Kernel + /// Model Libraries. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565500905804_589845_30779", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IActionUsage.ActionDefinition")] + public List actionDefinition { get; internal set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Behaviors that type this Step. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IActionUsage.ActionDefinition")] + [Implements(implementation: "IStep.Behavior")] + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); + + /// + /// The ActionUsage to be performed repeatedly by the LoopActionUsage. It is the second parameter of the + /// LoopActionUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624203902575_509097_3869", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "ILoopActionUsage.BodyAction")] + public Guid bodyAction { get; internal set; } + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds + /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] + [Implements(implementation: "IUsage.Definition")] + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IStep.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); + + /// + /// The usages of this Usage that are directedFeatures. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// The at most one occurrenceDefinition that has isIndividual = true. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] + public Guid? individualDefinition { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its + /// individualDefinition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceUsage.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + public bool IsPortion { get; set; } + + /// + /// Whether this Usage is a referential Usage, that is, it has isComposite = false. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsReference")] + public bool isReference { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [RedefinedByProperty("IUsage.MayTimeVary")] + [Implements(implementation: "IFeature.IsVariable")] + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } + + /// + /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage + /// must be VariantMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// The ownedFeature of this ForLoopActionUsage that acts as the loop variable, which is assigned + /// the successive values of the input sequence on each iteration. It is the ownedFeature that redefines + /// ForLoopAction::var. + /// + [Property(xmiId: "_19_0_4_12e503d9_1640325378400_227367_3662", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IForLoopActionUsage.LoopVariable")] + public Guid loopVariable { get; internal set; } + + /// + /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its + /// owningType, rather than being featured by the owningType itself). However, if isConstant is also + /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance + /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary + /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is + /// inherited from Feature. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] + [Implements(implementation: "IUsage.MayTimeVary")] + public bool mayTimeVary { get; internal set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ActionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedAction")] + public List nestedAction { get; internal set; } + + /// + /// The AllocationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedAllocation")] + public List nestedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedAnalysisCase")] + public List nestedAnalysisCase { get; internal set; } + + /// + /// The code>AttributeUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedAttribute")] + public List nestedAttribute { get; internal set; } + + /// + /// The CalculationUsage that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedCalculation")] + public List nestedCalculation { get; internal set; } + + /// + /// The CaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] + [Implements(implementation: "IUsage.NestedCase")] + public List nestedCase { get; internal set; } + + /// + /// The ConcernUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedConcern")] + public List nestedConcern { get; internal set; } + + /// + /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are + /// ConnectorAsUsages even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedConnection")] + public List nestedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedConstraint")] + public List nestedConstraint { get; internal set; } + + /// + /// The code>EnumerationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] + [Implements(implementation: "IUsage.NestedEnumeration")] + public List nestedEnumeration { get; internal set; } + + /// + /// The code>FlowUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedFlow")] + public List nestedFlow { get; internal set; } + + /// + /// The InterfaceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedInterface")] + public List nestedInterface { get; internal set; } + + /// + /// The ItemUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedItem")] + public List nestedItem { get; internal set; } + + /// + /// The MetadataUsages that are nestedUsages of this of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedMetadata")] + public List nestedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedOccurrence")] + public List nestedOccurrence { get; internal set; } + + /// + /// The PartUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedPart")] + public List nestedPart { get; internal set; } + + /// + /// The PortUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedPort")] + public List nestedPort { get; internal set; } + + /// + /// The ReferenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedReference")] + public List nestedReference { get; internal set; } + + /// + /// The RenderingUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedRendering")] + public List nestedRendering { get; internal set; } + + /// + /// The RequirementUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] + [Implements(implementation: "IUsage.NestedRequirement")] + public List nestedRequirement { get; internal set; } + + /// + /// The StateUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedState")] + public List nestedState { get; internal set; } + + /// + /// The TransitionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedTransition")] + public List nestedTransition { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.NestedUsage")] + public List nestedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedUseCase")] + public List nestedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedVerificationCase")] + public List nestedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedView")] + public List nestedView { get; internal set; } + + /// + /// The ViewpointUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedViewpoint")] + public List nestedViewpoint { get; internal set; } + + /// + /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, + /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] + [RedefinedByProperty("IActionUsage.ActionDefinition")] + [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] + List Systems.Occurrences.IOccurrenceUsage.occurrenceDefinition => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The Definition that owns this Usage (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] + [Implements(implementation: "IUsage.OwningDefinition")] + public Guid? owningDefinition { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The Usage in which this Usage is nested (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IUsage.OwningUsage")] + public Guid? owningUsage { get; internal set; } + + /// + /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into + /// and/or out of a performance of the Step. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IStep.Parameter")] + public List parameter { get; internal set; } + + /// + /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If + /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the + /// OccurrenceUsage represents portions of the featuring instance of the owningType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IOccurrenceUsage.PortionKind")] + public PortionKind? PortionKind { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Expression whose result provides the sequence of values to which the loopVariable is set for + /// each iterative performance of the bodyAction. It is the Expression whose result is bound to the seq + /// input parameter of this ForLoopActionUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624306920911_355291_5769", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IForLoopActionUsage.SeqArgument")] + public Guid seqArgument { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IUsage.Definition")] + [Implements(implementation: "IFeature.Type")] + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Usage (not necessarily owned). + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IUsage.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = + /// true. If isVariation = false, then there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IUsage.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this + /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IUsage.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ForkNode.cs b/SysML2.NET/Core/AutoGenDto/ForkNode.cs index 2f913ba0..4d9aa1ea 100644 --- a/SysML2.NET/Core/AutoGenDto/ForkNode.cs +++ b/SysML2.NET/Core/AutoGenDto/ForkNode.cs @@ -1,1101 +1,1105 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Actions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Decorators; - - /// - /// A ForkNode is a ControlNode that must be followed by successor Actions as given by all its outgoing - /// Successions. - /// - [Class(xmiId: "_18_5_3_12e503d9_1565503181274_818459_33629", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class ForkNode : IForkNode - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// The Behaviors that are the types of this ActionUsage. Nominally, these would be ActionDefinitions, - /// but other kinds of Kernel Behaviors are also allowed, to permit use of Behaviors from the Kernel - /// Model Libraries. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565500905804_589845_30779", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IActionUsage.ActionDefinition")] - public List ActionDefinition { get; internal set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Behaviors that type this Step. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IActionUsage.ActionDefinition")] - [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds - /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] - [Implements(implementation: "IUsage.Definition")] - public List Definition { get; internal set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IStep.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Usage that are directedFeatures. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// The at most one occurrenceDefinition that has isIndividual = true. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public Guid? IndividualDefinition { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its - /// individualDefinition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceUsage.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - public bool IsPortion { get; set; } - - /// - /// Whether this Usage is a referential Usage, that is, it has isComposite = false. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsReference")] - public bool IsReference { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [RedefinedByProperty("IUsage.MayTimeVary")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage - /// must be VariantMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its - /// owningType, rather than being featured by the owningType itself). However, if isConstant is also - /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance - /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary - /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is - /// inherited from Feature. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] - [Implements(implementation: "IUsage.MayTimeVary")] - public bool MayTimeVary { get; internal set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ActionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedAction")] - public List NestedAction { get; internal set; } - - /// - /// The AllocationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedAllocation")] - public List NestedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List NestedAnalysisCase { get; internal set; } - - /// - /// The code>AttributeUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedAttribute")] - public List NestedAttribute { get; internal set; } - - /// - /// The CalculationUsage that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedCalculation")] - public List NestedCalculation { get; internal set; } - - /// - /// The CaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] - [Implements(implementation: "IUsage.NestedCase")] - public List NestedCase { get; internal set; } - - /// - /// The ConcernUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedConcern")] - public List NestedConcern { get; internal set; } - - /// - /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are - /// ConnectorAsUsages even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedConnection")] - public List NestedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedConstraint")] - public List NestedConstraint { get; internal set; } - - /// - /// The code>EnumerationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] - [Implements(implementation: "IUsage.NestedEnumeration")] - public List NestedEnumeration { get; internal set; } - - /// - /// The code>FlowUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedFlow")] - public List NestedFlow { get; internal set; } - - /// - /// The InterfaceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedInterface")] - public List NestedInterface { get; internal set; } - - /// - /// The ItemUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedItem")] - public List NestedItem { get; internal set; } - - /// - /// The MetadataUsages that are nestedUsages of this of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedMetadata")] - public List NestedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedOccurrence")] - public List NestedOccurrence { get; internal set; } - - /// - /// The PartUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedPart")] - public List NestedPart { get; internal set; } - - /// - /// The PortUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedPort")] - public List NestedPort { get; internal set; } - - /// - /// The ReferenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedReference")] - public List NestedReference { get; internal set; } - - /// - /// The RenderingUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedRendering")] - public List NestedRendering { get; internal set; } - - /// - /// The RequirementUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] - [Implements(implementation: "IUsage.NestedRequirement")] - public List NestedRequirement { get; internal set; } - - /// - /// The StateUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedState")] - public List NestedState { get; internal set; } - - /// - /// The TransitionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedTransition")] - public List NestedTransition { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.NestedUsage")] - public List NestedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedUseCase")] - public List NestedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedVerificationCase")] - public List NestedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedView")] - public List NestedView { get; internal set; } - - /// - /// The ViewpointUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedViewpoint")] - public List NestedViewpoint { get; internal set; } - - /// - /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, - /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] - [RedefinedByProperty("IActionUsage.ActionDefinition")] - [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List OccurrenceDefinition { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The Definition that owns this Usage (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] - [Implements(implementation: "IUsage.OwningDefinition")] - public Guid? OwningDefinition { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The Usage in which this Usage is nested (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IUsage.OwningUsage")] - public Guid? OwningUsage { get; internal set; } - - /// - /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into - /// and/or out of a performance of the Step. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If - /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the - /// OccurrenceUsage represents portions of the featuring instance of the owningType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IOccurrenceUsage.PortionKind")] - public PortionKind? PortionKind { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IUsage.Definition")] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Usage (not necessarily owned). - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IUsage.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = - /// true. If isVariation = false, then there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IUsage.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this - /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IUsage.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Actions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Decorators; + + /// + /// A ForkNode is a ControlNode that must be followed by successor Actions as given by all its outgoing + /// Successions. + /// + [Class(xmiId: "_18_5_3_12e503d9_1565503181274_818459_33629", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class ForkNode : IForkNode + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// The Behaviors that are the types of this ActionUsage. Nominally, these would be ActionDefinitions, + /// but other kinds of Kernel Behaviors are also allowed, to permit use of Behaviors from the Kernel + /// Model Libraries. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565500905804_589845_30779", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IActionUsage.ActionDefinition")] + public List actionDefinition { get; internal set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Behaviors that type this Step. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IActionUsage.ActionDefinition")] + [Implements(implementation: "IStep.Behavior")] + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds + /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] + [Implements(implementation: "IUsage.Definition")] + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IStep.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); + + /// + /// The usages of this Usage that are directedFeatures. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// The at most one occurrenceDefinition that has isIndividual = true. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] + public Guid? individualDefinition { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its + /// individualDefinition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceUsage.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + public bool IsPortion { get; set; } + + /// + /// Whether this Usage is a referential Usage, that is, it has isComposite = false. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsReference")] + public bool isReference { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [RedefinedByProperty("IUsage.MayTimeVary")] + [Implements(implementation: "IFeature.IsVariable")] + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } + + /// + /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage + /// must be VariantMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its + /// owningType, rather than being featured by the owningType itself). However, if isConstant is also + /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance + /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary + /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is + /// inherited from Feature. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] + [Implements(implementation: "IUsage.MayTimeVary")] + public bool mayTimeVary { get; internal set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ActionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedAction")] + public List nestedAction { get; internal set; } + + /// + /// The AllocationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedAllocation")] + public List nestedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedAnalysisCase")] + public List nestedAnalysisCase { get; internal set; } + + /// + /// The code>AttributeUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedAttribute")] + public List nestedAttribute { get; internal set; } + + /// + /// The CalculationUsage that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedCalculation")] + public List nestedCalculation { get; internal set; } + + /// + /// The CaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] + [Implements(implementation: "IUsage.NestedCase")] + public List nestedCase { get; internal set; } + + /// + /// The ConcernUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedConcern")] + public List nestedConcern { get; internal set; } + + /// + /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are + /// ConnectorAsUsages even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedConnection")] + public List nestedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedConstraint")] + public List nestedConstraint { get; internal set; } + + /// + /// The code>EnumerationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] + [Implements(implementation: "IUsage.NestedEnumeration")] + public List nestedEnumeration { get; internal set; } + + /// + /// The code>FlowUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedFlow")] + public List nestedFlow { get; internal set; } + + /// + /// The InterfaceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedInterface")] + public List nestedInterface { get; internal set; } + + /// + /// The ItemUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedItem")] + public List nestedItem { get; internal set; } + + /// + /// The MetadataUsages that are nestedUsages of this of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedMetadata")] + public List nestedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedOccurrence")] + public List nestedOccurrence { get; internal set; } + + /// + /// The PartUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedPart")] + public List nestedPart { get; internal set; } + + /// + /// The PortUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedPort")] + public List nestedPort { get; internal set; } + + /// + /// The ReferenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedReference")] + public List nestedReference { get; internal set; } + + /// + /// The RenderingUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedRendering")] + public List nestedRendering { get; internal set; } + + /// + /// The RequirementUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] + [Implements(implementation: "IUsage.NestedRequirement")] + public List nestedRequirement { get; internal set; } + + /// + /// The StateUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedState")] + public List nestedState { get; internal set; } + + /// + /// The TransitionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedTransition")] + public List nestedTransition { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.NestedUsage")] + public List nestedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedUseCase")] + public List nestedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedVerificationCase")] + public List nestedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedView")] + public List nestedView { get; internal set; } + + /// + /// The ViewpointUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedViewpoint")] + public List nestedViewpoint { get; internal set; } + + /// + /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, + /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] + [RedefinedByProperty("IActionUsage.ActionDefinition")] + [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] + List Systems.Occurrences.IOccurrenceUsage.occurrenceDefinition => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The Definition that owns this Usage (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] + [Implements(implementation: "IUsage.OwningDefinition")] + public Guid? owningDefinition { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The Usage in which this Usage is nested (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IUsage.OwningUsage")] + public Guid? owningUsage { get; internal set; } + + /// + /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into + /// and/or out of a performance of the Step. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IStep.Parameter")] + public List parameter { get; internal set; } + + /// + /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If + /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the + /// OccurrenceUsage represents portions of the featuring instance of the owningType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IOccurrenceUsage.PortionKind")] + public PortionKind? PortionKind { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IUsage.Definition")] + [Implements(implementation: "IFeature.Type")] + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Usage (not necessarily owned). + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IUsage.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = + /// true. If isVariation = false, then there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IUsage.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this + /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IUsage.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/FramedConcernMembership.cs b/SysML2.NET/Core/AutoGenDto/FramedConcernMembership.cs index ff8bee22..e3637471 100644 --- a/SysML2.NET/Core/AutoGenDto/FramedConcernMembership.cs +++ b/SysML2.NET/Core/AutoGenDto/FramedConcernMembership.cs @@ -1,424 +1,448 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Requirements -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Root.Namespaces; - using SysML2.NET.Core.Systems.Requirements; - using SysML2.NET.Decorators; - - /// - /// A FramedConcernMembership is a RequirementConstraintMembership for a framed ConcernUsage of a - /// RequirementDefinition or RequirementUsage. - /// - [Class(xmiId: "_19_0_4_12e503d9_1617120429499_126250_3667", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class FramedConcernMembership : IFramedConcernMembership - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// The kind of an FramedConcernMembership must be requirement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617120451812_644221_3690", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "requirement")] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1584048161309_821854_390")] - [Implements(implementation: "IFramedConcernMembership.Kind")] - RequirementConstraintKind IFramedConcernMembership.Kind { get; set; } - - /// - /// Whether the RequirementConstraintMembership is for an assumed or required ConstraintUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1584048161309_821854_390", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IFramedConcernMembership.Kind")] - [Implements(implementation: "IRequirementConstraintMembership.Kind")] - RequirementConstraintKind IRequirementConstraintMembership.Kind { get; set; } - - /// - /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_819490_43195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] - [Implements(implementation: "IMembership.MemberElement")] - public Guid MemberElement { get; set; } - - /// - /// The elementId of the memberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] - [Implements(implementation: "IMembership.MemberElementId")] - public string MemberElementId { get; internal set; } - - /// - /// The name of the memberElement relative to the membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberName")] - [Implements(implementation: "IMembership.MemberName")] - public string MemberName { get; set; } - - /// - /// The Namespace of which the memberElement becomes a member due to this Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_193857_43197", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_531296_43182")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [RedefinedByProperty("IFeatureMembership.OwningType")] - [Implements(implementation: "IMembership.MembershipOwningNamespace")] - public Guid MembershipOwningNamespace { get; internal set; } - - /// - /// The short name of the memberElement relative to the membershipOwningNamespace. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] - [Implements(implementation: "IMembership.MemberShortName")] - public string MemberShortName { get; set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The ConcernUsage that is the ownedConstraint of this FramedConcernMembership. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617120590170_490370_3748", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1584048366950_985767_426")] - [Implements(implementation: "IFramedConcernMembership.OwnedConcern")] - public Guid OwnedConcern { get; internal set; } - - /// - /// The ConstraintUsage that is the ownedMemberFeature of this RequirementConstraintMembership. - /// - [Property(xmiId: "_19_0_2_12e503d9_1584048366950_985767_426", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] - [RedefinedByProperty("IFramedConcernMembership.OwnedConcern")] - [Implements(implementation: "IRequirementConstraintMembership.OwnedConstraint")] - public Guid OwnedConstraint { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this - /// OwningMembership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_501750_43196", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_59873_43302")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] - [RedefinedByProperty("IFeatureMembership.OwnedMemberFeature")] - [Implements(implementation: "IOwningMembership.OwnedMemberElement")] - public Guid OwnedMemberElement { get; internal set; } - - /// - /// The elementId of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] - [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] - public string OwnedMemberElementId { get; internal set; } - - /// - /// The Feature that this FeatureMembership relates to its owningType, making it an ownedFeature of the - /// owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_898044_43344", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] - [RedefinedByProperty("IRequirementConstraintMembership.OwnedConstraint")] - [Implements(implementation: "IFeatureMembership.OwnedMemberFeature")] - public Guid OwnedMemberFeature { get; internal set; } - - /// - /// The name of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] - [Implements(implementation: "IOwningMembership.OwnedMemberName")] - public string OwnedMemberName { get; internal set; } - - /// - /// The shortName of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] - [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] - public string OwnedMemberShortName { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that owns this FeatureMembership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_418504_43339", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866524_738482_486")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] - [Implements(implementation: "IFeatureMembership.OwningType")] - public Guid OwningType { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The ConcernUsage that is referenced through this FramedConcernMembership. It is the - /// referencedConstraint of the FramedConcernMembership considered as a RequirementConstraintMembership, - /// which must be a ConcernUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617120658044_92083_3773", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1617118807597_77864_3544")] - [Implements(implementation: "IFramedConcernMembership.ReferencedConcern")] - public Guid ReferencedConcern { get; internal set; } - - /// - /// The ConstraintUsage that is referenced through this RequirementConstraintMembership. It is the - /// referencedFeature of the ownedReferenceSubsetting of the ownedConstraint, if there is one, and, - /// otherwise, the ownedConstraint itself. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617118807597_77864_3544", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IFramedConcernMembership.ReferencedConcern")] - [Implements(implementation: "IRequirementConstraintMembership.ReferencedConstraint")] - public Guid ReferencedConstraint { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IMembership.MembershipOwningNamespace")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IMembership.MemberElement")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly - /// visible outside that Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_42975_43193", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "public")] - [Implements(implementation: "IMembership.Visibility")] - public VisibilityKind Visibility { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Requirements +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Root.Namespaces; + using SysML2.NET.Core.Systems.Requirements; + using SysML2.NET.Decorators; + + /// + /// A FramedConcernMembership is a RequirementConstraintMembership for a framed ConcernUsage of a + /// RequirementDefinition or RequirementUsage. + /// + [Class(xmiId: "_19_0_4_12e503d9_1617120429499_126250_3667", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class FramedConcernMembership : IFramedConcernMembership + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// The kind of an FramedConcernMembership must be requirement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617120451812_644221_3690", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "requirement")] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1584048161309_821854_390")] + [Implements(implementation: "IFramedConcernMembership.Kind")] + public RequirementConstraintKind Kind { get; set; } + + /// + /// Whether the RequirementConstraintMembership is for an assumed or required ConstraintUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1584048161309_821854_390", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IFramedConcernMembership.Kind")] + [Implements(implementation: "IRequirementConstraintMembership.Kind")] + RequirementConstraintKind IRequirementConstraintMembership.Kind + { + get => throw new InvalidOperationException("Redefined by property IFramedConcernMembership.Kind"); + set => throw new InvalidOperationException("Redefined by property IFramedConcernMembership.Kind"); + } + + /// + /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_819490_43195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] + [Implements(implementation: "IMembership.MemberElement")] + Guid Root.Namespaces.IMembership.MemberElement + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + } + + /// + /// The elementId of the memberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] + [Implements(implementation: "IMembership.MemberElementId")] + string Root.Namespaces.IMembership.memberElementId => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElementId"); + + /// + /// The name of the memberElement relative to the membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberName")] + [Implements(implementation: "IMembership.MemberName")] + string Root.Namespaces.IMembership.MemberName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + } + + /// + /// The Namespace of which the memberElement becomes a member due to this Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_193857_43197", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_531296_43182")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [RedefinedByProperty("IFeatureMembership.OwningType")] + [Implements(implementation: "IMembership.MembershipOwningNamespace")] + Guid Root.Namespaces.IMembership.membershipOwningNamespace => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwningType"); + + /// + /// The short name of the memberElement relative to the membershipOwningNamespace. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] + [Implements(implementation: "IMembership.MemberShortName")] + string Root.Namespaces.IMembership.MemberShortName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The ConcernUsage that is the ownedConstraint of this FramedConcernMembership. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617120590170_490370_3748", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1584048366950_985767_426")] + [Implements(implementation: "IFramedConcernMembership.OwnedConcern")] + public Guid ownedConcern { get; internal set; } + + /// + /// The ConstraintUsage that is the ownedMemberFeature of this RequirementConstraintMembership. + /// + [Property(xmiId: "_19_0_2_12e503d9_1584048366950_985767_426", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] + [RedefinedByProperty("IFramedConcernMembership.OwnedConcern")] + [Implements(implementation: "IRequirementConstraintMembership.OwnedConstraint")] + Guid IRequirementConstraintMembership.ownedConstraint => throw new InvalidOperationException("Redefined by property IFramedConcernMembership.OwnedConcern"); + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this + /// OwningMembership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_501750_43196", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_59873_43302")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] + [RedefinedByProperty("IFeatureMembership.OwnedMemberFeature")] + [Implements(implementation: "IOwningMembership.OwnedMemberElement")] + Guid Root.Namespaces.IOwningMembership.ownedMemberElement => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwnedMemberFeature"); + + /// + /// The elementId of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] + [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] + public string ownedMemberElementId { get; internal set; } + + /// + /// The Feature that this FeatureMembership relates to its owningType, making it an ownedFeature of the + /// owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_898044_43344", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] + [RedefinedByProperty("IRequirementConstraintMembership.OwnedConstraint")] + [Implements(implementation: "IFeatureMembership.OwnedMemberFeature")] + Guid Core.Types.IFeatureMembership.ownedMemberFeature => throw new InvalidOperationException("Redefined by property IRequirementConstraintMembership.OwnedConstraint"); + + /// + /// The name of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] + [Implements(implementation: "IOwningMembership.OwnedMemberName")] + public string ownedMemberName { get; internal set; } + + /// + /// The shortName of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] + [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] + public string ownedMemberShortName { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that owns this FeatureMembership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_418504_43339", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866524_738482_486")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] + [Implements(implementation: "IFeatureMembership.OwningType")] + public Guid owningType { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The ConcernUsage that is referenced through this FramedConcernMembership. It is the + /// referencedConstraint of the FramedConcernMembership considered as a RequirementConstraintMembership, + /// which must be a ConcernUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617120658044_92083_3773", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1617118807597_77864_3544")] + [Implements(implementation: "IFramedConcernMembership.ReferencedConcern")] + public Guid referencedConcern { get; internal set; } + + /// + /// The ConstraintUsage that is referenced through this RequirementConstraintMembership. It is the + /// referencedFeature of the ownedReferenceSubsetting of the ownedConstraint, if there is one, and, + /// otherwise, the ownedConstraint itself. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617118807597_77864_3544", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IFramedConcernMembership.ReferencedConcern")] + [Implements(implementation: "IRequirementConstraintMembership.ReferencedConstraint")] + Guid IRequirementConstraintMembership.referencedConstraint => throw new InvalidOperationException("Redefined by property IFramedConcernMembership.ReferencedConcern"); + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IRelationship.RelatedElement")] + public List relatedElement { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IMembership.MembershipOwningNamespace")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IMembership.MemberElement")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + set => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly + /// visible outside that Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_42975_43193", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "public")] + [Implements(implementation: "IMembership.Visibility")] + public VisibilityKind Visibility { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/Function.cs b/SysML2.NET/Core/AutoGenDto/Function.cs index c56fd230..b2637e83 100644 --- a/SysML2.NET/Core/AutoGenDto/Function.cs +++ b/SysML2.NET/Core/AutoGenDto/Function.cs @@ -1,548 +1,548 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Functions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Kernel.Behaviors; - using SysML2.NET.Decorators; - - /// - /// A Function is a Behavior that has an out parameter that is identified as its result. A Function - /// represents the performance of a calculation that produces the values of its result parameter. This - /// calculation may be decomposed into Expressions that are steps of the Function. - /// - [Class(xmiId: "_18_5_3_12e503d9_1533160651697_513473_42183", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class Function : IFunction - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IBehavior.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Expressions that are steps in the calculation of the result of this Function. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948400639_301251_20841", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] - [Implements(implementation: "IFunction.Expression")] - public List Expression { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - public bool IsAbstract { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether this Function can be used as the function of a model-level evaluable InvocationExpression. - /// Certain Functions from the Kernel Functions Library are considered to have isModelLevelEvaluable = - /// true. For all other Functions it is false.Note: See the specification of the KerML - /// concrete syntax notation for Expressions for an identification of which library Functions are - /// model-level evaluable. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617395221463_139517_26381", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFunction.IsModelLevelEvaluable")] - public bool IsModelLevelEvaluable { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier - /// is the subclassifier. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List OwnedSubclassification { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The parameters of this Behavior, which are defined as its directedFeatures, whose values are passed - /// into and/or out of a performance of the Behavior. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948010065_362066_20413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IBehavior.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The object or value that is the result of evaluating the Function. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948912268_88159_21323", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] - [Implements(implementation: "IFunction.Result")] - public Guid Result { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The Steps that make up this Behavior. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346067212_587255_17343", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IBehavior.Step")] - public List Step { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Functions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Kernel.Behaviors; + using SysML2.NET.Decorators; + + /// + /// A Function is a Behavior that has an out parameter that is identified as its result. A Function + /// represents the performance of a calculation that produces the values of its result parameter. This + /// calculation may be decomposed into Expressions that are steps of the Function. + /// + [Class(xmiId: "_18_5_3_12e503d9_1533160651697_513473_42183", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class Function : IFunction + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IBehavior.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IBehavior.Parameter"); + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Expressions that are steps in the calculation of the result of this Function. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948400639_301251_20841", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] + [Implements(implementation: "IFunction.Expression")] + public List expression { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + public bool IsAbstract { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether this Function can be used as the function of a model-level evaluable InvocationExpression. + /// Certain Functions from the Kernel Functions Library are considered to have isModelLevelEvaluable = + /// true. For all other Functions it is false.Note: See the specification of the KerML + /// concrete syntax notation for Expressions for an identification of which library Functions are + /// model-level evaluable. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617395221463_139517_26381", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFunction.IsModelLevelEvaluable")] + public bool isModelLevelEvaluable { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier + /// is the subclassifier. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [Implements(implementation: "IClassifier.OwnedSubclassification")] + public List ownedSubclassification { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The parameters of this Behavior, which are defined as its directedFeatures, whose values are passed + /// into and/or out of a performance of the Behavior. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948010065_362066_20413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IBehavior.Parameter")] + public List parameter { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The object or value that is the result of evaluating the Function. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948912268_88159_21323", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] + [Implements(implementation: "IFunction.Result")] + public Guid result { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The Steps that make up this Behavior. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346067212_587255_17343", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IBehavior.Step")] + public List step { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IAcceptActionUsage.cs b/SysML2.NET/Core/AutoGenDto/IAcceptActionUsage.cs index 1fed9535..08f1095a 100644 --- a/SysML2.NET/Core/AutoGenDto/IAcceptActionUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/IAcceptActionUsage.cs @@ -1,73 +1,73 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Actions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Decorators; - - /// - /// An AcceptActionUsage is an ActionUsage that specifies the acceptance of an incomingTransfer from the - /// Occurrence given by the result of its receiverArgument Expression. (If no receiverArgument is - /// provided, the default is the this context of the AcceptActionUsage.) The payload of the accepted - /// Transfer is output on its payloadParameter. Which Transfers may be accepted is determined by - /// conformance to the typing and (potentially) binding of the payloadParameter. - /// - [Class(xmiId: "_18_5_3_12e503d9_1565503089035_106795_33475", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IAcceptActionUsage : IActionUsage - { - /// - /// An Expression whose result is bound to the payload parameter of this AcceptActionUsage. If provided, - /// the AcceptActionUsage will only accept a Transfer with exactly this payload. - /// - [Property(xmiId: "_19_0_4_12e503d9_1642710978429_81558_4948", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - Guid? PayloadArgument { get; } - - /// - /// The nestedReference of this AcceptActionUsage that redefines the payload output parameter of the - /// base AcceptActionUsage AcceptAction from the Systems Model Library. - /// - [Property(xmiId: "_19_0_4_12e503d9_1642701018287_478584_4462", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591477541360_47573_933")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - Guid PayloadParameter { get; } - - /// - /// An Expression whose result is bound to the receiver input parameter of this AcceptActionUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1612814670555_311543_168", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - Guid? ReceiverArgument { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Actions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Decorators; + + /// + /// An AcceptActionUsage is an ActionUsage that specifies the acceptance of an incomingTransfer from the + /// Occurrence given by the result of its receiverArgument Expression. (If no receiverArgument is + /// provided, the default is the this context of the AcceptActionUsage.) The payload of the accepted + /// Transfer is output on its payloadParameter. Which Transfers may be accepted is determined by + /// conformance to the typing and (potentially) binding of the payloadParameter. + /// + [Class(xmiId: "_18_5_3_12e503d9_1565503089035_106795_33475", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IAcceptActionUsage : IActionUsage + { + /// + /// An Expression whose result is bound to the payload parameter of this AcceptActionUsage. If provided, + /// the AcceptActionUsage will only accept a Transfer with exactly this payload. + /// + [Property(xmiId: "_19_0_4_12e503d9_1642710978429_81558_4948", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + Guid? payloadArgument { get; } + + /// + /// The nestedReference of this AcceptActionUsage that redefines the payload output parameter of the + /// base AcceptActionUsage AcceptAction from the Systems Model Library. + /// + [Property(xmiId: "_19_0_4_12e503d9_1642701018287_478584_4462", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591477541360_47573_933")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + Guid payloadParameter { get; } + + /// + /// An Expression whose result is bound to the receiver input parameter of this AcceptActionUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1612814670555_311543_168", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + Guid? receiverArgument { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IActionDefinition.cs b/SysML2.NET/Core/AutoGenDto/IActionDefinition.cs index 9a5ba0a8..9f937e47 100644 --- a/SysML2.NET/Core/AutoGenDto/IActionDefinition.cs +++ b/SysML2.NET/Core/AutoGenDto/IActionDefinition.cs @@ -1,57 +1,57 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Actions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Kernel.Behaviors; - using SysML2.NET.Core.DTO.Systems.Occurrences; - using SysML2.NET.Decorators; - - /// - /// An ActionDefinition is a Definition that is also a Behavior that defines an Action performed by a - /// system or part of a system. - /// - [Class(xmiId: "_18_5_3_12e503d9_1565500542970_17430_30342", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IActionDefinition : IBehavior, IOccurrenceDefinition - { - /// - /// The ActionUsages that are steps in this ActionDefinition, which define the actions that specify the - /// behavior of the ActionDefinition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565500809065_170841_30688", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - List Action { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Actions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Kernel.Behaviors; + using SysML2.NET.Core.DTO.Systems.Occurrences; + using SysML2.NET.Decorators; + + /// + /// An ActionDefinition is a Definition that is also a Behavior that defines an Action performed by a + /// system or part of a system. + /// + [Class(xmiId: "_18_5_3_12e503d9_1565500542970_17430_30342", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IActionDefinition : IBehavior, IOccurrenceDefinition + { + /// + /// The ActionUsages that are steps in this ActionDefinition, which define the actions that specify the + /// behavior of the ActionDefinition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565500809065_170841_30688", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + List action { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IActionUsage.cs b/SysML2.NET/Core/AutoGenDto/IActionUsage.cs index 1cb6bbff..60d443b4 100644 --- a/SysML2.NET/Core/AutoGenDto/IActionUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/IActionUsage.cs @@ -1,62 +1,62 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Actions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Core.DTO.Kernel.Behaviors; - using SysML2.NET.Core.DTO.Systems.Occurrences; - using SysML2.NET.Decorators; - - /// - /// An ActionUsage is a Usage that is also a Step, and, so, is typed by a Behavior. Nominally, if the - /// type is an ActionDefinition, an ActionUsage is a Usage of that ActionDefinition within a system. - /// However, other kinds of kernel Behaviors are also allowed, to permit use of Behaviors from the - /// Kernel Model Libraries. - /// - [Class(xmiId: "_18_5_3_12e503d9_1565500580749_954926_30405", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IActionUsage : IStep, IOccurrenceUsage - { - /// - /// The Behaviors that are the types of this ActionUsage. Nominally, these would be ActionDefinitions, - /// but other kinds of Kernel Behaviors are also allowed, to permit use of Behaviors from the Kernel - /// Model Libraries. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565500905804_589845_30779", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - List ActionDefinition { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Actions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Core.DTO.Kernel.Behaviors; + using SysML2.NET.Core.DTO.Systems.Occurrences; + using SysML2.NET.Decorators; + + /// + /// An ActionUsage is a Usage that is also a Step, and, so, is typed by a Behavior. Nominally, if the + /// type is an ActionDefinition, an ActionUsage is a Usage of that ActionDefinition within a system. + /// However, other kinds of kernel Behaviors are also allowed, to permit use of Behaviors from the + /// Kernel Model Libraries. + /// + [Class(xmiId: "_18_5_3_12e503d9_1565500580749_954926_30405", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IActionUsage : IStep, IOccurrenceUsage + { + /// + /// The Behaviors that are the types of this ActionUsage. Nominally, these would be ActionDefinitions, + /// but other kinds of Kernel Behaviors are also allowed, to permit use of Behaviors from the Kernel + /// Model Libraries. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565500905804_589845_30779", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + List actionDefinition { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IActorMembership.cs b/SysML2.NET/Core/AutoGenDto/IActorMembership.cs index ae88defe..b3127d45 100644 --- a/SysML2.NET/Core/AutoGenDto/IActorMembership.cs +++ b/SysML2.NET/Core/AutoGenDto/IActorMembership.cs @@ -1,56 +1,56 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Requirements -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Root.Namespaces; - using SysML2.NET.Core.DTO.Kernel.Behaviors; - using SysML2.NET.Decorators; - - /// - /// An ActorMembership is a ParameterMembership that identifies a PartUsage as an actor parameter, which - /// specifies a role played by an external entity in interaction with the owningType of the - /// ActorMembership. - /// - [Class(xmiId: "_19_0_4_12e503d9_1621464240681_650455_1312", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IActorMembership : IParameterMembership - { - /// - /// The PartUsage specifying the actor. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621464305451_983612_1421", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1557528016548_548098_110830")] - Guid OwnedActorParameter { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Requirements +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Root.Namespaces; + using SysML2.NET.Core.DTO.Kernel.Behaviors; + using SysML2.NET.Decorators; + + /// + /// An ActorMembership is a ParameterMembership that identifies a PartUsage as an actor parameter, which + /// specifies a role played by an external entity in interaction with the owningType of the + /// ActorMembership. + /// + [Class(xmiId: "_19_0_4_12e503d9_1621464240681_650455_1312", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IActorMembership : IParameterMembership + { + /// + /// The PartUsage specifying the actor. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621464305451_983612_1421", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1557528016548_548098_110830")] + Guid ownedActorParameter { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IAllocationDefinition.cs b/SysML2.NET/Core/AutoGenDto/IAllocationDefinition.cs index b13692ca..47b38c34 100644 --- a/SysML2.NET/Core/AutoGenDto/IAllocationDefinition.cs +++ b/SysML2.NET/Core/AutoGenDto/IAllocationDefinition.cs @@ -1,58 +1,58 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Allocations -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Systems.Connections; - using SysML2.NET.Decorators; - - /// - /// An AllocationDefinition is a ConnectionDefinition that specifies that some or all of the - /// responsibility to realize the intent of the source is allocated to the target instances. Such - /// allocations define mappings across the various structures and hierarchies of a system model, perhaps - /// as a precursor to more rigorous specifications and implementations. An AllocationDefinition can - /// itself be refined using nested allocations that give a finer-grained decomposition of the containing - /// allocation mapping. - /// - [Class(xmiId: "_19_0_4_12e503d9_1611430566467_608282_906", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IAllocationDefinition : IConnectionDefinition - { - /// - /// The AllocationUsages that refine the allocation mapping defined by this AllocationDefinition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430644481_402036_964", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - List Allocation { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Allocations +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Systems.Connections; + using SysML2.NET.Decorators; + + /// + /// An AllocationDefinition is a ConnectionDefinition that specifies that some or all of the + /// responsibility to realize the intent of the source is allocated to the target instances. Such + /// allocations define mappings across the various structures and hierarchies of a system model, perhaps + /// as a precursor to more rigorous specifications and implementations. An AllocationDefinition can + /// itself be refined using nested allocations that give a finer-grained decomposition of the containing + /// allocation mapping. + /// + [Class(xmiId: "_19_0_4_12e503d9_1611430566467_608282_906", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IAllocationDefinition : IConnectionDefinition + { + /// + /// The AllocationUsages that refine the allocation mapping defined by this AllocationDefinition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430644481_402036_964", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + List allocation { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IAllocationUsage.cs b/SysML2.NET/Core/AutoGenDto/IAllocationUsage.cs index 65031e5c..0e66ee70 100644 --- a/SysML2.NET/Core/AutoGenDto/IAllocationUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/IAllocationUsage.cs @@ -1,56 +1,56 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Allocations -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Core.DTO.Systems.Connections; - using SysML2.NET.Decorators; - - /// - /// An AllocationUsage is a usage of an AllocationDefinition asserting the allocation of the source - /// feature to the target feature. - /// - [Class(xmiId: "_19_0_4_12e503d9_1611430595314_523036_933", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IAllocationUsage : IConnectionUsage - { - /// - /// The AllocationDefinitions that are the types of this AllocationUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430742949_241425_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1594853499656_139435_802")] - List AllocationDefinition { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Allocations +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Core.DTO.Systems.Connections; + using SysML2.NET.Decorators; + + /// + /// An AllocationUsage is a usage of an AllocationDefinition asserting the allocation of the source + /// feature to the target feature. + /// + [Class(xmiId: "_19_0_4_12e503d9_1611430595314_523036_933", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IAllocationUsage : IConnectionUsage + { + /// + /// The AllocationDefinitions that are the types of this AllocationUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430742949_241425_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1594853499656_139435_802")] + List allocationDefinition { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IAnalysisCaseDefinition.cs b/SysML2.NET/Core/AutoGenDto/IAnalysisCaseDefinition.cs index 6bd408fb..d173eea6 100644 --- a/SysML2.NET/Core/AutoGenDto/IAnalysisCaseDefinition.cs +++ b/SysML2.NET/Core/AutoGenDto/IAnalysisCaseDefinition.cs @@ -1,55 +1,55 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.AnalysisCases -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Systems.Cases; - using SysML2.NET.Decorators; - - /// - /// An AnalysisCaseDefinition is a CaseDefinition for the case of carrying out an analysis. - /// - [Class(xmiId: "_19_0_2_59601fc_1590260221442_937295_1064", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IAnalysisCaseDefinition : ICaseDefinition - { - /// - /// An Expression used to compute the result of the AnalysisCaseDefinition, owned via a - /// ResultExpressionMembership. - /// - [Property(xmiId: "_19_0_2_59601fc_1590945152798_315308_221", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948400639_301251_20841")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - Guid? ResultExpression { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.AnalysisCases +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Systems.Cases; + using SysML2.NET.Decorators; + + /// + /// An AnalysisCaseDefinition is a CaseDefinition for the case of carrying out an analysis. + /// + [Class(xmiId: "_19_0_2_59601fc_1590260221442_937295_1064", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IAnalysisCaseDefinition : ICaseDefinition + { + /// + /// An Expression used to compute the result of the AnalysisCaseDefinition, owned via a + /// ResultExpressionMembership. + /// + [Property(xmiId: "_19_0_2_59601fc_1590945152798_315308_221", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948400639_301251_20841")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + Guid? resultExpression { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IAnalysisCaseUsage.cs b/SysML2.NET/Core/AutoGenDto/IAnalysisCaseUsage.cs index 5460a15b..8a76fde3 100644 --- a/SysML2.NET/Core/AutoGenDto/IAnalysisCaseUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/IAnalysisCaseUsage.cs @@ -1,63 +1,63 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.AnalysisCases -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Core.DTO.Systems.Cases; - using SysML2.NET.Decorators; - - /// - /// An AnalysisCaseUsage is a Usage of an AnalysisCaseDefinition. - /// - [Class(xmiId: "_19_0_2_59601fc_1590260225615_617039_1090", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IAnalysisCaseUsage : ICaseUsage - { - /// - /// The AnalysisCaseDefinition that is the definition of this AnalysisCaseUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152217935_225164_2921", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_59601fc_1590257465225_855208_512")] - Guid? AnalysisCaseDefinition { get; } - - /// - /// An Expression used to compute the result of the AnalysisCaseUsage, owned via a - /// ResultExpressionMembership. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591151453868_910052_2600", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - Guid? ResultExpression { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.AnalysisCases +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Core.DTO.Systems.Cases; + using SysML2.NET.Decorators; + + /// + /// An AnalysisCaseUsage is a Usage of an AnalysisCaseDefinition. + /// + [Class(xmiId: "_19_0_2_59601fc_1590260225615_617039_1090", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IAnalysisCaseUsage : ICaseUsage + { + /// + /// The AnalysisCaseDefinition that is the definition of this AnalysisCaseUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152217935_225164_2921", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_59601fc_1590257465225_855208_512")] + Guid? analysisCaseDefinition { get; } + + /// + /// An Expression used to compute the result of the AnalysisCaseUsage, owned via a + /// ResultExpressionMembership. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591151453868_910052_2600", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + Guid? resultExpression { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IAnnotatingElement.cs b/SysML2.NET/Core/AutoGenDto/IAnnotatingElement.cs index 9a6428d4..6c86eadf 100644 --- a/SysML2.NET/Core/AutoGenDto/IAnnotatingElement.cs +++ b/SysML2.NET/Core/AutoGenDto/IAnnotatingElement.cs @@ -1,81 +1,81 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Root.Annotations -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Root.Elements; - 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. - /// - [Class(xmiId: "_19_0_2_12e503d9_1594145576693_532940_27", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IAnnotatingElement : IElement - { - /// - /// The Elements that are annotated by this AnnotatingElement. If annotation is not empty, these are the - /// annotatedElements of the annotations. If annotation is empty, then it is the owningNamespace of the - /// AnnotatingElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594145755058_99428_86", aggregation: AggregationKind.None, lowerValue: 1, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - List AnnotatedElement { get; } - - /// - /// The Annotations that relate this AnnotatingElement to its annotatedElements. This includes the - /// owningAnnotatingRelationship (if any) followed by all the ownedAnnotatingRelationshps. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543094212714_953084_18407", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - List Annotation { get; } - - /// - /// The ownedRelationships of this AnnotatingElement that are Annotations, for which this - /// AnnotatingElement is the annotatingElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1703019570915_375100_18", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - List OwnedAnnotatingRelationship { get; } - - /// - /// The owningRelationship of this AnnotatingRelationship, if it is an Annotation - /// - [Property(xmiId: "_2022x_2_12e503d9_1735188506571_308678_376", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] - Guid? OwningAnnotatingRelationship { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Root.Annotations +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Root.Elements; + 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. + /// + [Class(xmiId: "_19_0_2_12e503d9_1594145576693_532940_27", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IAnnotatingElement : IElement + { + /// + /// The Elements that are annotated by this AnnotatingElement. If annotation is not empty, these are the + /// annotatedElements of the annotations. If annotation is empty, then it is the owningNamespace of the + /// AnnotatingElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594145755058_99428_86", aggregation: AggregationKind.None, lowerValue: 1, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + List annotatedElement { get; } + + /// + /// The Annotations that relate this AnnotatingElement to its annotatedElements. This includes the + /// owningAnnotatingRelationship (if any) followed by all the ownedAnnotatingRelationshps. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543094212714_953084_18407", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + List annotation { get; } + + /// + /// The ownedRelationships of this AnnotatingElement that are Annotations, for which this + /// AnnotatingElement is the annotatingElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1703019570915_375100_18", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + List ownedAnnotatingRelationship { get; } + + /// + /// The owningRelationship of this AnnotatingRelationship, if it is an Annotation + /// + [Property(xmiId: "_2022x_2_12e503d9_1735188506571_308678_376", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] + Guid? owningAnnotatingRelationship { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IAnnotation.cs b/SysML2.NET/Core/AutoGenDto/IAnnotation.cs index f48e2149..d879f08c 100644 --- a/SysML2.NET/Core/AutoGenDto/IAnnotation.cs +++ b/SysML2.NET/Core/AutoGenDto/IAnnotation.cs @@ -1,86 +1,86 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Root.Annotations -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Root.Elements; - using SysML2.NET.Decorators; - - /// - /// An Annotation is a Relationship between an AnnotatingElement and the Element that is annotated by - /// that AnnotatingElement. - /// - [Class(xmiId: "_18_5_3_12e503d9_1543093613150_792705_18263", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IAnnotation : IRelationship - { - /// - /// The Element that is annotated by the annotatingElement of this Annotation. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543094430277_494140_18542", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - Guid AnnotatedElement { get; set; } - - /// - /// The AnnotatingElement that annotates the annotatedElement of this Annotation. This is always either - /// the ownedAnnotatingElement or the owningAnnotatingElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543094212714_638255_18408", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - Guid AnnotatingElement { get; } - - /// - /// The annotatingElement of this Annotation, when it is an ownedRelatedElement. - /// - [Property(xmiId: "_2022x_2_12e503d9_1735188506571_384269_375", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_638255_18408")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_59873_43302")] - Guid? OwnedAnnotatingElement { get; } - - /// - /// The annotatedElement of this Annotation, when it is also the owningRelatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_104456_2501", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_494140_18542")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - Guid? OwningAnnotatedElement { get; } - - /// - /// The annotatingElement of this Annotation, when it is the owningRelatedElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1703019570939_266622_19", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_638255_18408")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - Guid? OwningAnnotatingElement { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Root.Annotations +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Root.Elements; + using SysML2.NET.Decorators; + + /// + /// An Annotation is a Relationship between an AnnotatingElement and the Element that is annotated by + /// that AnnotatingElement. + /// + [Class(xmiId: "_18_5_3_12e503d9_1543093613150_792705_18263", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IAnnotation : IRelationship + { + /// + /// The Element that is annotated by the annotatingElement of this Annotation. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543094430277_494140_18542", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + Guid AnnotatedElement { get; set; } + + /// + /// The AnnotatingElement that annotates the annotatedElement of this Annotation. This is always either + /// the ownedAnnotatingElement or the owningAnnotatingElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543094212714_638255_18408", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + Guid annotatingElement { get; } + + /// + /// The annotatingElement of this Annotation, when it is an ownedRelatedElement. + /// + [Property(xmiId: "_2022x_2_12e503d9_1735188506571_384269_375", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_638255_18408")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_59873_43302")] + Guid? ownedAnnotatingElement { get; } + + /// + /// The annotatedElement of this Annotation, when it is also the owningRelatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_104456_2501", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_494140_18542")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + Guid? owningAnnotatedElement { get; } + + /// + /// The annotatingElement of this Annotation, when it is the owningRelatedElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1703019570939_266622_19", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_638255_18408")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + Guid? owningAnnotatingElement { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IAssertConstraintUsage.cs b/SysML2.NET/Core/AutoGenDto/IAssertConstraintUsage.cs index 5f93f40e..22ef744d 100644 --- a/SysML2.NET/Core/AutoGenDto/IAssertConstraintUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/IAssertConstraintUsage.cs @@ -1,58 +1,58 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Constraints -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Core.DTO.Kernel.Functions; - using SysML2.NET.Decorators; - - /// - /// An AssertConstraintUsage is a ConstraintUsage that is also an Invariant and, so, is asserted to be - /// true (by default). Unless it is the AssertConstraintUsage itself, the asserted ConstraintUsage is - /// related to the AssertConstraintUsage by a ReferenceSubsetting Relationship. - /// - [Class(xmiId: "_19_0_2_12e503d9_1581045078368_47459_9326", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IAssertConstraintUsage : IConstraintUsage, IInvariant - { - /// - /// The ConstraintUsage to be performed by the AssertConstraintUsage. It is the referenceFeature of the - /// ownedReferenceSubsetting for the AssertConstraintUsage, if there is one, and, otherwise, the - /// AssertConstraintUsage itself. - /// - [Property(xmiId: "_19_0_2_12e503d9_1581045158665_239617_9458", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - Guid AssertedConstraint { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Constraints +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Core.DTO.Kernel.Functions; + using SysML2.NET.Decorators; + + /// + /// An AssertConstraintUsage is a ConstraintUsage that is also an Invariant and, so, is asserted to be + /// true (by default). Unless it is the AssertConstraintUsage itself, the asserted ConstraintUsage is + /// related to the AssertConstraintUsage by a ReferenceSubsetting Relationship. + /// + [Class(xmiId: "_19_0_2_12e503d9_1581045078368_47459_9326", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IAssertConstraintUsage : IConstraintUsage, IInvariant + { + /// + /// The ConstraintUsage to be performed by the AssertConstraintUsage. It is the referenceFeature of the + /// ownedReferenceSubsetting for the AssertConstraintUsage, if there is one, and, otherwise, the + /// AssertConstraintUsage itself. + /// + [Property(xmiId: "_19_0_2_12e503d9_1581045158665_239617_9458", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + Guid assertedConstraint { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IAssignmentActionUsage.cs b/SysML2.NET/Core/AutoGenDto/IAssignmentActionUsage.cs index f082af38..c5715536 100644 --- a/SysML2.NET/Core/AutoGenDto/IAssignmentActionUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/IAssignmentActionUsage.cs @@ -1,71 +1,71 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Actions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Decorators; - - /// - /// An AssignmentActionUsage is an ActionUsage that is defined, directly or indirectly, by the - /// ActionDefinition AssignmentAction from the Systems Model Library. It specifies that the value of the - /// referent Feature, relative to the target given by the result of the targetArgument Expression, - /// should be set to the result of the valueExpression. - /// - [Class(xmiId: "_19_0_4_12e503d9_1624201606942_142574_2658", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IAssignmentActionUsage : IActionUsage - { - /// - /// The Feature whose value is to be set. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624202269076_561550_3109", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - Guid Referent { get; } - - /// - /// The Expression whose value is an occurrence in the domain of the referent Feature, for which the - /// value of the referent will be set to the result of the valueExpression by this - /// AssignmentActionUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624201786354_844501_2835", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - Guid? TargetArgument { get; } - - /// - /// The Expression whose result is to be assigned to the referent Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624201792996_104394_2856", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - Guid? ValueExpression { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Actions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Decorators; + + /// + /// An AssignmentActionUsage is an ActionUsage that is defined, directly or indirectly, by the + /// ActionDefinition AssignmentAction from the Systems Model Library. It specifies that the value of the + /// referent Feature, relative to the target given by the result of the targetArgument Expression, + /// should be set to the result of the valueExpression. + /// + [Class(xmiId: "_19_0_4_12e503d9_1624201606942_142574_2658", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IAssignmentActionUsage : IActionUsage + { + /// + /// The Feature whose value is to be set. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624202269076_561550_3109", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + Guid referent { get; } + + /// + /// The Expression whose value is an occurrence in the domain of the referent Feature, for which the + /// value of the referent will be set to the result of the valueExpression by this + /// AssignmentActionUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624201786354_844501_2835", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + Guid? targetArgument { get; } + + /// + /// The Expression whose result is to be assigned to the referent Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624201792996_104394_2856", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + Guid? valueExpression { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IAssociation.cs b/SysML2.NET/Core/AutoGenDto/IAssociation.cs index 5208d484..eb072d32 100644 --- a/SysML2.NET/Core/AutoGenDto/IAssociation.cs +++ b/SysML2.NET/Core/AutoGenDto/IAssociation.cs @@ -1,83 +1,83 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Associations -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Core.Classifiers; - using SysML2.NET.Core.DTO.Root.Elements; - 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. - /// - [Class(xmiId: "_18_5_3_12e503d9_1533160651716_116234_42240", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IAssociation : IClassifier, IRelationship - { - /// - /// The features of the Association that identify the things that can be related by it. A concrete - /// Association must have at least two associationEnds. When it has exactly two, the Association is - /// called a binary Association. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562477648742_24204_22901", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - List AssociationEnd { get; } - - /// - /// The types of the associationEnds of the Association, which are the relatedElements of the - /// Association considered as a Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_4339_43349", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - List RelatedType { get; } - - /// - /// The source relatedType for this Association. It is the first relatedType of the Association. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594939013292_377668_3566", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - Guid? SourceType { get; } - - /// - /// The target relatedTypes for this Association. This includes all the relatedTypes other than the - /// sourceType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594939237325_861933_3707", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - List TargetType { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Associations +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Core.Classifiers; + using SysML2.NET.Core.DTO.Root.Elements; + 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. + /// + [Class(xmiId: "_18_5_3_12e503d9_1533160651716_116234_42240", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IAssociation : IClassifier, IRelationship + { + /// + /// The features of the Association that identify the things that can be related by it. A concrete + /// Association must have at least two associationEnds. When it has exactly two, the Association is + /// called a binary Association. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562477648742_24204_22901", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + List associationEnd { get; } + + /// + /// The types of the associationEnds of the Association, which are the relatedElements of the + /// Association considered as a Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_4339_43349", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + List relatedType { get; } + + /// + /// The source relatedType for this Association. It is the first relatedType of the Association. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594939013292_377668_3566", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + Guid? sourceType { get; } + + /// + /// The target relatedTypes for this Association. This includes all the relatedTypes other than the + /// sourceType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594939237325_861933_3707", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + List targetType { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IAssociationStructure.cs b/SysML2.NET/Core/AutoGenDto/IAssociationStructure.cs index d11db134..32a6e210 100644 --- a/SysML2.NET/Core/AutoGenDto/IAssociationStructure.cs +++ b/SysML2.NET/Core/AutoGenDto/IAssociationStructure.cs @@ -1,49 +1,49 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Associations -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Kernel.Structures; - using SysML2.NET.Decorators; - - /// - /// An AssociationStructure is an Association that is also a Structure, classifying link objects that - /// are both links and objects. As objects, link objects can be created and destroyed, and their non-end - /// Features can change over time. However, the values of the end Features of a link object are fixed - /// and cannot change over its lifetime. - /// - [Class(xmiId: "_19_0_4_b9102da_1609608726569_644338_601", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IAssociationStructure : IAssociation, IStructure - { - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Associations +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Kernel.Structures; + using SysML2.NET.Decorators; + + /// + /// An AssociationStructure is an Association that is also a Structure, classifying link objects that + /// are both links and objects. As objects, link objects can be created and destroyed, and their non-end + /// Features can change over time. However, the values of the end Features of a link object are fixed + /// and cannot change over its lifetime. + /// + [Class(xmiId: "_19_0_4_b9102da_1609608726569_644338_601", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IAssociationStructure : IAssociation, IStructure + { + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IAttributeDefinition.cs b/SysML2.NET/Core/AutoGenDto/IAttributeDefinition.cs index 43501f37..b75b334e 100644 --- a/SysML2.NET/Core/AutoGenDto/IAttributeDefinition.cs +++ b/SysML2.NET/Core/AutoGenDto/IAttributeDefinition.cs @@ -1,51 +1,51 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Attributes -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Kernel.DataTypes; - using SysML2.NET.Core.DTO.Systems.DefinitionAndUsage; - using SysML2.NET.Decorators; - - /// - /// An AttributeDefinition is a Definition and a DataType of information about a quality or - /// characteristic of a system or part of a system that has no independent identity other than its - /// value. All features of an AttributeDefinition must be referential (non-composite).As a DataType, an - /// AttributeDefinition must specialize, directly or indirectly, the base DataType Base::DataValue from - /// the Kernel Semantic Library. - /// - [Class(xmiId: "_18_5_3_12e503d9_1565471213468_167708_20650", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IAttributeDefinition : IDataType, IDefinition - { - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Attributes +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Kernel.DataTypes; + using SysML2.NET.Core.DTO.Systems.DefinitionAndUsage; + using SysML2.NET.Decorators; + + /// + /// An AttributeDefinition is a Definition and a DataType of information about a quality or + /// characteristic of a system or part of a system that has no independent identity other than its + /// value. All features of an AttributeDefinition must be referential (non-composite).As a DataType, an + /// AttributeDefinition must specialize, directly or indirectly, the base DataType Base::DataValue from + /// the Kernel Semantic Library. + /// + [Class(xmiId: "_18_5_3_12e503d9_1565471213468_167708_20650", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IAttributeDefinition : IDataType, IDefinition + { + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IAttributeUsage.cs b/SysML2.NET/Core/AutoGenDto/IAttributeUsage.cs index 436525d5..1dceac25 100644 --- a/SysML2.NET/Core/AutoGenDto/IAttributeUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/IAttributeUsage.cs @@ -1,68 +1,68 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Attributes -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.DTO.Systems.DefinitionAndUsage; - using SysML2.NET.Decorators; - - /// - /// An AttributeUsage is a Usage whose type is a DataType. Nominally, if the type is an - /// AttributeDefinition, an AttributeUsage is a usage of a AttributeDefinition to represent the value of - /// some system quality or characteristic. However, other kinds of kernel DataTypes are also allowed, to - /// permit use of DataTypes from the Kernel Model Libraries. An AttributeUsage itself as well as all its - /// nested features must be referential (non-composite).An AttributeUsage must specialize, directly or - /// indirectly, the base Feature Base::dataValues from the Kernel Semantic Library. - /// - [Class(xmiId: "_18_5_3_12e503d9_1565471291545_950196_20762", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IAttributeUsage : IUsage - { - /// - /// The DataTypes that are the types of this AttributeUsage. Nominally, these are AttributeDefinitions, - /// but other kinds of kernel DataTypes are also allowed, to permit use of DataTypes from the Kernel - /// Model Libraries. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565471811429_523492_20975", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] - List AttributeDefinition { get; } - - /// - /// Always true for an AttributeUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624050661138_649455_27", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1624035114787_488767_41423")] - new bool IsReference { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Attributes +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.DTO.Systems.DefinitionAndUsage; + using SysML2.NET.Decorators; + + /// + /// An AttributeUsage is a Usage whose type is a DataType. Nominally, if the type is an + /// AttributeDefinition, an AttributeUsage is a usage of a AttributeDefinition to represent the value of + /// some system quality or characteristic. However, other kinds of kernel DataTypes are also allowed, to + /// permit use of DataTypes from the Kernel Model Libraries. An AttributeUsage itself as well as all its + /// nested features must be referential (non-composite).An AttributeUsage must specialize, directly or + /// indirectly, the base Feature Base::dataValues from the Kernel Semantic Library. + /// + [Class(xmiId: "_18_5_3_12e503d9_1565471291545_950196_20762", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IAttributeUsage : IUsage + { + /// + /// The DataTypes that are the types of this AttributeUsage. Nominally, these are AttributeDefinitions, + /// but other kinds of kernel DataTypes are also allowed, to permit use of DataTypes from the Kernel + /// Model Libraries. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565471811429_523492_20975", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] + List attributeDefinition { get; } + + /// + /// Always true for an AttributeUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624050661138_649455_27", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1624035114787_488767_41423")] + new bool isReference { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IBehavior.cs b/SysML2.NET/Core/AutoGenDto/IBehavior.cs index 2af8ad15..623bd6f6 100644 --- a/SysML2.NET/Core/AutoGenDto/IBehavior.cs +++ b/SysML2.NET/Core/AutoGenDto/IBehavior.cs @@ -1,62 +1,62 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Behaviors -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Kernel.Classes; - using SysML2.NET.Decorators; - - /// - /// A Behavior coordinates occurrences of other Behaviors, as well as changes in objects. Behaviors can - /// be decomposed into Steps and be characterized by parameters. - /// - [Class(xmiId: "_18_5_3_12e503d9_1533160651709_376789_42207", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IBehavior : IClass - { - /// - /// The parameters of this Behavior, which are defined as its directedFeatures, whose values are passed - /// into and/or out of a performance of the Behavior. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948010065_362066_20413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - List Parameter { get; } - - /// - /// The Steps that make up this Behavior. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346067212_587255_17343", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - List Step { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Behaviors +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Kernel.Classes; + using SysML2.NET.Decorators; + + /// + /// A Behavior coordinates occurrences of other Behaviors, as well as changes in objects. Behaviors can + /// be decomposed into Steps and be characterized by parameters. + /// + [Class(xmiId: "_18_5_3_12e503d9_1533160651709_376789_42207", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IBehavior : IClass + { + /// + /// The parameters of this Behavior, which are defined as its directedFeatures, whose values are passed + /// into and/or out of a performance of the Behavior. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948010065_362066_20413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + List parameter { get; } + + /// + /// The Steps that make up this Behavior. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346067212_587255_17343", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + List step { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IBindingConnector.cs b/SysML2.NET/Core/AutoGenDto/IBindingConnector.cs index 7e88116d..5bd50966 100644 --- a/SysML2.NET/Core/AutoGenDto/IBindingConnector.cs +++ b/SysML2.NET/Core/AutoGenDto/IBindingConnector.cs @@ -1,47 +1,47 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Connectors -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Decorators; - - /// - /// A BindingConnector is a binary Connector that requires its relatedFeatures to identify the same - /// things (have the same values). - /// - [Class(xmiId: "_18_5_3_b9102da_1543591219823_238592_17680", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IBindingConnector : IConnector - { - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Connectors +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Decorators; + + /// + /// A BindingConnector is a binary Connector that requires its relatedFeatures to identify the same + /// things (have the same values). + /// + [Class(xmiId: "_18_5_3_b9102da_1543591219823_238592_17680", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IBindingConnector : IConnector + { + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IBindingConnectorAsUsage.cs b/SysML2.NET/Core/AutoGenDto/IBindingConnectorAsUsage.cs index ae250dca..b5d9e2b9 100644 --- a/SysML2.NET/Core/AutoGenDto/IBindingConnectorAsUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/IBindingConnectorAsUsage.cs @@ -1,47 +1,47 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Connections -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.DTO.Kernel.Connectors; - using SysML2.NET.Decorators; - - /// - /// A BindingConnectorAsUsage is both a BindingConnector and a ConnectorAsUsage. - /// - [Class(xmiId: "_19_0_4_12e503d9_1624053366342_865295_501", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IBindingConnectorAsUsage : IBindingConnector, IConnectorAsUsage - { - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Connections +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.DTO.Kernel.Connectors; + using SysML2.NET.Decorators; + + /// + /// A BindingConnectorAsUsage is both a BindingConnector and a ConnectorAsUsage. + /// + [Class(xmiId: "_19_0_4_12e503d9_1624053366342_865295_501", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IBindingConnectorAsUsage : IBindingConnector, IConnectorAsUsage + { + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IBooleanExpression.cs b/SysML2.NET/Core/AutoGenDto/IBooleanExpression.cs index a7a95396..f5cbcfee 100644 --- a/SysML2.NET/Core/AutoGenDto/IBooleanExpression.cs +++ b/SysML2.NET/Core/AutoGenDto/IBooleanExpression.cs @@ -1,54 +1,54 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Functions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Decorators; - - /// - /// A BooleanExpression is a Boolean-valued Expression whose type is a Predicate. It represents a - /// logical condition resulting from the evaluation of the Predicate. - /// - [Class(xmiId: "_19_0_2_12e503d9_1578511256733_336334_354", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IBooleanExpression : IExpression - { - /// - /// The Predicate that types the Expression. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578025035149_386_969", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1543948477241_299049_20934")] - Guid? Predicate { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Functions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Decorators; + + /// + /// A BooleanExpression is a Boolean-valued Expression whose type is a Predicate. It represents a + /// logical condition resulting from the evaluation of the Predicate. + /// + [Class(xmiId: "_19_0_2_12e503d9_1578511256733_336334_354", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IBooleanExpression : IExpression + { + /// + /// The Predicate that types the Expression. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578025035149_386_969", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1543948477241_299049_20934")] + Guid? predicate { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ICalculationDefinition.cs b/SysML2.NET/Core/AutoGenDto/ICalculationDefinition.cs index 7ec9016d..0bb30640 100644 --- a/SysML2.NET/Core/AutoGenDto/ICalculationDefinition.cs +++ b/SysML2.NET/Core/AutoGenDto/ICalculationDefinition.cs @@ -1,56 +1,56 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Calculations -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Kernel.Functions; - using SysML2.NET.Core.DTO.Systems.Actions; - using SysML2.NET.Decorators; - - /// - /// A CalculationDefinition is an ActionDefinition that also defines a Function producing a - /// result. - /// - [Class(xmiId: "_19_0_2_12e503d9_1588213234752_326869_117", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface ICalculationDefinition : IFunction, IActionDefinition - { - /// - /// The actions of this CalculationDefinition that are CalculationUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588214479224_101961_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565500809065_170841_30688")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948400639_301251_20841")] - List Calculation { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Calculations +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Kernel.Functions; + using SysML2.NET.Core.DTO.Systems.Actions; + using SysML2.NET.Decorators; + + /// + /// A CalculationDefinition is an ActionDefinition that also defines a Function producing a + /// result. + /// + [Class(xmiId: "_19_0_2_12e503d9_1588213234752_326869_117", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface ICalculationDefinition : IFunction, IActionDefinition + { + /// + /// The actions of this CalculationDefinition that are CalculationUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588214479224_101961_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565500809065_170841_30688")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948400639_301251_20841")] + List calculation { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ICalculationUsage.cs b/SysML2.NET/Core/AutoGenDto/ICalculationUsage.cs index 48a03c15..68420a06 100644 --- a/SysML2.NET/Core/AutoGenDto/ICalculationUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/ICalculationUsage.cs @@ -1,62 +1,62 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Calculations -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Core.DTO.Kernel.Functions; - using SysML2.NET.Core.DTO.Systems.Actions; - using SysML2.NET.Decorators; - - /// - /// A CalculationUsage is an ActionUsage that is also an Expression, and, so, is typed by a Function. - /// Nominally, if the type is a CalculationDefinition, a CalculationUsage is a Usage of that - /// CalculationDefinition within a system. However, other kinds of kernel Functions are also allowed, to - /// permit use of Functions from the Kernel Model Libraries. - /// - [Class(xmiId: "_19_0_2_12e503d9_1588213258220_731107_146", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface ICalculationUsage : IExpression, IActionUsage - { - /// - /// The Function that is the type of this CalculationUsage. Nominally, this would be a - /// CalculationDefinition, but a kernel Function is also allowed, to permit use of Functions from the - /// Kernel Model Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588213526305_899324_302", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1543948477241_299049_20934")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1565500905804_589845_30779")] - Guid? CalculationDefinition { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Calculations +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Core.DTO.Kernel.Functions; + using SysML2.NET.Core.DTO.Systems.Actions; + using SysML2.NET.Decorators; + + /// + /// A CalculationUsage is an ActionUsage that is also an Expression, and, so, is typed by a Function. + /// Nominally, if the type is a CalculationDefinition, a CalculationUsage is a Usage of that + /// CalculationDefinition within a system. However, other kinds of kernel Functions are also allowed, to + /// permit use of Functions from the Kernel Model Libraries. + /// + [Class(xmiId: "_19_0_2_12e503d9_1588213258220_731107_146", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface ICalculationUsage : IExpression, IActionUsage + { + /// + /// The Function that is the type of this CalculationUsage. Nominally, this would be a + /// CalculationDefinition, but a kernel Function is also allowed, to permit use of Functions from the + /// Kernel Model Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588213526305_899324_302", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1543948477241_299049_20934")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1565500905804_589845_30779")] + Guid? calculationDefinition { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ICaseDefinition.cs b/SysML2.NET/Core/AutoGenDto/ICaseDefinition.cs index d321a719..d69d39d0 100644 --- a/SysML2.NET/Core/AutoGenDto/ICaseDefinition.cs +++ b/SysML2.NET/Core/AutoGenDto/ICaseDefinition.cs @@ -1,71 +1,71 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Cases -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Systems.Calculations; - using SysML2.NET.Decorators; - - /// - /// A CaseDefinition is a CalculationDefinition for a process, often involving collecting evidence or - /// data, relative to a subject, possibly involving the collaboration of one or more other actors, - /// producing a result that meets an objective. - /// - [Class(xmiId: "_19_0_2_59601fc_1590256070522_658678_81", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface ICaseDefinition : ICalculationDefinition - { - /// - /// The parameters of this CaseDefinition that represent actors involved in the case. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621464609772_382176_1612", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - List ActorParameter { get; } - - /// - /// The RequirementUsage representing the objective of this CaseDefinition. - /// - [Property(xmiId: "_19_0_2_59601fc_1590259317710_27529_910", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - Guid? ObjectiveRequirement { get; } - - /// - /// The parameter of this CaseDefinition that represents its subject. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189932946_106647_973", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - Guid SubjectParameter { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Cases +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Systems.Calculations; + using SysML2.NET.Decorators; + + /// + /// A CaseDefinition is a CalculationDefinition for a process, often involving collecting evidence or + /// data, relative to a subject, possibly involving the collaboration of one or more other actors, + /// producing a result that meets an objective. + /// + [Class(xmiId: "_19_0_2_59601fc_1590256070522_658678_81", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface ICaseDefinition : ICalculationDefinition + { + /// + /// The parameters of this CaseDefinition that represent actors involved in the case. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621464609772_382176_1612", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + List actorParameter { get; } + + /// + /// The RequirementUsage representing the objective of this CaseDefinition. + /// + [Property(xmiId: "_19_0_2_59601fc_1590259317710_27529_910", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + Guid? objectiveRequirement { get; } + + /// + /// The parameter of this CaseDefinition that represents its subject. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189932946_106647_973", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + Guid subjectParameter { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ICaseUsage.cs b/SysML2.NET/Core/AutoGenDto/ICaseUsage.cs index 042038aa..9ab8f8cc 100644 --- a/SysML2.NET/Core/AutoGenDto/ICaseUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/ICaseUsage.cs @@ -1,78 +1,78 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Cases -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Core.DTO.Systems.Calculations; - using SysML2.NET.Decorators; - - /// - /// A CaseUsage is a Usage of a CaseDefinition. - /// - [Class(xmiId: "_19_0_2_59601fc_1590256077623_424527_107", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface ICaseUsage : ICalculationUsage - { - /// - /// The parameters of this CaseUsage that represent actors involved in the case. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621464633171_380461_1655", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - List ActorParameter { get; } - - /// - /// The CaseDefinition that is the type of this CaseUsage. - /// - [Property(xmiId: "_19_0_2_59601fc_1590257465225_855208_512", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1588213526305_899324_302")] - Guid? CaseDefinition { get; } - - /// - /// The RequirementUsage representing the objective of this CaseUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591138794257_404044_2145", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - Guid? ObjectiveRequirement { get; } - - /// - /// The parameter of this CaseUsage that represents its subject. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595190279083_51021_1128", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - Guid SubjectParameter { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Cases +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Core.DTO.Systems.Calculations; + using SysML2.NET.Decorators; + + /// + /// A CaseUsage is a Usage of a CaseDefinition. + /// + [Class(xmiId: "_19_0_2_59601fc_1590256077623_424527_107", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface ICaseUsage : ICalculationUsage + { + /// + /// The parameters of this CaseUsage that represent actors involved in the case. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621464633171_380461_1655", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + List actorParameter { get; } + + /// + /// The CaseDefinition that is the type of this CaseUsage. + /// + [Property(xmiId: "_19_0_2_59601fc_1590257465225_855208_512", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1588213526305_899324_302")] + Guid? caseDefinition { get; } + + /// + /// The RequirementUsage representing the objective of this CaseUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591138794257_404044_2145", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + Guid? objectiveRequirement { get; } + + /// + /// The parameter of this CaseUsage that represents its subject. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595190279083_51021_1128", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + Guid subjectParameter { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IClass.cs b/SysML2.NET/Core/AutoGenDto/IClass.cs index a9bf05dd..ba78eb93 100644 --- a/SysML2.NET/Core/AutoGenDto/IClass.cs +++ b/SysML2.NET/Core/AutoGenDto/IClass.cs @@ -1,48 +1,48 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Classes -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Core.Classifiers; - using SysML2.NET.Decorators; - - /// - /// A Class is a Classifier of things (in the universe) that can be distinguished without regard to how - /// they are related to other things (via Features). This means multiple things classified by the same - /// Class can be distinguished, even when they are related other things in exactly the same way. - /// - [Class(xmiId: "_18_5_3_12e503d9_1557527582956_258352_110280", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IClass : IClassifier - { - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Classes +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Core.Classifiers; + using SysML2.NET.Decorators; + + /// + /// A Class is a Classifier of things (in the universe) that can be distinguished without regard to how + /// they are related to other things (via Features). This means multiple things classified by the same + /// Class can be distinguished, even when they are related other things in exactly the same way. + /// + [Class(xmiId: "_18_5_3_12e503d9_1557527582956_258352_110280", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IClass : IClassifier + { + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IClassifier.cs b/SysML2.NET/Core/AutoGenDto/IClassifier.cs index 457f6fbe..a84ba73d 100644 --- a/SysML2.NET/Core/AutoGenDto/IClassifier.cs +++ b/SysML2.NET/Core/AutoGenDto/IClassifier.cs @@ -1,59 +1,59 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Core.Classifiers -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Core.Types; - using SysML2.NET.Decorators; - - /// - /// A Classifier is a Type that classifies:
  • Things (in the universe) regardless of how Features - /// relate them. (These are interpreted semantically as sequences of exactly one thing.)
  • How - /// the above things are related by Features. (These are interpreted semantically as sequences of - /// multiple things, such that the last thing in the sequence is also classified by the Classifier. Note - /// that this means that a Classifier modeled as specializing a Feature cannot classify - /// anything.)
- ///
- [Class(xmiId: "_18_5_3_12e503d9_1533160651676_375105_42143", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IClassifier : IType - { - /// - /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier - /// is the subclassifier. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - List OwnedSubclassification { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Core.Classifiers +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Core.Types; + using SysML2.NET.Decorators; + + /// + /// A Classifier is a Type that classifies:
  • Things (in the universe) regardless of how Features + /// relate them. (These are interpreted semantically as sequences of exactly one thing.)
  • How + /// the above things are related by Features. (These are interpreted semantically as sequences of + /// multiple things, such that the last thing in the sequence is also classified by the Classifier. Note + /// that this means that a Classifier modeled as specializing a Feature cannot classify + /// anything.)
+ ///
+ [Class(xmiId: "_18_5_3_12e503d9_1533160651676_375105_42143", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IClassifier : IType + { + /// + /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier + /// is the subclassifier. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + List ownedSubclassification { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ICollectExpression.cs b/SysML2.NET/Core/AutoGenDto/ICollectExpression.cs index 877e4867..eaca5347 100644 --- a/SysML2.NET/Core/AutoGenDto/ICollectExpression.cs +++ b/SysML2.NET/Core/AutoGenDto/ICollectExpression.cs @@ -1,53 +1,53 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Expressions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Decorators; - - /// - /// A CollectExpression is an OperatorExpression whose operator is "collect", which resolves to the - /// Function ControlFunctions::collect from the Kernel Functions Library. - /// - [Class(xmiId: "_18_5_3_12e503d9_1559596612705_364896_29003", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface ICollectExpression : IOperatorExpression - { - /// - /// - [Property(xmiId: "_18_5_3_12e503d9_1559596670531_992404_29068", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "collect")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1557528808100_646606_111674")] - new string Operator { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Expressions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Decorators; + + /// + /// A CollectExpression is an OperatorExpression whose operator is "collect", which resolves to the + /// Function ControlFunctions::collect from the Kernel Functions Library. + /// + [Class(xmiId: "_18_5_3_12e503d9_1559596612705_364896_29003", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface ICollectExpression : IOperatorExpression + { + /// + /// + [Property(xmiId: "_18_5_3_12e503d9_1559596670531_992404_29068", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "collect")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1557528808100_646606_111674")] + new string Operator { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IComment.cs b/SysML2.NET/Core/AutoGenDto/IComment.cs index 11611644..19de57ce 100644 --- a/SysML2.NET/Core/AutoGenDto/IComment.cs +++ b/SysML2.NET/Core/AutoGenDto/IComment.cs @@ -1,59 +1,59 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Root.Annotations -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Decorators; - - /// - /// A Comment is an AnnotatingElement whose body in some way describes its annotatedElements. - /// - [Class(xmiId: "_18_5_3_12e503d9_1533160651696_959404_42181", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IComment : IAnnotatingElement - { - /// - /// The annotation text for the Comment. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674981_840045_43277", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - string Body { get; set; } - - /// - /// Identification of the language of the body text and, optionally, the region and/or encoding. The - /// format shall be a POSIX locale conformant to ISO/IEC 15897, with the format - /// [language[_territory][.codeset][@modifier]]. - /// - [Property(xmiId: "_19_0_4_12e503d9_1647722682836_708148_649", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - string Locale { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Root.Annotations +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Decorators; + + /// + /// A Comment is an AnnotatingElement whose body in some way describes its annotatedElements. + /// + [Class(xmiId: "_18_5_3_12e503d9_1533160651696_959404_42181", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IComment : IAnnotatingElement + { + /// + /// The annotation text for the Comment. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674981_840045_43277", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + string Body { get; set; } + + /// + /// Identification of the language of the body text and, optionally, the region and/or encoding. The + /// format shall be a POSIX locale conformant to ISO/IEC 15897, with the format + /// [language[_territory][.codeset][@modifier]]. + /// + [Property(xmiId: "_19_0_4_12e503d9_1647722682836_708148_649", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + string Locale { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IConcernDefinition.cs b/SysML2.NET/Core/AutoGenDto/IConcernDefinition.cs index 02ea0a94..11bc6a78 100644 --- a/SysML2.NET/Core/AutoGenDto/IConcernDefinition.cs +++ b/SysML2.NET/Core/AutoGenDto/IConcernDefinition.cs @@ -1,47 +1,47 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Requirements -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Decorators; - - /// - /// A ConcernDefinition is a RequirementDefinition that one or more stakeholders may be interested in - /// having addressed. These stakeholders are identified by the ownedStakeholdersof the - /// ConcernDefinition. - /// - [Class(xmiId: "_19_0_4_12e503d9_1617051538049_980762_1225", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IConcernDefinition : IRequirementDefinition - { - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Requirements +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Decorators; + + /// + /// A ConcernDefinition is a RequirementDefinition that one or more stakeholders may be interested in + /// having addressed. These stakeholders are identified by the ownedStakeholdersof the + /// ConcernDefinition. + /// + [Class(xmiId: "_19_0_4_12e503d9_1617051538049_980762_1225", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IConcernDefinition : IRequirementDefinition + { + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IConcernUsage.cs b/SysML2.NET/Core/AutoGenDto/IConcernUsage.cs index d10ce068..5bf96cb4 100644 --- a/SysML2.NET/Core/AutoGenDto/IConcernUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/IConcernUsage.cs @@ -1,57 +1,57 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Requirements -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Decorators; - - /// - /// A ConcernUsage is a Usage of a ConcernDefinition. The ownedStakeholder features of the ConcernUsage - /// shall all subset the ConcernCheck::concernedStakeholders feature. If the ConcernUsage is an - /// ownedFeature of a StakeholderDefinition or StakeholderUsage, then the ConcernUsage shall have an - /// ownedStakeholder feature that is bound to the self feature of its owner. - /// - [Class(xmiId: "_19_0_4_12e503d9_1617051561652_163085_1288", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IConcernUsage : IRequirementUsage - { - /// - /// The ConcernDefinition that is the single type of this ConcernUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617052514912_780627_2256", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1583000408905_769743_1223")] - Guid? ConcernDefinition { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Requirements +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Decorators; + + /// + /// A ConcernUsage is a Usage of a ConcernDefinition. The ownedStakeholder features of the ConcernUsage + /// shall all subset the ConcernCheck::concernedStakeholders feature. If the ConcernUsage is an + /// ownedFeature of a StakeholderDefinition or StakeholderUsage, then the ConcernUsage shall have an + /// ownedStakeholder feature that is bound to the self feature of its owner. + /// + [Class(xmiId: "_19_0_4_12e503d9_1617051561652_163085_1288", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IConcernUsage : IRequirementUsage + { + /// + /// The ConcernDefinition that is the single type of this ConcernUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617052514912_780627_2256", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1583000408905_769743_1223")] + Guid? concernDefinition { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IConjugatedPortDefinition.cs b/SysML2.NET/Core/AutoGenDto/IConjugatedPortDefinition.cs index 1756c000..4b8a22af 100644 --- a/SysML2.NET/Core/AutoGenDto/IConjugatedPortDefinition.cs +++ b/SysML2.NET/Core/AutoGenDto/IConjugatedPortDefinition.cs @@ -1,67 +1,67 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Ports -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Decorators; - - /// - /// A ConjugatedPortDefinition is a PortDefinition that is a PortDefinition of its original - /// PortDefinition. That is, a ConjugatedPortDefinition inherits all the features of the original - /// PortDefinition, but input flows of the original PortDefinition become outputs on the - /// ConjugatedPortDefinition and output flows of the original PortDefinition become inputs on the - /// ConjugatedPortDefinition. Every PortDefinition (that is not itself a ConjugatedPortDefinition) has - /// exactly one corresponding ConjugatedPortDefinition, whose effective name is the name of the - /// originalPortDefinition, with the character ~ prepended. - /// - [Class(xmiId: "_19_0_2_12e503d9_1575484160733_882684_674", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IConjugatedPortDefinition : IPortDefinition - { - /// - /// The original PortDefinition for this ConjugatedPortDefinition, which is the owningNamespace of the - /// ConjugatedPortDefinition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575484364017_387810_990", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - Guid OriginalPortDefinition { get; } - - /// - /// The PortConjugation that is the ownedConjugator of this ConjugatedPortDefinition, linking it to its - /// originalPortDefinition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575484344901_850046_947", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1575482646809_280165_440")] - Guid OwnedPortConjugator { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Ports +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Decorators; + + /// + /// A ConjugatedPortDefinition is a PortDefinition that is a PortDefinition of its original + /// PortDefinition. That is, a ConjugatedPortDefinition inherits all the features of the original + /// PortDefinition, but input flows of the original PortDefinition become outputs on the + /// ConjugatedPortDefinition and output flows of the original PortDefinition become inputs on the + /// ConjugatedPortDefinition. Every PortDefinition (that is not itself a ConjugatedPortDefinition) has + /// exactly one corresponding ConjugatedPortDefinition, whose effective name is the name of the + /// originalPortDefinition, with the character ~ prepended. + /// + [Class(xmiId: "_19_0_2_12e503d9_1575484160733_882684_674", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IConjugatedPortDefinition : IPortDefinition + { + /// + /// The original PortDefinition for this ConjugatedPortDefinition, which is the owningNamespace of the + /// ConjugatedPortDefinition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575484364017_387810_990", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + Guid originalPortDefinition { get; } + + /// + /// The PortConjugation that is the ownedConjugator of this ConjugatedPortDefinition, linking it to its + /// originalPortDefinition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575484344901_850046_947", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1575482646809_280165_440")] + Guid ownedPortConjugator { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IConjugatedPortTyping.cs b/SysML2.NET/Core/AutoGenDto/IConjugatedPortTyping.cs index 8b54f03e..e9f7af4a 100644 --- a/SysML2.NET/Core/AutoGenDto/IConjugatedPortTyping.cs +++ b/SysML2.NET/Core/AutoGenDto/IConjugatedPortTyping.cs @@ -1,62 +1,62 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Ports -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Core.Features; - using SysML2.NET.Decorators; - - /// - /// A ConjugatedPortTyping is a FeatureTyping whose type is a ConjugatedPortDefinition. (This - /// relationship is intended to be an abstract-syntax marker for a special surface notation for - /// conjugated typing of ports.) - /// - [Class(xmiId: "_19_0_2_12e503d9_1577914899997_653496_45", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IConjugatedPortTyping : IFeatureTyping - { - /// - /// The type of this ConjugatedPortTyping considered as a FeatureTyping, which must be a - /// ConjugatedPortDefinition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1577915017970_186033_146", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1543180520185_480887_21131")] - Guid ConjugatedPortDefinition { get; set; } - - /// - /// The originalPortDefinition of the conjugatedPortDefinition of this ConjugatedPortTyping. - /// - [Property(xmiId: "_19_0_2_12e503d9_1577915013583_787601_133", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - Guid PortDefinition { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Ports +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Core.Features; + using SysML2.NET.Decorators; + + /// + /// A ConjugatedPortTyping is a FeatureTyping whose type is a ConjugatedPortDefinition. (This + /// relationship is intended to be an abstract-syntax marker for a special surface notation for + /// conjugated typing of ports.) + /// + [Class(xmiId: "_19_0_2_12e503d9_1577914899997_653496_45", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IConjugatedPortTyping : IFeatureTyping + { + /// + /// The type of this ConjugatedPortTyping considered as a FeatureTyping, which must be a + /// ConjugatedPortDefinition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1577915017970_186033_146", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1543180520185_480887_21131")] + Guid ConjugatedPortDefinition { get; set; } + + /// + /// The originalPortDefinition of the conjugatedPortDefinition of this ConjugatedPortTyping. + /// + [Property(xmiId: "_19_0_2_12e503d9_1577915013583_787601_133", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + Guid portDefinition { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IConjugation.cs b/SysML2.NET/Core/AutoGenDto/IConjugation.cs index e261ca85..31622e6b 100644 --- a/SysML2.NET/Core/AutoGenDto/IConjugation.cs +++ b/SysML2.NET/Core/AutoGenDto/IConjugation.cs @@ -1,75 +1,75 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Core.Types -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Root.Elements; - using SysML2.NET.Decorators; - - /// - /// Conjugation is a Relationship between two types in which the conjugatedType inherits all the - /// Features of the originalType, but with all input and output Features reversed. That is, any Features - /// with a direction in relative to the originalType are considered to have an effective direction of - /// out relative to the conjugatedType and, similarly, Features with direction out in the originalType - /// are considered to have an effective direction of in in the conjugatedType. Features with direction - /// inout, or with no direction, in the originalType, are inherited without change.A Type may - /// participate as a conjugatedType in at most one Conjugation relationship, and such a Type may not - /// also be the specific Type in any Specialization relationship. - /// - [Class(xmiId: "_19_0_2_12e503d9_1575482328287_696279_181", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IConjugation : IRelationship - { - /// - /// The Type that is the result of applying Conjugation to the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482490143_721644_299", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - Guid ConjugatedType { get; set; } - - /// - /// The Type to be conjugated. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482354187_108424_237", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - Guid OriginalType { get; set; } - - /// - /// The conjugatedType of this Conjugation that is also its owningRelatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_778895_441", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490143_721644_299")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - Guid? OwningType { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Core.Types +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Root.Elements; + using SysML2.NET.Decorators; + + /// + /// Conjugation is a Relationship between two types in which the conjugatedType inherits all the + /// Features of the originalType, but with all input and output Features reversed. That is, any Features + /// with a direction in relative to the originalType are considered to have an effective direction of + /// out relative to the conjugatedType and, similarly, Features with direction out in the originalType + /// are considered to have an effective direction of in in the conjugatedType. Features with direction + /// inout, or with no direction, in the originalType, are inherited without change.A Type may + /// participate as a conjugatedType in at most one Conjugation relationship, and such a Type may not + /// also be the specific Type in any Specialization relationship. + /// + [Class(xmiId: "_19_0_2_12e503d9_1575482328287_696279_181", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IConjugation : IRelationship + { + /// + /// The Type that is the result of applying Conjugation to the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482490143_721644_299", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + Guid ConjugatedType { get; set; } + + /// + /// The Type to be conjugated. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482354187_108424_237", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + Guid OriginalType { get; set; } + + /// + /// The conjugatedType of this Conjugation that is also its owningRelatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_778895_441", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490143_721644_299")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + Guid? owningType { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IConnectionDefinition.cs b/SysML2.NET/Core/AutoGenDto/IConnectionDefinition.cs index 9393517b..d9719b37 100644 --- a/SysML2.NET/Core/AutoGenDto/IConnectionDefinition.cs +++ b/SysML2.NET/Core/AutoGenDto/IConnectionDefinition.cs @@ -1,62 +1,62 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Connections -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Kernel.Associations; - using SysML2.NET.Core.DTO.Systems.Parts; - using SysML2.NET.Decorators; - - /// - /// A ConnectionDefinition is a PartDefinition that is also an AssociationStructure. The end Features of - /// a ConnectionDefinition must be Usages. - /// - [Class(xmiId: "_19_0_2_12e503d9_1565813525877_81950_622", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IConnectionDefinition : IAssociationStructure, IPartDefinition - { - /// - /// The Usages that define the things related by the ConnectionDefinition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591476421094_685440_682", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562477648742_24204_22901")] - List ConnectionEnd { get; } - - /// - /// A ConnectionDefinition always has isSufficient = true. - /// - [Property(xmiId: "_2022x_2_12e503d9_1734734871008_462076_156", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1564072709069_937523_30797")] - new bool IsSufficient { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Connections +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Kernel.Associations; + using SysML2.NET.Core.DTO.Systems.Parts; + using SysML2.NET.Decorators; + + /// + /// A ConnectionDefinition is a PartDefinition that is also an AssociationStructure. The end Features of + /// a ConnectionDefinition must be Usages. + /// + [Class(xmiId: "_19_0_2_12e503d9_1565813525877_81950_622", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IConnectionDefinition : IAssociationStructure, IPartDefinition + { + /// + /// The Usages that define the things related by the ConnectionDefinition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591476421094_685440_682", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562477648742_24204_22901")] + List connectionEnd { get; } + + /// + /// A ConnectionDefinition always has isSufficient = true. + /// + [Property(xmiId: "_2022x_2_12e503d9_1734734871008_462076_156", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1564072709069_937523_30797")] + new bool IsSufficient { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IConnectionUsage.cs b/SysML2.NET/Core/AutoGenDto/IConnectionUsage.cs index 3f3c0375..0062f6ec 100644 --- a/SysML2.NET/Core/AutoGenDto/IConnectionUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/IConnectionUsage.cs @@ -1,61 +1,61 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Connections -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Core.DTO.Systems.Parts; - using SysML2.NET.Decorators; - - /// - /// A ConnectionUsage is a ConnectorAsUsage that is also a PartUsage. Nominally, if its type is a - /// ConnectionDefinition, then a ConnectionUsage is a Usage of that ConnectionDefinition, representing a - /// connection between parts of a system. However, other kinds of kernel AssociationStructures are also - /// allowed, to permit use of AssociationStructures from the Kernel Model Libraries. - /// - [Class(xmiId: "_19_0_2_12e503d9_1565824079403_302443_1935", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IConnectionUsage : IConnectorAsUsage, IPartUsage - { - /// - /// The AssociationStructures that are the types of this ConnectionUsage. Nominally, these are , but - /// other kinds of Kernel AssociationStructures are also allowed, to permit use of AssociationStructures - /// from the Kernel Model Libraries - /// - [Property(xmiId: "_19_0_2_12e503d9_1594853499656_139435_802", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565471361757_649736_20796")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674983_471497_43284")] - List ConnectionDefinition { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Connections +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Core.DTO.Systems.Parts; + using SysML2.NET.Decorators; + + /// + /// A ConnectionUsage is a ConnectorAsUsage that is also a PartUsage. Nominally, if its type is a + /// ConnectionDefinition, then a ConnectionUsage is a Usage of that ConnectionDefinition, representing a + /// connection between parts of a system. However, other kinds of kernel AssociationStructures are also + /// allowed, to permit use of AssociationStructures from the Kernel Model Libraries. + /// + [Class(xmiId: "_19_0_2_12e503d9_1565824079403_302443_1935", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IConnectionUsage : IConnectorAsUsage, IPartUsage + { + /// + /// The AssociationStructures that are the types of this ConnectionUsage. Nominally, these are , but + /// other kinds of Kernel AssociationStructures are also allowed, to permit use of AssociationStructures + /// from the Kernel Model Libraries + /// + [Property(xmiId: "_19_0_2_12e503d9_1594853499656_139435_802", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565471361757_649736_20796")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674983_471497_43284")] + List connectionDefinition { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IConnector.cs b/SysML2.NET/Core/AutoGenDto/IConnector.cs index e5f1ec52..9c895e04 100644 --- a/SysML2.NET/Core/AutoGenDto/IConnector.cs +++ b/SysML2.NET/Core/AutoGenDto/IConnector.cs @@ -1,100 +1,100 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Connectors -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.DTO.Core.Features; - using SysML2.NET.Core.DTO.Root.Elements; - using SysML2.NET.Decorators; - - /// - /// A Connector is a usage of Associations, with links restricted according to instances of the Type in - /// which they are used (domain of the Connector). The associations of the Connector restrict what kinds - /// of things might be linked. The Connector further restricts these links to be between values of - /// Features on instances of its domain. - /// - [Class(xmiId: "_18_5_3_12e503d9_1533160651698_598377_42185", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IConnector : IFeature, IRelationship - { - /// - /// The Associations that type the Connector. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674983_471497_43284", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - List Association { get; } - - /// - /// The endFeatures of a Connector, which redefine the endFeatures of the associations of the Connector. - /// The connectorEnds determine via ReferenceSubsetting Relationships which Features are related by the - /// Connector. - /// - [Property(xmiId: "_18_5_3_12e503d9_1556735067666_827798_21922", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - List ConnectorEnd { get; } - - /// - /// The innermost Type that is a common direct or indirect featuringType of the relatedFeatures, such - /// that, if it exists and was the featuringType of this Connector, the Connector would satisfy the - /// checkConnectorTypeFeaturing constraint. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737751598145_444042_71", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - Guid? DefaultFeaturingType { get; } - - /// - /// The Features that are related by this Connector considered as a Relationship and that restrict the - /// links it identifies, given by the referenced Features of the connectorEnds of the Connector. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_916334_43210", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - List RelatedFeature { get; } - - /// - /// The source relatedFeature for this Connector. It is the first relatedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594953058873_558253_3897", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - Guid? SourceFeature { get; } - - /// - /// The target relatedFeatures for this Connector. This includes all the relatedFeatures other than the - /// sourceFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594953128207_991867_3946", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - List TargetFeature { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Connectors +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.DTO.Core.Features; + using SysML2.NET.Core.DTO.Root.Elements; + using SysML2.NET.Decorators; + + /// + /// A Connector is a usage of Associations, with links restricted according to instances of the Type in + /// which they are used (domain of the Connector). The associations of the Connector restrict what kinds + /// of things might be linked. The Connector further restricts these links to be between values of + /// Features on instances of its domain. + /// + [Class(xmiId: "_18_5_3_12e503d9_1533160651698_598377_42185", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IConnector : IFeature, IRelationship + { + /// + /// The Associations that type the Connector. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674983_471497_43284", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + List association { get; } + + /// + /// The endFeatures of a Connector, which redefine the endFeatures of the associations of the Connector. + /// The connectorEnds determine via ReferenceSubsetting Relationships which Features are related by the + /// Connector. + /// + [Property(xmiId: "_18_5_3_12e503d9_1556735067666_827798_21922", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + List connectorEnd { get; } + + /// + /// The innermost Type that is a common direct or indirect featuringType of the relatedFeatures, such + /// that, if it exists and was the featuringType of this Connector, the Connector would satisfy the + /// checkConnectorTypeFeaturing constraint. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737751598145_444042_71", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + Guid? defaultFeaturingType { get; } + + /// + /// The Features that are related by this Connector considered as a Relationship and that restrict the + /// links it identifies, given by the referenced Features of the connectorEnds of the Connector. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_916334_43210", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + List relatedFeature { get; } + + /// + /// The source relatedFeature for this Connector. It is the first relatedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594953058873_558253_3897", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + Guid? sourceFeature { get; } + + /// + /// The target relatedFeatures for this Connector. This includes all the relatedFeatures other than the + /// sourceFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594953128207_991867_3946", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + List targetFeature { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IConnectorAsUsage.cs b/SysML2.NET/Core/AutoGenDto/IConnectorAsUsage.cs index 57d95cf4..72de5726 100644 --- a/SysML2.NET/Core/AutoGenDto/IConnectorAsUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/IConnectorAsUsage.cs @@ -1,50 +1,50 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Connections -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.DTO.Kernel.Connectors; - using SysML2.NET.Core.DTO.Systems.DefinitionAndUsage; - using SysML2.NET.Decorators; - - /// - /// A ConnectorAsUsage is both a Connector and a Usage. ConnectorAsUsage cannot itself be instantiated - /// in a SysML model, but it is a base class for the concrete classes BindingConnectorAsUsage, - /// SuccessionAsUsage, ConnectionUsage and FlowConnectionUsage. - /// - [Class(xmiId: "_19_0_4_12e503d9_1624053320057_820842_471", isAbstract: true, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IConnectorAsUsage : IUsage, IConnector - { - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Connections +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.DTO.Kernel.Connectors; + using SysML2.NET.Core.DTO.Systems.DefinitionAndUsage; + using SysML2.NET.Decorators; + + /// + /// A ConnectorAsUsage is both a Connector and a Usage. ConnectorAsUsage cannot itself be instantiated + /// in a SysML model, but it is a base class for the concrete classes BindingConnectorAsUsage, + /// SuccessionAsUsage, ConnectionUsage and FlowConnectionUsage. + /// + [Class(xmiId: "_19_0_4_12e503d9_1624053320057_820842_471", isAbstract: true, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IConnectorAsUsage : IUsage, IConnector + { + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IConstraintDefinition.cs b/SysML2.NET/Core/AutoGenDto/IConstraintDefinition.cs index 2b3c4de6..0ae97adb 100644 --- a/SysML2.NET/Core/AutoGenDto/IConstraintDefinition.cs +++ b/SysML2.NET/Core/AutoGenDto/IConstraintDefinition.cs @@ -1,48 +1,48 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Constraints -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Kernel.Functions; - using SysML2.NET.Core.DTO.Systems.Occurrences; - using SysML2.NET.Decorators; - - /// - /// A ConstraintDefinition is an OccurrenceDefinition that is also a Predicate that defines a constraint - /// that may be asserted to hold on a system or part of a system. - /// - [Class(xmiId: "_19_0_2_12e503d9_1578067054125_439104_1452", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IConstraintDefinition : IOccurrenceDefinition, IPredicate - { - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Constraints +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Kernel.Functions; + using SysML2.NET.Core.DTO.Systems.Occurrences; + using SysML2.NET.Decorators; + + /// + /// A ConstraintDefinition is an OccurrenceDefinition that is also a Predicate that defines a constraint + /// that may be asserted to hold on a system or part of a system. + /// + [Class(xmiId: "_19_0_2_12e503d9_1578067054125_439104_1452", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IConstraintDefinition : IOccurrenceDefinition, IPredicate + { + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IConstraintUsage.cs b/SysML2.NET/Core/AutoGenDto/IConstraintUsage.cs index 8af767ef..1d3b395b 100644 --- a/SysML2.NET/Core/AutoGenDto/IConstraintUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/IConstraintUsage.cs @@ -1,61 +1,61 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Constraints -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Core.DTO.Kernel.Functions; - using SysML2.NET.Core.DTO.Systems.Occurrences; - using SysML2.NET.Decorators; - - /// - /// A ConstraintUsage is an OccurrenceUsage that is also a BooleanExpression, and, so, is typed by a - /// Predicate. Nominally, if the type is a ConstraintDefinition, a ConstraintUsage is a Usage of that - /// ConstraintDefinition. However, other kinds of kernel Predicates are also allowed, to permit use of - /// Predicates from the Kernel Model Libraries. - /// - [Class(xmiId: "_19_0_2_12e503d9_1578067096274_745288_1478", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IConstraintUsage : IBooleanExpression, IOccurrenceUsage - { - /// - /// The (single) Predicate that is the type of this ConstraintUsage. Nominally, this will be a - /// ConstraintDefinition, but other kinds of Predicates are also allowed, to permit use of Predicates - /// from the Kernel Model Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578067546711_751168_1745", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1578025035149_386_969")] - Guid? ConstraintDefinition { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Constraints +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Core.DTO.Kernel.Functions; + using SysML2.NET.Core.DTO.Systems.Occurrences; + using SysML2.NET.Decorators; + + /// + /// A ConstraintUsage is an OccurrenceUsage that is also a BooleanExpression, and, so, is typed by a + /// Predicate. Nominally, if the type is a ConstraintDefinition, a ConstraintUsage is a Usage of that + /// ConstraintDefinition. However, other kinds of kernel Predicates are also allowed, to permit use of + /// Predicates from the Kernel Model Libraries. + /// + [Class(xmiId: "_19_0_2_12e503d9_1578067096274_745288_1478", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IConstraintUsage : IBooleanExpression, IOccurrenceUsage + { + /// + /// The (single) Predicate that is the type of this ConstraintUsage. Nominally, this will be a + /// ConstraintDefinition, but other kinds of Predicates are also allowed, to permit use of Predicates + /// from the Kernel Model Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578067546711_751168_1745", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1578025035149_386_969")] + Guid? constraintDefinition { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IControlNode.cs b/SysML2.NET/Core/AutoGenDto/IControlNode.cs index 1eb60da3..f332f31b 100644 --- a/SysML2.NET/Core/AutoGenDto/IControlNode.cs +++ b/SysML2.NET/Core/AutoGenDto/IControlNode.cs @@ -1,49 +1,49 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Actions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Decorators; - - /// - /// A ControlNode is an ActionUsage that does not have any inherent behavior but provides constraints on - /// incoming and outgoing Successions that are used to control other Actions. A ControlNode must be a - /// composite owned usage of an ActionDefinition or ActionUsage. - /// - [Class(xmiId: "_19_0_2_12e503d9_1567281323333_776611_544", isAbstract: true, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IControlNode : IActionUsage - { - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Actions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Decorators; + + /// + /// A ControlNode is an ActionUsage that does not have any inherent behavior but provides constraints on + /// incoming and outgoing Successions that are used to control other Actions. A ControlNode must be a + /// composite owned usage of an ActionDefinition or ActionUsage. + /// + [Class(xmiId: "_19_0_2_12e503d9_1567281323333_776611_544", isAbstract: true, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IControlNode : IActionUsage + { + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ICrossSubsetting.cs b/SysML2.NET/Core/AutoGenDto/ICrossSubsetting.cs index 04bdd7e9..39e0d95e 100644 --- a/SysML2.NET/Core/AutoGenDto/ICrossSubsetting.cs +++ b/SysML2.NET/Core/AutoGenDto/ICrossSubsetting.cs @@ -63,7 +63,7 @@ public partial interface ICrossSubsetting : ISubsetting [Property(xmiId: "_19_0_4_b9102da_1689616916594_477020_278", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_236250_43311")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674967_140305_43206")] - Guid CrossingFeature { get; } + Guid crossingFeature { get; } } } diff --git a/SysML2.NET/Core/AutoGenDto/IDataType.cs b/SysML2.NET/Core/AutoGenDto/IDataType.cs index cc1ed17f..0267d6a2 100644 --- a/SysML2.NET/Core/AutoGenDto/IDataType.cs +++ b/SysML2.NET/Core/AutoGenDto/IDataType.cs @@ -1,51 +1,51 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.DataTypes -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Core.Classifiers; - using SysML2.NET.Decorators; - - /// - /// A DataType is a Classifier of things (in the universe) that can only be distinguished by how they - /// are related to other things (via Features). This means multiple things classified by the same - /// DataType
  • Cannot be distinguished when they are related to other things in exactly the same - /// way, even when they are intended to be about different things.
  • Can be distinguished when - /// they are related to other things in different ways, even when they are intended to be about the same - /// thing.
- ///
- [Class(xmiId: "_18_5_3_12e503d9_1557527599533_240072_110321", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IDataType : IClassifier - { - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.DataTypes +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Core.Classifiers; + using SysML2.NET.Decorators; + + /// + /// A DataType is a Classifier of things (in the universe) that can only be distinguished by how they + /// are related to other things (via Features). This means multiple things classified by the same + /// DataType
  • Cannot be distinguished when they are related to other things in exactly the same + /// way, even when they are intended to be about different things.
  • Can be distinguished when + /// they are related to other things in different ways, even when they are intended to be about the same + /// thing.
+ ///
+ [Class(xmiId: "_18_5_3_12e503d9_1557527599533_240072_110321", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IDataType : IClassifier + { + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IDecisionNode.cs b/SysML2.NET/Core/AutoGenDto/IDecisionNode.cs index ac8f88a5..b510bb9f 100644 --- a/SysML2.NET/Core/AutoGenDto/IDecisionNode.cs +++ b/SysML2.NET/Core/AutoGenDto/IDecisionNode.cs @@ -1,47 +1,47 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Actions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Decorators; - - /// - /// A DecisionNode is a ControlNode that makes a selection from its outgoing Successions. - /// - [Class(xmiId: "_18_5_3_12e503d9_1565503118756_203952_33551", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IDecisionNode : IControlNode - { - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Actions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Decorators; + + /// + /// A DecisionNode is a ControlNode that makes a selection from its outgoing Successions. + /// + [Class(xmiId: "_18_5_3_12e503d9_1565503118756_203952_33551", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IDecisionNode : IControlNode + { + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IDefinition.cs b/SysML2.NET/Core/AutoGenDto/IDefinition.cs index b1df73c2..bca0c1a4 100644 --- a/SysML2.NET/Core/AutoGenDto/IDefinition.cs +++ b/SysML2.NET/Core/AutoGenDto/IDefinition.cs @@ -1,286 +1,286 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.DefinitionAndUsage -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Core.Classifiers; - using SysML2.NET.Decorators; - - /// - /// A Definition is a Classifier of Usages. The actual kinds of Definition that may appear in a model - /// are given by the subclasses of Definition (possibly as extended with user-defined - /// SemanticMetadata).Normally, a Definition has owned Usages that model features of the thing being - /// defined. A Definition may also have other Definitions nested in it, but this has no semantic - /// significance, other than the nested scoping resulting from the Definition being considered as a - /// Namespace for any nested Definitions.However, if a Definition has isVariation = true, then it - /// represents a variation point Definition. In this case, all of its members must be variant Usages, - /// related to the Definition by VariantMembership Relationships. Rather than being features of the - /// Definition, variant Usages model different concrete alternatives that can be chosen to fill in for - /// an abstract Usage of the variation point Definition. - /// - [Class(xmiId: "_18_5_3_12e503d9_1565479032244_336549_22524", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IDefinition : IClassifier - { - /// - /// The usages of this Definition that are directedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565495064714_974634_26150", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - List DirectedUsage { get; } - - /// - /// Whether this Definition is for a variation point or not. If true, then all the memberships of the - /// Definition must be VariantMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - bool IsVariation { get; set; } - - /// - /// The ActionUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - List OwnedAction { get; } - - /// - /// The AllocationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - List OwnedAllocation { get; } - - /// - /// The AnalysisCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - List OwnedAnalysisCase { get; } - - /// - /// The AttributeUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - List OwnedAttribute { get; } - - /// - /// The CalculationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - List OwnedCalculation { get; } - - /// - /// The code>CaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] - List OwnedCase { get; } - - /// - /// The ConcernUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - List OwnedConcern { get; } - - /// - /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowUsages because these are ConnectorAsUsages - /// even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - List OwnedConnection { get; } - - /// - /// The ConstraintUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - List OwnedConstraint { get; } - - /// - /// The EnumerationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] - List OwnedEnumeration { get; } - - /// - /// The FlowUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - List OwnedFlow { get; } - - /// - /// The InterfaceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - List OwnedInterface { get; } - - /// - /// The ItemUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - List OwnedItem { get; } - - /// - /// The MetadataUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - List OwnedMetadata { get; } - - /// - /// The OccurrenceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - List OwnedOccurrence { get; } - - /// - /// The PartUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - List OwnedPart { get; } - - /// - /// The PortUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - List OwnedPort { get; } - - /// - /// The ReferenceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - List OwnedReference { get; } - - /// - /// The RenderingUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - List OwnedRendering { get; } - - /// - /// The RequirementUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] - List OwnedRequirement { get; } - - /// - /// The StateUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - List OwnedState { get; } - - /// - /// The TransitionUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - List OwnedTransition { get; } - - /// - /// The Usages that are ownedFeatures of this Definition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686637_967933_23236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - List OwnedUsage { get; } - - /// - /// The UseCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - List OwnedUseCase { get; } - - /// - /// The VerificationCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - List OwnedVerificationCase { get; } - - /// - /// The ViewUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - List OwnedView { get; } - - /// - /// The ViewpointUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - List OwnedViewpoint { get; } - - /// - /// The Usages that are features of this Definition (not necessarily owned). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - List Usage { get; } - - /// - /// The Usages which represent the variants of this Definition as a variation point Definition, if - /// isVariation = true. If isVariation = false, the there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - List Variant { get; } - - /// - /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then - /// this must be all ownedMemberships of the Definition. If isVariation = false, then - /// variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - List VariantMembership { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.DefinitionAndUsage +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Core.Classifiers; + using SysML2.NET.Decorators; + + /// + /// A Definition is a Classifier of Usages. The actual kinds of Definition that may appear in a model + /// are given by the subclasses of Definition (possibly as extended with user-defined + /// SemanticMetadata).Normally, a Definition has owned Usages that model features of the thing being + /// defined. A Definition may also have other Definitions nested in it, but this has no semantic + /// significance, other than the nested scoping resulting from the Definition being considered as a + /// Namespace for any nested Definitions.However, if a Definition has isVariation = true, then it + /// represents a variation point Definition. In this case, all of its members must be variant Usages, + /// related to the Definition by VariantMembership Relationships. Rather than being features of the + /// Definition, variant Usages model different concrete alternatives that can be chosen to fill in for + /// an abstract Usage of the variation point Definition. + /// + [Class(xmiId: "_18_5_3_12e503d9_1565479032244_336549_22524", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IDefinition : IClassifier + { + /// + /// The usages of this Definition that are directedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565495064714_974634_26150", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + List directedUsage { get; } + + /// + /// Whether this Definition is for a variation point or not. If true, then all the memberships of the + /// Definition must be VariantMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + bool IsVariation { get; set; } + + /// + /// The ActionUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + List ownedAction { get; } + + /// + /// The AllocationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + List ownedAllocation { get; } + + /// + /// The AnalysisCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + List ownedAnalysisCase { get; } + + /// + /// The AttributeUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + List ownedAttribute { get; } + + /// + /// The CalculationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] + List ownedCalculation { get; } + + /// + /// The code>CaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] + List ownedCase { get; } + + /// + /// The ConcernUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + List ownedConcern { get; } + + /// + /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowUsages because these are ConnectorAsUsages + /// even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + List ownedConnection { get; } + + /// + /// The ConstraintUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + List ownedConstraint { get; } + + /// + /// The EnumerationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] + List ownedEnumeration { get; } + + /// + /// The FlowUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + List ownedFlow { get; } + + /// + /// The InterfaceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + List ownedInterface { get; } + + /// + /// The ItemUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + List ownedItem { get; } + + /// + /// The MetadataUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] + List ownedMetadata { get; } + + /// + /// The OccurrenceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + List ownedOccurrence { get; } + + /// + /// The PartUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] + List ownedPart { get; } + + /// + /// The PortUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + List ownedPort { get; } + + /// + /// The ReferenceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + List ownedReference { get; } + + /// + /// The RenderingUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] + List ownedRendering { get; } + + /// + /// The RequirementUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] + List ownedRequirement { get; } + + /// + /// The StateUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] + List ownedState { get; } + + /// + /// The TransitionUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + List ownedTransition { get; } + + /// + /// The Usages that are ownedFeatures of this Definition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686637_967933_23236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + List ownedUsage { get; } + + /// + /// The UseCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + List ownedUseCase { get; } + + /// + /// The VerificationCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + List ownedVerificationCase { get; } + + /// + /// The ViewUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] + List ownedView { get; } + + /// + /// The ViewpointUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + List ownedViewpoint { get; } + + /// + /// The Usages that are features of this Definition (not necessarily owned). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + List usage { get; } + + /// + /// The Usages which represent the variants of this Definition as a variation point Definition, if + /// isVariation = true. If isVariation = false, the there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + List variant { get; } + + /// + /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then + /// this must be all ownedMemberships of the Definition. If isVariation = false, then + /// variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + List variantMembership { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IDependency.cs b/SysML2.NET/Core/AutoGenDto/IDependency.cs index af4b4ec7..1f73ed0f 100644 --- a/SysML2.NET/Core/AutoGenDto/IDependency.cs +++ b/SysML2.NET/Core/AutoGenDto/IDependency.cs @@ -1,63 +1,63 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Root.Dependencies -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Root.Elements; - 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. - /// - [Class(xmiId: "_19_0_2_12e503d9_1594006219028_628649_74", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IDependency : IRelationship - { - /// - /// The Element or Elements dependent on the supplier Elements. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594006406653_175551_182", aggregation: AggregationKind.None, lowerValue: 1, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - List Client { get; set; } - - /// - /// The Element or Elements on which the client Elements depend in some respect. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594006525044_548771_207", aggregation: AggregationKind.None, lowerValue: 1, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - List Supplier { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Root.Dependencies +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Root.Elements; + 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. + /// + [Class(xmiId: "_19_0_2_12e503d9_1594006219028_628649_74", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IDependency : IRelationship + { + /// + /// The Element or Elements dependent on the supplier Elements. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594006406653_175551_182", aggregation: AggregationKind.None, lowerValue: 1, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + List Client { get; set; } + + /// + /// The Element or Elements on which the client Elements depend in some respect. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594006525044_548771_207", aggregation: AggregationKind.None, lowerValue: 1, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + List Supplier { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IDifferencing.cs b/SysML2.NET/Core/AutoGenDto/IDifferencing.cs index 92933efc..b9f24eca 100644 --- a/SysML2.NET/Core/AutoGenDto/IDifferencing.cs +++ b/SysML2.NET/Core/AutoGenDto/IDifferencing.cs @@ -1,64 +1,64 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Core.Types -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Root.Elements; - using SysML2.NET.Decorators; - - /// - /// Differencing is a Relationship that makes its differencingType one of the differencingTypes of its - /// typeDifferenced. - /// - [Class(xmiId: "_19_0_4_b9102da_1661870994364_119372_712", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IDifferencing : IRelationship - { - /// - /// Type that partly determines interpretations of typeDifferenced, as described in - /// Type::differencingType. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871173117_978241_809", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - Guid DifferencingType { get; set; } - - /// - /// Type with interpretations partly determined by differencingType, as described in - /// Type::differencingType. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168453_175911_796", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - Guid TypeDifferenced { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Core.Types +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Root.Elements; + using SysML2.NET.Decorators; + + /// + /// Differencing is a Relationship that makes its differencingType one of the differencingTypes of its + /// typeDifferenced. + /// + [Class(xmiId: "_19_0_4_b9102da_1661870994364_119372_712", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IDifferencing : IRelationship + { + /// + /// Type that partly determines interpretations of typeDifferenced, as described in + /// Type::differencingType. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871173117_978241_809", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + Guid DifferencingType { get; set; } + + /// + /// Type with interpretations partly determined by differencingType, as described in + /// Type::differencingType. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168453_175911_796", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + Guid typeDifferenced { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IDisjoining.cs b/SysML2.NET/Core/AutoGenDto/IDisjoining.cs index d0e98350..2bbad7ce 100644 --- a/SysML2.NET/Core/AutoGenDto/IDisjoining.cs +++ b/SysML2.NET/Core/AutoGenDto/IDisjoining.cs @@ -1,71 +1,71 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Core.Types -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Root.Elements; - using SysML2.NET.Decorators; - - /// - /// A Disjoining is a Relationship between Types asserted to have interpretations that are not shared - /// (disjoint) between them, identified as typeDisjoined and disjoiningType. For example, a Classifier - /// for mammals is disjoint from a Classifier for minerals, and a Feature for people's parents is - /// disjoint from a Feature for their children. - /// - [Class(xmiId: "_19_0_4_b9102da_1623182941809_239395_557", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IDisjoining : IRelationship - { - /// - /// Type asserted to be disjoint with the typeDisjoined. - /// - [Property(xmiId: "_19_0_4_b9102da_1623183201866_537160_629", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - Guid DisjoiningType { get; set; } - - /// - /// A typeDisjoined that is also an owningRelatedElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519614_499771_371", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_955906_617")] - Guid? OwningType { get; } - - /// - /// Type asserted to be disjoint with the disjoiningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1623183194914_955906_617", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - Guid TypeDisjoined { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Core.Types +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Root.Elements; + using SysML2.NET.Decorators; + + /// + /// A Disjoining is a Relationship between Types asserted to have interpretations that are not shared + /// (disjoint) between them, identified as typeDisjoined and disjoiningType. For example, a Classifier + /// for mammals is disjoint from a Classifier for minerals, and a Feature for people's parents is + /// disjoint from a Feature for their children. + /// + [Class(xmiId: "_19_0_4_b9102da_1623182941809_239395_557", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IDisjoining : IRelationship + { + /// + /// Type asserted to be disjoint with the typeDisjoined. + /// + [Property(xmiId: "_19_0_4_b9102da_1623183201866_537160_629", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + Guid DisjoiningType { get; set; } + + /// + /// A typeDisjoined that is also an owningRelatedElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519614_499771_371", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_955906_617")] + Guid? owningType { get; } + + /// + /// Type asserted to be disjoint with the disjoiningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1623183194914_955906_617", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + Guid TypeDisjoined { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IDocumentation.cs b/SysML2.NET/Core/AutoGenDto/IDocumentation.cs index a6967cb8..cd1fa8ff 100644 --- a/SysML2.NET/Core/AutoGenDto/IDocumentation.cs +++ b/SysML2.NET/Core/AutoGenDto/IDocumentation.cs @@ -1,53 +1,53 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Root.Annotations -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Decorators; - - /// - /// Documentation is a Comment that specifically documents a documentedElement, which must be its owner. - /// - [Class(xmiId: "_19_0_4_12e503d9_1647722169749_235252_587", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IDocumentation : IComment - { - /// - /// The Element that is documented by this Documentation. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_948466_1622", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_744477_17277")] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1594145755058_99428_86")] - Guid DocumentedElement { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Root.Annotations +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Decorators; + + /// + /// Documentation is a Comment that specifically documents a documentedElement, which must be its owner. + /// + [Class(xmiId: "_19_0_4_12e503d9_1647722169749_235252_587", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IDocumentation : IComment + { + /// + /// The Element that is documented by this Documentation. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_948466_1622", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_744477_17277")] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1594145755058_99428_86")] + Guid documentedElement { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IElement.cs b/SysML2.NET/Core/AutoGenDto/IElement.cs index 3da55a74..fe2792cc 100644 --- a/SysML2.NET/Core/AutoGenDto/IElement.cs +++ b/SysML2.NET/Core/AutoGenDto/IElement.cs @@ -1,190 +1,190 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Root.Elements -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Decorators; - - /// - /// An Element is a constituent of a model that is uniquely identified relative to all other Elements. - /// It can have Relationships with other Elements. Some of these Relationships might imply ownership of - /// other Elements, which means that if an Element is deleted from a model, then so are all the Elements - /// that it owns. - /// - [Class(xmiId: "_18_5_3_12e503d9_1533160651703_306405_42199", isAbstract: true, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IElement - { - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - List AliasIds { get; set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - string DeclaredShortName { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - List Documentation { get; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - bool IsLibraryElement { get; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - string Name { get; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - List OwnedAnnotation { get; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - List OwnedElement { get; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - List OwnedRelationship { get; set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - Guid? Owner { get; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - Guid? OwningMembership { get; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - Guid? OwningNamespace { get; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - Guid? OwningRelationship { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - string QualifiedName { get; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - string ShortName { get; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - List TextualRepresentation { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Root.Elements +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Decorators; + + /// + /// An Element is a constituent of a model that is uniquely identified relative to all other Elements. + /// It can have Relationships with other Elements. Some of these Relationships might imply ownership of + /// other Elements, which means that if an Element is deleted from a model, then so are all the Elements + /// that it owns. + /// + [Class(xmiId: "_18_5_3_12e503d9_1533160651703_306405_42199", isAbstract: true, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IElement + { + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + List AliasIds { get; set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + string DeclaredShortName { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + List documentation { get; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + bool isLibraryElement { get; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + string name { get; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + List ownedAnnotation { get; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + List ownedElement { get; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + List OwnedRelationship { get; set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + Guid? owner { get; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + Guid? owningMembership { get; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + Guid? owningNamespace { get; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + Guid? OwningRelationship { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + string qualifiedName { get; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + string shortName { get; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + List textualRepresentation { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IElementFilterMembership.cs b/SysML2.NET/Core/AutoGenDto/IElementFilterMembership.cs index ffaf6422..63975b01 100644 --- a/SysML2.NET/Core/AutoGenDto/IElementFilterMembership.cs +++ b/SysML2.NET/Core/AutoGenDto/IElementFilterMembership.cs @@ -1,58 +1,58 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Packages -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Root.Namespaces; - using SysML2.NET.Core.DTO.Root.Namespaces; - using SysML2.NET.Decorators; - - /// - /// ElementFilterMembership is a Membership between a Namespace and a model-level evaluable - /// Boolean-valued Expression, asserting that imported members of the Namespace should be filtered using - /// the condition Expression. A general Namespace does not define any specific filtering behavior, but - /// such behavior may be defined for various specialized kinds of Namespaces. - /// - [Class(xmiId: "_19_0_4_12e503d9_1605760960644_813844_5877", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IElementFilterMembership : IOwningMembership - { - /// - /// The model-level evaluable Boolean-valued Expression used to filter the imported members of the - /// membershipOwningNamespace of this ElementFilterMembership. - /// - [Property(xmiId: "_19_0_4_12e503d9_1605762464250_876969_157", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] - Guid Condition { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Packages +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Root.Namespaces; + using SysML2.NET.Core.DTO.Root.Namespaces; + using SysML2.NET.Decorators; + + /// + /// ElementFilterMembership is a Membership between a Namespace and a model-level evaluable + /// Boolean-valued Expression, asserting that imported members of the Namespace should be filtered using + /// the condition Expression. A general Namespace does not define any specific filtering behavior, but + /// such behavior may be defined for various specialized kinds of Namespaces. + /// + [Class(xmiId: "_19_0_4_12e503d9_1605760960644_813844_5877", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IElementFilterMembership : IOwningMembership + { + /// + /// The model-level evaluable Boolean-valued Expression used to filter the imported members of the + /// membershipOwningNamespace of this ElementFilterMembership. + /// + [Property(xmiId: "_19_0_4_12e503d9_1605762464250_876969_157", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] + Guid condition { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IEndFeatureMembership.cs b/SysML2.NET/Core/AutoGenDto/IEndFeatureMembership.cs index 686d61b9..b340b5fb 100644 --- a/SysML2.NET/Core/AutoGenDto/IEndFeatureMembership.cs +++ b/SysML2.NET/Core/AutoGenDto/IEndFeatureMembership.cs @@ -1,54 +1,54 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Core.Features -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Root.Namespaces; - using SysML2.NET.Core.DTO.Core.Types; - using SysML2.NET.Decorators; - - /// - /// EndFeatureMembership is a FeatureMembership that requires its memberFeature be owned and have isEnd - /// = true. - /// - [Class(xmiId: "_19_0_4_12e503d9_1625459008756_956040_5416", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IEndFeatureMembership : IFeatureMembership - { - /// - /// - [Property(xmiId: "_19_0_4_12e503d9_1625459277304_568293_5526", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] - new Guid OwnedMemberFeature { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Core.Features +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Root.Namespaces; + using SysML2.NET.Core.DTO.Core.Types; + using SysML2.NET.Decorators; + + /// + /// EndFeatureMembership is a FeatureMembership that requires its memberFeature be owned and have isEnd + /// = true. + /// + [Class(xmiId: "_19_0_4_12e503d9_1625459008756_956040_5416", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IEndFeatureMembership : IFeatureMembership + { + /// + /// + [Property(xmiId: "_19_0_4_12e503d9_1625459277304_568293_5526", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] + new Guid ownedMemberFeature { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IEnumerationDefinition.cs b/SysML2.NET/Core/AutoGenDto/IEnumerationDefinition.cs index 45d27e38..d92a8148 100644 --- a/SysML2.NET/Core/AutoGenDto/IEnumerationDefinition.cs +++ b/SysML2.NET/Core/AutoGenDto/IEnumerationDefinition.cs @@ -1,64 +1,64 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Enumerations -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Systems.Attributes; - 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. - /// - [Class(xmiId: "_19_0_4_12e503d9_1606946467364_179493_153", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IEnumerationDefinition : IAttributeDefinition - { - /// - /// EnumerationUsages of this EnumerationDefinitionthat have distinct, fixed values. Each - /// enumeratedValue specifies one of the allowed instances of the EnumerationDefinition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946634788_959145_265", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1590979457191_746167_951")] - List EnumeratedValue { get; } - - /// - /// An EnumerationDefinition is considered semantically to be a variation whose allowed variants are its - /// enumerationValues. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946783667_895456_287", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1590978283180_265362_419")] - new bool IsVariation { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Enumerations +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Systems.Attributes; + 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. + /// + [Class(xmiId: "_19_0_4_12e503d9_1606946467364_179493_153", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IEnumerationDefinition : IAttributeDefinition + { + /// + /// EnumerationUsages of this EnumerationDefinitionthat have distinct, fixed values. Each + /// enumeratedValue specifies one of the allowed instances of the EnumerationDefinition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946634788_959145_265", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1590979457191_746167_951")] + List enumeratedValue { get; } + + /// + /// An EnumerationDefinition is considered semantically to be a variation whose allowed variants are its + /// enumerationValues. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946783667_895456_287", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1590978283180_265362_419")] + new bool IsVariation { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IEnumerationUsage.cs b/SysML2.NET/Core/AutoGenDto/IEnumerationUsage.cs index e398af24..82d66a62 100644 --- a/SysML2.NET/Core/AutoGenDto/IEnumerationUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/IEnumerationUsage.cs @@ -1,54 +1,54 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Enumerations -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.DTO.Systems.Attributes; - using SysML2.NET.Decorators; - - /// - /// An EnumerationUsage is an AttributeUsage whose attributeDefinition is an EnumerationDefinition. - /// - [Class(xmiId: "_19_0_4_12e503d9_1606946489455_954016_180", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IEnumerationUsage : IAttributeUsage - { - /// - /// The single EnumerationDefinition that is the type of this EnumerationUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946962858_570633_331", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1565471811429_523492_20975")] - Guid EnumerationDefinition { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Enumerations +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.DTO.Systems.Attributes; + using SysML2.NET.Decorators; + + /// + /// An EnumerationUsage is an AttributeUsage whose attributeDefinition is an EnumerationDefinition. + /// + [Class(xmiId: "_19_0_4_12e503d9_1606946489455_954016_180", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IEnumerationUsage : IAttributeUsage + { + /// + /// The single EnumerationDefinition that is the type of this EnumerationUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946962858_570633_331", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1565471811429_523492_20975")] + Guid enumerationDefinition { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IEventOccurrenceUsage.cs b/SysML2.NET/Core/AutoGenDto/IEventOccurrenceUsage.cs index d2975fea..941e1dbc 100644 --- a/SysML2.NET/Core/AutoGenDto/IEventOccurrenceUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/IEventOccurrenceUsage.cs @@ -1,67 +1,67 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Occurrences -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Decorators; - - /// - /// An EventOccurrenceUsage is an OccurrenceUsage that represents another OccurrenceUsage occurring as a - /// suboccurrence of the containing occurrence of the EventOccurrenceUsage. Unless it is the - /// EventOccurrenceUsage itself, the referenced OccurrenceUsage is related to the EventOccurrenceUsage - /// by a ReferenceSubsetting Relationship.If the EventOccurrenceUsage is owned by an - /// OccurrenceDefinition or OccurrenceUsage, then it also subsets the timeEnclosedOccurrences property - /// of the Class Occurrence from the Kernel Semantic Library model Occurrences. - /// - [Class(xmiId: "_19_0_4_12e503d9_1622831611763_442921_132", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IEventOccurrenceUsage : IOccurrenceUsage - { - /// - /// The OccurrenceUsage referenced as an event by this EventOccurrenceUsage. It is the referenceFeature - /// of the ownedReferenceSubsetting for the EventOccurrenceUsage, if there is one, and, otherwise, the - /// EventOccurrenceUsage itself. - /// - [Property(xmiId: "_19_0_4_12e503d9_1622831790393_676695_195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - Guid EventOccurrence { get; } - - /// - /// Always true for an EventOccurrenceUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1672526906017_786343_306", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1624035114787_488767_41423")] - new bool IsReference { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Occurrences +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Decorators; + + /// + /// An EventOccurrenceUsage is an OccurrenceUsage that represents another OccurrenceUsage occurring as a + /// suboccurrence of the containing occurrence of the EventOccurrenceUsage. Unless it is the + /// EventOccurrenceUsage itself, the referenced OccurrenceUsage is related to the EventOccurrenceUsage + /// by a ReferenceSubsetting Relationship.If the EventOccurrenceUsage is owned by an + /// OccurrenceDefinition or OccurrenceUsage, then it also subsets the timeEnclosedOccurrences property + /// of the Class Occurrence from the Kernel Semantic Library model Occurrences. + /// + [Class(xmiId: "_19_0_4_12e503d9_1622831611763_442921_132", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IEventOccurrenceUsage : IOccurrenceUsage + { + /// + /// The OccurrenceUsage referenced as an event by this EventOccurrenceUsage. It is the referenceFeature + /// of the ownedReferenceSubsetting for the EventOccurrenceUsage, if there is one, and, otherwise, the + /// EventOccurrenceUsage itself. + /// + [Property(xmiId: "_19_0_4_12e503d9_1622831790393_676695_195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + Guid eventOccurrence { get; } + + /// + /// Always true for an EventOccurrenceUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1672526906017_786343_306", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1624035114787_488767_41423")] + new bool isReference { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IExhibitStateUsage.cs b/SysML2.NET/Core/AutoGenDto/IExhibitStateUsage.cs index 6fc15113..a605ea6b 100644 --- a/SysML2.NET/Core/AutoGenDto/IExhibitStateUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/IExhibitStateUsage.cs @@ -1,59 +1,59 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.States -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Core.DTO.Systems.Actions; - using SysML2.NET.Decorators; - - /// - /// An ExhibitStateUsage is a StateUsage that represents the exhibiting of a StateUsage. Unless it is - /// the StateUsage itself, the StateUsage to be exhibited is related to the ExhibitStateUsage by a - /// ReferenceSubsetting Relationship. An ExhibitStateUsage is also a PerformActionUsage, with its - /// exhibitedState as the performedAction. - /// - [Class(xmiId: "_19_0_2_12e503d9_1577070975739_684062_203", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IExhibitStateUsage : IStateUsage, IPerformActionUsage - { - /// - /// The StateUsage to be exhibited by the ExhibitStateUsage. It is the performedAction of the - /// ExhibitStateUsage considered as a PerformActionUsage, which must be a StateUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1577070999039_688794_260", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1567740791820_867719_18017")] - Guid ExhibitedState { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.States +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Core.DTO.Systems.Actions; + using SysML2.NET.Decorators; + + /// + /// An ExhibitStateUsage is a StateUsage that represents the exhibiting of a StateUsage. Unless it is + /// the StateUsage itself, the StateUsage to be exhibited is related to the ExhibitStateUsage by a + /// ReferenceSubsetting Relationship. An ExhibitStateUsage is also a PerformActionUsage, with its + /// exhibitedState as the performedAction. + /// + [Class(xmiId: "_19_0_2_12e503d9_1577070975739_684062_203", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IExhibitStateUsage : IStateUsage, IPerformActionUsage + { + /// + /// The StateUsage to be exhibited by the ExhibitStateUsage. It is the performedAction of the + /// ExhibitStateUsage considered as a PerformActionUsage, which must be a StateUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1577070999039_688794_260", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1567740791820_867719_18017")] + Guid exhibitedState { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IExpose.cs b/SysML2.NET/Core/AutoGenDto/IExpose.cs index 38ea0f96..218c9fd7 100644 --- a/SysML2.NET/Core/AutoGenDto/IExpose.cs +++ b/SysML2.NET/Core/AutoGenDto/IExpose.cs @@ -1,62 +1,62 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Views -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Root.Namespaces; - using SysML2.NET.Core.DTO.Root.Namespaces; - using SysML2.NET.Decorators; - - /// - /// An Expose is an Import of Memberships into a ViewUsage that provide the Elements to be included in a - /// view. Visibility is always ignored for an Expose (i.e., isImportAll = true). - /// - [Class(xmiId: "_19_0_2_12e503d9_1573075516960_794934_94", isAbstract: true, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IExpose : IImport - { - /// - /// An Expose always imports all Elements, regardless of visibility (isImportAll = true). - /// - [Property(xmiId: "_19_0_4_12e503d9_1622578615027_762161_80", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1622577942205_869984_64")] - new bool IsImportAll { get; set; } - - /// - /// An Expose always has protected visibility. - /// - [Property(xmiId: "_2022x_2_12e503d9_1720469034555_222060_1140", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "protected")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674976_798509_43257")] - new VisibilityKind Visibility { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Views +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Root.Namespaces; + using SysML2.NET.Core.DTO.Root.Namespaces; + using SysML2.NET.Decorators; + + /// + /// An Expose is an Import of Memberships into a ViewUsage that provide the Elements to be included in a + /// view. Visibility is always ignored for an Expose (i.e., isImportAll = true). + /// + [Class(xmiId: "_19_0_2_12e503d9_1573075516960_794934_94", isAbstract: true, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IExpose : IImport + { + /// + /// An Expose always imports all Elements, regardless of visibility (isImportAll = true). + /// + [Property(xmiId: "_19_0_4_12e503d9_1622578615027_762161_80", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1622577942205_869984_64")] + new bool IsImportAll { get; set; } + + /// + /// An Expose always has protected visibility. + /// + [Property(xmiId: "_2022x_2_12e503d9_1720469034555_222060_1140", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "protected")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674976_798509_43257")] + new VisibilityKind Visibility { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IExpression.cs b/SysML2.NET/Core/AutoGenDto/IExpression.cs index 54f4f4da..5a8fdfcd 100644 --- a/SysML2.NET/Core/AutoGenDto/IExpression.cs +++ b/SysML2.NET/Core/AutoGenDto/IExpression.cs @@ -1,75 +1,75 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Functions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.DTO.Kernel.Behaviors; - using SysML2.NET.Decorators; - - /// - /// An Expression is a Step that is typed by a Function. An Expression that also has a Function as its - /// featuringType is a computational step within that Function. An Expression always has a single result - /// parameter, which redefines the result parameter of its defining function. This allows Expressions to - /// be interconnected in tree structures, in which inputs to each Expression in the tree are determined - /// as the results of other Expression in the tree. - /// - [Class(xmiId: "_18_5_3_12e503d9_1533160651686_908654_42163", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IExpression : IStep - { - /// - /// The Function that types this Expression. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - Guid? Function { get; } - - /// - /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, - /// using metadata within the model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - bool IsModelLevelEvaluable { get; } - - /// - /// An output parameter of the Expression whose value is the result of the Expression. The result of an - /// Expression is either inherited from its function or it is related to the Expression via a - /// ReturnParameterMembership, in which case it redefines the result parameter of its function. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - Guid Result { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Functions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.DTO.Kernel.Behaviors; + using SysML2.NET.Decorators; + + /// + /// An Expression is a Step that is typed by a Function. An Expression that also has a Function as its + /// featuringType is a computational step within that Function. An Expression always has a single result + /// parameter, which redefines the result parameter of its defining function. This allows Expressions to + /// be interconnected in tree structures, in which inputs to each Expression in the tree are determined + /// as the results of other Expression in the tree. + /// + [Class(xmiId: "_18_5_3_12e503d9_1533160651686_908654_42163", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IExpression : IStep + { + /// + /// The Function that types this Expression. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] + Guid? function { get; } + + /// + /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, + /// using metadata within the model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + bool isModelLevelEvaluable { get; } + + /// + /// An output parameter of the Expression whose value is the result of the Expression. The result of an + /// Expression is either inherited from its function or it is related to the Expression via a + /// ReturnParameterMembership, in which case it redefines the result parameter of its function. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + Guid result { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IFeature.cs b/SysML2.NET/Core/AutoGenDto/IFeature.cs index 3008322b..3f881d40 100644 --- a/SysML2.NET/Core/AutoGenDto/IFeature.cs +++ b/SysML2.NET/Core/AutoGenDto/IFeature.cs @@ -1,266 +1,266 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Core.Features -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.DTO.Core.Types; - 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. - /// - [Class(xmiId: "_18_5_3_12e503d9_1533160651684_893483_42160", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IFeature : IType - { - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - List ChainingFeature { get; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - Guid? CrossFeature { get; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - FeatureDirectionKind? Direction { get; set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - Guid? EndOwningType { get; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - Guid FeatureTarget { get; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - List FeaturingType { get; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - bool IsComposite { get; set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - bool IsEnd { get; set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - bool IsPortion { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - bool IsVariable { get; set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - Guid? OwnedCrossSubsetting { get; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - List OwnedFeatureChaining { get; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - List OwnedFeatureInverting { get; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - List OwnedRedefinition { get; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - Guid? OwnedReferenceSubsetting { get; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - List OwnedSubsetting { get; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - List OwnedTypeFeaturing { get; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - List OwnedTyping { get; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - Guid? OwningFeatureMembership { get; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - Guid? OwningType { get; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - List Type { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Core.Features +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.DTO.Core.Types; + 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. + /// + [Class(xmiId: "_18_5_3_12e503d9_1533160651684_893483_42160", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IFeature : IType + { + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + List chainingFeature { get; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + Guid? crossFeature { get; } + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + FeatureDirectionKind? Direction { get; set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + Guid? endOwningType { get; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + Guid featureTarget { get; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + List featuringType { get; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + bool IsComposite { get; set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + bool IsEnd { get; set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + bool IsPortion { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + bool IsVariable { get; set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + Guid? ownedCrossSubsetting { get; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + List ownedFeatureChaining { get; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + List ownedFeatureInverting { get; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + List ownedRedefinition { get; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + Guid? ownedReferenceSubsetting { get; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + List ownedSubsetting { get; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + List ownedTypeFeaturing { get; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + List ownedTyping { get; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + Guid? owningFeatureMembership { get; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + Guid? owningType { get; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + List type { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IFeatureChainExpression.cs b/SysML2.NET/Core/AutoGenDto/IFeatureChainExpression.cs index 2c91d503..829c3e8d 100644 --- a/SysML2.NET/Core/AutoGenDto/IFeatureChainExpression.cs +++ b/SysML2.NET/Core/AutoGenDto/IFeatureChainExpression.cs @@ -1,62 +1,62 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Expressions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Decorators; - - /// - /// A FeatureChainExpression is an OperatorExpression whose operator is ".", which resolves to the - /// Function ControlFunctions::'.' from the Kernel Functions Library. It evaluates to the result of - /// chaining the result Feature of its single argument Expression with its targetFeature. - /// - [Class(xmiId: "_19_0_4_12e503d9_1645049764787_93967_15", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IFeatureChainExpression : IOperatorExpression - { - /// - /// - [Property(xmiId: "_19_0_4_12e503d9_1645049784007_509459_41", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: ".")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1557528808100_646606_111674")] - new string Operator { get; set; } - - /// - /// The Feature that is accessed by this FeatureChainExpression, which is its first non-parameter - /// member. - /// - [Property(xmiId: "_19_0_4_12e503d9_1645049897369_762611_49", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - Guid TargetFeature { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Expressions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Decorators; + + /// + /// A FeatureChainExpression is an OperatorExpression whose operator is ".", which resolves to the + /// Function ControlFunctions::'.' from the Kernel Functions Library. It evaluates to the result of + /// chaining the result Feature of its single argument Expression with its targetFeature. + /// + [Class(xmiId: "_19_0_4_12e503d9_1645049764787_93967_15", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IFeatureChainExpression : IOperatorExpression + { + /// + /// + [Property(xmiId: "_19_0_4_12e503d9_1645049784007_509459_41", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: ".")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1557528808100_646606_111674")] + new string Operator { get; set; } + + /// + /// The Feature that is accessed by this FeatureChainExpression, which is its first non-parameter + /// member. + /// + [Property(xmiId: "_19_0_4_12e503d9_1645049897369_762611_49", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + Guid targetFeature { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IFeatureChaining.cs b/SysML2.NET/Core/AutoGenDto/IFeatureChaining.cs index cb4cae20..b484a2c9 100644 --- a/SysML2.NET/Core/AutoGenDto/IFeatureChaining.cs +++ b/SysML2.NET/Core/AutoGenDto/IFeatureChaining.cs @@ -1,64 +1,64 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Core.Features -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Root.Elements; - using SysML2.NET.Decorators; - - /// - /// FeatureChaining is a Relationship that makes its target Feature one of the chainingFeatures of its - /// owning Feature. - /// - [Class(xmiId: "_19_0_4_b9102da_1622124560789_965972_39", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IFeatureChaining : IRelationship - { - /// - /// The Feature whose values partly determine values of featureChained, as described in - /// Feature::chainingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125799011_772669_117", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - Guid ChainingFeature { get; set; } - - /// - /// The Feature whose values are partly determined by values of the chainingFeature, as described in - /// Feature::chainingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_897608_73", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - Guid FeatureChained { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Core.Features +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Root.Elements; + using SysML2.NET.Decorators; + + /// + /// FeatureChaining is a Relationship that makes its target Feature one of the chainingFeatures of its + /// owning Feature. + /// + [Class(xmiId: "_19_0_4_b9102da_1622124560789_965972_39", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IFeatureChaining : IRelationship + { + /// + /// The Feature whose values partly determine values of featureChained, as described in + /// Feature::chainingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125799011_772669_117", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + Guid ChainingFeature { get; set; } + + /// + /// The Feature whose values are partly determined by values of the chainingFeature, as described in + /// Feature::chainingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_897608_73", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + Guid featureChained { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IFeatureInverting.cs b/SysML2.NET/Core/AutoGenDto/IFeatureInverting.cs index 5203d572..7d4d25e2 100644 --- a/SysML2.NET/Core/AutoGenDto/IFeatureInverting.cs +++ b/SysML2.NET/Core/AutoGenDto/IFeatureInverting.cs @@ -1,72 +1,72 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Core.Features -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Root.Elements; - using SysML2.NET.Decorators; - - /// - /// A FeatureInverting is a Relationship between Features asserting that their interpretations - /// (sequences) are the reverse of each other, identified as featureInverted and invertingFeature. For - /// example, a Feature identifying each person's parents is the inverse of a Feature identifying - /// each person's children. A person identified as a parent of another will identify that other as - /// one of their children. - /// - [Class(xmiId: "_19_0_4_b9102da_1623178487957_761743_77", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IFeatureInverting : IRelationship - { - /// - /// The Feature that is an inverse of the invertingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1623178838862_842173_146", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - Guid FeatureInverted { get; set; } - - /// - /// The Feature that is an inverse of the invertedFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1623178854941_627588_162", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - Guid InvertingFeature { get; set; } - - /// - /// A featureInverted that is also the owningRelatedElement of this FeatureInverting. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_122613_44", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838862_842173_146")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - Guid? OwningFeature { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Core.Features +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Root.Elements; + using SysML2.NET.Decorators; + + /// + /// A FeatureInverting is a Relationship between Features asserting that their interpretations + /// (sequences) are the reverse of each other, identified as featureInverted and invertingFeature. For + /// example, a Feature identifying each person's parents is the inverse of a Feature identifying + /// each person's children. A person identified as a parent of another will identify that other as + /// one of their children. + /// + [Class(xmiId: "_19_0_4_b9102da_1623178487957_761743_77", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IFeatureInverting : IRelationship + { + /// + /// The Feature that is an inverse of the invertingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1623178838862_842173_146", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + Guid FeatureInverted { get; set; } + + /// + /// The Feature that is an inverse of the invertedFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1623178854941_627588_162", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + Guid InvertingFeature { get; set; } + + /// + /// A featureInverted that is also the owningRelatedElement of this FeatureInverting. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_122613_44", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838862_842173_146")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + Guid? owningFeature { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IFeatureMembership.cs b/SysML2.NET/Core/AutoGenDto/IFeatureMembership.cs index d9c8ddf1..bb2c1bba 100644 --- a/SysML2.NET/Core/AutoGenDto/IFeatureMembership.cs +++ b/SysML2.NET/Core/AutoGenDto/IFeatureMembership.cs @@ -1,67 +1,67 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Core.Types -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Root.Namespaces; - using SysML2.NET.Core.DTO.Root.Namespaces; - using SysML2.NET.Decorators; - - /// - /// A FeatureMembership is an OwningMembership between an ownedMemberFeature and an owningType. If the - /// ownedMemberFeature has isVariable = false, then the FeatureMembership implies that the owningType is - /// also a featuringType of the ownedMemberFeature. If the ownedMemberFeature has isVariable = true, - /// then the FeatureMembership implies that the ownedMemberFeature is featured by the snapshots of the - /// owningType, which must specialize the Kernel Semantic Library base class Occurrence. - /// - [Class(xmiId: "_18_5_3_12e503d9_1533160651715_740575_42237", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IFeatureMembership : IOwningMembership - { - /// - /// The Feature that this FeatureMembership relates to its owningType, making it an ownedFeature of the - /// owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_898044_43344", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] - Guid OwnedMemberFeature { get; } - - /// - /// The Type that owns this FeatureMembership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_418504_43339", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866524_738482_486")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] - Guid OwningType { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Core.Types +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Root.Namespaces; + using SysML2.NET.Core.DTO.Root.Namespaces; + using SysML2.NET.Decorators; + + /// + /// A FeatureMembership is an OwningMembership between an ownedMemberFeature and an owningType. If the + /// ownedMemberFeature has isVariable = false, then the FeatureMembership implies that the owningType is + /// also a featuringType of the ownedMemberFeature. If the ownedMemberFeature has isVariable = true, + /// then the FeatureMembership implies that the ownedMemberFeature is featured by the snapshots of the + /// owningType, which must specialize the Kernel Semantic Library base class Occurrence. + /// + [Class(xmiId: "_18_5_3_12e503d9_1533160651715_740575_42237", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IFeatureMembership : IOwningMembership + { + /// + /// The Feature that this FeatureMembership relates to its owningType, making it an ownedFeature of the + /// owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_898044_43344", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] + Guid ownedMemberFeature { get; } + + /// + /// The Type that owns this FeatureMembership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_418504_43339", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866524_738482_486")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] + Guid owningType { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IFeatureReferenceExpression.cs b/SysML2.NET/Core/AutoGenDto/IFeatureReferenceExpression.cs index 04c25ecd..2c4425b1 100644 --- a/SysML2.NET/Core/AutoGenDto/IFeatureReferenceExpression.cs +++ b/SysML2.NET/Core/AutoGenDto/IFeatureReferenceExpression.cs @@ -1,55 +1,55 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Expressions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.DTO.Kernel.Functions; - using SysML2.NET.Decorators; - - /// - /// A FeatureReferenceExpression is an Expression whose result is bound to a referent Feature. - /// - [Class(xmiId: "_18_5_3_12e503d9_1533160651680_105632_42151", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IFeatureReferenceExpression : IExpression - { - /// - /// The Feature that is referenced by this FeatureReferenceExpression, which is its first non-parameter - /// member. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_848357_43185", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - Guid Referent { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Expressions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.DTO.Kernel.Functions; + using SysML2.NET.Decorators; + + /// + /// A FeatureReferenceExpression is an Expression whose result is bound to a referent Feature. + /// + [Class(xmiId: "_18_5_3_12e503d9_1533160651680_105632_42151", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IFeatureReferenceExpression : IExpression + { + /// + /// The Feature that is referenced by this FeatureReferenceExpression, which is its first non-parameter + /// member. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_848357_43185", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + Guid referent { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IFeatureTyping.cs b/SysML2.NET/Core/AutoGenDto/IFeatureTyping.cs index 366f66fc..e4b3415f 100644 --- a/SysML2.NET/Core/AutoGenDto/IFeatureTyping.cs +++ b/SysML2.NET/Core/AutoGenDto/IFeatureTyping.cs @@ -1,71 +1,71 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Core.Features -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Core.Types; - 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. - /// - [Class(xmiId: "_18_5_3_12e503d9_1543180339807_437641_20928", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IFeatureTyping : ISpecialization - { - /// - /// A typedFeature that is also the owningRelatedElement of this FeatureTyping. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427753_801746_43", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_13273_21101")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_573157_43226")] - Guid? OwningFeature { get; } - - /// - /// The Type that is being applied by this FeatureTyping. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543180520185_480887_21131", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_563969_43273")] - Guid Type { get; set; } - - /// - /// The Feature that has a type determined by this FeatureTyping. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543180501615_13273_21101", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] - Guid TypedFeature { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Core.Features +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Core.Types; + 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. + /// + [Class(xmiId: "_18_5_3_12e503d9_1543180339807_437641_20928", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IFeatureTyping : ISpecialization + { + /// + /// A typedFeature that is also the owningRelatedElement of this FeatureTyping. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427753_801746_43", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_13273_21101")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_573157_43226")] + Guid? owningFeature { get; } + + /// + /// The Type that is being applied by this FeatureTyping. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543180520185_480887_21131", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_563969_43273")] + Guid Type { get; set; } + + /// + /// The Feature that has a type determined by this FeatureTyping. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543180501615_13273_21101", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] + Guid TypedFeature { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IFeatureValue.cs b/SysML2.NET/Core/AutoGenDto/IFeatureValue.cs index 7f0522e8..bba6fa71 100644 --- a/SysML2.NET/Core/AutoGenDto/IFeatureValue.cs +++ b/SysML2.NET/Core/AutoGenDto/IFeatureValue.cs @@ -1,83 +1,83 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.FeatureValues -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Root.Namespaces; - using SysML2.NET.Core.DTO.Root.Namespaces; - using SysML2.NET.Decorators; - - /// - /// A FeatureValue is a Membership that identifies a particular member Expression that provides the - /// value of the Feature that owns the FeatureValue. The value is specified as either a bound value or - /// an initial value, and as either a concrete or default value. A Feature can have at most one - /// FeatureValue.The result of the value Expression is bound to the featureWithValue using a - /// BindingConnector. If isInitial = false, then the featuringType of the BindingConnector is the same - /// as the featuringType of the featureWithValue. If isInitial = true, then the featuringType of the - /// BindingConnector is restricted to its startShot.If isDefault = false, then the above semantics of - /// the FeatureValue are realized for the given featureWithValue. Otherwise, the semantics are realized - /// for any individual of the featuringType of the featureWithValue, unless another value is explicitly - /// given for the featureWithValue for that individual. - /// - [Class(xmiId: "_18_5_3_12e503d9_1543180279304_499907_20659", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IFeatureValue : IOwningMembership - { - /// - /// The Feature to be provided a value. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573079011690_119762_1724", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] - Guid FeatureWithValue { get; } - - /// - /// Whether this FeatureValue is a concrete specification of the bound or initial value of the - /// featureWithValue, or just a default value that may be overridden. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623940132054_842266_36467", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - bool IsDefault { get; set; } - - /// - /// Whether this FeatureValue specifies a bound value or an initial value for the featureWithValue. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623940148216_422105_36473", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - bool IsInitial { get; set; } - - /// - /// The Expression that provides the value as a result. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573081851611_231043_3236", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] - Guid Value { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.FeatureValues +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Root.Namespaces; + using SysML2.NET.Core.DTO.Root.Namespaces; + using SysML2.NET.Decorators; + + /// + /// A FeatureValue is a Membership that identifies a particular member Expression that provides the + /// value of the Feature that owns the FeatureValue. The value is specified as either a bound value or + /// an initial value, and as either a concrete or default value. A Feature can have at most one + /// FeatureValue.The result of the value Expression is bound to the featureWithValue using a + /// BindingConnector. If isInitial = false, then the featuringType of the BindingConnector is the same + /// as the featuringType of the featureWithValue. If isInitial = true, then the featuringType of the + /// BindingConnector is restricted to its startShot.If isDefault = false, then the above semantics of + /// the FeatureValue are realized for the given featureWithValue. Otherwise, the semantics are realized + /// for any individual of the featuringType of the featureWithValue, unless another value is explicitly + /// given for the featureWithValue for that individual. + /// + [Class(xmiId: "_18_5_3_12e503d9_1543180279304_499907_20659", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IFeatureValue : IOwningMembership + { + /// + /// The Feature to be provided a value. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573079011690_119762_1724", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] + Guid featureWithValue { get; } + + /// + /// Whether this FeatureValue is a concrete specification of the bound or initial value of the + /// featureWithValue, or just a default value that may be overridden. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623940132054_842266_36467", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + bool IsDefault { get; set; } + + /// + /// Whether this FeatureValue specifies a bound value or an initial value for the featureWithValue. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623940148216_422105_36473", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + bool IsInitial { get; set; } + + /// + /// The Expression that provides the value as a result. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573081851611_231043_3236", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] + Guid value { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IFlow.cs b/SysML2.NET/Core/AutoGenDto/IFlow.cs index 89c96ccd..eb6ba8ae 100644 --- a/SysML2.NET/Core/AutoGenDto/IFlow.cs +++ b/SysML2.NET/Core/AutoGenDto/IFlow.cs @@ -46,7 +46,7 @@ public partial interface IFlow : IConnector, IStep ///
[Property(xmiId: "_18_5_3_12e503d9_1563219311176_506548_20966", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 2, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1556735067666_827798_21922")] - List FlowEnd { get; } + List flowEnd { get; } /// /// The Interactions that type this Flow. Interactions are both Associations and Behaviors, which can @@ -55,34 +55,34 @@ public partial interface IFlow : IConnector, IStep [Property(xmiId: "_19_0_4_12e503d9_1661900477937_518125_727", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674983_471497_43284")] [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - List Interaction { get; } + List interaction { get; } /// /// The ownedFeature of the Flow that is a PayloadFeature (if any). /// [Property(xmiId: "_18_5_3_12e503d9_1563219424870_347345_21142", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - Guid? PayloadFeature { get; } + Guid? payloadFeature { get; } /// /// The type of values transferred, which is the type of the payloadFeature of the Flow. /// [Property(xmiId: "_18_5_3_b9102da_1536870569046_1672_18020", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - List PayloadType { get; } + List payloadType { get; } /// /// The Feature that provides the items carried by the Flow. It must be a feature of the source of the /// Flow. /// [Property(xmiId: "_18_5_3_b9102da_1536870707078_57525_18088", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - Guid? SourceOutputFeature { get; } + Guid? sourceOutputFeature { get; } /// /// The Feature that receives the values carried by the Flow. It must be a feature of the target of the /// Flow. /// [Property(xmiId: "_18_5_3_b9102da_1536870573474_966268_18041", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - Guid? TargetInputFeature { get; } + Guid? targetInputFeature { get; } } } diff --git a/SysML2.NET/Core/AutoGenDto/IFlowDefinition.cs b/SysML2.NET/Core/AutoGenDto/IFlowDefinition.cs index 60be023e..832b2fa7 100644 --- a/SysML2.NET/Core/AutoGenDto/IFlowDefinition.cs +++ b/SysML2.NET/Core/AutoGenDto/IFlowDefinition.cs @@ -45,7 +45,7 @@ public partial interface IFlowDefinition : IInteraction, IActionDefinition /// [Property(xmiId: "_2022x_2_12e503d9_1733008492358_136366_19515", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562477648742_24204_22901")] - List FlowEnd { get; } + List flowEnd { get; } } } diff --git a/SysML2.NET/Core/AutoGenDto/IFlowUsage.cs b/SysML2.NET/Core/AutoGenDto/IFlowUsage.cs index 112b1b46..c46c94d0 100644 --- a/SysML2.NET/Core/AutoGenDto/IFlowUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/IFlowUsage.cs @@ -50,7 +50,7 @@ public partial interface IFlowUsage : IConnectorAsUsage, IFlow, IActionUsage [Property(xmiId: "_19_0_4_12e503d9_1661892878973_977062_185", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1565500905804_589845_30779")] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1661900477937_518125_727")] - List FlowDefinition { get; } + List flowDefinition { get; } } } diff --git a/SysML2.NET/Core/AutoGenDto/IForLoopActionUsage.cs b/SysML2.NET/Core/AutoGenDto/IForLoopActionUsage.cs index 8c73bf65..7989589d 100644 --- a/SysML2.NET/Core/AutoGenDto/IForLoopActionUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/IForLoopActionUsage.cs @@ -1,65 +1,65 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Actions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Decorators; - - /// - /// A ForLoopActionUsage is a LoopActionUsage that specifies that its bodyAction ActionUsage should be - /// performed once for each value, in order, from the sequence of values obtained as the result of the - /// seqArgument Expression, with the loopVariable set to the value for each iteration. - /// - [Class(xmiId: "_19_0_4_12e503d9_1624306893649_489444_5711", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IForLoopActionUsage : ILoopActionUsage - { - /// - /// The ownedFeature of this ForLoopActionUsage that acts as the loop variable, which is assigned - /// the successive values of the input sequence on each iteration. It is the ownedFeature that redefines - /// ForLoopAction::var. - /// - [Property(xmiId: "_19_0_4_12e503d9_1640325378400_227367_3662", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - Guid LoopVariable { get; } - - /// - /// The Expression whose result provides the sequence of values to which the loopVariable is set for - /// each iterative performance of the bodyAction. It is the Expression whose result is bound to the seq - /// input parameter of this ForLoopActionUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624306920911_355291_5769", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - Guid SeqArgument { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Actions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Decorators; + + /// + /// A ForLoopActionUsage is a LoopActionUsage that specifies that its bodyAction ActionUsage should be + /// performed once for each value, in order, from the sequence of values obtained as the result of the + /// seqArgument Expression, with the loopVariable set to the value for each iteration. + /// + [Class(xmiId: "_19_0_4_12e503d9_1624306893649_489444_5711", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IForLoopActionUsage : ILoopActionUsage + { + /// + /// The ownedFeature of this ForLoopActionUsage that acts as the loop variable, which is assigned + /// the successive values of the input sequence on each iteration. It is the ownedFeature that redefines + /// ForLoopAction::var. + /// + [Property(xmiId: "_19_0_4_12e503d9_1640325378400_227367_3662", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + Guid loopVariable { get; } + + /// + /// The Expression whose result provides the sequence of values to which the loopVariable is set for + /// each iterative performance of the bodyAction. It is the Expression whose result is bound to the seq + /// input parameter of this ForLoopActionUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624306920911_355291_5769", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + Guid seqArgument { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IForkNode.cs b/SysML2.NET/Core/AutoGenDto/IForkNode.cs index 1ad6ab3a..55e8ae64 100644 --- a/SysML2.NET/Core/AutoGenDto/IForkNode.cs +++ b/SysML2.NET/Core/AutoGenDto/IForkNode.cs @@ -1,48 +1,48 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Actions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Decorators; - - /// - /// A ForkNode is a ControlNode that must be followed by successor Actions as given by all its outgoing - /// Successions. - /// - [Class(xmiId: "_18_5_3_12e503d9_1565503181274_818459_33629", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IForkNode : IControlNode - { - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Actions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Decorators; + + /// + /// A ForkNode is a ControlNode that must be followed by successor Actions as given by all its outgoing + /// Successions. + /// + [Class(xmiId: "_18_5_3_12e503d9_1565503181274_818459_33629", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IForkNode : IControlNode + { + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IFramedConcernMembership.cs b/SysML2.NET/Core/AutoGenDto/IFramedConcernMembership.cs index 23ddbb44..75b68861 100644 --- a/SysML2.NET/Core/AutoGenDto/IFramedConcernMembership.cs +++ b/SysML2.NET/Core/AutoGenDto/IFramedConcernMembership.cs @@ -1,71 +1,71 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Requirements -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Root.Namespaces; - using SysML2.NET.Core.Systems.Requirements; - using SysML2.NET.Decorators; - - /// - /// A FramedConcernMembership is a RequirementConstraintMembership for a framed ConcernUsage of a - /// RequirementDefinition or RequirementUsage. - /// - [Class(xmiId: "_19_0_4_12e503d9_1617120429499_126250_3667", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IFramedConcernMembership : IRequirementConstraintMembership - { - /// - /// The kind of an FramedConcernMembership must be requirement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617120451812_644221_3690", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "requirement")] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1584048161309_821854_390")] - new RequirementConstraintKind Kind { get; set; } - - /// - /// The ConcernUsage that is the ownedConstraint of this FramedConcernMembership. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617120590170_490370_3748", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1584048366950_985767_426")] - Guid OwnedConcern { get; } - - /// - /// The ConcernUsage that is referenced through this FramedConcernMembership. It is the - /// referencedConstraint of the FramedConcernMembership considered as a RequirementConstraintMembership, - /// which must be a ConcernUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617120658044_92083_3773", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1617118807597_77864_3544")] - Guid ReferencedConcern { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Requirements +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Root.Namespaces; + using SysML2.NET.Core.Systems.Requirements; + using SysML2.NET.Decorators; + + /// + /// A FramedConcernMembership is a RequirementConstraintMembership for a framed ConcernUsage of a + /// RequirementDefinition or RequirementUsage. + /// + [Class(xmiId: "_19_0_4_12e503d9_1617120429499_126250_3667", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IFramedConcernMembership : IRequirementConstraintMembership + { + /// + /// The kind of an FramedConcernMembership must be requirement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617120451812_644221_3690", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "requirement")] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1584048161309_821854_390")] + new RequirementConstraintKind Kind { get; set; } + + /// + /// The ConcernUsage that is the ownedConstraint of this FramedConcernMembership. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617120590170_490370_3748", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1584048366950_985767_426")] + Guid ownedConcern { get; } + + /// + /// The ConcernUsage that is referenced through this FramedConcernMembership. It is the + /// referencedConstraint of the FramedConcernMembership considered as a RequirementConstraintMembership, + /// which must be a ConcernUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617120658044_92083_3773", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1617118807597_77864_3544")] + Guid referencedConcern { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IFunction.cs b/SysML2.NET/Core/AutoGenDto/IFunction.cs index 46dd65bb..a98e20f7 100644 --- a/SysML2.NET/Core/AutoGenDto/IFunction.cs +++ b/SysML2.NET/Core/AutoGenDto/IFunction.cs @@ -1,73 +1,73 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Functions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Kernel.Behaviors; - using SysML2.NET.Decorators; - - /// - /// A Function is a Behavior that has an out parameter that is identified as its result. A Function - /// represents the performance of a calculation that produces the values of its result parameter. This - /// calculation may be decomposed into Expressions that are steps of the Function. - /// - [Class(xmiId: "_18_5_3_12e503d9_1533160651697_513473_42183", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IFunction : IBehavior - { - /// - /// The Expressions that are steps in the calculation of the result of this Function. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948400639_301251_20841", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] - List Expression { get; } - - /// - /// Whether this Function can be used as the function of a model-level evaluable InvocationExpression. - /// Certain Functions from the Kernel Functions Library are considered to have isModelLevelEvaluable = - /// true. For all other Functions it is false.Note: See the specification of the KerML - /// concrete syntax notation for Expressions for an identification of which library Functions are - /// model-level evaluable. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617395221463_139517_26381", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - bool IsModelLevelEvaluable { get; } - - /// - /// The object or value that is the result of evaluating the Function. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948912268_88159_21323", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] - Guid Result { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Functions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Kernel.Behaviors; + using SysML2.NET.Decorators; + + /// + /// A Function is a Behavior that has an out parameter that is identified as its result. A Function + /// represents the performance of a calculation that produces the values of its result parameter. This + /// calculation may be decomposed into Expressions that are steps of the Function. + /// + [Class(xmiId: "_18_5_3_12e503d9_1533160651697_513473_42183", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IFunction : IBehavior + { + /// + /// The Expressions that are steps in the calculation of the result of this Function. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948400639_301251_20841", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] + List expression { get; } + + /// + /// Whether this Function can be used as the function of a model-level evaluable InvocationExpression. + /// Certain Functions from the Kernel Functions Library are considered to have isModelLevelEvaluable = + /// true. For all other Functions it is false.Note: See the specification of the KerML + /// concrete syntax notation for Expressions for an identification of which library Functions are + /// model-level evaluable. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617395221463_139517_26381", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + bool isModelLevelEvaluable { get; } + + /// + /// The object or value that is the result of evaluating the Function. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948912268_88159_21323", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] + Guid result { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IIfActionUsage.cs b/SysML2.NET/Core/AutoGenDto/IIfActionUsage.cs index 4bfac690..3dfb6917 100644 --- a/SysML2.NET/Core/AutoGenDto/IIfActionUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/IIfActionUsage.cs @@ -1,70 +1,70 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Actions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Decorators; - - /// - /// An IfActionUsage is an ActionUsage that specifies that the thenAction ActionUsage should be - /// performed if the result of the ifArgument Expression is true. It may also optionally specify an - /// elseAction ActionUsage that is performed if the result of the ifArgument is false. - /// - [Class(xmiId: "_19_0_4_12e503d9_1624203546797_456808_3484", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IIfActionUsage : IActionUsage - { - /// - /// The ActionUsage that is to be performed if the result of the ifArgument is false. It is the - /// (optional) third parameter of the IfActionUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624203816178_273125_3723", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - Guid? ElseAction { get; } - - /// - /// The Expression whose result determines whether the thenAction or (optionally) the elseAction is - /// performed. It is the first parameter of the IfActionUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624203866872_328861_3821", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - Guid IfArgument { get; } - - /// - /// The ActionUsage that is to be performed if the result of the ifArgument is true. It is the second - /// parameter of the IfActionUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624203835062_413118_3748", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - Guid ThenAction { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Actions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Decorators; + + /// + /// An IfActionUsage is an ActionUsage that specifies that the thenAction ActionUsage should be + /// performed if the result of the ifArgument Expression is true. It may also optionally specify an + /// elseAction ActionUsage that is performed if the result of the ifArgument is false. + /// + [Class(xmiId: "_19_0_4_12e503d9_1624203546797_456808_3484", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IIfActionUsage : IActionUsage + { + /// + /// The ActionUsage that is to be performed if the result of the ifArgument is false. It is the + /// (optional) third parameter of the IfActionUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624203816178_273125_3723", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + Guid? elseAction { get; } + + /// + /// The Expression whose result determines whether the thenAction or (optionally) the elseAction is + /// performed. It is the first parameter of the IfActionUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624203866872_328861_3821", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + Guid ifArgument { get; } + + /// + /// The ActionUsage that is to be performed if the result of the ifArgument is true. It is the second + /// parameter of the IfActionUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624203835062_413118_3748", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + Guid thenAction { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IImport.cs b/SysML2.NET/Core/AutoGenDto/IImport.cs index 5441b7f7..052a2e9f 100644 --- a/SysML2.NET/Core/AutoGenDto/IImport.cs +++ b/SysML2.NET/Core/AutoGenDto/IImport.cs @@ -1,88 +1,88 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Root.Namespaces -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Root.Namespaces; - using SysML2.NET.Core.DTO.Root.Elements; - using SysML2.NET.Decorators; - - /// - /// An Import is an Relationship between its importOwningNamespace and either a Membership (for a - /// MembershipImport) or another Namespace (for a NamespaceImport), which determines a set of - /// Memberships that become importedMemberships of the importOwningNamespace. If isImportAll = false - /// (the default), then only public Memberships are considered "visible". If isImportAll = - /// true, then all Memberships are considered "visible", regardless of their declared - /// visibility. If isRecursive = true, then visible Memberships are also recursively imported from owned - /// sub-Namespaces. - /// - [Class(xmiId: "_18_5_3_12e503d9_1533160651693_673132_42174", isAbstract: true, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IImport : IRelationship - { - /// - /// The effectively imported Element for this Import. For a MembershipImport, this is the memberElement - /// of the importedMembership. For a NamespaceImport, it is the importedNamespace. - /// - [Property(xmiId: "_19_0_4_12e503d9_1668801846848_909736_64", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - Guid ImportedElement { get; } - - /// - /// The Namespace into which Memberships are imported by this Import, which must be the - /// owningRelatedElement of the Import. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_548878_43248", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - Guid ImportOwningNamespace { get; } - - /// - /// Whether to import memberships without regard to declared visibility. - /// - [Property(xmiId: "_19_0_4_12e503d9_1622577942205_869984_64", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - bool IsImportAll { get; set; } - - /// - /// Whether to recursively import Memberships from visible, owned sub-Namespaces. - /// - [Property(xmiId: "_19_0_4_12e503d9_1605759116711_596237_5033", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - bool IsRecursive { get; set; } - - /// - /// The visibility level of the imported members from this Import relative to the importOwningNamespace. - /// The default is private. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674976_798509_43257", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "private")] - VisibilityKind Visibility { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Root.Namespaces +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Root.Namespaces; + using SysML2.NET.Core.DTO.Root.Elements; + using SysML2.NET.Decorators; + + /// + /// An Import is an Relationship between its importOwningNamespace and either a Membership (for a + /// MembershipImport) or another Namespace (for a NamespaceImport), which determines a set of + /// Memberships that become importedMemberships of the importOwningNamespace. If isImportAll = false + /// (the default), then only public Memberships are considered "visible". If isImportAll = + /// true, then all Memberships are considered "visible", regardless of their declared + /// visibility. If isRecursive = true, then visible Memberships are also recursively imported from owned + /// sub-Namespaces. + /// + [Class(xmiId: "_18_5_3_12e503d9_1533160651693_673132_42174", isAbstract: true, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IImport : IRelationship + { + /// + /// The effectively imported Element for this Import. For a MembershipImport, this is the memberElement + /// of the importedMembership. For a NamespaceImport, it is the importedNamespace. + /// + [Property(xmiId: "_19_0_4_12e503d9_1668801846848_909736_64", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + Guid importedElement { get; } + + /// + /// The Namespace into which Memberships are imported by this Import, which must be the + /// owningRelatedElement of the Import. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_548878_43248", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + Guid importOwningNamespace { get; } + + /// + /// Whether to import memberships without regard to declared visibility. + /// + [Property(xmiId: "_19_0_4_12e503d9_1622577942205_869984_64", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + bool IsImportAll { get; set; } + + /// + /// Whether to recursively import Memberships from visible, owned sub-Namespaces. + /// + [Property(xmiId: "_19_0_4_12e503d9_1605759116711_596237_5033", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + bool IsRecursive { get; set; } + + /// + /// The visibility level of the imported members from this Import relative to the importOwningNamespace. + /// The default is private. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674976_798509_43257", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "private")] + VisibilityKind Visibility { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IIncludeUseCaseUsage.cs b/SysML2.NET/Core/AutoGenDto/IIncludeUseCaseUsage.cs index 9d5bada9..15c1db24 100644 --- a/SysML2.NET/Core/AutoGenDto/IIncludeUseCaseUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/IIncludeUseCaseUsage.cs @@ -1,59 +1,59 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.UseCases -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Core.DTO.Systems.Actions; - using SysML2.NET.Decorators; - - /// - /// An IncludeUseCaseUsage is a UseCaseUsage that represents the inclusion of a UseCaseUsage by a - /// UseCaseDefinition or UseCaseUsage. Unless it is the IncludeUseCaseUsage itself, the UseCaseUsage to - /// be included is related to the includedUseCase by a ReferenceSubsetting Relationship. An - /// IncludeUseCaseUsage is also a PerformActionUsage, with its useCaseIncluded as the performedAction. - /// - [Class(xmiId: "_19_0_4_12e503d9_1621532125543_31659_1117", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IIncludeUseCaseUsage : IUseCaseUsage, IPerformActionUsage - { - /// - /// The UseCaseUsage to be included by this IncludeUseCaseUsage. It is the performedAction of the - /// IncludeUseCaseUsage considered as a PerformActionUsage, which must be a UseCaseUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621532149711_865323_1172", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1567740791820_867719_18017")] - Guid UseCaseIncluded { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.UseCases +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Core.DTO.Systems.Actions; + using SysML2.NET.Decorators; + + /// + /// An IncludeUseCaseUsage is a UseCaseUsage that represents the inclusion of a UseCaseUsage by a + /// UseCaseDefinition or UseCaseUsage. Unless it is the IncludeUseCaseUsage itself, the UseCaseUsage to + /// be included is related to the includedUseCase by a ReferenceSubsetting Relationship. An + /// IncludeUseCaseUsage is also a PerformActionUsage, with its useCaseIncluded as the performedAction. + /// + [Class(xmiId: "_19_0_4_12e503d9_1621532125543_31659_1117", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IIncludeUseCaseUsage : IUseCaseUsage, IPerformActionUsage + { + /// + /// The UseCaseUsage to be included by this IncludeUseCaseUsage. It is the performedAction of the + /// IncludeUseCaseUsage considered as a PerformActionUsage, which must be a UseCaseUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621532149711_865323_1172", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1567740791820_867719_18017")] + Guid useCaseIncluded { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IInstantiationExpression.cs b/SysML2.NET/Core/AutoGenDto/IInstantiationExpression.cs index 97c0299b..98e4f915 100644 --- a/SysML2.NET/Core/AutoGenDto/IInstantiationExpression.cs +++ b/SysML2.NET/Core/AutoGenDto/IInstantiationExpression.cs @@ -48,14 +48,14 @@ public partial interface IInstantiationExpression : IExpression /// InstantiationExpression. ///
[Property(xmiId: "_2022x_2_12e503d9_1739134437590_328753_108", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - List Argument { get; } + List argument { get; } /// /// The Type that is being instantiated. /// [Property(xmiId: "_2022x_2_12e503d9_1739134352572_416088_80", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - Guid InstantiatedType { get; } + Guid instantiatedType { get; } } } diff --git a/SysML2.NET/Core/AutoGenDto/IInteraction.cs b/SysML2.NET/Core/AutoGenDto/IInteraction.cs index fba757f4..0f7a3f61 100644 --- a/SysML2.NET/Core/AutoGenDto/IInteraction.cs +++ b/SysML2.NET/Core/AutoGenDto/IInteraction.cs @@ -1,48 +1,48 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Interactions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Kernel.Associations; - using SysML2.NET.Core.DTO.Kernel.Behaviors; - using SysML2.NET.Decorators; - - /// - /// An Interaction is a Behavior that is also an Association, providing a context for multiple objects - /// that have behaviors that impact one another. - /// - [Class(xmiId: "_18_5_3_b9102da_1536782424772_574530_21292", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IInteraction : IAssociation, IBehavior - { - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Interactions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Kernel.Associations; + using SysML2.NET.Core.DTO.Kernel.Behaviors; + using SysML2.NET.Decorators; + + /// + /// An Interaction is a Behavior that is also an Association, providing a context for multiple objects + /// that have behaviors that impact one another. + /// + [Class(xmiId: "_18_5_3_b9102da_1536782424772_574530_21292", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IInteraction : IAssociation, IBehavior + { + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IInterfaceDefinition.cs b/SysML2.NET/Core/AutoGenDto/IInterfaceDefinition.cs index aa03317e..0d366371 100644 --- a/SysML2.NET/Core/AutoGenDto/IInterfaceDefinition.cs +++ b/SysML2.NET/Core/AutoGenDto/IInterfaceDefinition.cs @@ -1,54 +1,54 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Interfaces -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Systems.Connections; - using SysML2.NET.Decorators; - - /// - /// An InterfaceDefinition is a ConnectionDefinition all of whose ends are PortUsages, defining an - /// interface between elements that interact through such ports. - /// - [Class(xmiId: "_18_5_3_12e503d9_1565496029896_966800_26573", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IInterfaceDefinition : IConnectionDefinition - { - /// - /// The PortUsages that are the connectionEnds of this InterfaceDefinition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565496234915_779221_26664", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591476421094_685440_682")] - List InterfaceEnd { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Interfaces +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Systems.Connections; + using SysML2.NET.Decorators; + + /// + /// An InterfaceDefinition is a ConnectionDefinition all of whose ends are PortUsages, defining an + /// interface between elements that interact through such ports. + /// + [Class(xmiId: "_18_5_3_12e503d9_1565496029896_966800_26573", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IInterfaceDefinition : IConnectionDefinition + { + /// + /// The PortUsages that are the connectionEnds of this InterfaceDefinition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565496234915_779221_26664", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591476421094_685440_682")] + List interfaceEnd { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IInterfaceUsage.cs b/SysML2.NET/Core/AutoGenDto/IInterfaceUsage.cs index 97db5b0c..1f089b3c 100644 --- a/SysML2.NET/Core/AutoGenDto/IInterfaceUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/IInterfaceUsage.cs @@ -1,56 +1,56 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Interfaces -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Core.DTO.Systems.Connections; - using SysML2.NET.Decorators; - - /// - /// An InterfaceUsage is a Usage of an InterfaceDefinition to represent an interface connecting parts of - /// a system through specific ports. - /// - [Class(xmiId: "_18_5_3_12e503d9_1565498940266_617738_28508", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IInterfaceUsage : IConnectionUsage - { - /// - /// The InterfaceDefinitions that type this InterfaceUsage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565499418349_431355_28798", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1594853499656_139435_802")] - List InterfaceDefinition { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Interfaces +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Core.DTO.Systems.Connections; + using SysML2.NET.Decorators; + + /// + /// An InterfaceUsage is a Usage of an InterfaceDefinition to represent an interface connecting parts of + /// a system through specific ports. + /// + [Class(xmiId: "_18_5_3_12e503d9_1565498940266_617738_28508", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IInterfaceUsage : IConnectionUsage + { + /// + /// The InterfaceDefinitions that type this InterfaceUsage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565499418349_431355_28798", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1594853499656_139435_802")] + List interfaceDefinition { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IIntersecting.cs b/SysML2.NET/Core/AutoGenDto/IIntersecting.cs index e232c95f..51a756cd 100644 --- a/SysML2.NET/Core/AutoGenDto/IIntersecting.cs +++ b/SysML2.NET/Core/AutoGenDto/IIntersecting.cs @@ -1,64 +1,64 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Core.Types -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Root.Elements; - using SysML2.NET.Decorators; - - /// - /// Intersecting is a Relationship that makes its intersectingType one of the intersectingTypes of its - /// typeIntersected. - /// - [Class(xmiId: "_19_0_4_b9102da_1623187351831_706169_90", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IIntersecting : IRelationship - { - /// - /// Type that partly determines interpretations of typeIntersected, as described in - /// Type::intersectingType. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242559520_591868_537", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - Guid IntersectingType { get; set; } - - /// - /// Type with interpretations partly determined by intersectingType, as described in - /// Type::intersectingType. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552145_149730_525", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - Guid TypeIntersected { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Core.Types +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Root.Elements; + using SysML2.NET.Decorators; + + /// + /// Intersecting is a Relationship that makes its intersectingType one of the intersectingTypes of its + /// typeIntersected. + /// + [Class(xmiId: "_19_0_4_b9102da_1623187351831_706169_90", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IIntersecting : IRelationship + { + /// + /// Type that partly determines interpretations of typeIntersected, as described in + /// Type::intersectingType. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242559520_591868_537", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + Guid IntersectingType { get; set; } + + /// + /// Type with interpretations partly determined by intersectingType, as described in + /// Type::intersectingType. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552145_149730_525", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + Guid typeIntersected { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IInvariant.cs b/SysML2.NET/Core/AutoGenDto/IInvariant.cs index 1d26e9ca..9a36ea75 100644 --- a/SysML2.NET/Core/AutoGenDto/IInvariant.cs +++ b/SysML2.NET/Core/AutoGenDto/IInvariant.cs @@ -1,54 +1,54 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Functions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Decorators; - - /// - /// An Invariant is a BooleanExpression that is asserted to have a specific Boolean result value. If - /// isNegated = false, then the result is asserted to be true. If isNegated = true, then the result is - /// asserted to be false. - /// - [Class(xmiId: "_19_0_2_12e503d9_1578025014367_499614_936", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IInvariant : IBooleanExpression - { - /// - /// Whether this Invariant is asserted to be false rather than true. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623945815201_648891_36531", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - bool IsNegated { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Functions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Decorators; + + /// + /// An Invariant is a BooleanExpression that is asserted to have a specific Boolean result value. If + /// isNegated = false, then the result is asserted to be true. If isNegated = true, then the result is + /// asserted to be false. + /// + [Class(xmiId: "_19_0_2_12e503d9_1578025014367_499614_936", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IInvariant : IBooleanExpression + { + /// + /// Whether this Invariant is asserted to be false rather than true. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623945815201_648891_36531", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + bool IsNegated { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IInvocationExpression.cs b/SysML2.NET/Core/AutoGenDto/IInvocationExpression.cs index a7906a34..3cddc755 100644 --- a/SysML2.NET/Core/AutoGenDto/IInvocationExpression.cs +++ b/SysML2.NET/Core/AutoGenDto/IInvocationExpression.cs @@ -1,51 +1,51 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Expressions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Decorators; - - /// - /// An InvocationExpression is an InstantiationExpression whose instantiatedType must be a Behavior or a - /// Feature typed by a single Behavior (such as a Step). Each of the input parameters of the - /// instantiatedType are bound to the result of an argument Expression. If the instantiatedType is a - /// Function or a Feature typed by a Function, then the result of the InvocationExpression is the result - /// of the invoked Function. Otherwise, the result is an instance of the instantiatedType (essentially - /// like a behavioral ConstructorExpression). - /// - [Class(xmiId: "_18_5_3_12e503d9_1557528671608_638869_111563", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IInvocationExpression : IInstantiationExpression - { - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Expressions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Decorators; + + /// + /// An InvocationExpression is an InstantiationExpression whose instantiatedType must be a Behavior or a + /// Feature typed by a single Behavior (such as a Step). Each of the input parameters of the + /// instantiatedType are bound to the result of an argument Expression. If the instantiatedType is a + /// Function or a Feature typed by a Function, then the result of the InvocationExpression is the result + /// of the invoked Function. Otherwise, the result is an instance of the instantiatedType (essentially + /// like a behavioral ConstructorExpression). + /// + [Class(xmiId: "_18_5_3_12e503d9_1557528671608_638869_111563", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IInvocationExpression : IInstantiationExpression + { + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IItemDefinition.cs b/SysML2.NET/Core/AutoGenDto/IItemDefinition.cs index 000bef7a..be0684ba 100644 --- a/SysML2.NET/Core/AutoGenDto/IItemDefinition.cs +++ b/SysML2.NET/Core/AutoGenDto/IItemDefinition.cs @@ -1,50 +1,50 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Items -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Kernel.Structures; - using SysML2.NET.Core.DTO.Systems.Occurrences; - using SysML2.NET.Decorators; - - /// - /// An ItemDefinition is an OccurrenceDefinition of the Structure of things that may themselves be - /// systems or parts of systems, but may also be things that are acted on by a system or parts of a - /// system, but which do not necessarily perform actions themselves. This includes items that can be - /// exchanged between parts of a system, such as water or electrical signals. - /// - [Class(xmiId: "_19_0_2_12e503d9_1591216581238_805702_84", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IItemDefinition : IStructure, IOccurrenceDefinition - { - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Items +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Kernel.Structures; + using SysML2.NET.Core.DTO.Systems.Occurrences; + using SysML2.NET.Decorators; + + /// + /// An ItemDefinition is an OccurrenceDefinition of the Structure of things that may themselves be + /// systems or parts of systems, but may also be things that are acted on by a system or parts of a + /// system, but which do not necessarily perform actions themselves. This includes items that can be + /// exchanged between parts of a system, such as water or electrical signals. + /// + [Class(xmiId: "_19_0_2_12e503d9_1591216581238_805702_84", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IItemDefinition : IStructure, IOccurrenceDefinition + { + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IItemUsage.cs b/SysML2.NET/Core/AutoGenDto/IItemUsage.cs index 1a1644a5..3932fc3c 100644 --- a/SysML2.NET/Core/AutoGenDto/IItemUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/IItemUsage.cs @@ -1,60 +1,60 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Items -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Core.DTO.Systems.Occurrences; - using SysML2.NET.Decorators; - - /// - /// An ItemUsage is a ItemUsage whose definition is a Structure. Nominally, if the definition is an - /// ItemDefinition, an ItemUsage is a ItemUsage of that ItemDefinition within a system. However, other - /// kinds of Kernel Structures are also allowed, to permit use of Structures from the Kernel Model - /// Libraries. - /// - [Class(xmiId: "_18_5_3_12e503d9_1565480460114_846184_24270", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IItemUsage : IOccurrenceUsage - { - /// - /// The Structures that are the definitions of this ItemUsage. Nominally, these are ItemDefinitions, but - /// other kinds of Kernel Structures are also allowed, to permit use of Structures from the Kernel - /// Library. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565471361757_649736_20796", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - List ItemDefinition { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Items +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Core.DTO.Systems.Occurrences; + using SysML2.NET.Decorators; + + /// + /// An ItemUsage is a ItemUsage whose definition is a Structure. Nominally, if the definition is an + /// ItemDefinition, an ItemUsage is a ItemUsage of that ItemDefinition within a system. However, other + /// kinds of Kernel Structures are also allowed, to permit use of Structures from the Kernel Model + /// Libraries. + /// + [Class(xmiId: "_18_5_3_12e503d9_1565480460114_846184_24270", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IItemUsage : IOccurrenceUsage + { + /// + /// The Structures that are the definitions of this ItemUsage. Nominally, these are ItemDefinitions, but + /// other kinds of Kernel Structures are also allowed, to permit use of Structures from the Kernel + /// Library. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565471361757_649736_20796", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + List itemDefinition { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IJoinNode.cs b/SysML2.NET/Core/AutoGenDto/IJoinNode.cs index 90474de9..774a01e3 100644 --- a/SysML2.NET/Core/AutoGenDto/IJoinNode.cs +++ b/SysML2.NET/Core/AutoGenDto/IJoinNode.cs @@ -1,48 +1,48 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Actions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Decorators; - - /// - /// A JoinNode is a ControlNode that waits for the completion of all the predecessor Actions given by - /// incoming Successions. - /// - [Class(xmiId: "_18_5_3_12e503d9_1565503134270_392089_33594", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IJoinNode : IControlNode - { - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Actions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Decorators; + + /// + /// A JoinNode is a ControlNode that waits for the completion of all the predecessor Actions given by + /// incoming Successions. + /// + [Class(xmiId: "_18_5_3_12e503d9_1565503134270_392089_33594", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IJoinNode : IControlNode + { + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ILibraryPackage.cs b/SysML2.NET/Core/AutoGenDto/ILibraryPackage.cs index f65c18ad..5872151f 100644 --- a/SysML2.NET/Core/AutoGenDto/ILibraryPackage.cs +++ b/SysML2.NET/Core/AutoGenDto/ILibraryPackage.cs @@ -1,54 +1,54 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Packages -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Decorators; - - /// - /// A LibraryPackage is a Package that is the container for a model library. A LibraryPackage is itself - /// a library Element as are all Elements that are directly or indirectly contained in it. - /// - [Class(xmiId: "_19_0_4_12e503d9_1665457931502_349175_779", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface ILibraryPackage : IPackage - { - /// - /// Whether this LibraryPackage contains a standard library model. This should only be set to true for - /// LibraryPackages in the standard Kernel Model Libraries or in normative model libraries for a - /// language built on KerML. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665459011301_65344_899", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - bool IsStandard { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Packages +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Decorators; + + /// + /// A LibraryPackage is a Package that is the container for a model library. A LibraryPackage is itself + /// a library Element as are all Elements that are directly or indirectly contained in it. + /// + [Class(xmiId: "_19_0_4_12e503d9_1665457931502_349175_779", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface ILibraryPackage : IPackage + { + /// + /// Whether this LibraryPackage contains a standard library model. This should only be set to true for + /// LibraryPackages in the standard Kernel Model Libraries or in normative model libraries for a + /// language built on KerML. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665459011301_65344_899", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + bool IsStandard { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ILiteralBoolean.cs b/SysML2.NET/Core/AutoGenDto/ILiteralBoolean.cs index ef00ae07..3ecccf16 100644 --- a/SysML2.NET/Core/AutoGenDto/ILiteralBoolean.cs +++ b/SysML2.NET/Core/AutoGenDto/ILiteralBoolean.cs @@ -1,53 +1,53 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Expressions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Decorators; - - /// - /// LiteralBoolean is a LiteralExpression that provides a Boolean value as a result. Its result - /// parameter must have type Boolean. - /// - [Class(xmiId: "_18_5_3_12e503d9_1533160651699_96836_42187", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface ILiteralBoolean : ILiteralExpression - { - /// - /// The Boolean value that is the result of evaluating this LiteralBoolean. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674984_421338_43289", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - bool Value { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Expressions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Decorators; + + /// + /// LiteralBoolean is a LiteralExpression that provides a Boolean value as a result. Its result + /// parameter must have type Boolean. + /// + [Class(xmiId: "_18_5_3_12e503d9_1533160651699_96836_42187", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface ILiteralBoolean : ILiteralExpression + { + /// + /// The Boolean value that is the result of evaluating this LiteralBoolean. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674984_421338_43289", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + bool Value { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ILiteralExpression.cs b/SysML2.NET/Core/AutoGenDto/ILiteralExpression.cs index a536201d..f5a967e4 100644 --- a/SysML2.NET/Core/AutoGenDto/ILiteralExpression.cs +++ b/SysML2.NET/Core/AutoGenDto/ILiteralExpression.cs @@ -1,47 +1,47 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Expressions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.DTO.Kernel.Functions; - using SysML2.NET.Decorators; - - /// - /// A LiteralExpression is an Expression that provides a basic DataValue as a result. - /// - [Class(xmiId: "_18_5_3_12e503d9_1533160651688_624289_42165", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface ILiteralExpression : IExpression - { - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Expressions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.DTO.Kernel.Functions; + using SysML2.NET.Decorators; + + /// + /// A LiteralExpression is an Expression that provides a basic DataValue as a result. + /// + [Class(xmiId: "_18_5_3_12e503d9_1533160651688_624289_42165", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface ILiteralExpression : IExpression + { + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ILiteralInfinity.cs b/SysML2.NET/Core/AutoGenDto/ILiteralInfinity.cs index aa087020..6a14f631 100644 --- a/SysML2.NET/Core/AutoGenDto/ILiteralInfinity.cs +++ b/SysML2.NET/Core/AutoGenDto/ILiteralInfinity.cs @@ -1,47 +1,47 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Expressions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Decorators; - - /// - /// A LiteralInfinity is a LiteralExpression that provides the positive infinity value (*). It's result - /// must have the type Positive. - /// - [Class(xmiId: "_18_5_3_12e503d9_1533160651697_757989_42184", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface ILiteralInfinity : ILiteralExpression - { - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Expressions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Decorators; + + /// + /// A LiteralInfinity is a LiteralExpression that provides the positive infinity value (*). It's result + /// must have the type Positive. + /// + [Class(xmiId: "_18_5_3_12e503d9_1533160651697_757989_42184", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface ILiteralInfinity : ILiteralExpression + { + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ILiteralInteger.cs b/SysML2.NET/Core/AutoGenDto/ILiteralInteger.cs index dd5fdbe9..509e7d09 100644 --- a/SysML2.NET/Core/AutoGenDto/ILiteralInteger.cs +++ b/SysML2.NET/Core/AutoGenDto/ILiteralInteger.cs @@ -1,53 +1,53 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Expressions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Decorators; - - /// - /// A LiteralInteger is a LiteralExpression that provides an Integer value as a result. Its result - /// parameter must have the type Integer. - /// - [Class(xmiId: "_18_5_3_12e503d9_1533160651681_567347_42153", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface ILiteralInteger : ILiteralExpression - { - /// - /// The Integer value that is the result of evaluating this LiteralInteger. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_358889_43199", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - int Value { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Expressions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Decorators; + + /// + /// A LiteralInteger is a LiteralExpression that provides an Integer value as a result. Its result + /// parameter must have the type Integer. + /// + [Class(xmiId: "_18_5_3_12e503d9_1533160651681_567347_42153", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface ILiteralInteger : ILiteralExpression + { + /// + /// The Integer value that is the result of evaluating this LiteralInteger. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_358889_43199", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + int Value { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ILiteralRational.cs b/SysML2.NET/Core/AutoGenDto/ILiteralRational.cs index 7d6142a2..6264c8fe 100644 --- a/SysML2.NET/Core/AutoGenDto/ILiteralRational.cs +++ b/SysML2.NET/Core/AutoGenDto/ILiteralRational.cs @@ -1,53 +1,53 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Expressions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Decorators; - - /// - /// A LiteralRational is a LiteralExpression that provides a Rational value as a result. Its result - /// parameter must have the type Rational. - /// - [Class(xmiId: "_18_5_3_12e503d9_1533160651706_235283_42203", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface ILiteralRational : ILiteralExpression - { - /// - /// The value whose rational approximation is the result of evaluating this LiteralRational. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_967605_43310", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - double Value { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Expressions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Decorators; + + /// + /// A LiteralRational is a LiteralExpression that provides a Rational value as a result. Its result + /// parameter must have the type Rational. + /// + [Class(xmiId: "_18_5_3_12e503d9_1533160651706_235283_42203", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface ILiteralRational : ILiteralExpression + { + /// + /// The value whose rational approximation is the result of evaluating this LiteralRational. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_967605_43310", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + double Value { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ILiteralString.cs b/SysML2.NET/Core/AutoGenDto/ILiteralString.cs index dbb4133a..8f50cfc7 100644 --- a/SysML2.NET/Core/AutoGenDto/ILiteralString.cs +++ b/SysML2.NET/Core/AutoGenDto/ILiteralString.cs @@ -1,53 +1,53 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Expressions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Decorators; - - /// - /// A LiteralString is a LiteralExpression that provides a String value as a result. Its result - /// parameter must have the type String. - /// - [Class(xmiId: "_18_5_3_12e503d9_1533160651701_975433_42193", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface ILiteralString : ILiteralExpression - { - /// - /// The String value that is the result of evaluating this Expression. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674985_368212_43297", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - string Value { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Expressions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Decorators; + + /// + /// A LiteralString is a LiteralExpression that provides a String value as a result. Its result + /// parameter must have the type String. + /// + [Class(xmiId: "_18_5_3_12e503d9_1533160651701_975433_42193", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface ILiteralString : ILiteralExpression + { + /// + /// The String value that is the result of evaluating this Expression. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674985_368212_43297", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + string Value { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ILoopActionUsage.cs b/SysML2.NET/Core/AutoGenDto/ILoopActionUsage.cs index aae5b885..af5586da 100644 --- a/SysML2.NET/Core/AutoGenDto/ILoopActionUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/ILoopActionUsage.cs @@ -1,56 +1,56 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Actions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Decorators; - - /// - /// A LoopActionUsage is an ActionUsage that specifies that its bodyAction should be performed - /// repeatedly. Its subclasses WhileLoopActionUsage and ForLoopActionUsage provide different ways to - /// determine how many times the bodyAction should be performed. - /// - [Class(xmiId: "_19_0_4_12e503d9_1624203585458_610400_3524", isAbstract: true, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface ILoopActionUsage : IActionUsage - { - /// - /// The ActionUsage to be performed repeatedly by the LoopActionUsage. It is the second parameter of the - /// LoopActionUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624203902575_509097_3869", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - Guid BodyAction { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Actions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Decorators; + + /// + /// A LoopActionUsage is an ActionUsage that specifies that its bodyAction should be performed + /// repeatedly. Its subclasses WhileLoopActionUsage and ForLoopActionUsage provide different ways to + /// determine how many times the bodyAction should be performed. + /// + [Class(xmiId: "_19_0_4_12e503d9_1624203585458_610400_3524", isAbstract: true, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface ILoopActionUsage : IActionUsage + { + /// + /// The ActionUsage to be performed repeatedly by the LoopActionUsage. It is the second parameter of the + /// LoopActionUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624203902575_509097_3869", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + Guid bodyAction { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IMembership.cs b/SysML2.NET/Core/AutoGenDto/IMembership.cs index 76d14947..cd31dbfc 100644 --- a/SysML2.NET/Core/AutoGenDto/IMembership.cs +++ b/SysML2.NET/Core/AutoGenDto/IMembership.cs @@ -1,94 +1,94 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Root.Namespaces -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Root.Namespaces; - using SysML2.NET.Core.DTO.Root.Elements; - using SysML2.NET.Decorators; - - /// - /// A Membership is a Relationship between a Namespace and an Element that indicates the Element is a - /// member of (i.e., is contained in) the Namespace. Any memberNames specify how the memberElement is - /// identified in the Namespace and the visibility specifies whether or not the memberElement is - /// publicly visible from outside the Namespace.If a Membership is an OwningMembership, then it owns its - /// memberElement, which becomes an ownedMember of the membershipOwningNamespace. Otherwise, the - /// memberNames of a Membership are effectively aliases within the membershipOwningNamespace for an - /// Element with a separate OwningMembership in the same or a different Namespace. - /// - [Class(xmiId: "_18_5_3_12e503d9_1533160651680_888716_42152", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IMembership : IRelationship - { - /// - /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_819490_43195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - Guid MemberElement { get; set; } - - /// - /// The elementId of the memberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - string MemberElementId { get; } - - /// - /// The name of the memberElement relative to the membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - string MemberName { get; set; } - - /// - /// The Namespace of which the memberElement becomes a member due to this Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_193857_43197", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_531296_43182")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - Guid MembershipOwningNamespace { get; } - - /// - /// The short name of the memberElement relative to the membershipOwningNamespace. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - string MemberShortName { get; set; } - - /// - /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly - /// visible outside that Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_42975_43193", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "public")] - VisibilityKind Visibility { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Root.Namespaces +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Root.Namespaces; + using SysML2.NET.Core.DTO.Root.Elements; + using SysML2.NET.Decorators; + + /// + /// A Membership is a Relationship between a Namespace and an Element that indicates the Element is a + /// member of (i.e., is contained in) the Namespace. Any memberNames specify how the memberElement is + /// identified in the Namespace and the visibility specifies whether or not the memberElement is + /// publicly visible from outside the Namespace.If a Membership is an OwningMembership, then it owns its + /// memberElement, which becomes an ownedMember of the membershipOwningNamespace. Otherwise, the + /// memberNames of a Membership are effectively aliases within the membershipOwningNamespace for an + /// Element with a separate OwningMembership in the same or a different Namespace. + /// + [Class(xmiId: "_18_5_3_12e503d9_1533160651680_888716_42152", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IMembership : IRelationship + { + /// + /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_819490_43195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + Guid MemberElement { get; set; } + + /// + /// The elementId of the memberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + string memberElementId { get; } + + /// + /// The name of the memberElement relative to the membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + string MemberName { get; set; } + + /// + /// The Namespace of which the memberElement becomes a member due to this Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_193857_43197", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_531296_43182")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + Guid membershipOwningNamespace { get; } + + /// + /// The short name of the memberElement relative to the membershipOwningNamespace. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + string MemberShortName { get; set; } + + /// + /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly + /// visible outside that Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_42975_43193", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "public")] + VisibilityKind Visibility { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IMembershipExpose.cs b/SysML2.NET/Core/AutoGenDto/IMembershipExpose.cs index d94f5cfc..bc547e08 100644 --- a/SysML2.NET/Core/AutoGenDto/IMembershipExpose.cs +++ b/SysML2.NET/Core/AutoGenDto/IMembershipExpose.cs @@ -1,48 +1,48 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Views -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Root.Namespaces; - using SysML2.NET.Core.DTO.Root.Namespaces; - using SysML2.NET.Decorators; - - /// - /// A MembershipExpose is an Expose <> that exposes a specific importedMembership and, if isRecursive = - /// true, additional Memberships recursively. - /// - [Class(xmiId: "_19_0_4_12e503d9_1668805350620_499865_159", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IMembershipExpose : IMembershipImport, IExpose - { - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Views +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Root.Namespaces; + using SysML2.NET.Core.DTO.Root.Namespaces; + using SysML2.NET.Decorators; + + /// + /// A MembershipExpose is an Expose <> that exposes a specific importedMembership and, if isRecursive = + /// true, additional Memberships recursively. + /// + [Class(xmiId: "_19_0_4_12e503d9_1668805350620_499865_159", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IMembershipExpose : IMembershipImport, IExpose + { + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IMembershipImport.cs b/SysML2.NET/Core/AutoGenDto/IMembershipImport.cs index 6f4e5687..3635a83a 100644 --- a/SysML2.NET/Core/AutoGenDto/IMembershipImport.cs +++ b/SysML2.NET/Core/AutoGenDto/IMembershipImport.cs @@ -1,55 +1,55 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Root.Namespaces -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Root.Namespaces; - using SysML2.NET.Decorators; - - /// - /// A MembershipImport is an Import that imports its importedMembership into the importOwningNamespace. - /// If isRecursive = true and the memberElement of the importedMembership is a Namespace, then the - /// equivalent of a recursive NamespaceImport is also performed on that Namespace. - /// - [Class(xmiId: "_19_0_4_12e503d9_1668208086726_425885_108", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IMembershipImport : IImport - { - /// - /// The Membership to be imported. - /// - [Property(xmiId: "_19_0_4_12e503d9_1668466089734_604404_605", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - Guid ImportedMembership { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Root.Namespaces +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Root.Namespaces; + using SysML2.NET.Decorators; + + /// + /// A MembershipImport is an Import that imports its importedMembership into the importOwningNamespace. + /// If isRecursive = true and the memberElement of the importedMembership is a Namespace, then the + /// equivalent of a recursive NamespaceImport is also performed on that Namespace. + /// + [Class(xmiId: "_19_0_4_12e503d9_1668208086726_425885_108", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IMembershipImport : IImport + { + /// + /// The Membership to be imported. + /// + [Property(xmiId: "_19_0_4_12e503d9_1668466089734_604404_605", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + Guid ImportedMembership { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IMergeNode.cs b/SysML2.NET/Core/AutoGenDto/IMergeNode.cs index 78d16bee..efaab22a 100644 --- a/SysML2.NET/Core/AutoGenDto/IMergeNode.cs +++ b/SysML2.NET/Core/AutoGenDto/IMergeNode.cs @@ -1,48 +1,48 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Actions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Decorators; - - /// - /// A MergeNode is a ControlNode that asserts the merging of its incoming Successions. A MergeNode may - /// have at most one outgoing Successions. - /// - [Class(xmiId: "_18_5_3_12e503d9_1565503106899_225416_33510", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IMergeNode : IControlNode - { - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Actions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Decorators; + + /// + /// A MergeNode is a ControlNode that asserts the merging of its incoming Successions. A MergeNode may + /// have at most one outgoing Successions. + /// + [Class(xmiId: "_18_5_3_12e503d9_1565503106899_225416_33510", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IMergeNode : IControlNode + { + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IMetaclass.cs b/SysML2.NET/Core/AutoGenDto/IMetaclass.cs index bc255d53..83813d16 100644 --- a/SysML2.NET/Core/AutoGenDto/IMetaclass.cs +++ b/SysML2.NET/Core/AutoGenDto/IMetaclass.cs @@ -1,46 +1,46 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Metadata -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Kernel.Structures; - using SysML2.NET.Decorators; - - /// - /// A Metaclass is a Structure used to type MetadataFeatures. - /// - [Class(xmiId: "_19_0_4_12e503d9_1645120910786_720932_39", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IMetaclass : IStructure - { - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Metadata +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Kernel.Structures; + using SysML2.NET.Decorators; + + /// + /// A Metaclass is a Structure used to type MetadataFeatures. + /// + [Class(xmiId: "_19_0_4_12e503d9_1645120910786_720932_39", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IMetaclass : IStructure + { + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IMetadataAccessExpression.cs b/SysML2.NET/Core/AutoGenDto/IMetadataAccessExpression.cs index 09cc2c62..2d2bf1b9 100644 --- a/SysML2.NET/Core/AutoGenDto/IMetadataAccessExpression.cs +++ b/SysML2.NET/Core/AutoGenDto/IMetadataAccessExpression.cs @@ -1,57 +1,57 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Expressions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.DTO.Kernel.Functions; - using SysML2.NET.Decorators; - - /// - /// A MetadataAccessExpression is an Expression whose result is a sequence of instances of Metaclasses - /// representing all the MetadataFeature annotations of the referencedElement. In addition, the sequence - /// includes an instance of the reflective Metaclass corresponding to the MOF class of the - /// referencedElement, with values for all the abstract syntax properties of the referencedElement. - /// - [Class(xmiId: "_19_0_4_12e503d9_1665514023745_516216_1215", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IMetadataAccessExpression : IExpression - { - /// - /// The Element whose metadata is being accessed. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665514131655_247232_1341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - Guid ReferencedElement { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Expressions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.DTO.Kernel.Functions; + using SysML2.NET.Decorators; + + /// + /// A MetadataAccessExpression is an Expression whose result is a sequence of instances of Metaclasses + /// representing all the MetadataFeature annotations of the referencedElement. In addition, the sequence + /// includes an instance of the reflective Metaclass corresponding to the MOF class of the + /// referencedElement, with values for all the abstract syntax properties of the referencedElement. + /// + [Class(xmiId: "_19_0_4_12e503d9_1665514023745_516216_1215", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IMetadataAccessExpression : IExpression + { + /// + /// The Element whose metadata is being accessed. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665514131655_247232_1341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + Guid referencedElement { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IMetadataDefinition.cs b/SysML2.NET/Core/AutoGenDto/IMetadataDefinition.cs index 819c223f..533feb62 100644 --- a/SysML2.NET/Core/AutoGenDto/IMetadataDefinition.cs +++ b/SysML2.NET/Core/AutoGenDto/IMetadataDefinition.cs @@ -1,47 +1,47 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Metadata -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Kernel.Metadata; - using SysML2.NET.Core.DTO.Systems.Items; - using SysML2.NET.Decorators; - - /// - /// A MetadataDefinition is an ItemDefinition that is also a Metaclass. - /// - [Class(xmiId: "_19_0_4_12e503d9_1645121454429_912244_371", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IMetadataDefinition : IItemDefinition, IMetaclass - { - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Metadata +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Kernel.Metadata; + using SysML2.NET.Core.DTO.Systems.Items; + using SysML2.NET.Decorators; + + /// + /// A MetadataDefinition is an ItemDefinition that is also a Metaclass. + /// + [Class(xmiId: "_19_0_4_12e503d9_1645121454429_912244_371", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IMetadataDefinition : IItemDefinition, IMetaclass + { + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IMetadataFeature.cs b/SysML2.NET/Core/AutoGenDto/IMetadataFeature.cs index d34d10ba..1ef28963 100644 --- a/SysML2.NET/Core/AutoGenDto/IMetadataFeature.cs +++ b/SysML2.NET/Core/AutoGenDto/IMetadataFeature.cs @@ -1,57 +1,57 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Metadata -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.DTO.Core.Features; - using SysML2.NET.Core.DTO.Root.Annotations; - using SysML2.NET.Decorators; - - /// - /// A MetadataFeature is a Feature that is an AnnotatingElement used to annotate another Element with - /// metadata. It is typed by a Metaclass. All its ownedFeatures must redefine features of its metaclass - /// and any feature bindings must be model-level evaluable. - /// - [Class(xmiId: "_19_0_4_12e503d9_1606345563822_968574_178", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IMetadataFeature : IAnnotatingElement, IFeature - { - /// - /// The type of this MetadataFeature, which must be a Metaclass. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606345564958_925589_327", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - Guid? Metaclass { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Metadata +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.DTO.Core.Features; + using SysML2.NET.Core.DTO.Root.Annotations; + using SysML2.NET.Decorators; + + /// + /// A MetadataFeature is a Feature that is an AnnotatingElement used to annotate another Element with + /// metadata. It is typed by a Metaclass. All its ownedFeatures must redefine features of its metaclass + /// and any feature bindings must be model-level evaluable. + /// + [Class(xmiId: "_19_0_4_12e503d9_1606345563822_968574_178", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IMetadataFeature : IAnnotatingElement, IFeature + { + /// + /// The type of this MetadataFeature, which must be a Metaclass. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606345564958_925589_327", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + Guid? metaclass { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IMetadataUsage.cs b/SysML2.NET/Core/AutoGenDto/IMetadataUsage.cs index 5b7d06dc..6c29f87e 100644 --- a/SysML2.NET/Core/AutoGenDto/IMetadataUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/IMetadataUsage.cs @@ -1,60 +1,60 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Metadata -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Core.DTO.Kernel.Metadata; - using SysML2.NET.Core.DTO.Systems.Items; - using SysML2.NET.Decorators; - - /// - /// A MetadataUsage is a Usage and a MetadataFeature, used to annotate other Elements in a system model - /// with metadata. As a MetadataFeature, its type must be a Metaclass, which will nominally be a - /// MetadataDefinition. However, any kernel Metaclass is also allowed, to permit use of Metaclasses from - /// the Kernel Model Libraries. - /// - [Class(xmiId: "_19_0_4_12e503d9_1645121476406_921183_398", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IMetadataUsage : IItemUsage, IMetadataFeature - { - /// - /// The MetadataDefinition that is the definition of this MetadataUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1647727047674_847094_2563", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1565471361757_649736_20796")] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1606345564958_925589_327")] - Guid? MetadataDefinition { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Metadata +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Core.DTO.Kernel.Metadata; + using SysML2.NET.Core.DTO.Systems.Items; + using SysML2.NET.Decorators; + + /// + /// A MetadataUsage is a Usage and a MetadataFeature, used to annotate other Elements in a system model + /// with metadata. As a MetadataFeature, its type must be a Metaclass, which will nominally be a + /// MetadataDefinition. However, any kernel Metaclass is also allowed, to permit use of Metaclasses from + /// the Kernel Model Libraries. + /// + [Class(xmiId: "_19_0_4_12e503d9_1645121476406_921183_398", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IMetadataUsage : IItemUsage, IMetadataFeature + { + /// + /// The MetadataDefinition that is the definition of this MetadataUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1647727047674_847094_2563", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1565471361757_649736_20796")] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1606345564958_925589_327")] + Guid? metadataDefinition { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IMultiplicity.cs b/SysML2.NET/Core/AutoGenDto/IMultiplicity.cs index 1e8b89e7..943e569a 100644 --- a/SysML2.NET/Core/AutoGenDto/IMultiplicity.cs +++ b/SysML2.NET/Core/AutoGenDto/IMultiplicity.cs @@ -1,58 +1,58 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Core.Types -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.DTO.Core.Features; - using SysML2.NET.Decorators; - - /// - /// A Multiplicity is a Feature whose co-domain is a set of natural numbers giving the allowed - /// cardinalities of each typeWithMultiplicity. The cardinality of a Type is defined as follows, - /// depending on whether the Type is a Classifier or Feature.
  • Classifier – The number of basic - /// instances of the Classifier, that is, those instances representing things, which are not instances - /// of any subtypes of the Classifier that are Features.
  • Features – The number of instances with the - /// same featuring instances. In the case of a Feature with a Classifier as its featuringType, this is - /// the number of values of Feature for each basic instance of the Classifier. Note that, for non-unique - /// Features, all duplicate values are included in this count.
Multiplicity co-domains (in - /// models) can be specified by Expression that might vary in their results. If the typeWithMultiplicity - /// is a Classifier, the domain of the Multiplicity shall be Base::Anything. If the - /// typeWithMultiplicity is a Feature, the Multiplicity shall have the same domain as the - /// typeWithMultiplicity. - ///
- [Class(xmiId: "_19_0_2_12e503d9_1573083797505_495205_3879", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IMultiplicity : IFeature - { - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Core.Types +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.DTO.Core.Features; + using SysML2.NET.Decorators; + + /// + /// A Multiplicity is a Feature whose co-domain is a set of natural numbers giving the allowed + /// cardinalities of each typeWithMultiplicity. The cardinality of a Type is defined as follows, + /// depending on whether the Type is a Classifier or Feature.
  • Classifier – The number of basic + /// instances of the Classifier, that is, those instances representing things, which are not instances + /// of any subtypes of the Classifier that are Features.
  • Features – The number of instances with the + /// same featuring instances. In the case of a Feature with a Classifier as its featuringType, this is + /// the number of values of Feature for each basic instance of the Classifier. Note that, for non-unique + /// Features, all duplicate values are included in this count.
Multiplicity co-domains (in + /// models) can be specified by Expression that might vary in their results. If the typeWithMultiplicity + /// is a Classifier, the domain of the Multiplicity shall be Base::Anything. If the + /// typeWithMultiplicity is a Feature, the Multiplicity shall have the same domain as the + /// typeWithMultiplicity. + ///
+ [Class(xmiId: "_19_0_2_12e503d9_1573083797505_495205_3879", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IMultiplicity : IFeature + { + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IMultiplicityRange.cs b/SysML2.NET/Core/AutoGenDto/IMultiplicityRange.cs index 35b81d6e..5db88b13 100644 --- a/SysML2.NET/Core/AutoGenDto/IMultiplicityRange.cs +++ b/SysML2.NET/Core/AutoGenDto/IMultiplicityRange.cs @@ -1,77 +1,77 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Multiplicities -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.DTO.Core.Types; - using SysML2.NET.Decorators; - - /// - /// A MultiplicityRange is a Multiplicity whose value is defined to be the (inclusive) range of natural - /// numbers given by the result of a lowerBound Expression and the result of an upperBound Expression. - /// The result of these Expressions shall be of type Natural. If the result of the upperBound Expression - /// is the unbounded value *, then the specified range includes all natural numbers greater than or - /// equal to the lowerBound value. If no lowerBound Expression, then the default is that the lower bound - /// has the same value as the upper bound, except if the upperBound evaluates to *, in which case the - /// default for the lower bound is 0. - /// - [Class(xmiId: "_19_0_2_12e503d9_1573086225407_540120_4572", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IMultiplicityRange : IMultiplicity - { - /// - /// The owned Expressions of the MultiplicityRange whose results provide its bounds. These must be the - /// first ownedMembers of the MultiplicityRange. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095221994_519580_5095", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 2, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - List Bound { get; } - - /// - /// The Expression whose result provides the lower bound of the MultiplicityRange. If no lowerBound - /// Expression is given, then the lower bound shall have the same value as the upper bound, unless the - /// upper bound is unbounded (*), in which case the lower bound shall be 0. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573094905677_801324_4744", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1573095221994_519580_5095")] - Guid? LowerBound { get; } - - /// - /// The Expression whose result is the upper bound of the MultiplicityRange. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573094947427_797440_4796", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1573095221994_519580_5095")] - Guid UpperBound { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Multiplicities +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.DTO.Core.Types; + using SysML2.NET.Decorators; + + /// + /// A MultiplicityRange is a Multiplicity whose value is defined to be the (inclusive) range of natural + /// numbers given by the result of a lowerBound Expression and the result of an upperBound Expression. + /// The result of these Expressions shall be of type Natural. If the result of the upperBound Expression + /// is the unbounded value *, then the specified range includes all natural numbers greater than or + /// equal to the lowerBound value. If no lowerBound Expression, then the default is that the lower bound + /// has the same value as the upper bound, except if the upperBound evaluates to *, in which case the + /// default for the lower bound is 0. + /// + [Class(xmiId: "_19_0_2_12e503d9_1573086225407_540120_4572", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IMultiplicityRange : IMultiplicity + { + /// + /// The owned Expressions of the MultiplicityRange whose results provide its bounds. These must be the + /// first ownedMembers of the MultiplicityRange. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095221994_519580_5095", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 2, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + List bound { get; } + + /// + /// The Expression whose result provides the lower bound of the MultiplicityRange. If no lowerBound + /// Expression is given, then the lower bound shall have the same value as the upper bound, unless the + /// upper bound is unbounded (*), in which case the lower bound shall be 0. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573094905677_801324_4744", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1573095221994_519580_5095")] + Guid? lowerBound { get; } + + /// + /// The Expression whose result is the upper bound of the MultiplicityRange. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573094947427_797440_4796", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1573095221994_519580_5095")] + Guid upperBound { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/INamespace.cs b/SysML2.NET/Core/AutoGenDto/INamespace.cs index 5e74a3c6..0eac61be 100644 --- a/SysML2.NET/Core/AutoGenDto/INamespace.cs +++ b/SysML2.NET/Core/AutoGenDto/INamespace.cs @@ -1,102 +1,102 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Root.Namespaces -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Root.Elements; - using SysML2.NET.Decorators; - - /// - /// A Namespace is an Element that contains other Elements, known as its members, via Membership - /// Relationships with those Elements. The members of a Namespace may be owned by the Namespace, aliased - /// in the Namespace, or imported into the Namespace via Import Relationships.A Namespace can provide - /// names for its members via the memberNames and memberShortNames specified by the Memberships in the - /// Namespace. If a Membership specifies a memberName and/or memberShortName, then those are names of - /// the corresponding memberElement relative to the Namespace. For an OwningMembership, the - /// ownedMemberName and ownedMemberShortName are given by the Element name and shortName. Note that the - /// same Element may be the memberElement of multiple Memberships in a Namespace (though it may be owned - /// at most once), each of which may define a separate alias for the Element relative to the Namespace. - /// - [Class(xmiId: "_18_5_3_12e503d9_1533160651694_110063_42176", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface INamespace : IElement - { - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - List ImportedMembership { get; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - List Member { get; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - List Membership { get; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - List OwnedImport { get; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - List OwnedMember { get; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - List OwnedMembership { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Root.Namespaces +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Root.Elements; + using SysML2.NET.Decorators; + + /// + /// A Namespace is an Element that contains other Elements, known as its members, via Membership + /// Relationships with those Elements. The members of a Namespace may be owned by the Namespace, aliased + /// in the Namespace, or imported into the Namespace via Import Relationships.A Namespace can provide + /// names for its members via the memberNames and memberShortNames specified by the Memberships in the + /// Namespace. If a Membership specifies a memberName and/or memberShortName, then those are names of + /// the corresponding memberElement relative to the Namespace. For an OwningMembership, the + /// ownedMemberName and ownedMemberShortName are given by the Element name and shortName. Note that the + /// same Element may be the memberElement of multiple Memberships in a Namespace (though it may be owned + /// at most once), each of which may define a separate alias for the Element relative to the Namespace. + /// + [Class(xmiId: "_18_5_3_12e503d9_1533160651694_110063_42176", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface INamespace : IElement + { + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + List importedMembership { get; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + List member { get; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + List membership { get; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + List ownedImport { get; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + List ownedMember { get; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + List ownedMembership { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/INamespaceExpose.cs b/SysML2.NET/Core/AutoGenDto/INamespaceExpose.cs index 2bba6c00..cba74cb5 100644 --- a/SysML2.NET/Core/AutoGenDto/INamespaceExpose.cs +++ b/SysML2.NET/Core/AutoGenDto/INamespaceExpose.cs @@ -1,48 +1,48 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Views -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Root.Namespaces; - using SysML2.NET.Core.DTO.Root.Namespaces; - using SysML2.NET.Decorators; - - /// - /// A NamespaceExpose is an Expose Relationship that exposes the Memberships of a specific - /// importedNamespace and, if isRecursive = true, additional Memberships recursively. - /// - [Class(xmiId: "_19_0_4_12e503d9_1668805386737_851862_212", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface INamespaceExpose : IExpose, INamespaceImport - { - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Views +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Root.Namespaces; + using SysML2.NET.Core.DTO.Root.Namespaces; + using SysML2.NET.Decorators; + + /// + /// A NamespaceExpose is an Expose Relationship that exposes the Memberships of a specific + /// importedNamespace and, if isRecursive = true, additional Memberships recursively. + /// + [Class(xmiId: "_19_0_4_12e503d9_1668805386737_851862_212", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface INamespaceExpose : IExpose, INamespaceImport + { + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/INamespaceImport.cs b/SysML2.NET/Core/AutoGenDto/INamespaceImport.cs index 2ef5aab7..5397c60e 100644 --- a/SysML2.NET/Core/AutoGenDto/INamespaceImport.cs +++ b/SysML2.NET/Core/AutoGenDto/INamespaceImport.cs @@ -1,56 +1,56 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Root.Namespaces -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Root.Namespaces; - using SysML2.NET.Decorators; - - /// - /// A NamespaceImport is an Import that imports Memberships from its importedNamespace into the - /// importOwningNamespace. If isRecursive = false, then only the visible Memberships of the - /// importedNamespace are imported. If isRecursive = true, then, in addition, Memberships are - /// recursively imported from any ownedMembers of the importedNamespace that are Namespaces. - /// - [Class(xmiId: "_19_0_4_12e503d9_1668208114894_902739_132", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface INamespaceImport : IImport - { - /// - /// The Namespace whose visible Memberships are imported by this NamespaceImport. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674966_977620_43202", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - Guid ImportedNamespace { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Root.Namespaces +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Root.Namespaces; + using SysML2.NET.Decorators; + + /// + /// A NamespaceImport is an Import that imports Memberships from its importedNamespace into the + /// importOwningNamespace. If isRecursive = false, then only the visible Memberships of the + /// importedNamespace are imported. If isRecursive = true, then, in addition, Memberships are + /// recursively imported from any ownedMembers of the importedNamespace that are Namespaces. + /// + [Class(xmiId: "_19_0_4_12e503d9_1668208114894_902739_132", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface INamespaceImport : IImport + { + /// + /// The Namespace whose visible Memberships are imported by this NamespaceImport. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674966_977620_43202", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + Guid ImportedNamespace { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/INullExpression.cs b/SysML2.NET/Core/AutoGenDto/INullExpression.cs index 369b7c2f..f99c64ed 100644 --- a/SysML2.NET/Core/AutoGenDto/INullExpression.cs +++ b/SysML2.NET/Core/AutoGenDto/INullExpression.cs @@ -1,47 +1,47 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Expressions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.DTO.Kernel.Functions; - using SysML2.NET.Decorators; - - /// - /// A NullExpression is an Expression that results in a null value. - /// - [Class(xmiId: "_18_5_3_12e503d9_1533160651705_773974_42202", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface INullExpression : IExpression - { - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Expressions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.DTO.Kernel.Functions; + using SysML2.NET.Decorators; + + /// + /// A NullExpression is an Expression that results in a null value. + /// + [Class(xmiId: "_18_5_3_12e503d9_1533160651705_773974_42202", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface INullExpression : IExpression + { + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IObjectiveMembership.cs b/SysML2.NET/Core/AutoGenDto/IObjectiveMembership.cs index 171c6652..fa6e6519 100644 --- a/SysML2.NET/Core/AutoGenDto/IObjectiveMembership.cs +++ b/SysML2.NET/Core/AutoGenDto/IObjectiveMembership.cs @@ -1,55 +1,55 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Cases -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Root.Namespaces; - using SysML2.NET.Core.DTO.Core.Types; - using SysML2.NET.Decorators; - - /// - /// An ObjectiveMembership is a FeatureMembership that indicates that its ownedObjectiveRequirement is - /// the objective RequirementUsage for its owningType, which must be a CaseDefinition or CaseUsage. - /// - [Class(xmiId: "_19_0_2_59601fc_1590256849943_920466_400", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IObjectiveMembership : IFeatureMembership - { - /// - /// The RequirementUsage that is the ownedMemberFeature of this RequirementUsage. - /// - [Property(xmiId: "_19_0_2_59601fc_1590258776804_538578_832", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] - Guid OwnedObjectiveRequirement { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Cases +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Root.Namespaces; + using SysML2.NET.Core.DTO.Core.Types; + using SysML2.NET.Decorators; + + /// + /// An ObjectiveMembership is a FeatureMembership that indicates that its ownedObjectiveRequirement is + /// the objective RequirementUsage for its owningType, which must be a CaseDefinition or CaseUsage. + /// + [Class(xmiId: "_19_0_2_59601fc_1590256849943_920466_400", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IObjectiveMembership : IFeatureMembership + { + /// + /// The RequirementUsage that is the ownedMemberFeature of this RequirementUsage. + /// + [Property(xmiId: "_19_0_2_59601fc_1590258776804_538578_832", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] + Guid ownedObjectiveRequirement { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IOccurrenceDefinition.cs b/SysML2.NET/Core/AutoGenDto/IOccurrenceDefinition.cs index 44ea5cf5..f90fbfd6 100644 --- a/SysML2.NET/Core/AutoGenDto/IOccurrenceDefinition.cs +++ b/SysML2.NET/Core/AutoGenDto/IOccurrenceDefinition.cs @@ -1,56 +1,56 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Occurrences -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Kernel.Classes; - using SysML2.NET.Core.DTO.Systems.DefinitionAndUsage; - using SysML2.NET.Decorators; - - /// - /// An OccurrenceDefinition is a Definition of a Class of individuals that have an independent life over - /// time and potentially an extent over space. This includes both structural things and behaviors that - /// act on such structures. If isIndividual is true, then the OccurrenceDefinition is constrained to - /// have (at most) a single instance that is the entire life of a single individual. - /// - [Class(xmiId: "_19_0_4_12e503d9_1618943693347_790503_111", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IOccurrenceDefinition : IDefinition, IClass - { - /// - /// Whether this OccurrenceDefinition is constrained to represent at most one thing. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618955405499_394357_6740", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - bool IsIndividual { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Occurrences +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Kernel.Classes; + using SysML2.NET.Core.DTO.Systems.DefinitionAndUsage; + using SysML2.NET.Decorators; + + /// + /// An OccurrenceDefinition is a Definition of a Class of individuals that have an independent life over + /// time and potentially an extent over space. This includes both structural things and behaviors that + /// act on such structures. If isIndividual is true, then the OccurrenceDefinition is constrained to + /// have (at most) a single instance that is the entire life of a single individual. + /// + [Class(xmiId: "_19_0_4_12e503d9_1618943693347_790503_111", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IOccurrenceDefinition : IDefinition, IClass + { + /// + /// Whether this OccurrenceDefinition is constrained to represent at most one thing. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618955405499_394357_6740", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + bool IsIndividual { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IOccurrenceUsage.cs b/SysML2.NET/Core/AutoGenDto/IOccurrenceUsage.cs index e3eab18e..e0fac25d 100644 --- a/SysML2.NET/Core/AutoGenDto/IOccurrenceUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/IOccurrenceUsage.cs @@ -1,82 +1,82 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Occurrences -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Core.DTO.Systems.DefinitionAndUsage; - using SysML2.NET.Decorators; - - /// - /// An OccurrenceUsage is a Usage whose types are all Classes. Nominally, if a type is an - /// OccurrenceDefinition, an OccurrenceUsage is a Usage of that OccurrenceDefinition within a system. - /// However, other types of Kernel Classes are also allowed, to permit use of Classes from the Kernel - /// Model Libraries. - /// - [Class(xmiId: "_19_0_4_12e503d9_1618943737195_33207_138", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IOccurrenceUsage : IUsage - { - /// - /// The at most one occurrenceDefinition that has isIndividual = true. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - Guid? IndividualDefinition { get; } - - /// - /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its - /// individualDefinition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - bool IsIndividual { get; set; } - - /// - /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, - /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] - List OccurrenceDefinition { get; } - - /// - /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If - /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the - /// OccurrenceUsage represents portions of the featuring instance of the owningType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - PortionKind? PortionKind { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Occurrences +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Core.DTO.Systems.DefinitionAndUsage; + using SysML2.NET.Decorators; + + /// + /// An OccurrenceUsage is a Usage whose types are all Classes. Nominally, if a type is an + /// OccurrenceDefinition, an OccurrenceUsage is a Usage of that OccurrenceDefinition within a system. + /// However, other types of Kernel Classes are also allowed, to permit use of Classes from the Kernel + /// Model Libraries. + /// + [Class(xmiId: "_19_0_4_12e503d9_1618943737195_33207_138", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IOccurrenceUsage : IUsage + { + /// + /// The at most one occurrenceDefinition that has isIndividual = true. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + Guid? individualDefinition { get; } + + /// + /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its + /// individualDefinition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + bool IsIndividual { get; set; } + + /// + /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, + /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] + List occurrenceDefinition { get; } + + /// + /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If + /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the + /// OccurrenceUsage represents portions of the featuring instance of the owningType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + PortionKind? PortionKind { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IOperatorExpression.cs b/SysML2.NET/Core/AutoGenDto/IOperatorExpression.cs index eeeb04d0..91ca629f 100644 --- a/SysML2.NET/Core/AutoGenDto/IOperatorExpression.cs +++ b/SysML2.NET/Core/AutoGenDto/IOperatorExpression.cs @@ -1,54 +1,54 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Expressions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Decorators; - - /// - /// An OperatorExpression is an InvocationExpression whose function is determined by resolving its - /// operator in the context of one of the standard packages from the Kernel Function Library. - /// - [Class(xmiId: "_18_5_3_12e503d9_1557528779746_71999_111623", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IOperatorExpression : IInvocationExpression - { - /// - /// An operator symbol that names a corresponding Function from one of the standard packages from the - /// Kernel Function Library . - /// - [Property(xmiId: "_18_5_3_12e503d9_1557528808100_646606_111674", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - string Operator { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Expressions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Decorators; + + /// + /// An OperatorExpression is an InvocationExpression whose function is determined by resolving its + /// operator in the context of one of the standard packages from the Kernel Function Library. + /// + [Class(xmiId: "_18_5_3_12e503d9_1557528779746_71999_111623", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IOperatorExpression : IInvocationExpression + { + /// + /// An operator symbol that names a corresponding Function from one of the standard packages from the + /// Kernel Function Library . + /// + [Property(xmiId: "_18_5_3_12e503d9_1557528808100_646606_111674", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + string Operator { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IOwningMembership.cs b/SysML2.NET/Core/AutoGenDto/IOwningMembership.cs index 63a1780f..6246fae2 100644 --- a/SysML2.NET/Core/AutoGenDto/IOwningMembership.cs +++ b/SysML2.NET/Core/AutoGenDto/IOwningMembership.cs @@ -1,77 +1,77 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Root.Namespaces -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Root.Namespaces; - using SysML2.NET.Decorators; - - /// - /// An OwningMembership is a Membership that owns its memberElement as a ownedRelatedElement. The - /// ownedMemberElement becomes an ownedMember of the membershipOwningNamespace. - /// - [Class(xmiId: "_19_0_4_12e503d9_1648180804650_933390_31", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IOwningMembership : IMembership - { - /// - /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this - /// OwningMembership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_501750_43196", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_59873_43302")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] - Guid OwnedMemberElement { get; } - - /// - /// The elementId of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] - string OwnedMemberElementId { get; } - - /// - /// The name of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] - string OwnedMemberName { get; } - - /// - /// The shortName of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] - string OwnedMemberShortName { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Root.Namespaces +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Root.Namespaces; + using SysML2.NET.Decorators; + + /// + /// An OwningMembership is a Membership that owns its memberElement as a ownedRelatedElement. The + /// ownedMemberElement becomes an ownedMember of the membershipOwningNamespace. + /// + [Class(xmiId: "_19_0_4_12e503d9_1648180804650_933390_31", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IOwningMembership : IMembership + { + /// + /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this + /// OwningMembership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_501750_43196", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_59873_43302")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] + Guid ownedMemberElement { get; } + + /// + /// The elementId of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] + string ownedMemberElementId { get; } + + /// + /// The name of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] + string ownedMemberName { get; } + + /// + /// The shortName of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] + string ownedMemberShortName { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IPackage.cs b/SysML2.NET/Core/AutoGenDto/IPackage.cs index 7cf87a92..a5ee6c4f 100644 --- a/SysML2.NET/Core/AutoGenDto/IPackage.cs +++ b/SysML2.NET/Core/AutoGenDto/IPackage.cs @@ -1,56 +1,56 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Packages -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Root.Namespaces; - using SysML2.NET.Decorators; - - /// - /// A Package is a Namespace used to group Elements, without any instance-level semantics. It may have - /// one or more model-level evaluable filterCondition Expressions used to filter its - /// importedMemberships. Any imported member must meet all of the filterConditions. - /// - [Class(xmiId: "_19_0_4_12e503d9_1606943754976_445656_5532", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IPackage : INamespace - { - /// - /// The model-level evaluable Boolean-valued Expression used to filter the members of this Package, - /// which are owned by the Package are via ElementFilterMemberships. - /// - [Property(xmiId: "_19_0_4_12e503d9_1607033896050_867332_6206", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - List FilterCondition { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Packages +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Root.Namespaces; + using SysML2.NET.Decorators; + + /// + /// A Package is a Namespace used to group Elements, without any instance-level semantics. It may have + /// one or more model-level evaluable filterCondition Expressions used to filter its + /// importedMemberships. Any imported member must meet all of the filterConditions. + /// + [Class(xmiId: "_19_0_4_12e503d9_1606943754976_445656_5532", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IPackage : INamespace + { + /// + /// The model-level evaluable Boolean-valued Expression used to filter the members of this Package, + /// which are owned by the Package are via ElementFilterMemberships. + /// + [Property(xmiId: "_19_0_4_12e503d9_1607033896050_867332_6206", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + List filterCondition { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IParameterMembership.cs b/SysML2.NET/Core/AutoGenDto/IParameterMembership.cs index f269b52d..92161d1b 100644 --- a/SysML2.NET/Core/AutoGenDto/IParameterMembership.cs +++ b/SysML2.NET/Core/AutoGenDto/IParameterMembership.cs @@ -1,56 +1,56 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Behaviors -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Root.Namespaces; - using SysML2.NET.Core.DTO.Core.Types; - using SysML2.NET.Decorators; - - /// - /// A ParameterMembership is a FeatureMembership that identifies its memberFeature as a parameter, which - /// is always owned, and must have a direction. A ParameterMembership must be owned by a Behavior, a - /// Step, or the result parameter of a ConstructorExpression. - /// - [Class(xmiId: "_18_5_3_12e503d9_1557527738711_165124_110466", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IParameterMembership : IFeatureMembership - { - /// - /// The Feature that is identified as a parameter by this ParameterMembership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1557528016548_548098_110830", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] - Guid OwnedMemberParameter { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Behaviors +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Root.Namespaces; + using SysML2.NET.Core.DTO.Core.Types; + using SysML2.NET.Decorators; + + /// + /// A ParameterMembership is a FeatureMembership that identifies its memberFeature as a parameter, which + /// is always owned, and must have a direction. A ParameterMembership must be owned by a Behavior, a + /// Step, or the result parameter of a ConstructorExpression. + /// + [Class(xmiId: "_18_5_3_12e503d9_1557527738711_165124_110466", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IParameterMembership : IFeatureMembership + { + /// + /// The Feature that is identified as a parameter by this ParameterMembership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1557528016548_548098_110830", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] + Guid ownedMemberParameter { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IPartDefinition.cs b/SysML2.NET/Core/AutoGenDto/IPartDefinition.cs index 50c135e7..94b47c18 100644 --- a/SysML2.NET/Core/AutoGenDto/IPartDefinition.cs +++ b/SysML2.NET/Core/AutoGenDto/IPartDefinition.cs @@ -1,48 +1,48 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Parts -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Systems.Items; - using SysML2.NET.Decorators; - - /// - /// A PartDefinition is an ItemDefinition of a Class of systems or parts of systems. Note that all parts - /// may be considered items for certain purposes, but not all items are parts that can perform actions - /// within a system. - /// - [Class(xmiId: "_18_5_3_12e503d9_1565469626440_455154_19856", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IPartDefinition : IItemDefinition - { - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Parts +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Systems.Items; + using SysML2.NET.Decorators; + + /// + /// A PartDefinition is an ItemDefinition of a Class of systems or parts of systems. Note that all parts + /// may be considered items for certain purposes, but not all items are parts that can perform actions + /// within a system. + /// + [Class(xmiId: "_18_5_3_12e503d9_1565469626440_455154_19856", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IPartDefinition : IItemDefinition + { + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IPartUsage.cs b/SysML2.NET/Core/AutoGenDto/IPartUsage.cs index acf25acb..f868595c 100644 --- a/SysML2.NET/Core/AutoGenDto/IPartUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/IPartUsage.cs @@ -1,57 +1,57 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Parts -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Core.DTO.Systems.Items; - using SysML2.NET.Decorators; - - /// - /// A PartUsage is a usage of a PartDefinition to represent a system or a part of a system. At least one - /// of the itemDefinitions of the PartUsage must be a PartDefinition.A PartUsage must subset, directly - /// or indirectly, the base PartUsage parts from the Systems Model Library. - /// - [Class(xmiId: "_18_5_3_12e503d9_1565471239590_312157_20701", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IPartUsage : IItemUsage - { - /// - /// The itemDefinitions of this PartUsage that are PartDefinitions. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591475180488_929065_121", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565471361757_649736_20796")] - List PartDefinition { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Parts +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Core.DTO.Systems.Items; + using SysML2.NET.Decorators; + + /// + /// A PartUsage is a usage of a PartDefinition to represent a system or a part of a system. At least one + /// of the itemDefinitions of the PartUsage must be a PartDefinition.A PartUsage must subset, directly + /// or indirectly, the base PartUsage parts from the Systems Model Library. + /// + [Class(xmiId: "_18_5_3_12e503d9_1565471239590_312157_20701", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IPartUsage : IItemUsage + { + /// + /// The itemDefinitions of this PartUsage that are PartDefinitions. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591475180488_929065_121", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565471361757_649736_20796")] + List partDefinition { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IPerformActionUsage.cs b/SysML2.NET/Core/AutoGenDto/IPerformActionUsage.cs index a4cbd660..cd085236 100644 --- a/SysML2.NET/Core/AutoGenDto/IPerformActionUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/IPerformActionUsage.cs @@ -1,59 +1,59 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Actions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Core.DTO.Systems.Occurrences; - using SysML2.NET.Decorators; - - /// - /// A PerformActionUsage is an ActionUsage that represents the performance of an ActionUsage. Unless it - /// is the PerformActionUsage itself, the ActionUsage to be performed is related to the - /// PerformActionUsage by a ReferenceSubsetting relationship. A PerformActionUsage is also an - /// EventOccurrenceUsage, with its performedAction as the eventOccurrence. - /// - [Class(xmiId: "_18_5_3_12e503d9_1565503273042_472885_33822", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IPerformActionUsage : IActionUsage, IEventOccurrenceUsage - { - /// - /// The ActionUsage to be performed by this PerformedActionUsage. It is the eventOccurrence of the - /// PerformActionUsage considered as an EventOccurrenceUsage, which must be an ActionUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1567740791820_867719_18017", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1622831790393_676695_195")] - Guid PerformedAction { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Actions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Core.DTO.Systems.Occurrences; + using SysML2.NET.Decorators; + + /// + /// A PerformActionUsage is an ActionUsage that represents the performance of an ActionUsage. Unless it + /// is the PerformActionUsage itself, the ActionUsage to be performed is related to the + /// PerformActionUsage by a ReferenceSubsetting relationship. A PerformActionUsage is also an + /// EventOccurrenceUsage, with its performedAction as the eventOccurrence. + /// + [Class(xmiId: "_18_5_3_12e503d9_1565503273042_472885_33822", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IPerformActionUsage : IActionUsage, IEventOccurrenceUsage + { + /// + /// The ActionUsage to be performed by this PerformedActionUsage. It is the eventOccurrence of the + /// PerformActionUsage considered as an EventOccurrenceUsage, which must be an ActionUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1567740791820_867719_18017", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1622831790393_676695_195")] + Guid performedAction { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IPortConjugation.cs b/SysML2.NET/Core/AutoGenDto/IPortConjugation.cs index a1d98fdd..566fb349 100644 --- a/SysML2.NET/Core/AutoGenDto/IPortConjugation.cs +++ b/SysML2.NET/Core/AutoGenDto/IPortConjugation.cs @@ -1,64 +1,64 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Ports -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Core.Types; - using SysML2.NET.Decorators; - - /// - /// A PortConjugation is a Conjugation Relationship between a PortDefinition and its corresponding - /// ConjugatedPortDefinition. As a result of this Relationship, the ConjugatedPortDefinition inherits - /// all the features of the original PortDefinition, but input flows of the original PortDefinition - /// become outputs on the ConjugatedPortDefinition and output flows of the original PortDefinition - /// become inputs on the ConjugatedPortDefinition. - /// - [Class(xmiId: "_19_0_2_12e503d9_1575484318404_705000_871", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IPortConjugation : IConjugation - { - /// - /// The ConjugatedPortDefinition that is conjugate to the originalPortDefinition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575484344899_880331_946", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1575482646809_778895_441")] - Guid ConjugatedPortDefinition { get; } - - /// - /// The PortDefinition being conjugated. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575484331999_998721_917", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1575482354187_108424_237")] - Guid OriginalPortDefinition { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Ports +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Core.Types; + using SysML2.NET.Decorators; + + /// + /// A PortConjugation is a Conjugation Relationship between a PortDefinition and its corresponding + /// ConjugatedPortDefinition. As a result of this Relationship, the ConjugatedPortDefinition inherits + /// all the features of the original PortDefinition, but input flows of the original PortDefinition + /// become outputs on the ConjugatedPortDefinition and output flows of the original PortDefinition + /// become inputs on the ConjugatedPortDefinition. + /// + [Class(xmiId: "_19_0_2_12e503d9_1575484318404_705000_871", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IPortConjugation : IConjugation + { + /// + /// The ConjugatedPortDefinition that is conjugate to the originalPortDefinition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575484344899_880331_946", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1575482646809_778895_441")] + Guid conjugatedPortDefinition { get; } + + /// + /// The PortDefinition being conjugated. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575484331999_998721_917", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1575482354187_108424_237")] + Guid OriginalPortDefinition { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IPortDefinition.cs b/SysML2.NET/Core/AutoGenDto/IPortDefinition.cs index c2be5de2..49d63fe0 100644 --- a/SysML2.NET/Core/AutoGenDto/IPortDefinition.cs +++ b/SysML2.NET/Core/AutoGenDto/IPortDefinition.cs @@ -1,56 +1,56 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Ports -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Kernel.Structures; - using SysML2.NET.Core.DTO.Systems.Occurrences; - using SysML2.NET.Decorators; - - /// - /// A PortDefinition defines a point at which external entities can connect to and interact with a - /// system or part of a system. Any ownedUsages of a PortDefinition, other than PortUsages, must not be - /// composite. - /// - [Class(xmiId: "_18_5_3_12e503d9_1565478005829_611481_22375", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IPortDefinition : IOccurrenceDefinition, IStructure - { - /// - /// The <> that is conjugate to this PortDefinition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575484364015_206236_989", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - Guid? ConjugatedPortDefinition { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Ports +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Kernel.Structures; + using SysML2.NET.Core.DTO.Systems.Occurrences; + using SysML2.NET.Decorators; + + /// + /// A PortDefinition defines a point at which external entities can connect to and interact with a + /// system or part of a system. Any ownedUsages of a PortDefinition, other than PortUsages, must not be + /// composite. + /// + [Class(xmiId: "_18_5_3_12e503d9_1565478005829_611481_22375", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IPortDefinition : IOccurrenceDefinition, IStructure + { + /// + /// The <> that is conjugate to this PortDefinition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575484364015_206236_989", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + Guid? conjugatedPortDefinition { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IPortUsage.cs b/SysML2.NET/Core/AutoGenDto/IPortUsage.cs index 4501fc20..0f130608 100644 --- a/SysML2.NET/Core/AutoGenDto/IPortUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/IPortUsage.cs @@ -1,56 +1,56 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Ports -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Core.DTO.Systems.Occurrences; - using SysML2.NET.Decorators; - - /// - /// A PortUsage is a usage of a PortDefinition. A PortUsage itself as well as all its nestedUsages must - /// be referential (non-composite). - /// - [Class(xmiId: "_18_5_3_12e503d9_1565492704639_896080_24992", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IPortUsage : IOccurrenceUsage - { - /// - /// The occurrenceDefinitions of this PortUsage, which must all be PortDefinitions. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565492740124_880100_25026", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - List PortDefinition { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Ports +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Core.DTO.Systems.Occurrences; + using SysML2.NET.Decorators; + + /// + /// A PortUsage is a usage of a PortDefinition. A PortUsage itself as well as all its nestedUsages must + /// be referential (non-composite). + /// + [Class(xmiId: "_18_5_3_12e503d9_1565492704639_896080_24992", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IPortUsage : IOccurrenceUsage + { + /// + /// The occurrenceDefinitions of this PortUsage, which must all be PortDefinitions. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565492740124_880100_25026", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + List portDefinition { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IPredicate.cs b/SysML2.NET/Core/AutoGenDto/IPredicate.cs index 4f871082..13ef6614 100644 --- a/SysML2.NET/Core/AutoGenDto/IPredicate.cs +++ b/SysML2.NET/Core/AutoGenDto/IPredicate.cs @@ -1,45 +1,45 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Functions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Decorators; - - /// - /// A Predicate is a Function whose result parameter has type Boolean and multiplicity 1..1. - /// - [Class(xmiId: "_18_5_3_12e503d9_1533160651691_194569_42171", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IPredicate : IFunction - { - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Functions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Decorators; + + /// + /// A Predicate is a Function whose result parameter has type Boolean and multiplicity 1..1. + /// + [Class(xmiId: "_18_5_3_12e503d9_1533160651691_194569_42171", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IPredicate : IFunction + { + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IRedefinition.cs b/SysML2.NET/Core/AutoGenDto/IRedefinition.cs index bb3881fe..defb71d6 100644 --- a/SysML2.NET/Core/AutoGenDto/IRedefinition.cs +++ b/SysML2.NET/Core/AutoGenDto/IRedefinition.cs @@ -1,70 +1,70 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Core.Features -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Decorators; - - /// - /// Redefinition is a kind of Subsetting that requires the redefinedFeature and the redefiningFeature to - /// have the same values (on each instance of the domain of the redefiningFeature). This means any - /// restrictions on the redefiningFeature, such as type or multiplicity, also apply to the - /// redefinedFeature (on each instance of the domain of the redefiningFeature), and vice versa. The - /// redefinedFeature might have values for instances of the domain of the redefiningFeature, but only as - /// instances of the domain of the redefinedFeature that happen to also be instances of the domain of - /// the redefiningFeature. This is supported by the constraints inherited from Subsetting on the domains - /// of the redefiningFeature and redefinedFeature. However, these constraints are narrowed for - /// Redefinition to require the owningTypes of the redefiningFeature and redefinedFeature to be - /// different and the redefinedFeature to not be inherited into the owningNamespace of the - /// redefiningFeature.This enables the redefiningFeature to have the same name as the redefinedFeature, - /// if desired. - /// - [Class(xmiId: "_18_5_3_12e503d9_1533160651690_251835_42168", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IRedefinition : ISubsetting - { - /// - /// The Feature that is redefined by the redefiningFeature of this Redefinition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674973_199798_43245", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_393191_43181")] - Guid RedefinedFeature { get; set; } - - /// - /// The Feature that is redefining the redefinedFeature of this Redefinition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674958_414216_43160", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674967_140305_43206")] - Guid RedefiningFeature { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Core.Features +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Decorators; + + /// + /// Redefinition is a kind of Subsetting that requires the redefinedFeature and the redefiningFeature to + /// have the same values (on each instance of the domain of the redefiningFeature). This means any + /// restrictions on the redefiningFeature, such as type or multiplicity, also apply to the + /// redefinedFeature (on each instance of the domain of the redefiningFeature), and vice versa. The + /// redefinedFeature might have values for instances of the domain of the redefiningFeature, but only as + /// instances of the domain of the redefinedFeature that happen to also be instances of the domain of + /// the redefiningFeature. This is supported by the constraints inherited from Subsetting on the domains + /// of the redefiningFeature and redefinedFeature. However, these constraints are narrowed for + /// Redefinition to require the owningTypes of the redefiningFeature and redefinedFeature to be + /// different and the redefinedFeature to not be inherited into the owningNamespace of the + /// redefiningFeature.This enables the redefiningFeature to have the same name as the redefinedFeature, + /// if desired. + /// + [Class(xmiId: "_18_5_3_12e503d9_1533160651690_251835_42168", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IRedefinition : ISubsetting + { + /// + /// The Feature that is redefined by the redefiningFeature of this Redefinition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674973_199798_43245", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_393191_43181")] + Guid RedefinedFeature { get; set; } + + /// + /// The Feature that is redefining the redefinedFeature of this Redefinition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674958_414216_43160", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674967_140305_43206")] + Guid RedefiningFeature { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IReferenceSubsetting.cs b/SysML2.NET/Core/AutoGenDto/IReferenceSubsetting.cs index edad6052..9ecb44c5 100644 --- a/SysML2.NET/Core/AutoGenDto/IReferenceSubsetting.cs +++ b/SysML2.NET/Core/AutoGenDto/IReferenceSubsetting.cs @@ -1,65 +1,65 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Core.Features -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Decorators; - - /// - /// ReferenceSubsetting is a kind of Subsetting in which the referencedFeature is syntactically - /// distinguished from other Features subsetted by the referencingFeature. ReferenceSubsetting has the - /// same semantics as Subsetting, but the referencedFeature may have a special purpose relative to the - /// referencingFeature. For instance, ReferenceSubsetting is used to identify the relatedFeatures of a - /// Connector.ReferenceSubsetting is always an ownedRelationship of its referencingFeature. A Feature - /// can have at most one ownedReferenceSubsetting. - /// - [Class(xmiId: "_19_0_4_12e503d9_1661554793960_500657_60", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IReferenceSubsetting : ISubsetting - { - /// - /// The Feature that is referenced by the referencingFeature of this ReferenceSubsetting. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555055089_291547_207", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_393191_43181")] - Guid ReferencedFeature { get; set; } - - /// - /// The Feature that owns this ReferenceSubsetting relationship, which is also its subsettingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161575_539076_256", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_236250_43311")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674967_140305_43206")] - Guid ReferencingFeature { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Core.Features +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Decorators; + + /// + /// ReferenceSubsetting is a kind of Subsetting in which the referencedFeature is syntactically + /// distinguished from other Features subsetted by the referencingFeature. ReferenceSubsetting has the + /// same semantics as Subsetting, but the referencedFeature may have a special purpose relative to the + /// referencingFeature. For instance, ReferenceSubsetting is used to identify the relatedFeatures of a + /// Connector.ReferenceSubsetting is always an ownedRelationship of its referencingFeature. A Feature + /// can have at most one ownedReferenceSubsetting. + /// + [Class(xmiId: "_19_0_4_12e503d9_1661554793960_500657_60", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IReferenceSubsetting : ISubsetting + { + /// + /// The Feature that is referenced by the referencingFeature of this ReferenceSubsetting. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555055089_291547_207", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_393191_43181")] + Guid ReferencedFeature { get; set; } + + /// + /// The Feature that owns this ReferenceSubsetting relationship, which is also its subsettingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161575_539076_256", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_236250_43311")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674967_140305_43206")] + Guid referencingFeature { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IReferenceUsage.cs b/SysML2.NET/Core/AutoGenDto/IReferenceUsage.cs index f314bf03..96c651b5 100644 --- a/SysML2.NET/Core/AutoGenDto/IReferenceUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/IReferenceUsage.cs @@ -1,57 +1,57 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.DefinitionAndUsage -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Decorators; - - /// - /// A ReferenceUsage is a Usage that specifies a non-compositional (isComposite = false) reference to - /// something. The definition of a ReferenceUsage can be any kind of Classifier, with the default being - /// the top-level Classifier Base::Anything from the Kernel Semantic Library. This allows the - /// specification of a generic reference without distinguishing if the thing referenced is an attribute - /// value, item, action, etc. - /// - [Class(xmiId: "_19_0_2_12e503d9_1591477377905_618531_857", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IReferenceUsage : IUsage - { - /// - /// Always true for a ReferenceUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624035133434_200283_41434", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1624035114787_488767_41423")] - new bool IsReference { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.DefinitionAndUsage +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Decorators; + + /// + /// A ReferenceUsage is a Usage that specifies a non-compositional (isComposite = false) reference to + /// something. The definition of a ReferenceUsage can be any kind of Classifier, with the default being + /// the top-level Classifier Base::Anything from the Kernel Semantic Library. This allows the + /// specification of a generic reference without distinguishing if the thing referenced is an attribute + /// value, item, action, etc. + /// + [Class(xmiId: "_19_0_2_12e503d9_1591477377905_618531_857", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IReferenceUsage : IUsage + { + /// + /// Always true for a ReferenceUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624035133434_200283_41434", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1624035114787_488767_41423")] + new bool isReference { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IRelationship.cs b/SysML2.NET/Core/AutoGenDto/IRelationship.cs index 268fd5d4..e8d5a9ec 100644 --- a/SysML2.NET/Core/AutoGenDto/IRelationship.cs +++ b/SysML2.NET/Core/AutoGenDto/IRelationship.cs @@ -1,98 +1,98 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Root.Elements -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Decorators; - - /// - /// A Relationship is an Element that relates other Element. Some of its relatedElements may be owned, - /// in which case those ownedRelatedElements will be deleted from a model if their owningRelationship - /// is. A Relationship may also be owned by another Element, in which case the ownedRelatedElements of - /// the Relationship are also considered to be transitively owned by the owningRelatedElement of the - /// Relationship.The relatedElements of a Relationship are divided into source and target Elements. The - /// Relationship is considered to be directed from the source to the target Elements. An undirected - /// Relationship may have either all source or all target Elements.A "relationship Element" in - /// the abstract syntax is generically any Element that is an instance of either Relationship or a - /// direct or indirect specialization of Relationship. Any other kind of Element is a - /// "non-relationship Element". It is a convention of that non-relationship Elements are only - /// related via reified relationship Elements. Any meta-associations directly between non-relationship - /// Elements must be derived from underlying reified Relationship. - /// - [Class(xmiId: "_18_5_3_12e503d9_1533160651700_869737_42192", isAbstract: true, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IRelationship : IElement - { - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - bool IsImplied { get; set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - List OwnedRelatedElement { get; set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - Guid? OwningRelatedElement { get; set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - List RelatedElement { get; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - List Source { get; set; } - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - List Target { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Root.Elements +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Decorators; + + /// + /// A Relationship is an Element that relates other Element. Some of its relatedElements may be owned, + /// in which case those ownedRelatedElements will be deleted from a model if their owningRelationship + /// is. A Relationship may also be owned by another Element, in which case the ownedRelatedElements of + /// the Relationship are also considered to be transitively owned by the owningRelatedElement of the + /// Relationship.The relatedElements of a Relationship are divided into source and target Elements. The + /// Relationship is considered to be directed from the source to the target Elements. An undirected + /// Relationship may have either all source or all target Elements.A "relationship Element" in + /// the abstract syntax is generically any Element that is an instance of either Relationship or a + /// direct or indirect specialization of Relationship. Any other kind of Element is a + /// "non-relationship Element". It is a convention of that non-relationship Elements are only + /// related via reified relationship Elements. Any meta-associations directly between non-relationship + /// Elements must be derived from underlying reified Relationship. + /// + [Class(xmiId: "_18_5_3_12e503d9_1533160651700_869737_42192", isAbstract: true, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IRelationship : IElement + { + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + bool IsImplied { get; set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + List OwnedRelatedElement { get; set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + Guid? OwningRelatedElement { get; set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + List relatedElement { get; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + List Source { get; set; } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + List Target { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IRenderingDefinition.cs b/SysML2.NET/Core/AutoGenDto/IRenderingDefinition.cs index e3637e49..487b53c7 100644 --- a/SysML2.NET/Core/AutoGenDto/IRenderingDefinition.cs +++ b/SysML2.NET/Core/AutoGenDto/IRenderingDefinition.cs @@ -1,54 +1,54 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Views -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Systems.Parts; - using SysML2.NET.Decorators; - - /// - /// A RenderingDefinition is a PartDefinition that defines a specific rendering of the content of a - /// model view (e.g., symbols, style, layout, etc.). - /// - [Class(xmiId: "_19_0_2_12e503d9_1596657122569_397556_4766", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IRenderingDefinition : IPartDefinition - { - /// - /// The usages of a RenderingDefinition that are RenderingUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741367270_249607_6373", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - List Rendering { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Views +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Systems.Parts; + using SysML2.NET.Decorators; + + /// + /// A RenderingDefinition is a PartDefinition that defines a specific rendering of the content of a + /// model view (e.g., symbols, style, layout, etc.). + /// + [Class(xmiId: "_19_0_2_12e503d9_1596657122569_397556_4766", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IRenderingDefinition : IPartDefinition + { + /// + /// The usages of a RenderingDefinition that are RenderingUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741367270_249607_6373", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + List rendering { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IRenderingUsage.cs b/SysML2.NET/Core/AutoGenDto/IRenderingUsage.cs index 09c7a124..16b723eb 100644 --- a/SysML2.NET/Core/AutoGenDto/IRenderingUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/IRenderingUsage.cs @@ -1,56 +1,56 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Views -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Core.DTO.Systems.Parts; - using SysML2.NET.Decorators; - - /// - /// A RenderingUsage is the usage of a RenderingDefinition to specify the rendering of a specific model - /// view to produce a physical view artifact. - /// - [Class(xmiId: "_19_0_2_12e503d9_1596657138882_432286_4810", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IRenderingUsage : IPartUsage - { - /// - /// The RenderingDefinition that is the definition of this RenderingUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741320785_268295_6306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591475180488_929065_121")] - Guid? RenderingDefinition { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Views +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Core.DTO.Systems.Parts; + using SysML2.NET.Decorators; + + /// + /// A RenderingUsage is the usage of a RenderingDefinition to specify the rendering of a specific model + /// view to produce a physical view artifact. + /// + [Class(xmiId: "_19_0_2_12e503d9_1596657138882_432286_4810", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IRenderingUsage : IPartUsage + { + /// + /// The RenderingDefinition that is the definition of this RenderingUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741320785_268295_6306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591475180488_929065_121")] + Guid? renderingDefinition { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IRequirementConstraintMembership.cs b/SysML2.NET/Core/AutoGenDto/IRequirementConstraintMembership.cs index 1b5b2205..66fc3649 100644 --- a/SysML2.NET/Core/AutoGenDto/IRequirementConstraintMembership.cs +++ b/SysML2.NET/Core/AutoGenDto/IRequirementConstraintMembership.cs @@ -1,70 +1,70 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Requirements -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Root.Namespaces; - using SysML2.NET.Core.Systems.Requirements; - using SysML2.NET.Core.DTO.Core.Types; - using SysML2.NET.Decorators; - - /// - /// A RequirementConstraintMembership is a FeatureMembership for an assumed or required ConstraintUsage - /// of a RequirementDefinition or RequirementUsage. - /// - [Class(xmiId: "_19_0_2_12e503d9_1584048032876_657748_336", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IRequirementConstraintMembership : IFeatureMembership - { - /// - /// Whether the RequirementConstraintMembership is for an assumed or required ConstraintUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1584048161309_821854_390", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - RequirementConstraintKind Kind { get; set; } - - /// - /// The ConstraintUsage that is the ownedMemberFeature of this RequirementConstraintMembership. - /// - [Property(xmiId: "_19_0_2_12e503d9_1584048366950_985767_426", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] - Guid OwnedConstraint { get; } - - /// - /// The ConstraintUsage that is referenced through this RequirementConstraintMembership. It is the - /// referencedFeature of the ownedReferenceSubsetting of the ownedConstraint, if there is one, and, - /// otherwise, the ownedConstraint itself. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617118807597_77864_3544", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - Guid ReferencedConstraint { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Requirements +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Root.Namespaces; + using SysML2.NET.Core.Systems.Requirements; + using SysML2.NET.Core.DTO.Core.Types; + using SysML2.NET.Decorators; + + /// + /// A RequirementConstraintMembership is a FeatureMembership for an assumed or required ConstraintUsage + /// of a RequirementDefinition or RequirementUsage. + /// + [Class(xmiId: "_19_0_2_12e503d9_1584048032876_657748_336", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IRequirementConstraintMembership : IFeatureMembership + { + /// + /// Whether the RequirementConstraintMembership is for an assumed or required ConstraintUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1584048161309_821854_390", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + RequirementConstraintKind Kind { get; set; } + + /// + /// The ConstraintUsage that is the ownedMemberFeature of this RequirementConstraintMembership. + /// + [Property(xmiId: "_19_0_2_12e503d9_1584048366950_985767_426", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] + Guid ownedConstraint { get; } + + /// + /// The ConstraintUsage that is referenced through this RequirementConstraintMembership. It is the + /// referencedFeature of the ownedReferenceSubsetting of the ownedConstraint, if there is one, and, + /// otherwise, the ownedConstraint itself. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617118807597_77864_3544", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + Guid referencedConstraint { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IRequirementDefinition.cs b/SysML2.NET/Core/AutoGenDto/IRequirementDefinition.cs index ab576a6b..b36358ab 100644 --- a/SysML2.NET/Core/AutoGenDto/IRequirementDefinition.cs +++ b/SysML2.NET/Core/AutoGenDto/IRequirementDefinition.cs @@ -1,114 +1,114 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Requirements -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Systems.Constraints; - using SysML2.NET.Decorators; - - /// - /// A RequirementDefinition is a ConstraintDefinition that defines a requirement used in the context of - /// a specification as a constraint that a valid solution must satisfy. The specification is relative to - /// a specified subject, possibly in collaboration with one or more external actors. - /// - [Class(xmiId: "_19_0_2_12e503d9_1582990729262_130404_898", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IRequirementDefinition : IConstraintDefinition - { - /// - /// The parameters of this RequirementDefinition that represent actors involved in the requirement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621564041941_652319_2722", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - List ActorParameter { get; } - - /// - /// The owned ConstraintUsages that represent assumptions of this RequirementDefinition, which are the - /// ownedConstraints of the RequirementConstraintMemberships of the RequirementDefinition with kind = - /// assumption. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583376806647_629021_133", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - List AssumedConstraint { get; } - - /// - /// The ConcernUsages framed by this RequirementDefinition, which are the ownedConcerns of all - /// FramedConcernMemberships of the RequirementDefinition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617116733499_587735_3242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583376932997_792124_158")] - List FramedConcern { get; } - - /// - /// An optional modeler-specified identifier for this RequirementDefinition (used, e.g., to link it to - /// an original requirement text in some source document), which is the declaredShortName for the - /// RequirementDefinition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583376411386_270321_92", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1594160442439_915308_4153")] - string ReqId { get; set; } - - /// - /// The owned ConstraintUsages that represent requirements of this RequirementDefinition, derived as the - /// ownedConstraints of the RequirementConstraintMemberships of the RequirementDefinition with kind = - /// requirement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583376932997_792124_158", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - List RequiredConstraint { get; } - - /// - /// The parameters of this RequirementDefinition that represent stakeholders for th requirement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624033010374_29375_40166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - List StakeholderParameter { get; } - - /// - /// The parameter of this RequirementDefinition that represents its subject. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189007408_784255_586", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - Guid SubjectParameter { get; } - - /// - /// An optional textual statement of the requirement represented by this RequirementDefinition, derived - /// from the bodies of the documentation of the RequirementDefinition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583376433122_189839_94", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - List Text { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Requirements +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Systems.Constraints; + using SysML2.NET.Decorators; + + /// + /// A RequirementDefinition is a ConstraintDefinition that defines a requirement used in the context of + /// a specification as a constraint that a valid solution must satisfy. The specification is relative to + /// a specified subject, possibly in collaboration with one or more external actors. + /// + [Class(xmiId: "_19_0_2_12e503d9_1582990729262_130404_898", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IRequirementDefinition : IConstraintDefinition + { + /// + /// The parameters of this RequirementDefinition that represent actors involved in the requirement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621564041941_652319_2722", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + List actorParameter { get; } + + /// + /// The owned ConstraintUsages that represent assumptions of this RequirementDefinition, which are the + /// ownedConstraints of the RequirementConstraintMemberships of the RequirementDefinition with kind = + /// assumption. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583376806647_629021_133", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + List assumedConstraint { get; } + + /// + /// The ConcernUsages framed by this RequirementDefinition, which are the ownedConcerns of all + /// FramedConcernMemberships of the RequirementDefinition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617116733499_587735_3242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583376932997_792124_158")] + List framedConcern { get; } + + /// + /// An optional modeler-specified identifier for this RequirementDefinition (used, e.g., to link it to + /// an original requirement text in some source document), which is the declaredShortName for the + /// RequirementDefinition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583376411386_270321_92", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1594160442439_915308_4153")] + string ReqId { get; set; } + + /// + /// The owned ConstraintUsages that represent requirements of this RequirementDefinition, derived as the + /// ownedConstraints of the RequirementConstraintMemberships of the RequirementDefinition with kind = + /// requirement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583376932997_792124_158", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + List requiredConstraint { get; } + + /// + /// The parameters of this RequirementDefinition that represent stakeholders for th requirement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624033010374_29375_40166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + List stakeholderParameter { get; } + + /// + /// The parameter of this RequirementDefinition that represents its subject. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189007408_784255_586", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + Guid subjectParameter { get; } + + /// + /// An optional textual statement of the requirement represented by this RequirementDefinition, derived + /// from the bodies of the documentation of the RequirementDefinition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583376433122_189839_94", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + List text { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IRequirementUsage.cs b/SysML2.NET/Core/AutoGenDto/IRequirementUsage.cs index 98ac824d..d7ff1ae5 100644 --- a/SysML2.NET/Core/AutoGenDto/IRequirementUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/IRequirementUsage.cs @@ -1,121 +1,121 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Requirements -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Core.DTO.Systems.Constraints; - using SysML2.NET.Decorators; - - /// - /// A RequirementUsage is a Usage of a RequirementDefinition. - /// - [Class(xmiId: "_19_0_2_12e503d9_1582991078230_41497_1143", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IRequirementUsage : IConstraintUsage - { - /// - /// The parameters of this RequirementUsage that represent actors involved in the requirement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621564075474_350859_2735", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - List ActorParameter { get; } - - /// - /// The owned ConstraintUsages that represent assumptions of this RequirementUsage, derived as the - /// ownedConstraints of the RequirementConstraintMemberships of the RequirementUsage with kind = - /// assumption. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583377612865_991722_535", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - List AssumedConstraint { get; } - - /// - /// The ConcernUsages framed by this RequirementUsage, which are the ownedConcerns of all - /// FramedConcernMemberships of the RequirementUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617116922864_514612_3264", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583377448339_252740_390")] - List FramedConcern { get; } - - /// - /// An optional modeler-specified identifier for this RequirementUsage (used, e.g., to link it to an - /// original requirement text in some source document), which is the declaredShortName for the - /// RequirementUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583376474630_975784_96", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1594160442439_915308_4153")] - string ReqId { get; set; } - - /// - /// The owned ConstraintUsages that represent requirements of this RequirementUsage, which are the - /// ownedConstraints of the RequirementConstraintMemberships of the RequirementUsage with kind = - /// requirement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583377448339_252740_390", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - List RequiredConstraint { get; } - - /// - /// The RequirementDefinition that is the single definition of this RequirementUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000408905_769743_1223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1578067546711_751168_1745")] - Guid? RequirementDefinition { get; } - - /// - /// The parameters of this RequirementUsage that represent stakeholders for the requirement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624032823963_328647_40107", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - List StakeholderParameter { get; } - - /// - /// The parameter of this RequirementUsage that represents its subject. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189397261_941898_844", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - Guid SubjectParameter { get; } - - /// - /// An optional textual statement of the requirement represented by this RequirementUsage, derived from - /// the bodies of the documentation of the RequirementUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583376480942_745679_99", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - List Text { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Requirements +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Core.DTO.Systems.Constraints; + using SysML2.NET.Decorators; + + /// + /// A RequirementUsage is a Usage of a RequirementDefinition. + /// + [Class(xmiId: "_19_0_2_12e503d9_1582991078230_41497_1143", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IRequirementUsage : IConstraintUsage + { + /// + /// The parameters of this RequirementUsage that represent actors involved in the requirement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621564075474_350859_2735", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + List actorParameter { get; } + + /// + /// The owned ConstraintUsages that represent assumptions of this RequirementUsage, derived as the + /// ownedConstraints of the RequirementConstraintMemberships of the RequirementUsage with kind = + /// assumption. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583377612865_991722_535", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + List assumedConstraint { get; } + + /// + /// The ConcernUsages framed by this RequirementUsage, which are the ownedConcerns of all + /// FramedConcernMemberships of the RequirementUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617116922864_514612_3264", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583377448339_252740_390")] + List framedConcern { get; } + + /// + /// An optional modeler-specified identifier for this RequirementUsage (used, e.g., to link it to an + /// original requirement text in some source document), which is the declaredShortName for the + /// RequirementUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583376474630_975784_96", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1594160442439_915308_4153")] + string ReqId { get; set; } + + /// + /// The owned ConstraintUsages that represent requirements of this RequirementUsage, which are the + /// ownedConstraints of the RequirementConstraintMemberships of the RequirementUsage with kind = + /// requirement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583377448339_252740_390", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + List requiredConstraint { get; } + + /// + /// The RequirementDefinition that is the single definition of this RequirementUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000408905_769743_1223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1578067546711_751168_1745")] + Guid? requirementDefinition { get; } + + /// + /// The parameters of this RequirementUsage that represent stakeholders for the requirement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624032823963_328647_40107", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + List stakeholderParameter { get; } + + /// + /// The parameter of this RequirementUsage that represents its subject. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189397261_941898_844", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + Guid subjectParameter { get; } + + /// + /// An optional textual statement of the requirement represented by this RequirementUsage, derived from + /// the bodies of the documentation of the RequirementUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583376480942_745679_99", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + List text { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IRequirementVerificationMembership.cs b/SysML2.NET/Core/AutoGenDto/IRequirementVerificationMembership.cs index 22b88aa5..0edbec2c 100644 --- a/SysML2.NET/Core/AutoGenDto/IRequirementVerificationMembership.cs +++ b/SysML2.NET/Core/AutoGenDto/IRequirementVerificationMembership.cs @@ -1,74 +1,74 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.VerificationCases -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Root.Namespaces; - using SysML2.NET.Core.Systems.Requirements; - using SysML2.NET.Core.DTO.Systems.Requirements; - using SysML2.NET.Decorators; - - /// - /// A RequirementVerificationMembership is a RequirementConstraintMembership used in the objective of a - /// VerificationCase to identify a RequirementUsage that is verified by the VerificationCase. - /// - [Class(xmiId: "_19_0_4_12e503d9_1603921138449_428307_72", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IRequirementVerificationMembership : IRequirementConstraintMembership - { - /// - /// The kind of a RequirementVerificationMembership must be requirement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603921465292_637146_187", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "requirement")] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1584048161309_821854_390")] - new RequirementConstraintKind Kind { get; set; } - - /// - /// The owned RequirementUsage that acts as the ownedConstraint for this - /// RequirementVerificationMembership. This will either be the verifiedRequirement, or it will subset - /// the verifiedRequirement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603921329650_612380_147", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1584048366950_985767_426")] - Guid OwnedRequirement { get; } - - /// - /// The RequirementUsage that is identified as being verified. It is the referencedConstraint of the - /// RequirementVerificationMembership considered as a RequirementConstraintMembership, which must be a - /// RequirementUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603921870169_98378_309", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1617118807597_77864_3544")] - Guid VerifiedRequirement { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.VerificationCases +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Root.Namespaces; + using SysML2.NET.Core.Systems.Requirements; + using SysML2.NET.Core.DTO.Systems.Requirements; + using SysML2.NET.Decorators; + + /// + /// A RequirementVerificationMembership is a RequirementConstraintMembership used in the objective of a + /// VerificationCase to identify a RequirementUsage that is verified by the VerificationCase. + /// + [Class(xmiId: "_19_0_4_12e503d9_1603921138449_428307_72", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IRequirementVerificationMembership : IRequirementConstraintMembership + { + /// + /// The kind of a RequirementVerificationMembership must be requirement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603921465292_637146_187", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "requirement")] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1584048161309_821854_390")] + new RequirementConstraintKind Kind { get; set; } + + /// + /// The owned RequirementUsage that acts as the ownedConstraint for this + /// RequirementVerificationMembership. This will either be the verifiedRequirement, or it will subset + /// the verifiedRequirement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603921329650_612380_147", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1584048366950_985767_426")] + Guid ownedRequirement { get; } + + /// + /// The RequirementUsage that is identified as being verified. It is the referencedConstraint of the + /// RequirementVerificationMembership considered as a RequirementConstraintMembership, which must be a + /// RequirementUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603921870169_98378_309", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1617118807597_77864_3544")] + Guid verifiedRequirement { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IResultExpressionMembership.cs b/SysML2.NET/Core/AutoGenDto/IResultExpressionMembership.cs index 5068abd8..399afba9 100644 --- a/SysML2.NET/Core/AutoGenDto/IResultExpressionMembership.cs +++ b/SysML2.NET/Core/AutoGenDto/IResultExpressionMembership.cs @@ -1,57 +1,57 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Functions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Root.Namespaces; - using SysML2.NET.Core.DTO.Core.Types; - using SysML2.NET.Decorators; - - /// - /// A ResultExpressionMembership is a FeatureMembership that indicates that the ownedResultExpression - /// provides the result values for the Function or Expression that owns it. The owning Function or - /// Expression must contain a BindingConnector between the result parameter of the ownedResultExpression - /// and the result parameter of the owning Function or Expression. - /// - [Class(xmiId: "_19_0_2_12e503d9_1594868887258_973573_2461", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IResultExpressionMembership : IFeatureMembership - { - /// - /// The Expression that provides the result for the owner of the ResultExpressionMembership. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594868945944_989058_2545", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] - Guid OwnedResultExpression { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Functions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Root.Namespaces; + using SysML2.NET.Core.DTO.Core.Types; + using SysML2.NET.Decorators; + + /// + /// A ResultExpressionMembership is a FeatureMembership that indicates that the ownedResultExpression + /// provides the result values for the Function or Expression that owns it. The owning Function or + /// Expression must contain a BindingConnector between the result parameter of the ownedResultExpression + /// and the result parameter of the owning Function or Expression. + /// + [Class(xmiId: "_19_0_2_12e503d9_1594868887258_973573_2461", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IResultExpressionMembership : IFeatureMembership + { + /// + /// The Expression that provides the result for the owner of the ResultExpressionMembership. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594868945944_989058_2545", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] + Guid ownedResultExpression { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IReturnParameterMembership.cs b/SysML2.NET/Core/AutoGenDto/IReturnParameterMembership.cs index 8dab659a..031c6f93 100644 --- a/SysML2.NET/Core/AutoGenDto/IReturnParameterMembership.cs +++ b/SysML2.NET/Core/AutoGenDto/IReturnParameterMembership.cs @@ -1,49 +1,49 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Functions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Root.Namespaces; - using SysML2.NET.Core.DTO.Kernel.Behaviors; - using SysML2.NET.Decorators; - - /// - /// A ReturnParameterMembership is a ParameterMembership that indicates that the ownedMemberParameter is - /// the result parameter of a Function or Expression. The direction of the ownedMemberParameter must be - /// out. - /// - [Class(xmiId: "_18_5_3_12e503d9_1557528148740_240982_111109", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IReturnParameterMembership : IParameterMembership - { - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Functions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Root.Namespaces; + using SysML2.NET.Core.DTO.Kernel.Behaviors; + using SysML2.NET.Decorators; + + /// + /// A ReturnParameterMembership is a ParameterMembership that indicates that the ownedMemberParameter is + /// the result parameter of a Function or Expression. The direction of the ownedMemberParameter must be + /// out. + /// + [Class(xmiId: "_18_5_3_12e503d9_1557528148740_240982_111109", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IReturnParameterMembership : IParameterMembership + { + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ISatisfyRequirementUsage.cs b/SysML2.NET/Core/AutoGenDto/ISatisfyRequirementUsage.cs index b537ffa2..dd840f18 100644 --- a/SysML2.NET/Core/AutoGenDto/ISatisfyRequirementUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/ISatisfyRequirementUsage.cs @@ -1,67 +1,67 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Requirements -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Core.DTO.Systems.Constraints; - using SysML2.NET.Decorators; - - /// - /// A SatisfyRequirementUsage is an AssertConstraintUsage that asserts, by default, that a satisfied - /// RequirementUsage is true for a specific satisfyingFeature, or, if isNegated = true, that the - /// RequirementUsage is false. The satisfied RequirementUsage is related to the SatisfyRequirementUsage - /// by a ReferenceSubsetting Relationship. - /// - [Class(xmiId: "_19_0_2_12e503d9_1583184587272_448420_2009", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface ISatisfyRequirementUsage : IRequirementUsage, IAssertConstraintUsage - { - /// - /// The RequirementUsage that is satisfied by the satisfyingSubject of this SatisfyRequirementUsage. It - /// is the assertedConstraint of the SatisfyRequirementUsage considered as an AssertConstraintUsage, - /// which must be a RequirementUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583185037725_699150_2332", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1581045158665_239617_9458")] - Guid SatisfiedRequirement { get; } - - /// - /// The Feature that represents the actual subject that is asserted to satisfy the satisfiedRequirement. - /// The satisfyingFeature is bound to the subjectParameter of the SatisfyRequirementUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583378847285_929988_1396", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - Guid SatisfyingFeature { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Requirements +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Core.DTO.Systems.Constraints; + using SysML2.NET.Decorators; + + /// + /// A SatisfyRequirementUsage is an AssertConstraintUsage that asserts, by default, that a satisfied + /// RequirementUsage is true for a specific satisfyingFeature, or, if isNegated = true, that the + /// RequirementUsage is false. The satisfied RequirementUsage is related to the SatisfyRequirementUsage + /// by a ReferenceSubsetting Relationship. + /// + [Class(xmiId: "_19_0_2_12e503d9_1583184587272_448420_2009", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface ISatisfyRequirementUsage : IRequirementUsage, IAssertConstraintUsage + { + /// + /// The RequirementUsage that is satisfied by the satisfyingSubject of this SatisfyRequirementUsage. It + /// is the assertedConstraint of the SatisfyRequirementUsage considered as an AssertConstraintUsage, + /// which must be a RequirementUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583185037725_699150_2332", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1581045158665_239617_9458")] + Guid satisfiedRequirement { get; } + + /// + /// The Feature that represents the actual subject that is asserted to satisfy the satisfiedRequirement. + /// The satisfyingFeature is bound to the subjectParameter of the SatisfyRequirementUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583378847285_929988_1396", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + Guid satisfyingFeature { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ISelectExpression.cs b/SysML2.NET/Core/AutoGenDto/ISelectExpression.cs index 1bf11a05..e7b1f99d 100644 --- a/SysML2.NET/Core/AutoGenDto/ISelectExpression.cs +++ b/SysML2.NET/Core/AutoGenDto/ISelectExpression.cs @@ -1,53 +1,53 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Expressions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Decorators; - - /// - /// A SelectExpression is an OperatorExpression whose operator is "select", which resolves to the - /// Function ControlFunctions::select from the Kernel Functions Library. - /// - [Class(xmiId: "_18_5_3_12e503d9_1559596717567_82711_29088", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface ISelectExpression : IOperatorExpression - { - /// - /// - [Property(xmiId: "_18_5_3_12e503d9_1559596728932_861031_29126", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "select")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1557528808100_646606_111674")] - new string Operator { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Expressions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Decorators; + + /// + /// A SelectExpression is an OperatorExpression whose operator is "select", which resolves to the + /// Function ControlFunctions::select from the Kernel Functions Library. + /// + [Class(xmiId: "_18_5_3_12e503d9_1559596717567_82711_29088", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface ISelectExpression : IOperatorExpression + { + /// + /// + [Property(xmiId: "_18_5_3_12e503d9_1559596728932_861031_29126", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "select")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1557528808100_646606_111674")] + new string Operator { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ISendActionUsage.cs b/SysML2.NET/Core/AutoGenDto/ISendActionUsage.cs index 050bbd6c..3e42837e 100644 --- a/SysML2.NET/Core/AutoGenDto/ISendActionUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/ISendActionUsage.cs @@ -1,70 +1,70 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Actions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Decorators; - - /// - /// A SendActionUsage is an ActionUsage that specifies the sending of a payload given by the result of - /// its payloadArgument Expression via a MessageTransfer whose source is given by the result of the - /// senderArgument Expression and whose target is given by the result of the receiverArgument - /// Expression. If no senderArgument is provided, the default is the this context for the action. If no - /// receiverArgument is given, then the receiver is to be determined by, e.g., outgoing Connections from - /// the sender. - /// - [Class(xmiId: "_18_5_3_12e503d9_1565505727349_597544_34143", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface ISendActionUsage : IActionUsage - { - /// - /// An Expression whose result is bound to the payload input parameter of this SendActionUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1612814399422_336683_143", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - Guid PayloadArgument { get; } - - /// - /// An Expression whose result is bound to the receiver input parameter of this SendActionUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1567742374932_10504_18141", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - Guid? ReceiverArgument { get; } - - /// - /// An Expression whose result is bound to the sender input parameter of this SendActionUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665504224536_894018_944", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - Guid? SenderArgument { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Actions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Decorators; + + /// + /// A SendActionUsage is an ActionUsage that specifies the sending of a payload given by the result of + /// its payloadArgument Expression via a MessageTransfer whose source is given by the result of the + /// senderArgument Expression and whose target is given by the result of the receiverArgument + /// Expression. If no senderArgument is provided, the default is the this context for the action. If no + /// receiverArgument is given, then the receiver is to be determined by, e.g., outgoing Connections from + /// the sender. + /// + [Class(xmiId: "_18_5_3_12e503d9_1565505727349_597544_34143", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface ISendActionUsage : IActionUsage + { + /// + /// An Expression whose result is bound to the payload input parameter of this SendActionUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1612814399422_336683_143", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + Guid payloadArgument { get; } + + /// + /// An Expression whose result is bound to the receiver input parameter of this SendActionUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1567742374932_10504_18141", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + Guid? receiverArgument { get; } + + /// + /// An Expression whose result is bound to the sender input parameter of this SendActionUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665504224536_894018_944", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + Guid? senderArgument { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ISpecialization.cs b/SysML2.NET/Core/AutoGenDto/ISpecialization.cs index 29c2ced7..b6b5c0de 100644 --- a/SysML2.NET/Core/AutoGenDto/ISpecialization.cs +++ b/SysML2.NET/Core/AutoGenDto/ISpecialization.cs @@ -1,70 +1,70 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Core.Types -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Root.Elements; - using SysML2.NET.Decorators; - - /// - /// Specialization is a Relationship between two Types that requires all instances of the specific type - /// to also be instances of the general Type (i.e., the set of instances of the specific Type is a - /// subset of those of the general Type, which might be the same set). - /// - [Class(xmiId: "_18_5_3_12e503d9_1533160651696_992729_42182", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface ISpecialization : IRelationship - { - /// - /// A Type with a superset of all instances of the specific Type, which might be the same set. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674980_563969_43273", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - Guid General { get; set; } - - /// - /// The Type that is the specific Type of this Specialization and owns it as its owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_573157_43226", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] - Guid? OwningType { get; } - - /// - /// A Type with a subset of all instances of the general Type, which might be the same set. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674982_253967_43281", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - Guid Specific { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Core.Types +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Root.Elements; + using SysML2.NET.Decorators; + + /// + /// Specialization is a Relationship between two Types that requires all instances of the specific type + /// to also be instances of the general Type (i.e., the set of instances of the specific Type is a + /// subset of those of the general Type, which might be the same set). + /// + [Class(xmiId: "_18_5_3_12e503d9_1533160651696_992729_42182", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface ISpecialization : IRelationship + { + /// + /// A Type with a superset of all instances of the specific Type, which might be the same set. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674980_563969_43273", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + Guid General { get; set; } + + /// + /// The Type that is the specific Type of this Specialization and owns it as its owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_573157_43226", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] + Guid? owningType { get; } + + /// + /// A Type with a subset of all instances of the general Type, which might be the same set. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674982_253967_43281", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + Guid Specific { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IStakeholderMembership.cs b/SysML2.NET/Core/AutoGenDto/IStakeholderMembership.cs index 66158a1c..f896fc3f 100644 --- a/SysML2.NET/Core/AutoGenDto/IStakeholderMembership.cs +++ b/SysML2.NET/Core/AutoGenDto/IStakeholderMembership.cs @@ -1,56 +1,56 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Requirements -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Root.Namespaces; - using SysML2.NET.Core.DTO.Kernel.Behaviors; - using SysML2.NET.Decorators; - - /// - /// A StakeholderMembership is a ParameterMembership that identifies a PartUsage as a - /// stakeholderParameter of a RequirementDefinition or RequirementUsage, which specifies a role played - /// by an entity with concerns framed by the owningType. - /// - [Class(xmiId: "_19_0_4_12e503d9_1624034341711_188515_40791", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IStakeholderMembership : IParameterMembership - { - /// - /// The PartUsage specifying the stakeholder. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624034451301_6622_40822", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1557528016548_548098_110830")] - Guid OwnedStakeholderParameter { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Requirements +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Root.Namespaces; + using SysML2.NET.Core.DTO.Kernel.Behaviors; + using SysML2.NET.Decorators; + + /// + /// A StakeholderMembership is a ParameterMembership that identifies a PartUsage as a + /// stakeholderParameter of a RequirementDefinition or RequirementUsage, which specifies a role played + /// by an entity with concerns framed by the owningType. + /// + [Class(xmiId: "_19_0_4_12e503d9_1624034341711_188515_40791", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IStakeholderMembership : IParameterMembership + { + /// + /// The PartUsage specifying the stakeholder. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624034451301_6622_40822", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1557528016548_548098_110830")] + Guid ownedStakeholderParameter { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IStateDefinition.cs b/SysML2.NET/Core/AutoGenDto/IStateDefinition.cs index aff4f78e..4a6b662b 100644 --- a/SysML2.NET/Core/AutoGenDto/IStateDefinition.cs +++ b/SysML2.NET/Core/AutoGenDto/IStateDefinition.cs @@ -1,89 +1,89 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.States -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Systems.Actions; - using SysML2.NET.Decorators; - - /// - /// A StateDefinition is the Definition of the Behavior of a system or part of a system in a certain - /// state condition.A StateDefinition may be related to up to three of its ownedFeatures by - /// StateBehaviorMembership Relationships, all of different kinds, corresponding to the entry, do and - /// exit actions of the StateDefinition. - /// - [Class(xmiId: "_19_0_2_12e503d9_1575587534200_898246_600", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IStateDefinition : IActionDefinition - { - /// - /// The ActionUsage of this StateDefinition to be performed while in the state defined by the - /// StateDefinition. It is the owned ActionUsage related to the StateDefinition by a - /// StateSubactionMembership with kind = do. - /// - [Property(xmiId: "_19_0_2_12e503d9_1582975916386_388324_339", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - Guid? DoAction { get; } - - /// - /// The ActionUsage of this StateDefinition to be performed on entry to the state defined by the - /// StateDefinition. It is the owned ActionUsage related to the StateDefinition by a - /// StateSubactionMembership with kind = entry. - /// - [Property(xmiId: "_19_0_2_12e503d9_1582975902339_513804_312", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - Guid? EntryAction { get; } - - /// - /// The ActionUsage of this StateDefinition to be performed on exit to the state defined by the - /// StateDefinition. It is the owned ActionUsage related to the StateDefinition by a - /// StateSubactionMembership with kind = exit. - /// - [Property(xmiId: "_19_0_2_12e503d9_1582975927011_696894_352", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - Guid? ExitAction { get; } - - /// - /// Whether the ownedStates of this StateDefinition are to all be performed in parallel. If true, none - /// of the ownedActions (which includes ownedStates) may have any incoming or outgoing Transitions. If - /// false, only one ownedState may be performed at a time. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624025670323_266174_37704", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - bool IsParallel { get; set; } - - /// - /// The StateUsages, which are actions in the StateDefinition, that specify the discrete states in the - /// behavior defined by the StateDefinition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575588190693_949879_1156", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565500809065_170841_30688")] - List State { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.States +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Systems.Actions; + using SysML2.NET.Decorators; + + /// + /// A StateDefinition is the Definition of the Behavior of a system or part of a system in a certain + /// state condition.A StateDefinition may be related to up to three of its ownedFeatures by + /// StateBehaviorMembership Relationships, all of different kinds, corresponding to the entry, do and + /// exit actions of the StateDefinition. + /// + [Class(xmiId: "_19_0_2_12e503d9_1575587534200_898246_600", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IStateDefinition : IActionDefinition + { + /// + /// The ActionUsage of this StateDefinition to be performed while in the state defined by the + /// StateDefinition. It is the owned ActionUsage related to the StateDefinition by a + /// StateSubactionMembership with kind = do. + /// + [Property(xmiId: "_19_0_2_12e503d9_1582975916386_388324_339", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + Guid? doAction { get; } + + /// + /// The ActionUsage of this StateDefinition to be performed on entry to the state defined by the + /// StateDefinition. It is the owned ActionUsage related to the StateDefinition by a + /// StateSubactionMembership with kind = entry. + /// + [Property(xmiId: "_19_0_2_12e503d9_1582975902339_513804_312", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + Guid? entryAction { get; } + + /// + /// The ActionUsage of this StateDefinition to be performed on exit to the state defined by the + /// StateDefinition. It is the owned ActionUsage related to the StateDefinition by a + /// StateSubactionMembership with kind = exit. + /// + [Property(xmiId: "_19_0_2_12e503d9_1582975927011_696894_352", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + Guid? exitAction { get; } + + /// + /// Whether the ownedStates of this StateDefinition are to all be performed in parallel. If true, none + /// of the ownedActions (which includes ownedStates) may have any incoming or outgoing Transitions. If + /// false, only one ownedState may be performed at a time. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624025670323_266174_37704", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + bool IsParallel { get; set; } + + /// + /// The StateUsages, which are actions in the StateDefinition, that specify the discrete states in the + /// behavior defined by the StateDefinition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575588190693_949879_1156", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565500809065_170841_30688")] + List state { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IStateSubactionMembership.cs b/SysML2.NET/Core/AutoGenDto/IStateSubactionMembership.cs index 9e198354..3986cace 100644 --- a/SysML2.NET/Core/AutoGenDto/IStateSubactionMembership.cs +++ b/SysML2.NET/Core/AutoGenDto/IStateSubactionMembership.cs @@ -1,62 +1,62 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.States -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Root.Namespaces; - using SysML2.NET.Core.Systems.States; - using SysML2.NET.Core.DTO.Core.Types; - using SysML2.NET.Decorators; - - /// - /// A StateSubactionMembership is a FeatureMembership for an entry, do or exit ActionUsage of a - /// StateDefinition or StateUsage. - /// - [Class(xmiId: "_19_0_2_12e503d9_1575671792204_632048_203", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IStateSubactionMembership : IFeatureMembership - { - /// - /// The ActionUsage that is the ownedMemberFeature of this StateSubactionMembership. - /// - [Property(xmiId: "_19_0_2_12e503d9_1582974847979_606181_96", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] - Guid Action { get; } - - /// - /// Whether this StateSubactionMembership is for an entry, do or exit ActionUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575671861308_70894_325", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - StateSubactionKind Kind { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.States +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Root.Namespaces; + using SysML2.NET.Core.Systems.States; + using SysML2.NET.Core.DTO.Core.Types; + using SysML2.NET.Decorators; + + /// + /// A StateSubactionMembership is a FeatureMembership for an entry, do or exit ActionUsage of a + /// StateDefinition or StateUsage. + /// + [Class(xmiId: "_19_0_2_12e503d9_1575671792204_632048_203", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IStateSubactionMembership : IFeatureMembership + { + /// + /// The ActionUsage that is the ownedMemberFeature of this StateSubactionMembership. + /// + [Property(xmiId: "_19_0_2_12e503d9_1582974847979_606181_96", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] + Guid action { get; } + + /// + /// Whether this StateSubactionMembership is for an entry, do or exit ActionUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575671861308_70894_325", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + StateSubactionKind Kind { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IStateUsage.cs b/SysML2.NET/Core/AutoGenDto/IStateUsage.cs index 96a31f45..b20bdc77 100644 --- a/SysML2.NET/Core/AutoGenDto/IStateUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/IStateUsage.cs @@ -1,91 +1,91 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.States -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Core.DTO.Systems.Actions; - using SysML2.NET.Decorators; - - /// - /// A StateUsage is an ActionUsage that is nominally the Usage of a StateDefinition. However, other - /// kinds of kernel Behaviors are also allowed as types, to permit use of BehaviorsA StateUsage may be - /// related to up to three of its ownedFeatures by StateSubactionMembership Relationships, all of - /// different kinds, corresponding to the entry, do and exit actions of the StateUsage. - /// - [Class(xmiId: "_19_0_2_12e503d9_1575587557729_586912_651", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IStateUsage : IActionUsage - { - /// - /// The ActionUsage of this StateUsage to be performed while in the state defined by the - /// StateDefinition. It is the owned ActionUsage related to the StateUsage by a StateSubactionMembership - /// with kind = do. - /// - [Property(xmiId: "_19_0_2_12e503d9_1582976255473_203238_644", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - Guid? DoAction { get; } - - /// - /// The ActionUsage of this StateUsage to be performed on entry to the state defined by the - /// StateDefinition. It is the owned ActionUsage related to the StateUsage by a StateSubactionMembership - /// with kind = entry. - /// - [Property(xmiId: "_19_0_2_12e503d9_1582976239200_979652_605", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - Guid? EntryAction { get; } - - /// - /// The ActionUsage of this StateUsage to be performed on exit to the state defined by the - /// StateDefinition. It is the owned ActionUsage related to the StateUsage by a StateSubactionMembership - /// with kind = exit. - /// - [Property(xmiId: "_19_0_2_12e503d9_1582976283940_998741_691", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - Guid? ExitAction { get; } - - /// - /// Whether the nestedStates of this StateUsage are to all be performed in parallel. If true, none of - /// the nestedActions (which include nestedStates) may have any incoming or outgoing Transitions. If - /// false, only one nestedState may be performed at a time. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624025713025_548712_37708", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - bool IsParallel { get; set; } - - /// - /// The Behaviors that are the types of this StateUsage. Nominally, these would be StateDefinitions, but - /// kernel Behaviors are also allowed, to permit use of Behaviors from the Kernel Model Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575588456737_49200_1438", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1565500905804_589845_30779")] - List StateDefinition { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.States +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Core.DTO.Systems.Actions; + using SysML2.NET.Decorators; + + /// + /// A StateUsage is an ActionUsage that is nominally the Usage of a StateDefinition. However, other + /// kinds of kernel Behaviors are also allowed as types, to permit use of BehaviorsA StateUsage may be + /// related to up to three of its ownedFeatures by StateSubactionMembership Relationships, all of + /// different kinds, corresponding to the entry, do and exit actions of the StateUsage. + /// + [Class(xmiId: "_19_0_2_12e503d9_1575587557729_586912_651", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IStateUsage : IActionUsage + { + /// + /// The ActionUsage of this StateUsage to be performed while in the state defined by the + /// StateDefinition. It is the owned ActionUsage related to the StateUsage by a StateSubactionMembership + /// with kind = do. + /// + [Property(xmiId: "_19_0_2_12e503d9_1582976255473_203238_644", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + Guid? doAction { get; } + + /// + /// The ActionUsage of this StateUsage to be performed on entry to the state defined by the + /// StateDefinition. It is the owned ActionUsage related to the StateUsage by a StateSubactionMembership + /// with kind = entry. + /// + [Property(xmiId: "_19_0_2_12e503d9_1582976239200_979652_605", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + Guid? entryAction { get; } + + /// + /// The ActionUsage of this StateUsage to be performed on exit to the state defined by the + /// StateDefinition. It is the owned ActionUsage related to the StateUsage by a StateSubactionMembership + /// with kind = exit. + /// + [Property(xmiId: "_19_0_2_12e503d9_1582976283940_998741_691", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + Guid? exitAction { get; } + + /// + /// Whether the nestedStates of this StateUsage are to all be performed in parallel. If true, none of + /// the nestedActions (which include nestedStates) may have any incoming or outgoing Transitions. If + /// false, only one nestedState may be performed at a time. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624025713025_548712_37708", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + bool IsParallel { get; set; } + + /// + /// The Behaviors that are the types of this StateUsage. Nominally, these would be StateDefinitions, but + /// kernel Behaviors are also allowed, to permit use of Behaviors from the Kernel Model Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575588456737_49200_1438", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1565500905804_589845_30779")] + List stateDefinition { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IStep.cs b/SysML2.NET/Core/AutoGenDto/IStep.cs index d606ec14..cbcc8dc6 100644 --- a/SysML2.NET/Core/AutoGenDto/IStep.cs +++ b/SysML2.NET/Core/AutoGenDto/IStep.cs @@ -1,65 +1,65 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Behaviors -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.DTO.Core.Features; - using SysML2.NET.Decorators; - - /// - /// A Step is a Feature that is typed by one or more Behaviors. Steps may be used by one Behavior to - /// coordinate the performance of other Behaviors, supporting a steady refinement of behavioral - /// descriptions. Steps can be ordered in time and can be connected using Flows to specify things - /// flowing between their parameters. - /// - [Class(xmiId: "_18_5_3_b9102da_1536345916995_711141_17306", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IStep : IFeature - { - /// - /// The Behaviors that type this Step. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - List Behavior { get; } - - /// - /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into - /// and/or out of a performance of the Step. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - List Parameter { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Behaviors +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.DTO.Core.Features; + using SysML2.NET.Decorators; + + /// + /// A Step is a Feature that is typed by one or more Behaviors. Steps may be used by one Behavior to + /// coordinate the performance of other Behaviors, supporting a steady refinement of behavioral + /// descriptions. Steps can be ordered in time and can be connected using Flows to specify things + /// flowing between their parameters. + /// + [Class(xmiId: "_18_5_3_b9102da_1536345916995_711141_17306", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IStep : IFeature + { + /// + /// The Behaviors that type this Step. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + List behavior { get; } + + /// + /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into + /// and/or out of a performance of the Step. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + List parameter { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IStructure.cs b/SysML2.NET/Core/AutoGenDto/IStructure.cs index cb478710..cb475ca9 100644 --- a/SysML2.NET/Core/AutoGenDto/IStructure.cs +++ b/SysML2.NET/Core/AutoGenDto/IStructure.cs @@ -1,48 +1,48 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Structures -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Kernel.Classes; - using SysML2.NET.Decorators; - - /// - /// A Structure is a Class of objects in the modeled universe that are primarily structural in nature. - /// While such an object is not itself behavioral, it may be involved in and acted on by Behaviors, and - /// it may be the performer of some of them. - /// - [Class(xmiId: "_19_0_4_b9102da_1609606051359_625961_451", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IStructure : IClass - { - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Structures +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Kernel.Classes; + using SysML2.NET.Decorators; + + /// + /// A Structure is a Class of objects in the modeled universe that are primarily structural in nature. + /// While such an object is not itself behavioral, it may be involved in and acted on by Behaviors, and + /// it may be the performer of some of them. + /// + [Class(xmiId: "_19_0_4_b9102da_1609606051359_625961_451", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IStructure : IClass + { + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ISubclassification.cs b/SysML2.NET/Core/AutoGenDto/ISubclassification.cs index 92732628..aeb84941 100644 --- a/SysML2.NET/Core/AutoGenDto/ISubclassification.cs +++ b/SysML2.NET/Core/AutoGenDto/ISubclassification.cs @@ -1,68 +1,68 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Core.Classifiers -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Core.Types; - using SysML2.NET.Decorators; - - /// - /// Subclassification is Specialization in which both the specific and general Types are Classifier. - /// This means all instances of the specific Classifier are also instances of the general Classifier. - /// - [Class(xmiId: "_18_5_3_12e503d9_1543188778639_872842_24973", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface ISubclassification : ISpecialization - { - /// - /// The Classifier that owns this Subclassification relationship, which must also be its subclassifier. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543189170642_857401_25506", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_573157_43226")] - Guid? OwningClassifier { get; } - - /// - /// The more specific Classifier in this Subclassification. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543189084042_772698_25407", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] - Guid Subclassifier { get; set; } - - /// - /// The more general Classifier in this Subclassification. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543188934635_627507_25283", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_563969_43273")] - Guid Superclassifier { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Core.Classifiers +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Core.Types; + using SysML2.NET.Decorators; + + /// + /// Subclassification is Specialization in which both the specific and general Types are Classifier. + /// This means all instances of the specific Classifier are also instances of the general Classifier. + /// + [Class(xmiId: "_18_5_3_12e503d9_1543188778639_872842_24973", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface ISubclassification : ISpecialization + { + /// + /// The Classifier that owns this Subclassification relationship, which must also be its subclassifier. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543189170642_857401_25506", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_573157_43226")] + Guid? owningClassifier { get; } + + /// + /// The more specific Classifier in this Subclassification. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543189084042_772698_25407", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] + Guid Subclassifier { get; set; } + + /// + /// The more general Classifier in this Subclassification. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543188934635_627507_25283", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_563969_43273")] + Guid Superclassifier { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ISubjectMembership.cs b/SysML2.NET/Core/AutoGenDto/ISubjectMembership.cs index 3285497c..81826582 100644 --- a/SysML2.NET/Core/AutoGenDto/ISubjectMembership.cs +++ b/SysML2.NET/Core/AutoGenDto/ISubjectMembership.cs @@ -1,56 +1,56 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Requirements -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Root.Namespaces; - using SysML2.NET.Core.DTO.Kernel.Behaviors; - using SysML2.NET.Decorators; - - /// - /// A SubjectMembership is a ParameterMembership that indicates that its ownedSubjectParameter is the - /// subject of its owningType. The owningType of a SubjectMembership must be a RequirementDefinition, - /// RequirementUsage, CaseDefinition, or CaseUsage. - /// - [Class(xmiId: "_19_0_2_59601fc_1590256833607_99707_374", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface ISubjectMembership : IParameterMembership - { - /// - /// The UsageownedMemberParameter of this SubjectMembership. - /// - [Property(xmiId: "_19_0_2_59601fc_1590258781117_655788_845", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1557528016548_548098_110830")] - Guid OwnedSubjectParameter { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Requirements +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Root.Namespaces; + using SysML2.NET.Core.DTO.Kernel.Behaviors; + using SysML2.NET.Decorators; + + /// + /// A SubjectMembership is a ParameterMembership that indicates that its ownedSubjectParameter is the + /// subject of its owningType. The owningType of a SubjectMembership must be a RequirementDefinition, + /// RequirementUsage, CaseDefinition, or CaseUsage. + /// + [Class(xmiId: "_19_0_2_59601fc_1590256833607_99707_374", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface ISubjectMembership : IParameterMembership + { + /// + /// The UsageownedMemberParameter of this SubjectMembership. + /// + [Property(xmiId: "_19_0_2_59601fc_1590258781117_655788_845", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1557528016548_548098_110830")] + Guid ownedSubjectParameter { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ISubsetting.cs b/SysML2.NET/Core/AutoGenDto/ISubsetting.cs index 9132f2a6..ffec3d38 100644 --- a/SysML2.NET/Core/AutoGenDto/ISubsetting.cs +++ b/SysML2.NET/Core/AutoGenDto/ISubsetting.cs @@ -1,73 +1,73 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Core.Features -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Core.Types; - using SysML2.NET.Decorators; - - /// - /// Subsetting is Specialization in which the specific and general Types are Features. This means all - /// values of the subsettingFeature (on instances of its domain, i.e., the intersection of its - /// featuringTypes) are values of the subsettedFeature on instances of its domain. To support this the - /// domain of the subsettingFeature must be the same or specialize (at least indirectly) the domain of - /// the subsettedFeature (via Specialization), and the co-domain (intersection of the types) of the - /// subsettingFeature must specialize the co-domain of the subsettedFeature. - /// - [Class(xmiId: "_18_5_3_12e503d9_1533160651710_980688_42209", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface ISubsetting : ISpecialization - { - /// - /// A subsettingFeature that is also the owningRelatedElement of this Subsetting. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_236250_43311", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674967_140305_43206")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_573157_43226")] - Guid? OwningFeature { get; } - - /// - /// The Feature that is subsetted by the subsettingFeature of this Subsetting. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_393191_43181", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_563969_43273")] - Guid SubsettedFeature { get; set; } - - /// - /// The Feature that is a subset of the subsettedFeature of this Subsetting. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674967_140305_43206", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] - Guid SubsettingFeature { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Core.Features +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Core.Types; + using SysML2.NET.Decorators; + + /// + /// Subsetting is Specialization in which the specific and general Types are Features. This means all + /// values of the subsettingFeature (on instances of its domain, i.e., the intersection of its + /// featuringTypes) are values of the subsettedFeature on instances of its domain. To support this the + /// domain of the subsettingFeature must be the same or specialize (at least indirectly) the domain of + /// the subsettedFeature (via Specialization), and the co-domain (intersection of the types) of the + /// subsettingFeature must specialize the co-domain of the subsettedFeature. + /// + [Class(xmiId: "_18_5_3_12e503d9_1533160651710_980688_42209", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface ISubsetting : ISpecialization + { + /// + /// A subsettingFeature that is also the owningRelatedElement of this Subsetting. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_236250_43311", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674967_140305_43206")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_573157_43226")] + Guid? owningFeature { get; } + + /// + /// The Feature that is subsetted by the subsettingFeature of this Subsetting. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_393191_43181", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_563969_43273")] + Guid SubsettedFeature { get; set; } + + /// + /// The Feature that is a subset of the subsettedFeature of this Subsetting. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674967_140305_43206", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] + Guid SubsettingFeature { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ISuccession.cs b/SysML2.NET/Core/AutoGenDto/ISuccession.cs index 5abcd6d1..a36e1b31 100644 --- a/SysML2.NET/Core/AutoGenDto/ISuccession.cs +++ b/SysML2.NET/Core/AutoGenDto/ISuccession.cs @@ -1,46 +1,46 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Connectors -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Decorators; - - /// - /// A Succession is a binary Connector that requires its relatedFeatures to happen separately in time. - /// - [Class(xmiId: "_18_5_3_71301a1_1536100248189_622183_16479", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface ISuccession : IConnector - { - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Connectors +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Decorators; + + /// + /// A Succession is a binary Connector that requires its relatedFeatures to happen separately in time. + /// + [Class(xmiId: "_18_5_3_71301a1_1536100248189_622183_16479", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface ISuccession : IConnector + { + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ISuccessionAsUsage.cs b/SysML2.NET/Core/AutoGenDto/ISuccessionAsUsage.cs index 125901e5..eacef8d0 100644 --- a/SysML2.NET/Core/AutoGenDto/ISuccessionAsUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/ISuccessionAsUsage.cs @@ -1,47 +1,47 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Connections -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.DTO.Kernel.Connectors; - using SysML2.NET.Decorators; - - /// - /// A SuccessionAsUsage is both a ConnectorAsUsage and a Succession. - /// - [Class(xmiId: "_19_0_4_12e503d9_1624053404424_842165_528", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface ISuccessionAsUsage : IConnectorAsUsage, ISuccession - { - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Connections +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.DTO.Kernel.Connectors; + using SysML2.NET.Decorators; + + /// + /// A SuccessionAsUsage is both a ConnectorAsUsage and a Succession. + /// + [Class(xmiId: "_19_0_4_12e503d9_1624053404424_842165_528", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface ISuccessionAsUsage : IConnectorAsUsage, ISuccession + { + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ITerminateActionUsage.cs b/SysML2.NET/Core/AutoGenDto/ITerminateActionUsage.cs index 952ab1e0..61e268d9 100644 --- a/SysML2.NET/Core/AutoGenDto/ITerminateActionUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/ITerminateActionUsage.cs @@ -48,7 +48,7 @@ public partial interface ITerminateActionUsage : IActionUsage /// TerminateActionUsage. ///
[Property(xmiId: "_2022x_2_12e503d9_1724451750939_948290_107", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - Guid? TerminatedOccurrenceArgument { get; } + Guid? terminatedOccurrenceArgument { get; } } } diff --git a/SysML2.NET/Core/AutoGenDto/ITextualRepresentation.cs b/SysML2.NET/Core/AutoGenDto/ITextualRepresentation.cs index fcf1af1c..58e630bb 100644 --- a/SysML2.NET/Core/AutoGenDto/ITextualRepresentation.cs +++ b/SysML2.NET/Core/AutoGenDto/ITextualRepresentation.cs @@ -1,88 +1,88 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Root.Annotations -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Decorators; - - /// - /// A TextualRepresentation is an AnnotatingElement whose body represents the representedElement in a - /// given language. The representedElement must be the owner of the TextualRepresentation. The named - /// language can be a natural language, in which case the body is an informal representation, or an - /// artificial language, in which case the body is expected to be a formal, machine-parsable - /// representation.If the named language of a TextualRepresentation is machine-parsable, then the body - /// text should be legal input text as defined for that language. The interpretation of the named - /// language string shall be case insensitive. The following language names are defined to correspond to - /// the given standard languages:
kerml Kernel Modeling Language
ocl Object Constraint - /// Language
alf Action Language for fUML
Other specifications may - /// define specific language strings, other than those shown above, to be used to indicate the use of - /// languages from those specifications in KerML TextualRepresentation.If the language of a - /// TextualRepresentation is "kerml", then the body text shall be a legal representation of - /// the representedElement in the KerML textual concrete syntax. A conforming tool can use such a - /// TextualRepresentation Annotation to record the original KerML concrete syntax text from which an - /// Element was parsed. In this case, it is a tool responsibility to ensure that the body of the - /// TextualRepresentation remains correct (or the Annotation is removed) if the annotated Element - /// changes other than by re-parsing the body text.An Element with a TextualRepresentation in a language - /// other than KerML is essentially a semantically "opaque" Element specified in the other - /// language. However, a conforming KerML tool may interpret such an element consistently with the - /// specification of the named language. - ///
- [Class(xmiId: "_19_0_2_12e503d9_1594152214531_455349_2448", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface ITextualRepresentation : IAnnotatingElement - { - /// - /// The textual representation of the representedElement in the given language. - /// - [Property(xmiId: "_19_0_4_12e503d9_1647817353412_339800_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - string Body { get; set; } - - /// - /// The natural or artifical language in which the body text is written. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152270061_927814_2479", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - string Language { get; set; } - - /// - /// The Element that is represented by this TextualRepresentation. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758494_414887_3389", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_744477_17277")] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1594145755058_99428_86")] - Guid RepresentedElement { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Root.Annotations +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Decorators; + + /// + /// A TextualRepresentation is an AnnotatingElement whose body represents the representedElement in a + /// given language. The representedElement must be the owner of the TextualRepresentation. The named + /// language can be a natural language, in which case the body is an informal representation, or an + /// artificial language, in which case the body is expected to be a formal, machine-parsable + /// representation.If the named language of a TextualRepresentation is machine-parsable, then the body + /// text should be legal input text as defined for that language. The interpretation of the named + /// language string shall be case insensitive. The following language names are defined to correspond to + /// the given standard languages:
kerml Kernel Modeling Language
ocl Object Constraint + /// Language
alf Action Language for fUML
Other specifications may + /// define specific language strings, other than those shown above, to be used to indicate the use of + /// languages from those specifications in KerML TextualRepresentation.If the language of a + /// TextualRepresentation is "kerml", then the body text shall be a legal representation of + /// the representedElement in the KerML textual concrete syntax. A conforming tool can use such a + /// TextualRepresentation Annotation to record the original KerML concrete syntax text from which an + /// Element was parsed. In this case, it is a tool responsibility to ensure that the body of the + /// TextualRepresentation remains correct (or the Annotation is removed) if the annotated Element + /// changes other than by re-parsing the body text.An Element with a TextualRepresentation in a language + /// other than KerML is essentially a semantically "opaque" Element specified in the other + /// language. However, a conforming KerML tool may interpret such an element consistently with the + /// specification of the named language. + ///
+ [Class(xmiId: "_19_0_2_12e503d9_1594152214531_455349_2448", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface ITextualRepresentation : IAnnotatingElement + { + /// + /// The textual representation of the representedElement in the given language. + /// + [Property(xmiId: "_19_0_4_12e503d9_1647817353412_339800_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + string Body { get; set; } + + /// + /// The natural or artifical language in which the body text is written. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152270061_927814_2479", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + string Language { get; set; } + + /// + /// The Element that is represented by this TextualRepresentation. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758494_414887_3389", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_744477_17277")] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1594145755058_99428_86")] + Guid representedElement { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ITransitionFeatureMembership.cs b/SysML2.NET/Core/AutoGenDto/ITransitionFeatureMembership.cs index 52c27a9f..f4677e22 100644 --- a/SysML2.NET/Core/AutoGenDto/ITransitionFeatureMembership.cs +++ b/SysML2.NET/Core/AutoGenDto/ITransitionFeatureMembership.cs @@ -1,63 +1,63 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.States -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Root.Namespaces; - using SysML2.NET.Core.Systems.States; - using SysML2.NET.Core.DTO.Core.Types; - using SysML2.NET.Decorators; - - /// - /// A TransitionFeatureMembership is a FeatureMembership for a trigger, guard or effect of a - /// TransitionUsage, whose transitionFeature is a AcceptActionUsage, Boolean-valued Expression or - /// ActionUsage, depending on its kind. - /// - [Class(xmiId: "_19_0_2_12e503d9_1575672033669_188530_395", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface ITransitionFeatureMembership : IFeatureMembership - { - /// - /// Whether this TransitionFeatureMembership is for a trigger, guard or effect. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575672142396_129864_506", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - TransitionFeatureKind Kind { get; set; } - - /// - /// The Step that is the ownedMemberFeature of this TransitionFeatureMembership. - /// - [Property(xmiId: "_19_0_2_12e503d9_1582975046568_736161_148", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] - Guid TransitionFeature { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.States +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Root.Namespaces; + using SysML2.NET.Core.Systems.States; + using SysML2.NET.Core.DTO.Core.Types; + using SysML2.NET.Decorators; + + /// + /// A TransitionFeatureMembership is a FeatureMembership for a trigger, guard or effect of a + /// TransitionUsage, whose transitionFeature is a AcceptActionUsage, Boolean-valued Expression or + /// ActionUsage, depending on its kind. + /// + [Class(xmiId: "_19_0_2_12e503d9_1575672033669_188530_395", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface ITransitionFeatureMembership : IFeatureMembership + { + /// + /// Whether this TransitionFeatureMembership is for a trigger, guard or effect. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575672142396_129864_506", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + TransitionFeatureKind Kind { get; set; } + + /// + /// The Step that is the ownedMemberFeature of this TransitionFeatureMembership. + /// + [Property(xmiId: "_19_0_2_12e503d9_1582975046568_736161_148", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] + Guid transitionFeature { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ITransitionUsage.cs b/SysML2.NET/Core/AutoGenDto/ITransitionUsage.cs index 6bffd94d..c9572912 100644 --- a/SysML2.NET/Core/AutoGenDto/ITransitionUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/ITransitionUsage.cs @@ -1,102 +1,102 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.States -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Core.DTO.Systems.Actions; - using SysML2.NET.Decorators; - - /// - /// A TransitionUsage is an ActionUsage representing a triggered transition between ActionUsages or - /// StateUsages. When triggered by a triggerAction, when its guardExpression is true, the - /// TransitionUsage asserts that its source is exited, then its effectAction (if any) is performed, and - /// then its target is entered.A TransitionUsage can be related to some of its ownedFeatures using - /// TransitionFeatureMembership Relationships, corresponding to the triggerAction, guardExpression and - /// effectAction of the TransitionUsage. - /// - [Class(xmiId: "_19_0_2_12e503d9_1575672078353_626298_450", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface ITransitionUsage : IActionUsage - { - /// - /// The ActionUsages that define the effects of this TransitionUsage, which are the ownedFeatures of the - /// TransitionUsage related to it by TransitionFeatureMemberships with kind = effect, which must all be - /// ActionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1581029782522_542070_6299", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - List EffectAction { get; } - - /// - /// The Expressions that define the guards of this TransitionUsage, which are the ownedFeatures of the - /// TransitionUsage related to it by TransitionFeatureMemberships with kind = guard, which must all be - /// Expressions. - /// - [Property(xmiId: "_19_0_2_12e503d9_1581029720824_747691_6254", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - List GuardExpression { get; } - - /// - /// The source ActionUsage of this TransitionUsage, which becomes the source of the succession for the - /// TransitionUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1581029439311_947395_6114", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - Guid Source { get; } - - /// - /// The Succession that is the ownedFeature of this TransitionUsage, which, if the TransitionUsage is - /// triggered, asserts the temporal ordering of the source and target. - /// - [Property(xmiId: "_19_0_2_12e503d9_1581030490131_304332_6364", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - Guid Succession { get; } - - /// - /// The target ActionUsage of this TransitionUsage, which is the targetFeature of the succession for the - /// TransitionUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1581029493366_130491_6153", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - Guid Target { get; } - - /// - /// The AcceptActionUsages that define the triggers of this TransitionUsage, which are the ownedFeatures - /// of the TransitionUsage related to it by TransitionFeatureMemberships with kind = trigger, which must - /// all be AcceptActionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1581029662256_985457_6209", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - List TriggerAction { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.States +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Core.DTO.Systems.Actions; + using SysML2.NET.Decorators; + + /// + /// A TransitionUsage is an ActionUsage representing a triggered transition between ActionUsages or + /// StateUsages. When triggered by a triggerAction, when its guardExpression is true, the + /// TransitionUsage asserts that its source is exited, then its effectAction (if any) is performed, and + /// then its target is entered.A TransitionUsage can be related to some of its ownedFeatures using + /// TransitionFeatureMembership Relationships, corresponding to the triggerAction, guardExpression and + /// effectAction of the TransitionUsage. + /// + [Class(xmiId: "_19_0_2_12e503d9_1575672078353_626298_450", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface ITransitionUsage : IActionUsage + { + /// + /// The ActionUsages that define the effects of this TransitionUsage, which are the ownedFeatures of the + /// TransitionUsage related to it by TransitionFeatureMemberships with kind = effect, which must all be + /// ActionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1581029782522_542070_6299", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + List effectAction { get; } + + /// + /// The Expressions that define the guards of this TransitionUsage, which are the ownedFeatures of the + /// TransitionUsage related to it by TransitionFeatureMemberships with kind = guard, which must all be + /// Expressions. + /// + [Property(xmiId: "_19_0_2_12e503d9_1581029720824_747691_6254", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + List guardExpression { get; } + + /// + /// The source ActionUsage of this TransitionUsage, which becomes the source of the succession for the + /// TransitionUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1581029439311_947395_6114", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + Guid source { get; } + + /// + /// The Succession that is the ownedFeature of this TransitionUsage, which, if the TransitionUsage is + /// triggered, asserts the temporal ordering of the source and target. + /// + [Property(xmiId: "_19_0_2_12e503d9_1581030490131_304332_6364", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + Guid succession { get; } + + /// + /// The target ActionUsage of this TransitionUsage, which is the targetFeature of the succession for the + /// TransitionUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1581029493366_130491_6153", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + Guid target { get; } + + /// + /// The AcceptActionUsages that define the triggers of this TransitionUsage, which are the ownedFeatures + /// of the TransitionUsage related to it by TransitionFeatureMemberships with kind = trigger, which must + /// all be AcceptActionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1581029662256_985457_6209", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + List triggerAction { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ITriggerInvocationExpression.cs b/SysML2.NET/Core/AutoGenDto/ITriggerInvocationExpression.cs index d68968c0..9d07bd6d 100644 --- a/SysML2.NET/Core/AutoGenDto/ITriggerInvocationExpression.cs +++ b/SysML2.NET/Core/AutoGenDto/ITriggerInvocationExpression.cs @@ -1,56 +1,56 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Actions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Actions; - using SysML2.NET.Core.DTO.Kernel.Expressions; - using SysML2.NET.Decorators; - - /// - /// A TriggerInvocationExpression is an InvocationExpression that invokes one of the trigger Functions - /// from the Kernel Semantic Library Triggers package, as indicated by its kind. - /// - [Class(xmiId: "_19_0_4_12e503d9_1643588492412_624345_274", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface ITriggerInvocationExpression : IInvocationExpression - { - /// - /// Indicates which of the Functions from the Triggers model in the Kernel Semantic Library is to be - /// invoked by this TriggerInvocationExpression. - /// - [Property(xmiId: "_19_0_4_12e503d9_1643588513495_774789_300", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - TriggerKind Kind { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Actions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Actions; + using SysML2.NET.Core.DTO.Kernel.Expressions; + using SysML2.NET.Decorators; + + /// + /// A TriggerInvocationExpression is an InvocationExpression that invokes one of the trigger Functions + /// from the Kernel Semantic Library Triggers package, as indicated by its kind. + /// + [Class(xmiId: "_19_0_4_12e503d9_1643588492412_624345_274", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface ITriggerInvocationExpression : IInvocationExpression + { + /// + /// Indicates which of the Functions from the Triggers model in the Kernel Semantic Library is to be + /// invoked by this TriggerInvocationExpression. + /// + [Property(xmiId: "_19_0_4_12e503d9_1643588513495_774789_300", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + TriggerKind Kind { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IType.cs b/SysML2.NET/Core/AutoGenDto/IType.cs index dd965acf..83280c84 100644 --- a/SysML2.NET/Core/AutoGenDto/IType.cs +++ b/SysML2.NET/Core/AutoGenDto/IType.cs @@ -1,248 +1,248 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Core.Types -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Root.Namespaces; - using SysML2.NET.Decorators; - - /// - /// A Type is a Namespace that is the most general kind of Element supporting the semantics of - /// classification. A Type may be a Classifier or a Feature, defining conditions on what is classified - /// by the Type (see also the description of isSufficient). - /// - [Class(xmiId: "_18_5_3_71301a1_1537895141427_270492_15579", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IType : INamespace - { - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - List DifferencingType { get; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - List DirectedFeature { get; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - List EndFeature { get; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - List Feature { get; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - List FeatureMembership { get; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - List InheritedFeature { get; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - List InheritedMembership { get; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - List Input { get; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - List IntersectingType { get; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - bool IsAbstract { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - bool IsConjugated { get; } - - /// - /// 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - bool IsSufficient { get; set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - Guid? Multiplicity { get; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - List Output { get; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - Guid? OwnedConjugator { get; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - List OwnedDifferencing { get; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - List OwnedDisjoining { get; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - List OwnedEndFeature { get; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - List OwnedFeature { get; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - List OwnedFeatureMembership { get; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - List OwnedIntersecting { get; } - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - List OwnedSpecialization { get; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - List OwnedUnioning { get; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - List UnioningType { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Core.Types +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Root.Namespaces; + using SysML2.NET.Decorators; + + /// + /// A Type is a Namespace that is the most general kind of Element supporting the semantics of + /// classification. A Type may be a Classifier or a Feature, defining conditions on what is classified + /// by the Type (see also the description of isSufficient). + /// + [Class(xmiId: "_18_5_3_71301a1_1537895141427_270492_15579", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IType : INamespace + { + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + List differencingType { get; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + List directedFeature { get; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + List endFeature { get; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + List feature { get; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + List featureMembership { get; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + List inheritedFeature { get; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + List inheritedMembership { get; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + List input { get; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + List intersectingType { get; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + bool IsAbstract { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + bool isConjugated { get; } + + /// + /// 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + bool IsSufficient { get; set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + Guid? multiplicity { get; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + List output { get; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + Guid? ownedConjugator { get; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + List ownedDifferencing { get; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + List ownedDisjoining { get; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + List ownedEndFeature { get; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + List ownedFeature { get; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + List ownedFeatureMembership { get; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + List ownedIntersecting { get; } + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + List ownedSpecialization { get; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + List ownedUnioning { get; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + List unioningType { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ITypeFeaturing.cs b/SysML2.NET/Core/AutoGenDto/ITypeFeaturing.cs index 9beb5f63..c8dbe2f8 100644 --- a/SysML2.NET/Core/AutoGenDto/ITypeFeaturing.cs +++ b/SysML2.NET/Core/AutoGenDto/ITypeFeaturing.cs @@ -1,69 +1,69 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Core.Features -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Root.Elements; - using SysML2.NET.Decorators; - - /// - /// A TypeFeaturing is a Featuring Relationship in which the featureOfType is the source and the - /// featuringType is the target. - /// - [Class(xmiId: "_19_0_4_12e503d9_1603904809245_349502_510", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface ITypeFeaturing : IRelationship - { - /// - /// The Feature that is featured by the featuringType. It is the source of the TypeFeaturing. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603904928950_912234_579", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - Guid FeatureOfType { get; set; } - - /// - /// The Type that features the featureOfType. It is the target of the TypeFeaturing. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603904945024_8186_598", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - Guid FeaturingType { get; set; } - - /// - /// A featureOfType that is also the owningRelatedElement of this TypeFeaturing. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673976_689994_763", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_912234_579")] - Guid? OwningFeatureOfType { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Core.Features +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Root.Elements; + using SysML2.NET.Decorators; + + /// + /// A TypeFeaturing is a Featuring Relationship in which the featureOfType is the source and the + /// featuringType is the target. + /// + [Class(xmiId: "_19_0_4_12e503d9_1603904809245_349502_510", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface ITypeFeaturing : IRelationship + { + /// + /// The Feature that is featured by the featuringType. It is the source of the TypeFeaturing. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603904928950_912234_579", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + Guid FeatureOfType { get; set; } + + /// + /// The Type that features the featureOfType. It is the target of the TypeFeaturing. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603904945024_8186_598", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + Guid FeaturingType { get; set; } + + /// + /// A featureOfType that is also the owningRelatedElement of this TypeFeaturing. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673976_689994_763", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_912234_579")] + Guid? owningFeatureOfType { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IUnioning.cs b/SysML2.NET/Core/AutoGenDto/IUnioning.cs index 1fb22fb4..0ca16345 100644 --- a/SysML2.NET/Core/AutoGenDto/IUnioning.cs +++ b/SysML2.NET/Core/AutoGenDto/IUnioning.cs @@ -1,61 +1,61 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Core.Types -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Root.Elements; - using SysML2.NET.Decorators; - - /// - /// Unioning is a Relationship that makes its unioningType one of the unioningTypes of its typeUnioned. - /// - [Class(xmiId: "_19_0_4_b9102da_1661869922775_190651_380", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IUnioning : IRelationship - { - /// - /// Type with interpretations partly determined by unioningType, as described in Type::unioningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978504_423347_459", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - Guid TypeUnioned { get; } - - /// - /// Type that partly determines interpretations of typeUnioned, as described in Type::unioningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869982082_280210_472", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - Guid UnioningType { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Core.Types +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Root.Elements; + using SysML2.NET.Decorators; + + /// + /// Unioning is a Relationship that makes its unioningType one of the unioningTypes of its typeUnioned. + /// + [Class(xmiId: "_19_0_4_b9102da_1661869922775_190651_380", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IUnioning : IRelationship + { + /// + /// Type with interpretations partly determined by unioningType, as described in Type::unioningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978504_423347_459", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + Guid typeUnioned { get; } + + /// + /// Type that partly determines interpretations of typeUnioned, as described in Type::unioningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869982082_280210_472", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + Guid UnioningType { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IUsage.cs b/SysML2.NET/Core/AutoGenDto/IUsage.cs index b7023983..8066841a 100644 --- a/SysML2.NET/Core/AutoGenDto/IUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/IUsage.cs @@ -1,325 +1,325 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.DefinitionAndUsage -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.DTO.Core.Features; - using SysML2.NET.Decorators; - - /// - /// A Usage is a usage of a Definition.A Usage may have nestedUsages that model features that apply in - /// the context of the owningUsage. A Usage may also have Definitions nested in it, but this has no - /// semantic significance, other than the nested scoping resulting from the Usage being considered as a - /// Namespace for any nested Definitions.However, if a Usage has isVariation = true, then it represents - /// a variation point Usage. In this case, all of its members must be variant Usages, related to the - /// Usage by VariantMembership Relationships. Rather than being features of the Usage, variant Usages - /// model different concrete alternatives that can be chosen to fill in for the variation point Usage. - /// - [Class(xmiId: "_18_5_3_12e503d9_1565469997820_598571_19982", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IUsage : IFeature - { - /// - /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds - /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - List Definition { get; } - - /// - /// The usages of this Usage that are directedFeatures. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - List DirectedUsage { get; } - - /// - /// Whether this Usage is a referential Usage, that is, it has isComposite = false. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - bool IsReference { get; } - - /// - /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage - /// must be VariantMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - bool IsVariation { get; set; } - - /// - /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its - /// owningType, rather than being featured by the owningType itself). However, if isConstant is also - /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance - /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary - /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is - /// inherited from Feature. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] - bool MayTimeVary { get; } - - /// - /// The ActionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - List NestedAction { get; } - - /// - /// The AllocationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - List NestedAllocation { get; } - - /// - /// The AnalysisCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - List NestedAnalysisCase { get; } - - /// - /// The code>AttributeUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - List NestedAttribute { get; } - - /// - /// The CalculationUsage that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - List NestedCalculation { get; } - - /// - /// The CaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] - List NestedCase { get; } - - /// - /// The ConcernUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - List NestedConcern { get; } - - /// - /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are - /// ConnectorAsUsages even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - List NestedConnection { get; } - - /// - /// The ConstraintUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - List NestedConstraint { get; } - - /// - /// The code>EnumerationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] - List NestedEnumeration { get; } - - /// - /// The code>FlowUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - List NestedFlow { get; } - - /// - /// The InterfaceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - List NestedInterface { get; } - - /// - /// The ItemUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - List NestedItem { get; } - - /// - /// The MetadataUsages that are nestedUsages of this of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - List NestedMetadata { get; } - - /// - /// The OccurrenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - List NestedOccurrence { get; } - - /// - /// The PartUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - List NestedPart { get; } - - /// - /// The PortUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - List NestedPort { get; } - - /// - /// The ReferenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - List NestedReference { get; } - - /// - /// The RenderingUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - List NestedRendering { get; } - - /// - /// The RequirementUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] - List NestedRequirement { get; } - - /// - /// The StateUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - List NestedState { get; } - - /// - /// The TransitionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - List NestedTransition { get; } - - /// - /// The Usages that are ownedFeatures of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - List NestedUsage { get; } - - /// - /// The UseCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - List NestedUseCase { get; } - - /// - /// The VerificationCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - List NestedVerificationCase { get; } - - /// - /// The ViewUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - List NestedView { get; } - - /// - /// The ViewpointUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - List NestedViewpoint { get; } - - /// - /// The Definition that owns this Usage (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] - Guid? OwningDefinition { get; } - - /// - /// The Usage in which this Usage is nested (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - Guid? OwningUsage { get; } - - /// - /// The Usages that are features of this Usage (not necessarily owned). - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - List Usage { get; } - - /// - /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = - /// true. If isVariation = false, then there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - List Variant { get; } - - /// - /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this - /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - List VariantMembership { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.DefinitionAndUsage +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.DTO.Core.Features; + using SysML2.NET.Decorators; + + /// + /// A Usage is a usage of a Definition.A Usage may have nestedUsages that model features that apply in + /// the context of the owningUsage. A Usage may also have Definitions nested in it, but this has no + /// semantic significance, other than the nested scoping resulting from the Usage being considered as a + /// Namespace for any nested Definitions.However, if a Usage has isVariation = true, then it represents + /// a variation point Usage. In this case, all of its members must be variant Usages, related to the + /// Usage by VariantMembership Relationships. Rather than being features of the Usage, variant Usages + /// model different concrete alternatives that can be chosen to fill in for the variation point Usage. + /// + [Class(xmiId: "_18_5_3_12e503d9_1565469997820_598571_19982", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IUsage : IFeature + { + /// + /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds + /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + List definition { get; } + + /// + /// The usages of this Usage that are directedFeatures. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + List directedUsage { get; } + + /// + /// Whether this Usage is a referential Usage, that is, it has isComposite = false. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + bool isReference { get; } + + /// + /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage + /// must be VariantMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + bool IsVariation { get; set; } + + /// + /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its + /// owningType, rather than being featured by the owningType itself). However, if isConstant is also + /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance + /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary + /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is + /// inherited from Feature. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] + bool mayTimeVary { get; } + + /// + /// The ActionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + List nestedAction { get; } + + /// + /// The AllocationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + List nestedAllocation { get; } + + /// + /// The AnalysisCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + List nestedAnalysisCase { get; } + + /// + /// The code>AttributeUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + List nestedAttribute { get; } + + /// + /// The CalculationUsage that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + List nestedCalculation { get; } + + /// + /// The CaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] + List nestedCase { get; } + + /// + /// The ConcernUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + List nestedConcern { get; } + + /// + /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are + /// ConnectorAsUsages even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + List nestedConnection { get; } + + /// + /// The ConstraintUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + List nestedConstraint { get; } + + /// + /// The code>EnumerationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] + List nestedEnumeration { get; } + + /// + /// The code>FlowUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + List nestedFlow { get; } + + /// + /// The InterfaceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + List nestedInterface { get; } + + /// + /// The ItemUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + List nestedItem { get; } + + /// + /// The MetadataUsages that are nestedUsages of this of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + List nestedMetadata { get; } + + /// + /// The OccurrenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + List nestedOccurrence { get; } + + /// + /// The PartUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + List nestedPart { get; } + + /// + /// The PortUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + List nestedPort { get; } + + /// + /// The ReferenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + List nestedReference { get; } + + /// + /// The RenderingUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + List nestedRendering { get; } + + /// + /// The RequirementUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] + List nestedRequirement { get; } + + /// + /// The StateUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + List nestedState { get; } + + /// + /// The TransitionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + List nestedTransition { get; } + + /// + /// The Usages that are ownedFeatures of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + List nestedUsage { get; } + + /// + /// The UseCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + List nestedUseCase { get; } + + /// + /// The VerificationCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + List nestedVerificationCase { get; } + + /// + /// The ViewUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + List nestedView { get; } + + /// + /// The ViewpointUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + List nestedViewpoint { get; } + + /// + /// The Definition that owns this Usage (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] + Guid? owningDefinition { get; } + + /// + /// The Usage in which this Usage is nested (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + Guid? owningUsage { get; } + + /// + /// The Usages that are features of this Usage (not necessarily owned). + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + List usage { get; } + + /// + /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = + /// true. If isVariation = false, then there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + List variant { get; } + + /// + /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this + /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + List variantMembership { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IUseCaseDefinition.cs b/SysML2.NET/Core/AutoGenDto/IUseCaseDefinition.cs index e869f3c9..cf59d565 100644 --- a/SysML2.NET/Core/AutoGenDto/IUseCaseDefinition.cs +++ b/SysML2.NET/Core/AutoGenDto/IUseCaseDefinition.cs @@ -1,55 +1,55 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.UseCases -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Systems.Cases; - using SysML2.NET.Decorators; - - /// - /// A UseCaseDefinition is a CaseDefinition that specifies a set of actions performed by its subject, in - /// interaction with one or more actors external to the subject. The objective is to yield an observable - /// result that is of value to one or more of the actors. - /// - [Class(xmiId: "_19_0_4_12e503d9_1621460866763_205297_823", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IUseCaseDefinition : ICaseDefinition - { - /// - /// The UseCaseUsages that are included by this UseCaseDefinition, which are the useCaseIncludeds of the - /// IncludeUseCaseUsages owned by this UseCaseDefinition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621461043764_27_910", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - List IncludedUseCase { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.UseCases +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Systems.Cases; + using SysML2.NET.Decorators; + + /// + /// A UseCaseDefinition is a CaseDefinition that specifies a set of actions performed by its subject, in + /// interaction with one or more actors external to the subject. The objective is to yield an observable + /// result that is of value to one or more of the actors. + /// + [Class(xmiId: "_19_0_4_12e503d9_1621460866763_205297_823", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IUseCaseDefinition : ICaseDefinition + { + /// + /// The UseCaseUsages that are included by this UseCaseDefinition, which are the useCaseIncludeds of the + /// IncludeUseCaseUsages owned by this UseCaseDefinition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621461043764_27_910", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + List includedUseCase { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IUseCaseUsage.cs b/SysML2.NET/Core/AutoGenDto/IUseCaseUsage.cs index 2ea60f95..419036fc 100644 --- a/SysML2.NET/Core/AutoGenDto/IUseCaseUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/IUseCaseUsage.cs @@ -1,62 +1,62 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.UseCases -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Core.DTO.Systems.Cases; - using SysML2.NET.Decorators; - - /// - /// A UseCaseUsage is a Usage of a UseCaseDefinition. - /// - [Class(xmiId: "_19_0_4_12e503d9_1621460902507_609356_850", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IUseCaseUsage : ICaseUsage - { - /// - /// The UseCaseUsages that are included by this UseCaseUse, which are the useCaseIncludeds of the - /// IncludeUseCaseUsages owned by this UseCaseUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621545989647_997634_1855", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - List IncludedUseCase { get; } - - /// - /// The UseCaseDefinition that is the definition of this UseCaseUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621460964889_804779_881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_59601fc_1590257465225_855208_512")] - Guid? UseCaseDefinition { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.UseCases +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Core.DTO.Systems.Cases; + using SysML2.NET.Decorators; + + /// + /// A UseCaseUsage is a Usage of a UseCaseDefinition. + /// + [Class(xmiId: "_19_0_4_12e503d9_1621460902507_609356_850", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IUseCaseUsage : ICaseUsage + { + /// + /// The UseCaseUsages that are included by this UseCaseUse, which are the useCaseIncludeds of the + /// IncludeUseCaseUsages owned by this UseCaseUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621545989647_997634_1855", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + List includedUseCase { get; } + + /// + /// The UseCaseDefinition that is the definition of this UseCaseUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621460964889_804779_881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_59601fc_1590257465225_855208_512")] + Guid? useCaseDefinition { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IVariantMembership.cs b/SysML2.NET/Core/AutoGenDto/IVariantMembership.cs index 5ffcfa96..81f53728 100644 --- a/SysML2.NET/Core/AutoGenDto/IVariantMembership.cs +++ b/SysML2.NET/Core/AutoGenDto/IVariantMembership.cs @@ -1,57 +1,57 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.DefinitionAndUsage -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Root.Namespaces; - using SysML2.NET.Core.DTO.Root.Namespaces; - using SysML2.NET.Decorators; - - /// - /// A VariantMembership is a Membership between a variation point Definition or Usage and a Usage that - /// represents a variant in the context of that variation. The membershipOwningNamespace for the - /// VariantMembership must be either a Definition or a Usage with isVariation = true. - /// - [Class(xmiId: "_19_0_2_59601fc_1590331535985_437424_487", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IVariantMembership : IOwningMembership - { - /// - /// The Usage that represents a variant in the context of the owningVariationDefinition or - /// owningVariationUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978683452_645414_775", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] - Guid OwnedVariantUsage { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.DefinitionAndUsage +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Root.Namespaces; + using SysML2.NET.Core.DTO.Root.Namespaces; + using SysML2.NET.Decorators; + + /// + /// A VariantMembership is a Membership between a variation point Definition or Usage and a Usage that + /// represents a variant in the context of that variation. The membershipOwningNamespace for the + /// VariantMembership must be either a Definition or a Usage with isVariation = true. + /// + [Class(xmiId: "_19_0_2_59601fc_1590331535985_437424_487", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IVariantMembership : IOwningMembership + { + /// + /// The Usage that represents a variant in the context of the owningVariationDefinition or + /// owningVariationUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978683452_645414_775", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] + Guid ownedVariantUsage { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IVerificationCaseDefinition.cs b/SysML2.NET/Core/AutoGenDto/IVerificationCaseDefinition.cs index 54c234af..6b838b84 100644 --- a/SysML2.NET/Core/AutoGenDto/IVerificationCaseDefinition.cs +++ b/SysML2.NET/Core/AutoGenDto/IVerificationCaseDefinition.cs @@ -1,54 +1,54 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.VerificationCases -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Systems.Cases; - using SysML2.NET.Decorators; - - /// - /// A VerificationCaseDefinition is a CaseDefinition for the purpose of verification of the subject of - /// the case against its requirements. - /// - [Class(xmiId: "_19_0_2_12e503d9_1596821335655_850182_10186", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IVerificationCaseDefinition : ICaseDefinition - { - /// - /// The RequirementUsages verified by this VerificationCaseDefinition, which are the - /// verifiedRequirements of all RequirementVerificationMemberships of the objectiveRequirement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603922371399_701592_338", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - List VerifiedRequirement { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.VerificationCases +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Systems.Cases; + using SysML2.NET.Decorators; + + /// + /// A VerificationCaseDefinition is a CaseDefinition for the purpose of verification of the subject of + /// the case against its requirements. + /// + [Class(xmiId: "_19_0_2_12e503d9_1596821335655_850182_10186", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IVerificationCaseDefinition : ICaseDefinition + { + /// + /// The RequirementUsages verified by this VerificationCaseDefinition, which are the + /// verifiedRequirements of all RequirementVerificationMemberships of the objectiveRequirement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603922371399_701592_338", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + List verifiedRequirement { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IVerificationCaseUsage.cs b/SysML2.NET/Core/AutoGenDto/IVerificationCaseUsage.cs index 89144e14..7ccadb7f 100644 --- a/SysML2.NET/Core/AutoGenDto/IVerificationCaseUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/IVerificationCaseUsage.cs @@ -1,62 +1,62 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.VerificationCases -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Core.DTO.Systems.Cases; - using SysML2.NET.Decorators; - - /// - /// A VerificationCaseUsage is a Usage of a VerificationCaseDefinition. - /// - [Class(xmiId: "_19_0_2_12e503d9_1596821359347_71332_10236", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IVerificationCaseUsage : ICaseUsage - { - /// - /// The VerificationCase that is the definition of this VerificationCaseUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821408366_748769_10316", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257465225_855208_512")] - Guid? VerificationCaseDefinition { get; } - - /// - /// The RequirementUsages verified by this VerificationCaseUsage, which are the verifiedRequirements of - /// all RequirementVerificationMemberships of the objectiveRequirement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603922396599_812331_357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - List VerifiedRequirement { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.VerificationCases +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Core.DTO.Systems.Cases; + using SysML2.NET.Decorators; + + /// + /// A VerificationCaseUsage is a Usage of a VerificationCaseDefinition. + /// + [Class(xmiId: "_19_0_2_12e503d9_1596821359347_71332_10236", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IVerificationCaseUsage : ICaseUsage + { + /// + /// The VerificationCase that is the definition of this VerificationCaseUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821408366_748769_10316", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257465225_855208_512")] + Guid? verificationCaseDefinition { get; } + + /// + /// The RequirementUsages verified by this VerificationCaseUsage, which are the verifiedRequirements of + /// all RequirementVerificationMemberships of the objectiveRequirement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603922396599_812331_357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + List verifiedRequirement { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IViewDefinition.cs b/SysML2.NET/Core/AutoGenDto/IViewDefinition.cs index 9ed6cdc2..6e071a2a 100644 --- a/SysML2.NET/Core/AutoGenDto/IViewDefinition.cs +++ b/SysML2.NET/Core/AutoGenDto/IViewDefinition.cs @@ -1,78 +1,78 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Views -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Systems.Parts; - using SysML2.NET.Decorators; - - /// - /// A ViewDefinition is a PartDefinition that specifies how a view artifact is constructed to satisfy a - /// viewpoint. It specifies a viewConditions to define the model content to be presented and a - /// viewRendering to define how the model content is presented. - /// - [Class(xmiId: "_19_0_2_59601fc_1583087286915_926479_556", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IViewDefinition : IPartDefinition - { - /// - /// The composite ownedRequirements of this ViewDefinition that are ViewpointUsages for viewpoints - /// satisfied by the ViewDefinition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596645596183_374903_1209", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - List SatisfiedViewpoint { get; } - - /// - /// The usages of this ViewDefinition that are ViewUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644452170_21813_753", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - List View { get; } - - /// - /// The Expressions related to this ViewDefinition by ElementFilterMemberships, which specify conditions - /// on Elements to be rendered in a view. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606938929077_183245_4796", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - List ViewCondition { get; } - - /// - /// The RenderingUsage to be used to render views defined by this ViewDefinition, which is the - /// referencedRendering of the ViewRenderingMembership of the ViewDefinition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596657187664_758418_4914", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - Guid? ViewRendering { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Views +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Systems.Parts; + using SysML2.NET.Decorators; + + /// + /// A ViewDefinition is a PartDefinition that specifies how a view artifact is constructed to satisfy a + /// viewpoint. It specifies a viewConditions to define the model content to be presented and a + /// viewRendering to define how the model content is presented. + /// + [Class(xmiId: "_19_0_2_59601fc_1583087286915_926479_556", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IViewDefinition : IPartDefinition + { + /// + /// The composite ownedRequirements of this ViewDefinition that are ViewpointUsages for viewpoints + /// satisfied by the ViewDefinition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596645596183_374903_1209", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + List satisfiedViewpoint { get; } + + /// + /// The usages of this ViewDefinition that are ViewUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644452170_21813_753", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + List view { get; } + + /// + /// The Expressions related to this ViewDefinition by ElementFilterMemberships, which specify conditions + /// on Elements to be rendered in a view. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606938929077_183245_4796", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + List viewCondition { get; } + + /// + /// The RenderingUsage to be used to render views defined by this ViewDefinition, which is the + /// referencedRendering of the ViewRenderingMembership of the ViewDefinition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596657187664_758418_4914", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + Guid? viewRendering { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IViewRenderingMembership.cs b/SysML2.NET/Core/AutoGenDto/IViewRenderingMembership.cs index b7d2f467..5af16e9c 100644 --- a/SysML2.NET/Core/AutoGenDto/IViewRenderingMembership.cs +++ b/SysML2.NET/Core/AutoGenDto/IViewRenderingMembership.cs @@ -1,64 +1,64 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Views -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Root.Namespaces; - using SysML2.NET.Core.DTO.Core.Types; - using SysML2.NET.Decorators; - - /// - /// A ViewRenderingMembership is a FeatureMembership that identifies the viewRendering of a - /// ViewDefinition or ViewUsage. - /// - [Class(xmiId: "_19_0_4_12e503d9_1617134177967_461389_5877", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IViewRenderingMembership : IFeatureMembership - { - /// - /// The owned RenderingUsage that is either itself the referencedRendering or subsets the - /// referencedRendering. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617134244546_130200_6000", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] - Guid OwnedRendering { get; } - - /// - /// The RenderingUsage that is referenced through this ViewRenderingMembership. It is the - /// referencedFeature of the ownedReferenceSubsetting for the ownedRendering, if there is one, and, - /// otherwise, the ownedRendering itself. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617134300857_286392_6081", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - Guid ReferencedRendering { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Views +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Root.Namespaces; + using SysML2.NET.Core.DTO.Core.Types; + using SysML2.NET.Decorators; + + /// + /// A ViewRenderingMembership is a FeatureMembership that identifies the viewRendering of a + /// ViewDefinition or ViewUsage. + /// + [Class(xmiId: "_19_0_4_12e503d9_1617134177967_461389_5877", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IViewRenderingMembership : IFeatureMembership + { + /// + /// The owned RenderingUsage that is either itself the referencedRendering or subsets the + /// referencedRendering. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617134244546_130200_6000", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] + Guid ownedRendering { get; } + + /// + /// The RenderingUsage that is referenced through this ViewRenderingMembership. It is the + /// referencedFeature of the ownedReferenceSubsetting for the ownedRendering, if there is one, and, + /// otherwise, the ownedRendering itself. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617134300857_286392_6081", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + Guid referencedRendering { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IViewUsage.cs b/SysML2.NET/Core/AutoGenDto/IViewUsage.cs index 9b3508d5..956d143a 100644 --- a/SysML2.NET/Core/AutoGenDto/IViewUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/IViewUsage.cs @@ -1,88 +1,88 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Views -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Core.DTO.Systems.Parts; - using SysML2.NET.Decorators; - - /// - /// A ViewUsage is a usage of a ViewDefinition to specify the generation of a view of the members of a - /// collection of exposedNamespaces. The ViewUsage can satisfy more viewpoints than its definition, and - /// it can specialize the viewRendering specified by its definition. - /// - [Class(xmiId: "_19_0_2_12e503d9_1596644366280_485907_701", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IViewUsage : IPartUsage - { - /// - /// The Elements that are exposed by this ViewUsage, which are those memberElements of the imported - /// Memberships from all the Expose Relationships that meet all the owned and inherited viewConditions. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596648681658_691767_2705", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - List ExposedElement { get; } - - /// - /// The nestedRequirements of this ViewUsage that are ViewpointUsages for (additional) viewpoints - /// satisfied by the ViewUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596645688987_502277_1282", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - List SatisfiedViewpoint { get; } - - /// - /// The Expressions related to this ViewUsage by ElementFilterMemberships, which specify conditions on - /// Elements to be rendered in a view. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606938933668_437943_4809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - List ViewCondition { get; } - - /// - /// The ViewDefinition that is the definition of this ViewUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644438889_580287_734", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591475180488_929065_121")] - Guid? ViewDefinition { get; } - - /// - /// The RenderingUsage to be used to render views defined by this ViewUsage, which is the - /// referencedRendering of the ViewRenderingMembership of the ViewUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596657318021_274182_5067", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - Guid? ViewRendering { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Views +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Core.DTO.Systems.Parts; + using SysML2.NET.Decorators; + + /// + /// A ViewUsage is a usage of a ViewDefinition to specify the generation of a view of the members of a + /// collection of exposedNamespaces. The ViewUsage can satisfy more viewpoints than its definition, and + /// it can specialize the viewRendering specified by its definition. + /// + [Class(xmiId: "_19_0_2_12e503d9_1596644366280_485907_701", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IViewUsage : IPartUsage + { + /// + /// The Elements that are exposed by this ViewUsage, which are those memberElements of the imported + /// Memberships from all the Expose Relationships that meet all the owned and inherited viewConditions. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596648681658_691767_2705", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + List exposedElement { get; } + + /// + /// The nestedRequirements of this ViewUsage that are ViewpointUsages for (additional) viewpoints + /// satisfied by the ViewUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596645688987_502277_1282", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + List satisfiedViewpoint { get; } + + /// + /// The Expressions related to this ViewUsage by ElementFilterMemberships, which specify conditions on + /// Elements to be rendered in a view. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606938933668_437943_4809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + List viewCondition { get; } + + /// + /// The ViewDefinition that is the definition of this ViewUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644438889_580287_734", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591475180488_929065_121")] + Guid? viewDefinition { get; } + + /// + /// The RenderingUsage to be used to render views defined by this ViewUsage, which is the + /// referencedRendering of the ViewRenderingMembership of the ViewUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596657318021_274182_5067", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + Guid? viewRendering { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IViewpointDefinition.cs b/SysML2.NET/Core/AutoGenDto/IViewpointDefinition.cs index 58da437c..abeae69c 100644 --- a/SysML2.NET/Core/AutoGenDto/IViewpointDefinition.cs +++ b/SysML2.NET/Core/AutoGenDto/IViewpointDefinition.cs @@ -1,55 +1,55 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Views -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Systems.Requirements; - using SysML2.NET.Decorators; - - /// - /// A ViewpointDefinition is a RequirementDefinition that specifies one or more stakeholder concerns - /// that are to be satisfied by creating a view of a model. - /// - [Class(xmiId: "_19_0_2_12e503d9_1596649640349_746765_3429", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IViewpointDefinition : IRequirementDefinition - { - /// - /// The PartUsages that identify the stakeholders with concerns framed by this ViewpointDefinition, - /// which are the owned and inherited stakeholderParameters of the framedConcerns of this - /// ViewpointDefinition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617117194003_518610_3310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - List ViewpointStakeholder { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Views +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Systems.Requirements; + using SysML2.NET.Decorators; + + /// + /// A ViewpointDefinition is a RequirementDefinition that specifies one or more stakeholder concerns + /// that are to be satisfied by creating a view of a model. + /// + [Class(xmiId: "_19_0_2_12e503d9_1596649640349_746765_3429", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IViewpointDefinition : IRequirementDefinition + { + /// + /// The PartUsages that identify the stakeholders with concerns framed by this ViewpointDefinition, + /// which are the owned and inherited stakeholderParameters of the framedConcerns of this + /// ViewpointDefinition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617117194003_518610_3310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + List viewpointStakeholder { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IViewpointUsage.cs b/SysML2.NET/Core/AutoGenDto/IViewpointUsage.cs index 40ff21f4..5c80aa8b 100644 --- a/SysML2.NET/Core/AutoGenDto/IViewpointUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/IViewpointUsage.cs @@ -1,62 +1,62 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Views -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Core.DTO.Systems.Requirements; - using SysML2.NET.Decorators; - - /// - /// A ViewpointUsage is a Usage of a ViewpointDefinition. - /// - [Class(xmiId: "_19_0_2_59601fc_1583087291401_74297_590", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IViewpointUsage : IRequirementUsage - { - /// - /// The ViewpointDefinition that is the definition of this ViewpointUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649684798_569222_3524", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1583000408905_769743_1223")] - Guid? ViewpointDefinition { get; } - - /// - /// The PartUsages that identify the stakeholders with concerns framed by this ViewpointUsage, which are - /// the owned and inherited stakeholderParameters of the framedConcerns of this ViewpointUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617117200628_940407_3323", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - List ViewpointStakeholder { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Views +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Core.DTO.Systems.Requirements; + using SysML2.NET.Decorators; + + /// + /// A ViewpointUsage is a Usage of a ViewpointDefinition. + /// + [Class(xmiId: "_19_0_2_59601fc_1583087291401_74297_590", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IViewpointUsage : IRequirementUsage + { + /// + /// The ViewpointDefinition that is the definition of this ViewpointUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649684798_569222_3524", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1583000408905_769743_1223")] + Guid? viewpointDefinition { get; } + + /// + /// The PartUsages that identify the stakeholders with concerns framed by this ViewpointUsage, which are + /// the owned and inherited stakeholderParameters of the framedConcerns of this ViewpointUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617117200628_940407_3323", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + List viewpointStakeholder { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IWhileLoopActionUsage.cs b/SysML2.NET/Core/AutoGenDto/IWhileLoopActionUsage.cs index 3c7726ca..26b15046 100644 --- a/SysML2.NET/Core/AutoGenDto/IWhileLoopActionUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/IWhileLoopActionUsage.cs @@ -1,65 +1,65 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Actions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Decorators; - - /// - /// A WhileLoopActionUsage is a LoopActionUsage that specifies that the bodyAction ActionUsage should be - /// performed repeatedly while the result of the whileArgument Expression is true or until the result of - /// the untilArgument Expression (if provided) is true. The whileArgument Expression is evaluated before - /// each (possible) performance of the bodyAction, and the untilArgument Expression is evaluated after - /// each performance of the bodyAction. - /// - [Class(xmiId: "_19_0_4_12e503d9_1624306821108_998562_5594", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial interface IWhileLoopActionUsage : ILoopActionUsage - { - /// - /// The Expression whose result, if false, determines that the bodyAction should continue to be - /// performed. It is the (optional) third owned parameter of the WhileLoopActionUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624290717721_449719_4195", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - Guid? UntilArgument { get; } - - /// - /// The Expression whose result, if true, determines that the bodyAction should continue to be - /// performed. It is the first owned parameter of the WhileLoopActionUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624203871924_371126_3842", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - Guid WhileArgument { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Actions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Decorators; + + /// + /// A WhileLoopActionUsage is a LoopActionUsage that specifies that the bodyAction ActionUsage should be + /// performed repeatedly while the result of the whileArgument Expression is true or until the result of + /// the untilArgument Expression (if provided) is true. The whileArgument Expression is evaluated before + /// each (possible) performance of the bodyAction, and the untilArgument Expression is evaluated after + /// each performance of the bodyAction. + /// + [Class(xmiId: "_19_0_4_12e503d9_1624306821108_998562_5594", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial interface IWhileLoopActionUsage : ILoopActionUsage + { + /// + /// The Expression whose result, if false, determines that the bodyAction should continue to be + /// performed. It is the (optional) third owned parameter of the WhileLoopActionUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624290717721_449719_4195", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + Guid? untilArgument { get; } + + /// + /// The Expression whose result, if true, determines that the bodyAction should continue to be + /// performed. It is the first owned parameter of the WhileLoopActionUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624203871924_371126_3842", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + Guid whileArgument { get; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IfActionUsage.cs b/SysML2.NET/Core/AutoGenDto/IfActionUsage.cs index 21f61252..10979a98 100644 --- a/SysML2.NET/Core/AutoGenDto/IfActionUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/IfActionUsage.cs @@ -1,1126 +1,1130 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Actions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Decorators; - - /// - /// An IfActionUsage is an ActionUsage that specifies that the thenAction ActionUsage should be - /// performed if the result of the ifArgument Expression is true. It may also optionally specify an - /// elseAction ActionUsage that is performed if the result of the ifArgument is false. - /// - [Class(xmiId: "_19_0_4_12e503d9_1624203546797_456808_3484", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class IfActionUsage : IIfActionUsage - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// The Behaviors that are the types of this ActionUsage. Nominally, these would be ActionDefinitions, - /// but other kinds of Kernel Behaviors are also allowed, to permit use of Behaviors from the Kernel - /// Model Libraries. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565500905804_589845_30779", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IActionUsage.ActionDefinition")] - public List ActionDefinition { get; internal set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Behaviors that type this Step. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IActionUsage.ActionDefinition")] - [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds - /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] - [Implements(implementation: "IUsage.Definition")] - public List Definition { get; internal set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IStep.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Usage that are directedFeatures. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// The ActionUsage that is to be performed if the result of the ifArgument is false. It is the - /// (optional) third parameter of the IfActionUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624203816178_273125_3723", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IIfActionUsage.ElseAction")] - public Guid? ElseAction { get; internal set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Expression whose result determines whether the thenAction or (optionally) the elseAction is - /// performed. It is the first parameter of the IfActionUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624203866872_328861_3821", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IIfActionUsage.IfArgument")] - public Guid IfArgument { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// The at most one occurrenceDefinition that has isIndividual = true. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public Guid? IndividualDefinition { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its - /// individualDefinition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceUsage.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - public bool IsPortion { get; set; } - - /// - /// Whether this Usage is a referential Usage, that is, it has isComposite = false. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsReference")] - public bool IsReference { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [RedefinedByProperty("IUsage.MayTimeVary")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage - /// must be VariantMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its - /// owningType, rather than being featured by the owningType itself). However, if isConstant is also - /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance - /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary - /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is - /// inherited from Feature. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] - [Implements(implementation: "IUsage.MayTimeVary")] - public bool MayTimeVary { get; internal set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ActionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedAction")] - public List NestedAction { get; internal set; } - - /// - /// The AllocationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedAllocation")] - public List NestedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List NestedAnalysisCase { get; internal set; } - - /// - /// The code>AttributeUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedAttribute")] - public List NestedAttribute { get; internal set; } - - /// - /// The CalculationUsage that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedCalculation")] - public List NestedCalculation { get; internal set; } - - /// - /// The CaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] - [Implements(implementation: "IUsage.NestedCase")] - public List NestedCase { get; internal set; } - - /// - /// The ConcernUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedConcern")] - public List NestedConcern { get; internal set; } - - /// - /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are - /// ConnectorAsUsages even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedConnection")] - public List NestedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedConstraint")] - public List NestedConstraint { get; internal set; } - - /// - /// The code>EnumerationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] - [Implements(implementation: "IUsage.NestedEnumeration")] - public List NestedEnumeration { get; internal set; } - - /// - /// The code>FlowUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedFlow")] - public List NestedFlow { get; internal set; } - - /// - /// The InterfaceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedInterface")] - public List NestedInterface { get; internal set; } - - /// - /// The ItemUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedItem")] - public List NestedItem { get; internal set; } - - /// - /// The MetadataUsages that are nestedUsages of this of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedMetadata")] - public List NestedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedOccurrence")] - public List NestedOccurrence { get; internal set; } - - /// - /// The PartUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedPart")] - public List NestedPart { get; internal set; } - - /// - /// The PortUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedPort")] - public List NestedPort { get; internal set; } - - /// - /// The ReferenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedReference")] - public List NestedReference { get; internal set; } - - /// - /// The RenderingUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedRendering")] - public List NestedRendering { get; internal set; } - - /// - /// The RequirementUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] - [Implements(implementation: "IUsage.NestedRequirement")] - public List NestedRequirement { get; internal set; } - - /// - /// The StateUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedState")] - public List NestedState { get; internal set; } - - /// - /// The TransitionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedTransition")] - public List NestedTransition { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.NestedUsage")] - public List NestedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedUseCase")] - public List NestedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedVerificationCase")] - public List NestedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedView")] - public List NestedView { get; internal set; } - - /// - /// The ViewpointUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedViewpoint")] - public List NestedViewpoint { get; internal set; } - - /// - /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, - /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] - [RedefinedByProperty("IActionUsage.ActionDefinition")] - [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List OccurrenceDefinition { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The Definition that owns this Usage (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] - [Implements(implementation: "IUsage.OwningDefinition")] - public Guid? OwningDefinition { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The Usage in which this Usage is nested (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IUsage.OwningUsage")] - public Guid? OwningUsage { get; internal set; } - - /// - /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into - /// and/or out of a performance of the Step. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If - /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the - /// OccurrenceUsage represents portions of the featuring instance of the owningType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IOccurrenceUsage.PortionKind")] - public PortionKind? PortionKind { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// The ActionUsage that is to be performed if the result of the ifArgument is true. It is the second - /// parameter of the IfActionUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624203835062_413118_3748", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IIfActionUsage.ThenAction")] - public Guid ThenAction { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IUsage.Definition")] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Usage (not necessarily owned). - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IUsage.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = - /// true. If isVariation = false, then there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IUsage.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this - /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IUsage.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Actions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Decorators; + + /// + /// An IfActionUsage is an ActionUsage that specifies that the thenAction ActionUsage should be + /// performed if the result of the ifArgument Expression is true. It may also optionally specify an + /// elseAction ActionUsage that is performed if the result of the ifArgument is false. + /// + [Class(xmiId: "_19_0_4_12e503d9_1624203546797_456808_3484", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class IfActionUsage : IIfActionUsage + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// The Behaviors that are the types of this ActionUsage. Nominally, these would be ActionDefinitions, + /// but other kinds of Kernel Behaviors are also allowed, to permit use of Behaviors from the Kernel + /// Model Libraries. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565500905804_589845_30779", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IActionUsage.ActionDefinition")] + public List actionDefinition { get; internal set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Behaviors that type this Step. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IActionUsage.ActionDefinition")] + [Implements(implementation: "IStep.Behavior")] + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds + /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] + [Implements(implementation: "IUsage.Definition")] + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IStep.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); + + /// + /// The usages of this Usage that are directedFeatures. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// The ActionUsage that is to be performed if the result of the ifArgument is false. It is the + /// (optional) third parameter of the IfActionUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624203816178_273125_3723", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IIfActionUsage.ElseAction")] + public Guid? elseAction { get; internal set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Expression whose result determines whether the thenAction or (optionally) the elseAction is + /// performed. It is the first parameter of the IfActionUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624203866872_328861_3821", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IIfActionUsage.IfArgument")] + public Guid ifArgument { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// The at most one occurrenceDefinition that has isIndividual = true. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] + public Guid? individualDefinition { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its + /// individualDefinition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceUsage.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + public bool IsPortion { get; set; } + + /// + /// Whether this Usage is a referential Usage, that is, it has isComposite = false. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsReference")] + public bool isReference { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [RedefinedByProperty("IUsage.MayTimeVary")] + [Implements(implementation: "IFeature.IsVariable")] + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } + + /// + /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage + /// must be VariantMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its + /// owningType, rather than being featured by the owningType itself). However, if isConstant is also + /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance + /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary + /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is + /// inherited from Feature. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] + [Implements(implementation: "IUsage.MayTimeVary")] + public bool mayTimeVary { get; internal set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ActionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedAction")] + public List nestedAction { get; internal set; } + + /// + /// The AllocationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedAllocation")] + public List nestedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedAnalysisCase")] + public List nestedAnalysisCase { get; internal set; } + + /// + /// The code>AttributeUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedAttribute")] + public List nestedAttribute { get; internal set; } + + /// + /// The CalculationUsage that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedCalculation")] + public List nestedCalculation { get; internal set; } + + /// + /// The CaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] + [Implements(implementation: "IUsage.NestedCase")] + public List nestedCase { get; internal set; } + + /// + /// The ConcernUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedConcern")] + public List nestedConcern { get; internal set; } + + /// + /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are + /// ConnectorAsUsages even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedConnection")] + public List nestedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedConstraint")] + public List nestedConstraint { get; internal set; } + + /// + /// The code>EnumerationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] + [Implements(implementation: "IUsage.NestedEnumeration")] + public List nestedEnumeration { get; internal set; } + + /// + /// The code>FlowUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedFlow")] + public List nestedFlow { get; internal set; } + + /// + /// The InterfaceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedInterface")] + public List nestedInterface { get; internal set; } + + /// + /// The ItemUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedItem")] + public List nestedItem { get; internal set; } + + /// + /// The MetadataUsages that are nestedUsages of this of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedMetadata")] + public List nestedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedOccurrence")] + public List nestedOccurrence { get; internal set; } + + /// + /// The PartUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedPart")] + public List nestedPart { get; internal set; } + + /// + /// The PortUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedPort")] + public List nestedPort { get; internal set; } + + /// + /// The ReferenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedReference")] + public List nestedReference { get; internal set; } + + /// + /// The RenderingUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedRendering")] + public List nestedRendering { get; internal set; } + + /// + /// The RequirementUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] + [Implements(implementation: "IUsage.NestedRequirement")] + public List nestedRequirement { get; internal set; } + + /// + /// The StateUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedState")] + public List nestedState { get; internal set; } + + /// + /// The TransitionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedTransition")] + public List nestedTransition { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.NestedUsage")] + public List nestedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedUseCase")] + public List nestedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedVerificationCase")] + public List nestedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedView")] + public List nestedView { get; internal set; } + + /// + /// The ViewpointUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedViewpoint")] + public List nestedViewpoint { get; internal set; } + + /// + /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, + /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] + [RedefinedByProperty("IActionUsage.ActionDefinition")] + [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] + List Systems.Occurrences.IOccurrenceUsage.occurrenceDefinition => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The Definition that owns this Usage (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] + [Implements(implementation: "IUsage.OwningDefinition")] + public Guid? owningDefinition { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The Usage in which this Usage is nested (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IUsage.OwningUsage")] + public Guid? owningUsage { get; internal set; } + + /// + /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into + /// and/or out of a performance of the Step. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IStep.Parameter")] + public List parameter { get; internal set; } + + /// + /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If + /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the + /// OccurrenceUsage represents portions of the featuring instance of the owningType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IOccurrenceUsage.PortionKind")] + public PortionKind? PortionKind { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// The ActionUsage that is to be performed if the result of the ifArgument is true. It is the second + /// parameter of the IfActionUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624203835062_413118_3748", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IIfActionUsage.ThenAction")] + public Guid thenAction { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IUsage.Definition")] + [Implements(implementation: "IFeature.Type")] + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Usage (not necessarily owned). + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IUsage.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = + /// true. If isVariation = false, then there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IUsage.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this + /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IUsage.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IncludeUseCaseUsage.cs b/SysML2.NET/Core/AutoGenDto/IncludeUseCaseUsage.cs index cadf862b..28915a81 100644 --- a/SysML2.NET/Core/AutoGenDto/IncludeUseCaseUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/IncludeUseCaseUsage.cs @@ -1,1234 +1,1238 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.UseCases -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Core.DTO.Systems.Actions; - using SysML2.NET.Decorators; - - /// - /// An IncludeUseCaseUsage is a UseCaseUsage that represents the inclusion of a UseCaseUsage by a - /// UseCaseDefinition or UseCaseUsage. Unless it is the IncludeUseCaseUsage itself, the UseCaseUsage to - /// be included is related to the includedUseCase by a ReferenceSubsetting Relationship. An - /// IncludeUseCaseUsage is also a PerformActionUsage, with its useCaseIncluded as the performedAction. - /// - [Class(xmiId: "_19_0_4_12e503d9_1621532125543_31659_1117", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class IncludeUseCaseUsage : IIncludeUseCaseUsage - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// The Behaviors that are the types of this ActionUsage. Nominally, these would be ActionDefinitions, - /// but other kinds of Kernel Behaviors are also allowed, to permit use of Behaviors from the Kernel - /// Model Libraries. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565500905804_589845_30779", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [RedefinedByProperty("ICalculationUsage.CalculationDefinition")] - [Implements(implementation: "IActionUsage.ActionDefinition")] - public List ActionDefinition { get; internal set; } - - /// - /// The parameters of this CaseUsage that represent actors involved in the case. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621464633171_380461_1655", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "ICaseUsage.ActorParameter")] - public List ActorParameter { get; internal set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Behaviors that type this Step. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IExpression.Function")] - [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } - - /// - /// The Function that is the type of this CalculationUsage. Nominally, this would be a - /// CalculationDefinition, but a kernel Function is also allowed, to permit use of Functions from the - /// Kernel Model Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588213526305_899324_302", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1543948477241_299049_20934")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1565500905804_589845_30779")] - [RedefinedByProperty("ICaseUsage.CaseDefinition")] - [Implements(implementation: "ICalculationUsage.CalculationDefinition")] - public Guid? CalculationDefinition { get; internal set; } - - /// - /// The CaseDefinition that is the type of this CaseUsage. - /// - [Property(xmiId: "_19_0_2_59601fc_1590257465225_855208_512", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1588213526305_899324_302")] - [RedefinedByProperty("IUseCaseUsage.UseCaseDefinition")] - [Implements(implementation: "ICaseUsage.CaseDefinition")] - public Guid? CaseDefinition { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds - /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] - [Implements(implementation: "IUsage.Definition")] - public List Definition { get; internal set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IStep.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Usage that are directedFeatures. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The OccurrenceUsage referenced as an event by this EventOccurrenceUsage. It is the referenceFeature - /// of the ownedReferenceSubsetting for the EventOccurrenceUsage, if there is one, and, otherwise, the - /// EventOccurrenceUsage itself. - /// - [Property(xmiId: "_19_0_4_12e503d9_1622831790393_676695_195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IPerformActionUsage.PerformedAction")] - [Implements(implementation: "IEventOccurrenceUsage.EventOccurrence")] - public Guid EventOccurrence { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Function that types this Expression. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - [RedefinedByProperty("ICalculationUsage.CalculationDefinition")] - [Implements(implementation: "IExpression.Function")] - public Guid? Function { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// The UseCaseUsages that are included by this UseCaseUse, which are the useCaseIncludeds of the - /// IncludeUseCaseUsages owned by this UseCaseUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621545989647_997634_1855", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUseCaseUsage.IncludedUseCase")] - public List IncludedUseCase { get; internal set; } - - /// - /// The at most one occurrenceDefinition that has isIndividual = true. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public Guid? IndividualDefinition { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its - /// individualDefinition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceUsage.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, - /// using metadata within the model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool IsModelLevelEvaluable { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - public bool IsPortion { get; set; } - - /// - /// Whether this Usage is a referential Usage, that is, it has isComposite = false. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IEventOccurrenceUsage.IsReference")] - [Implements(implementation: "IUsage.IsReference")] - bool Systems.DefinitionAndUsage.IUsage.IsReference { get; } - - /// - /// Always true for an EventOccurrenceUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1672526906017_786343_306", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1624035114787_488767_41423")] - [Implements(implementation: "IEventOccurrenceUsage.IsReference")] - bool Systems.Occurrences.IEventOccurrenceUsage.IsReference { get; } - - /// - /// 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [RedefinedByProperty("IUsage.MayTimeVary")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage - /// must be VariantMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its - /// owningType, rather than being featured by the owningType itself). However, if isConstant is also - /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance - /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary - /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is - /// inherited from Feature. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] - [Implements(implementation: "IUsage.MayTimeVary")] - public bool MayTimeVary { get; internal set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ActionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedAction")] - public List NestedAction { get; internal set; } - - /// - /// The AllocationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedAllocation")] - public List NestedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List NestedAnalysisCase { get; internal set; } - - /// - /// The code>AttributeUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedAttribute")] - public List NestedAttribute { get; internal set; } - - /// - /// The CalculationUsage that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedCalculation")] - public List NestedCalculation { get; internal set; } - - /// - /// The CaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] - [Implements(implementation: "IUsage.NestedCase")] - public List NestedCase { get; internal set; } - - /// - /// The ConcernUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedConcern")] - public List NestedConcern { get; internal set; } - - /// - /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are - /// ConnectorAsUsages even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedConnection")] - public List NestedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedConstraint")] - public List NestedConstraint { get; internal set; } - - /// - /// The code>EnumerationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] - [Implements(implementation: "IUsage.NestedEnumeration")] - public List NestedEnumeration { get; internal set; } - - /// - /// The code>FlowUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedFlow")] - public List NestedFlow { get; internal set; } - - /// - /// The InterfaceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedInterface")] - public List NestedInterface { get; internal set; } - - /// - /// The ItemUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedItem")] - public List NestedItem { get; internal set; } - - /// - /// The MetadataUsages that are nestedUsages of this of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedMetadata")] - public List NestedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedOccurrence")] - public List NestedOccurrence { get; internal set; } - - /// - /// The PartUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedPart")] - public List NestedPart { get; internal set; } - - /// - /// The PortUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedPort")] - public List NestedPort { get; internal set; } - - /// - /// The ReferenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedReference")] - public List NestedReference { get; internal set; } - - /// - /// The RenderingUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedRendering")] - public List NestedRendering { get; internal set; } - - /// - /// The RequirementUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] - [Implements(implementation: "IUsage.NestedRequirement")] - public List NestedRequirement { get; internal set; } - - /// - /// The StateUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedState")] - public List NestedState { get; internal set; } - - /// - /// The TransitionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedTransition")] - public List NestedTransition { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.NestedUsage")] - public List NestedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedUseCase")] - public List NestedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedVerificationCase")] - public List NestedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedView")] - public List NestedView { get; internal set; } - - /// - /// The ViewpointUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedViewpoint")] - public List NestedViewpoint { get; internal set; } - - /// - /// The RequirementUsage representing the objective of this CaseUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591138794257_404044_2145", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "ICaseUsage.ObjectiveRequirement")] - public Guid? ObjectiveRequirement { get; internal set; } - - /// - /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, - /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] - [RedefinedByProperty("IActionUsage.ActionDefinition")] - [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List OccurrenceDefinition { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The Definition that owns this Usage (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] - [Implements(implementation: "IUsage.OwningDefinition")] - public Guid? OwningDefinition { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The Usage in which this Usage is nested (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IUsage.OwningUsage")] - public Guid? OwningUsage { get; internal set; } - - /// - /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into - /// and/or out of a performance of the Step. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The ActionUsage to be performed by this PerformedActionUsage. It is the eventOccurrence of the - /// PerformActionUsage considered as an EventOccurrenceUsage, which must be an ActionUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1567740791820_867719_18017", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1622831790393_676695_195")] - [RedefinedByProperty("IIncludeUseCaseUsage.UseCaseIncluded")] - [Implements(implementation: "IPerformActionUsage.PerformedAction")] - public Guid PerformedAction { get; internal set; } - - /// - /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If - /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the - /// OccurrenceUsage represents portions of the featuring instance of the owningType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IOccurrenceUsage.PortionKind")] - public PortionKind? PortionKind { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// An output parameter of the Expression whose value is the result of the Expression. The result of an - /// Expression is either inherited from its function or it is related to the Expression via a - /// ReturnParameterMembership, in which case it redefines the result parameter of its function. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [Implements(implementation: "IExpression.Result")] - public Guid Result { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The parameter of this CaseUsage that represents its subject. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595190279083_51021_1128", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "ICaseUsage.SubjectParameter")] - public Guid SubjectParameter { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IUsage.Definition")] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Usage (not necessarily owned). - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IUsage.Usage")] - public List Usage { get; internal set; } - - /// - /// The UseCaseDefinition that is the definition of this UseCaseUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621460964889_804779_881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_59601fc_1590257465225_855208_512")] - [Implements(implementation: "IUseCaseUsage.UseCaseDefinition")] - public Guid? UseCaseDefinition { get; internal set; } - - /// - /// The UseCaseUsage to be included by this IncludeUseCaseUsage. It is the performedAction of the - /// IncludeUseCaseUsage considered as a PerformActionUsage, which must be a UseCaseUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621532149711_865323_1172", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1567740791820_867719_18017")] - [Implements(implementation: "IIncludeUseCaseUsage.UseCaseIncluded")] - public Guid UseCaseIncluded { get; internal set; } - - /// - /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = - /// true. If isVariation = false, then there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IUsage.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this - /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IUsage.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.UseCases +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Core.DTO.Systems.Actions; + using SysML2.NET.Decorators; + + /// + /// An IncludeUseCaseUsage is a UseCaseUsage that represents the inclusion of a UseCaseUsage by a + /// UseCaseDefinition or UseCaseUsage. Unless it is the IncludeUseCaseUsage itself, the UseCaseUsage to + /// be included is related to the includedUseCase by a ReferenceSubsetting Relationship. An + /// IncludeUseCaseUsage is also a PerformActionUsage, with its useCaseIncluded as the performedAction. + /// + [Class(xmiId: "_19_0_4_12e503d9_1621532125543_31659_1117", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class IncludeUseCaseUsage : IIncludeUseCaseUsage + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// The Behaviors that are the types of this ActionUsage. Nominally, these would be ActionDefinitions, + /// but other kinds of Kernel Behaviors are also allowed, to permit use of Behaviors from the Kernel + /// Model Libraries. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565500905804_589845_30779", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [RedefinedByProperty("ICalculationUsage.CalculationDefinition")] + [Implements(implementation: "IActionUsage.ActionDefinition")] + List Systems.Actions.IActionUsage.actionDefinition => throw new InvalidOperationException("Redefined by property ICalculationUsage.CalculationDefinition"); + + /// + /// The parameters of this CaseUsage that represent actors involved in the case. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621464633171_380461_1655", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "ICaseUsage.ActorParameter")] + public List actorParameter { get; internal set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Behaviors that type this Step. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IExpression.Function")] + [Implements(implementation: "IStep.Behavior")] + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); + + /// + /// The Function that is the type of this CalculationUsage. Nominally, this would be a + /// CalculationDefinition, but a kernel Function is also allowed, to permit use of Functions from the + /// Kernel Model Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588213526305_899324_302", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1543948477241_299049_20934")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1565500905804_589845_30779")] + [RedefinedByProperty("ICaseUsage.CaseDefinition")] + [Implements(implementation: "ICalculationUsage.CalculationDefinition")] + Guid? Systems.Calculations.ICalculationUsage.calculationDefinition => throw new InvalidOperationException("Redefined by property ICaseUsage.CaseDefinition"); + + /// + /// The CaseDefinition that is the type of this CaseUsage. + /// + [Property(xmiId: "_19_0_2_59601fc_1590257465225_855208_512", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1588213526305_899324_302")] + [RedefinedByProperty("IUseCaseUsage.UseCaseDefinition")] + [Implements(implementation: "ICaseUsage.CaseDefinition")] + Guid? Systems.Cases.ICaseUsage.caseDefinition => throw new InvalidOperationException("Redefined by property IUseCaseUsage.UseCaseDefinition"); + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds + /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] + [Implements(implementation: "IUsage.Definition")] + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IStep.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); + + /// + /// The usages of this Usage that are directedFeatures. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The OccurrenceUsage referenced as an event by this EventOccurrenceUsage. It is the referenceFeature + /// of the ownedReferenceSubsetting for the EventOccurrenceUsage, if there is one, and, otherwise, the + /// EventOccurrenceUsage itself. + /// + [Property(xmiId: "_19_0_4_12e503d9_1622831790393_676695_195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IPerformActionUsage.PerformedAction")] + [Implements(implementation: "IEventOccurrenceUsage.EventOccurrence")] + Guid Systems.Occurrences.IEventOccurrenceUsage.eventOccurrence => throw new InvalidOperationException("Redefined by property IPerformActionUsage.PerformedAction"); + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Function that types this Expression. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] + [RedefinedByProperty("ICalculationUsage.CalculationDefinition")] + [Implements(implementation: "IExpression.Function")] + Guid? Kernel.Functions.IExpression.function => throw new InvalidOperationException("Redefined by property ICalculationUsage.CalculationDefinition"); + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// The UseCaseUsages that are included by this UseCaseUse, which are the useCaseIncludeds of the + /// IncludeUseCaseUsages owned by this UseCaseUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621545989647_997634_1855", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUseCaseUsage.IncludedUseCase")] + public List includedUseCase { get; internal set; } + + /// + /// The at most one occurrenceDefinition that has isIndividual = true. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] + public Guid? individualDefinition { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its + /// individualDefinition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceUsage.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, + /// using metadata within the model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IExpression.IsModelLevelEvaluable")] + public bool isModelLevelEvaluable { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + public bool IsPortion { get; set; } + + /// + /// Whether this Usage is a referential Usage, that is, it has isComposite = false. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IEventOccurrenceUsage.IsReference")] + [Implements(implementation: "IUsage.IsReference")] + bool Systems.DefinitionAndUsage.IUsage.isReference => throw new InvalidOperationException("Redefined by property IEventOccurrenceUsage.IsReference"); + + /// + /// Always true for an EventOccurrenceUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1672526906017_786343_306", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1624035114787_488767_41423")] + [Implements(implementation: "IEventOccurrenceUsage.IsReference")] + public bool isReference { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [RedefinedByProperty("IUsage.MayTimeVary")] + [Implements(implementation: "IFeature.IsVariable")] + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } + + /// + /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage + /// must be VariantMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its + /// owningType, rather than being featured by the owningType itself). However, if isConstant is also + /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance + /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary + /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is + /// inherited from Feature. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] + [Implements(implementation: "IUsage.MayTimeVary")] + public bool mayTimeVary { get; internal set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ActionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedAction")] + public List nestedAction { get; internal set; } + + /// + /// The AllocationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedAllocation")] + public List nestedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedAnalysisCase")] + public List nestedAnalysisCase { get; internal set; } + + /// + /// The code>AttributeUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedAttribute")] + public List nestedAttribute { get; internal set; } + + /// + /// The CalculationUsage that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedCalculation")] + public List nestedCalculation { get; internal set; } + + /// + /// The CaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] + [Implements(implementation: "IUsage.NestedCase")] + public List nestedCase { get; internal set; } + + /// + /// The ConcernUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedConcern")] + public List nestedConcern { get; internal set; } + + /// + /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are + /// ConnectorAsUsages even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedConnection")] + public List nestedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedConstraint")] + public List nestedConstraint { get; internal set; } + + /// + /// The code>EnumerationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] + [Implements(implementation: "IUsage.NestedEnumeration")] + public List nestedEnumeration { get; internal set; } + + /// + /// The code>FlowUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedFlow")] + public List nestedFlow { get; internal set; } + + /// + /// The InterfaceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedInterface")] + public List nestedInterface { get; internal set; } + + /// + /// The ItemUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedItem")] + public List nestedItem { get; internal set; } + + /// + /// The MetadataUsages that are nestedUsages of this of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedMetadata")] + public List nestedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedOccurrence")] + public List nestedOccurrence { get; internal set; } + + /// + /// The PartUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedPart")] + public List nestedPart { get; internal set; } + + /// + /// The PortUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedPort")] + public List nestedPort { get; internal set; } + + /// + /// The ReferenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedReference")] + public List nestedReference { get; internal set; } + + /// + /// The RenderingUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedRendering")] + public List nestedRendering { get; internal set; } + + /// + /// The RequirementUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] + [Implements(implementation: "IUsage.NestedRequirement")] + public List nestedRequirement { get; internal set; } + + /// + /// The StateUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedState")] + public List nestedState { get; internal set; } + + /// + /// The TransitionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedTransition")] + public List nestedTransition { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.NestedUsage")] + public List nestedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedUseCase")] + public List nestedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedVerificationCase")] + public List nestedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedView")] + public List nestedView { get; internal set; } + + /// + /// The ViewpointUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedViewpoint")] + public List nestedViewpoint { get; internal set; } + + /// + /// The RequirementUsage representing the objective of this CaseUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591138794257_404044_2145", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "ICaseUsage.ObjectiveRequirement")] + public Guid? objectiveRequirement { get; internal set; } + + /// + /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, + /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] + [RedefinedByProperty("IActionUsage.ActionDefinition")] + [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] + List Systems.Occurrences.IOccurrenceUsage.occurrenceDefinition => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The Definition that owns this Usage (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] + [Implements(implementation: "IUsage.OwningDefinition")] + public Guid? owningDefinition { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The Usage in which this Usage is nested (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IUsage.OwningUsage")] + public Guid? owningUsage { get; internal set; } + + /// + /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into + /// and/or out of a performance of the Step. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IStep.Parameter")] + public List parameter { get; internal set; } + + /// + /// The ActionUsage to be performed by this PerformedActionUsage. It is the eventOccurrence of the + /// PerformActionUsage considered as an EventOccurrenceUsage, which must be an ActionUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1567740791820_867719_18017", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1622831790393_676695_195")] + [RedefinedByProperty("IIncludeUseCaseUsage.UseCaseIncluded")] + [Implements(implementation: "IPerformActionUsage.PerformedAction")] + Guid Systems.Actions.IPerformActionUsage.performedAction => throw new InvalidOperationException("Redefined by property IIncludeUseCaseUsage.UseCaseIncluded"); + + /// + /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If + /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the + /// OccurrenceUsage represents portions of the featuring instance of the owningType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IOccurrenceUsage.PortionKind")] + public PortionKind? PortionKind { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// An output parameter of the Expression whose value is the result of the Expression. The result of an + /// Expression is either inherited from its function or it is related to the Expression via a + /// ReturnParameterMembership, in which case it redefines the result parameter of its function. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [Implements(implementation: "IExpression.Result")] + public Guid result { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The parameter of this CaseUsage that represents its subject. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595190279083_51021_1128", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "ICaseUsage.SubjectParameter")] + public Guid subjectParameter { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IUsage.Definition")] + [Implements(implementation: "IFeature.Type")] + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Usage (not necessarily owned). + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IUsage.Usage")] + public List usage { get; internal set; } + + /// + /// The UseCaseDefinition that is the definition of this UseCaseUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621460964889_804779_881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_59601fc_1590257465225_855208_512")] + [Implements(implementation: "IUseCaseUsage.UseCaseDefinition")] + public Guid? useCaseDefinition { get; internal set; } + + /// + /// The UseCaseUsage to be included by this IncludeUseCaseUsage. It is the performedAction of the + /// IncludeUseCaseUsage considered as a PerformActionUsage, which must be a UseCaseUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621532149711_865323_1172", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1567740791820_867719_18017")] + [Implements(implementation: "IIncludeUseCaseUsage.UseCaseIncluded")] + public Guid useCaseIncluded { get; internal set; } + + /// + /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = + /// true. If isVariation = false, then there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IUsage.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this + /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IUsage.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/IndexExpression.cs b/SysML2.NET/Core/AutoGenDto/IndexExpression.cs index 392ba75c..03d7ea79 100644 --- a/SysML2.NET/Core/AutoGenDto/IndexExpression.cs +++ b/SysML2.NET/Core/AutoGenDto/IndexExpression.cs @@ -61,7 +61,7 @@ public partial class IndexExpression : IIndexExpression ///
[Property(xmiId: "_2022x_2_12e503d9_1739134437590_328753_108", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IInstantiationExpression.Argument")] - public List Argument { get; internal set; } + public List argument { get; internal set; } /// /// The Behaviors that type this Step. @@ -70,7 +70,7 @@ public partial class IndexExpression : IIndexExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IExpression.Function")] [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -82,7 +82,7 @@ public partial class IndexExpression : IIndexExpression /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } + public List chainingFeature { get; internal set; } /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -92,7 +92,7 @@ public partial class IndexExpression : IIndexExpression /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } + public Guid? crossFeature { get; internal set; } /// /// The declared name of this Element. @@ -122,7 +122,7 @@ public partial class IndexExpression : IIndexExpression /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } + public List differencingType { get; internal set; } /// /// The features of this Type that have a non-null direction. @@ -131,7 +131,7 @@ public partial class IndexExpression : IIndexExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -148,7 +148,7 @@ public partial class IndexExpression : IIndexExpression [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } + public List documentation { get; internal set; } /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -164,7 +164,7 @@ public partial class IndexExpression : IIndexExpression [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } + public List endFeature { get; internal set; } /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -174,7 +174,7 @@ public partial class IndexExpression : IIndexExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } + public Guid? endOwningType { get; internal set; } /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -182,7 +182,7 @@ public partial class IndexExpression : IIndexExpression [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } + public List feature { get; internal set; } /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -191,14 +191,14 @@ public partial class IndexExpression : IIndexExpression /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } + public List featureMembership { get; internal set; } /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } + public Guid featureTarget { get; internal set; } /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -208,7 +208,7 @@ public partial class IndexExpression : IIndexExpression /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } + public List featuringType { get; internal set; } /// /// The Function that types this Expression. @@ -216,7 +216,7 @@ public partial class IndexExpression : IIndexExpression [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [Implements(implementation: "IExpression.Function")] - public Guid? Function { get; internal set; } + public Guid? function { get; internal set; } /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -224,7 +224,7 @@ public partial class IndexExpression : IIndexExpression [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } + public List importedMembership { get; internal set; } /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -232,7 +232,7 @@ public partial class IndexExpression : IIndexExpression [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } + public List inheritedFeature { get; internal set; } /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -241,7 +241,7 @@ public partial class IndexExpression : IIndexExpression [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } + public List inheritedMembership { get; internal set; } /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -249,7 +249,7 @@ public partial class IndexExpression : IIndexExpression [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } + public List input { get; internal set; } /// /// The Type that is being instantiated. @@ -257,7 +257,7 @@ public partial class IndexExpression : IIndexExpression [Property(xmiId: "_2022x_2_12e503d9_1739134352572_416088_80", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IInstantiationExpression.InstantiatedType")] - public Guid InstantiatedType { get; internal set; } + public Guid instantiatedType { get; internal set; } /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -270,7 +270,7 @@ public partial class IndexExpression : IIndexExpression /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } + public List intersectingType { get; internal set; } /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -294,7 +294,7 @@ public partial class IndexExpression : IIndexExpression /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } + public bool isConjugated { get; internal set; } /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -341,7 +341,7 @@ public partial class IndexExpression : IIndexExpression /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } + public bool isLibraryElement { get; internal set; } /// /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, @@ -349,7 +349,7 @@ public partial class IndexExpression : IIndexExpression /// [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool IsModelLevelEvaluable { get; internal set; } + public bool isModelLevelEvaluable { get; internal set; } /// /// Whether an order exists for the values of this Feature or not. @@ -399,7 +399,7 @@ public partial class IndexExpression : IIndexExpression /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } + public List member { get; internal set; } /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -407,7 +407,7 @@ public partial class IndexExpression : IIndexExpression /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } + public List membership { get; internal set; } /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -417,7 +417,7 @@ public partial class IndexExpression : IIndexExpression [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } + public Guid? multiplicity { get; internal set; } /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -427,14 +427,14 @@ public partial class IndexExpression : IIndexExpression /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } + public string name { get; internal set; } /// /// [Property(xmiId: "_2022x_2_12e503d9_1735075421526_442091_324", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "#")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1557528808100_646606_111674")] [Implements(implementation: "IIndexExpression.Operator")] - string IIndexExpression.Operator { get; set; } = "#"; + public string Operator { get; set; } = "#"; /// /// An operator symbol that names a corresponding Function from one of the standard packages from the @@ -443,7 +443,11 @@ public partial class IndexExpression : IIndexExpression [Property(xmiId: "_18_5_3_12e503d9_1557528808100_646606_111674", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IIndexExpression.Operator")] [Implements(implementation: "IOperatorExpression.Operator")] - string IOperatorExpression.Operator { get; set; } + string IOperatorExpression.Operator + { + get => throw new InvalidOperationException("Redefined by property IIndexExpression.Operator"); + set => throw new InvalidOperationException("Redefined by property IIndexExpression.Operator"); + } /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -451,7 +455,7 @@ public partial class IndexExpression : IIndexExpression [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } + public List output { get; internal set; } /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -461,7 +465,7 @@ public partial class IndexExpression : IIndexExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } + public List ownedAnnotation { get; internal set; } /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -470,7 +474,7 @@ public partial class IndexExpression : IIndexExpression [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } + public Guid? ownedConjugator { get; internal set; } /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -479,7 +483,7 @@ public partial class IndexExpression : IIndexExpression [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } + public Guid? ownedCrossSubsetting { get; internal set; } /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -489,7 +493,7 @@ public partial class IndexExpression : IIndexExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } + public List ownedDifferencing { get; internal set; } /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -499,7 +503,7 @@ public partial class IndexExpression : IIndexExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } + public List ownedDisjoining { get; internal set; } /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -507,7 +511,7 @@ public partial class IndexExpression : IIndexExpression /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } + public List ownedElement { get; internal set; } /// /// All endFeatures of this Type that are ownedFeatures. @@ -516,7 +520,7 @@ public partial class IndexExpression : IIndexExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } + public List ownedEndFeature { get; internal set; } /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -524,7 +528,7 @@ public partial class IndexExpression : IIndexExpression [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } + public List ownedFeature { get; internal set; } /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -534,7 +538,7 @@ public partial class IndexExpression : IIndexExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } + public List ownedFeatureChaining { get; internal set; } /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -544,7 +548,7 @@ public partial class IndexExpression : IIndexExpression [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } + public List ownedFeatureInverting { get; internal set; } /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -554,7 +558,7 @@ public partial class IndexExpression : IIndexExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } + public List ownedFeatureMembership { get; internal set; } /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -564,7 +568,7 @@ public partial class IndexExpression : IIndexExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } + public List ownedImport { get; internal set; } /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -573,7 +577,7 @@ public partial class IndexExpression : IIndexExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } + public List ownedIntersecting { get; internal set; } /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -582,7 +586,7 @@ public partial class IndexExpression : IIndexExpression [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } + public List ownedMember { get; internal set; } /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -593,7 +597,7 @@ public partial class IndexExpression : IIndexExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } + public List ownedMembership { get; internal set; } /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -602,7 +606,7 @@ public partial class IndexExpression : IIndexExpression [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } + public List ownedRedefinition { get; internal set; } /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -611,7 +615,7 @@ public partial class IndexExpression : IIndexExpression [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } + public Guid? ownedReferenceSubsetting { get; internal set; } /// /// The Relationships for which this Element is the owningRelatedElement. @@ -629,7 +633,7 @@ public partial class IndexExpression : IIndexExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } + public List ownedSpecialization { get; internal set; } /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -639,7 +643,7 @@ public partial class IndexExpression : IIndexExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } + public List ownedSubsetting { get; internal set; } /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -649,7 +653,7 @@ public partial class IndexExpression : IIndexExpression [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } + public List ownedTypeFeaturing { get; internal set; } /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -659,7 +663,7 @@ public partial class IndexExpression : IIndexExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } + public List ownedTyping { get; internal set; } /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -668,7 +672,7 @@ public partial class IndexExpression : IIndexExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } + public List ownedUnioning { get; internal set; } /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -676,7 +680,7 @@ public partial class IndexExpression : IIndexExpression /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } + public Guid? owner { get; internal set; } /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -684,7 +688,7 @@ public partial class IndexExpression : IIndexExpression [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } + public Guid? owningFeatureMembership { get; internal set; } /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -693,7 +697,7 @@ public partial class IndexExpression : IIndexExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } + public Guid? owningMembership { get; internal set; } /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -702,7 +706,7 @@ public partial class IndexExpression : IIndexExpression [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } + public Guid? owningNamespace { get; internal set; } /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -720,7 +724,7 @@ public partial class IndexExpression : IIndexExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } + public Guid? owningType { get; internal set; } /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -729,7 +733,7 @@ public partial class IndexExpression : IIndexExpression [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } + public List parameter { get; internal set; } /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -741,7 +745,7 @@ public partial class IndexExpression : IIndexExpression /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } + public string qualifiedName { get; internal set; } /// /// An output parameter of the Expression whose value is the result of the Expression. The result of an @@ -752,7 +756,7 @@ public partial class IndexExpression : IIndexExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [Implements(implementation: "IExpression.Result")] - public Guid Result { get; internal set; } + public Guid result { get; internal set; } /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -762,7 +766,7 @@ public partial class IndexExpression : IIndexExpression /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } + public string shortName { get; internal set; } /// /// The TextualRepresentations that annotate this Element. @@ -771,7 +775,7 @@ public partial class IndexExpression : IIndexExpression [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } + public List textualRepresentation { get; internal set; } /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -781,7 +785,7 @@ public partial class IndexExpression : IIndexExpression /// [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } + public List type { get; internal set; } /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -792,7 +796,7 @@ public partial class IndexExpression : IIndexExpression /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } + public List unioningType { get; internal set; } } } diff --git a/SysML2.NET/Core/AutoGenDto/Interaction.cs b/SysML2.NET/Core/AutoGenDto/Interaction.cs index 64d20ba5..c10b667d 100644 --- a/SysML2.NET/Core/AutoGenDto/Interaction.cs +++ b/SysML2.NET/Core/AutoGenDto/Interaction.cs @@ -1,610 +1,618 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Interactions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Kernel.Associations; - using SysML2.NET.Core.DTO.Kernel.Behaviors; - using SysML2.NET.Decorators; - - /// - /// An Interaction is a Behavior that is also an Association, providing a context for multiple objects - /// that have behaviors that impact one another. - /// - [Class(xmiId: "_18_5_3_b9102da_1536782424772_574530_21292", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class Interaction : IInteraction - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The features of the Association that identify the things that can be related by it. A concrete - /// Association must have at least two associationEnds. When it has exactly two, the Association is - /// called a binary Association. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562477648742_24204_22901", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [Implements(implementation: "IAssociation.AssociationEnd")] - public List AssociationEnd { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IBehavior.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IAssociation.AssociationEnd")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - public bool IsAbstract { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier - /// is the subclassifier. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List OwnedSubclassification { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The parameters of this Behavior, which are defined as its directedFeatures, whose values are passed - /// into and/or out of a performance of the Behavior. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948010065_362066_20413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IBehavior.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [RedefinedByProperty("IAssociation.RelatedType")] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The types of the associationEnds of the Association, which are the relatedElements of the - /// Association considered as a Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_4339_43349", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IAssociation.RelatedType")] - public List RelatedType { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IAssociation.SourceType")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// The source relatedType for this Association. It is the first relatedType of the Association. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594939013292_377668_3566", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [Implements(implementation: "IAssociation.SourceType")] - public Guid? SourceType { get; internal set; } - - /// - /// The Steps that make up this Behavior. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346067212_587255_17343", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IBehavior.Step")] - public List Step { get; internal set; } - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IAssociation.TargetType")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The target relatedTypes for this Association. This includes all the relatedTypes other than the - /// sourceType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594939237325_861933_3707", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [Implements(implementation: "IAssociation.TargetType")] - public List TargetType { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Interactions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Kernel.Associations; + using SysML2.NET.Core.DTO.Kernel.Behaviors; + using SysML2.NET.Decorators; + + /// + /// An Interaction is a Behavior that is also an Association, providing a context for multiple objects + /// that have behaviors that impact one another. + /// + [Class(xmiId: "_18_5_3_b9102da_1536782424772_574530_21292", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class Interaction : IInteraction + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The features of the Association that identify the things that can be related by it. A concrete + /// Association must have at least two associationEnds. When it has exactly two, the Association is + /// called a binary Association. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562477648742_24204_22901", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [Implements(implementation: "IAssociation.AssociationEnd")] + public List associationEnd { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IBehavior.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IBehavior.Parameter"); + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IAssociation.AssociationEnd")] + [Implements(implementation: "IType.EndFeature")] + List Core.Types.IType.endFeature => throw new InvalidOperationException("Redefined by property IAssociation.AssociationEnd"); + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + public bool IsAbstract { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier + /// is the subclassifier. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [Implements(implementation: "IClassifier.OwnedSubclassification")] + public List ownedSubclassification { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The parameters of this Behavior, which are defined as its directedFeatures, whose values are passed + /// into and/or out of a performance of the Behavior. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948010065_362066_20413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IBehavior.Parameter")] + public List parameter { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [RedefinedByProperty("IAssociation.RelatedType")] + [Implements(implementation: "IRelationship.RelatedElement")] + List Root.Elements.IRelationship.relatedElement => throw new InvalidOperationException("Redefined by property IAssociation.RelatedType"); + + /// + /// The types of the associationEnds of the Association, which are the relatedElements of the + /// Association considered as a Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_4339_43349", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IAssociation.RelatedType")] + public List relatedType { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IAssociation.SourceType")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IAssociation.SourceType"); + set => throw new InvalidOperationException("Redefined by property IAssociation.SourceType"); + } + + /// + /// The source relatedType for this Association. It is the first relatedType of the Association. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594939013292_377668_3566", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [Implements(implementation: "IAssociation.SourceType")] + public Guid? sourceType { get; internal set; } + + /// + /// The Steps that make up this Behavior. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346067212_587255_17343", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IBehavior.Step")] + public List step { get; internal set; } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IAssociation.TargetType")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IAssociation.TargetType"); + set => throw new InvalidOperationException("Redefined by property IAssociation.TargetType"); + } + + /// + /// The target relatedTypes for this Association. This includes all the relatedTypes other than the + /// sourceType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594939237325_861933_3707", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [Implements(implementation: "IAssociation.TargetType")] + public List targetType { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/InterfaceDefinition.cs b/SysML2.NET/Core/AutoGenDto/InterfaceDefinition.cs index 156f6076..4692ddbf 100644 --- a/SysML2.NET/Core/AutoGenDto/InterfaceDefinition.cs +++ b/SysML2.NET/Core/AutoGenDto/InterfaceDefinition.cs @@ -1,888 +1,900 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Interfaces -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Systems.Connections; - using SysML2.NET.Decorators; - - /// - /// An InterfaceDefinition is a ConnectionDefinition all of whose ends are PortUsages, defining an - /// interface between elements that interact through such ports. - /// - [Class(xmiId: "_18_5_3_12e503d9_1565496029896_966800_26573", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class InterfaceDefinition : IInterfaceDefinition - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The features of the Association that identify the things that can be related by it. A concrete - /// Association must have at least two associationEnds. When it has exactly two, the Association is - /// called a binary Association. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562477648742_24204_22901", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [RedefinedByProperty("IConnectionDefinition.ConnectionEnd")] - [Implements(implementation: "IAssociation.AssociationEnd")] - public List AssociationEnd { get; internal set; } - - /// - /// The Usages that define the things related by the ConnectionDefinition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591476421094_685440_682", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562477648742_24204_22901")] - [RedefinedByProperty("IInterfaceDefinition.InterfaceEnd")] - [Implements(implementation: "IConnectionDefinition.ConnectionEnd")] - public List ConnectionEnd { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Definition that are directedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565495064714_974634_26150", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IDefinition.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IAssociation.AssociationEnd")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The PortUsages that are the connectionEnds of this InterfaceDefinition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565496234915_779221_26664", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591476421094_685440_682")] - [Implements(implementation: "IInterfaceDefinition.InterfaceEnd")] - public List InterfaceEnd { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - public bool IsAbstract { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceDefinition is constrained to represent at most one thing. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618955405499_394357_6740", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceDefinition.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// A ConnectionDefinition always has isSufficient = true. - /// - [Property(xmiId: "_2022x_2_12e503d9_1734734871008_462076_156", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1564072709069_937523_30797")] - [Implements(implementation: "IConnectionDefinition.IsSufficient")] - bool Systems.Connections.IConnectionDefinition.IsSufficient { get; set; } = true; - - /// - /// 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [RedefinedByProperty("IConnectionDefinition.IsSufficient")] - [Implements(implementation: "IType.IsSufficient")] - bool Core.Types.IType.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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IDefinition.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ActionUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedAction")] - public List OwnedAction { get; internal set; } - - /// - /// The AllocationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedAllocation")] - public List OwnedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List OwnedAnalysisCase { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The AttributeUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedAttribute")] - public List OwnedAttribute { get; internal set; } - - /// - /// The CalculationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - [Implements(implementation: "IDefinition.OwnedCalculation")] - public List OwnedCalculation { get; internal set; } - - /// - /// The code>CaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] - [Implements(implementation: "IDefinition.OwnedCase")] - public List OwnedCase { get; internal set; } - - /// - /// The ConcernUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - [Implements(implementation: "IDefinition.OwnedConcern")] - public List OwnedConcern { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowUsages because these are ConnectorAsUsages - /// even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedConnection")] - public List OwnedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedConstraint")] - public List OwnedConstraint { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The EnumerationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] - [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List OwnedEnumeration { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The FlowUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedFlow")] - public List OwnedFlow { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The InterfaceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedInterface")] - public List OwnedInterface { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The ItemUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedItem")] - public List OwnedItem { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The MetadataUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - [Implements(implementation: "IDefinition.OwnedMetadata")] - public List OwnedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List OwnedOccurrence { get; internal set; } - - /// - /// The PartUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - [Implements(implementation: "IDefinition.OwnedPart")] - public List OwnedPart { get; internal set; } - - /// - /// The PortUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedPort")] - public List OwnedPort { get; internal set; } - - /// - /// The ReferenceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedReference")] - public List OwnedReference { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The RenderingUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - [Implements(implementation: "IDefinition.OwnedRendering")] - public List OwnedRendering { get; internal set; } - - /// - /// The RequirementUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] - [Implements(implementation: "IDefinition.OwnedRequirement")] - public List OwnedRequirement { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The StateUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - [Implements(implementation: "IDefinition.OwnedState")] - public List OwnedState { get; internal set; } - - /// - /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier - /// is the subclassifier. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List OwnedSubclassification { get; internal set; } - - /// - /// The TransitionUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedTransition")] - public List OwnedTransition { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Definition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686637_967933_23236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IDefinition.OwnedUsage")] - public List OwnedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedUseCase")] - public List OwnedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List OwnedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - [Implements(implementation: "IDefinition.OwnedView")] - public List OwnedView { get; internal set; } - - /// - /// The ViewpointUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List OwnedViewpoint { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [RedefinedByProperty("IAssociation.RelatedType")] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The types of the associationEnds of the Association, which are the relatedElements of the - /// Association considered as a Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_4339_43349", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IAssociation.RelatedType")] - public List RelatedType { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IAssociation.SourceType")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// The source relatedType for this Association. It is the first relatedType of the Association. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594939013292_377668_3566", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [Implements(implementation: "IAssociation.SourceType")] - public Guid? SourceType { get; internal set; } - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IAssociation.TargetType")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The target relatedTypes for this Association. This includes all the relatedTypes other than the - /// sourceType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594939237325_861933_3707", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [Implements(implementation: "IAssociation.TargetType")] - public List TargetType { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Definition (not necessarily owned). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IDefinition.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Definition as a variation point Definition, if - /// isVariation = true. If isVariation = false, the there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IDefinition.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then - /// this must be all ownedMemberships of the Definition. If isVariation = false, then - /// variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IDefinition.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Interfaces +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Systems.Connections; + using SysML2.NET.Decorators; + + /// + /// An InterfaceDefinition is a ConnectionDefinition all of whose ends are PortUsages, defining an + /// interface between elements that interact through such ports. + /// + [Class(xmiId: "_18_5_3_12e503d9_1565496029896_966800_26573", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class InterfaceDefinition : IInterfaceDefinition + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The features of the Association that identify the things that can be related by it. A concrete + /// Association must have at least two associationEnds. When it has exactly two, the Association is + /// called a binary Association. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562477648742_24204_22901", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [RedefinedByProperty("IConnectionDefinition.ConnectionEnd")] + [Implements(implementation: "IAssociation.AssociationEnd")] + List Kernel.Associations.IAssociation.associationEnd => throw new InvalidOperationException("Redefined by property IConnectionDefinition.ConnectionEnd"); + + /// + /// The Usages that define the things related by the ConnectionDefinition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591476421094_685440_682", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562477648742_24204_22901")] + [RedefinedByProperty("IInterfaceDefinition.InterfaceEnd")] + [Implements(implementation: "IConnectionDefinition.ConnectionEnd")] + List Systems.Connections.IConnectionDefinition.connectionEnd => throw new InvalidOperationException("Redefined by property IInterfaceDefinition.InterfaceEnd"); + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.DirectedFeature")] + public List directedFeature { get; internal set; } + + /// + /// The usages of this Definition that are directedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565495064714_974634_26150", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IDefinition.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IAssociation.AssociationEnd")] + [Implements(implementation: "IType.EndFeature")] + List Core.Types.IType.endFeature => throw new InvalidOperationException("Redefined by property IAssociation.AssociationEnd"); + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The PortUsages that are the connectionEnds of this InterfaceDefinition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565496234915_779221_26664", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591476421094_685440_682")] + [Implements(implementation: "IInterfaceDefinition.InterfaceEnd")] + public List interfaceEnd { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + public bool IsAbstract { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceDefinition is constrained to represent at most one thing. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618955405499_394357_6740", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceDefinition.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// A ConnectionDefinition always has isSufficient = true. + /// + [Property(xmiId: "_2022x_2_12e503d9_1734734871008_462076_156", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1564072709069_937523_30797")] + [Implements(implementation: "IConnectionDefinition.IsSufficient")] + public bool IsSufficient { get; set; } = true; + + /// + /// 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [RedefinedByProperty("IConnectionDefinition.IsSufficient")] + [Implements(implementation: "IType.IsSufficient")] + bool Core.Types.IType.IsSufficient + { + get => throw new InvalidOperationException("Redefined by property IConnectionDefinition.IsSufficient"); + set => throw new InvalidOperationException("Redefined by property IConnectionDefinition.IsSufficient"); + } + + /// + /// Whether this Definition is for a variation point or not. If true, then all the memberships of the + /// Definition must be VariantMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IDefinition.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ActionUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedAction")] + public List ownedAction { get; internal set; } + + /// + /// The AllocationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedAllocation")] + public List ownedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedAnalysisCase")] + public List ownedAnalysisCase { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The AttributeUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedAttribute")] + public List ownedAttribute { get; internal set; } + + /// + /// The CalculationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] + [Implements(implementation: "IDefinition.OwnedCalculation")] + public List ownedCalculation { get; internal set; } + + /// + /// The code>CaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] + [Implements(implementation: "IDefinition.OwnedCase")] + public List ownedCase { get; internal set; } + + /// + /// The ConcernUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + [Implements(implementation: "IDefinition.OwnedConcern")] + public List ownedConcern { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowUsages because these are ConnectorAsUsages + /// even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedConnection")] + public List ownedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedConstraint")] + public List ownedConstraint { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The EnumerationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] + [Implements(implementation: "IDefinition.OwnedEnumeration")] + public List ownedEnumeration { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The FlowUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedFlow")] + public List ownedFlow { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The InterfaceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedInterface")] + public List ownedInterface { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The ItemUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedItem")] + public List ownedItem { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The MetadataUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] + [Implements(implementation: "IDefinition.OwnedMetadata")] + public List ownedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedOccurrence")] + public List ownedOccurrence { get; internal set; } + + /// + /// The PartUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] + [Implements(implementation: "IDefinition.OwnedPart")] + public List ownedPart { get; internal set; } + + /// + /// The PortUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedPort")] + public List ownedPort { get; internal set; } + + /// + /// The ReferenceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedReference")] + public List ownedReference { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The RenderingUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] + [Implements(implementation: "IDefinition.OwnedRendering")] + public List ownedRendering { get; internal set; } + + /// + /// The RequirementUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] + [Implements(implementation: "IDefinition.OwnedRequirement")] + public List ownedRequirement { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The StateUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] + [Implements(implementation: "IDefinition.OwnedState")] + public List ownedState { get; internal set; } + + /// + /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier + /// is the subclassifier. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [Implements(implementation: "IClassifier.OwnedSubclassification")] + public List ownedSubclassification { get; internal set; } + + /// + /// The TransitionUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedTransition")] + public List ownedTransition { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Definition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686637_967933_23236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IDefinition.OwnedUsage")] + public List ownedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedUseCase")] + public List ownedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedVerificationCase")] + public List ownedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] + [Implements(implementation: "IDefinition.OwnedView")] + public List ownedView { get; internal set; } + + /// + /// The ViewpointUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + [Implements(implementation: "IDefinition.OwnedViewpoint")] + public List ownedViewpoint { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [RedefinedByProperty("IAssociation.RelatedType")] + [Implements(implementation: "IRelationship.RelatedElement")] + List Root.Elements.IRelationship.relatedElement => throw new InvalidOperationException("Redefined by property IAssociation.RelatedType"); + + /// + /// The types of the associationEnds of the Association, which are the relatedElements of the + /// Association considered as a Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_4339_43349", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IAssociation.RelatedType")] + public List relatedType { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IAssociation.SourceType")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IAssociation.SourceType"); + set => throw new InvalidOperationException("Redefined by property IAssociation.SourceType"); + } + + /// + /// The source relatedType for this Association. It is the first relatedType of the Association. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594939013292_377668_3566", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [Implements(implementation: "IAssociation.SourceType")] + public Guid? sourceType { get; internal set; } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IAssociation.TargetType")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IAssociation.TargetType"); + set => throw new InvalidOperationException("Redefined by property IAssociation.TargetType"); + } + + /// + /// The target relatedTypes for this Association. This includes all the relatedTypes other than the + /// sourceType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594939237325_861933_3707", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [Implements(implementation: "IAssociation.TargetType")] + public List targetType { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Definition (not necessarily owned). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IDefinition.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Definition as a variation point Definition, if + /// isVariation = true. If isVariation = false, the there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IDefinition.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then + /// this must be all ownedMemberships of the Definition. If isVariation = false, then + /// variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IDefinition.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/InterfaceUsage.cs b/SysML2.NET/Core/AutoGenDto/InterfaceUsage.cs index 45f16b12..55e3e928 100644 --- a/SysML2.NET/Core/AutoGenDto/InterfaceUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/InterfaceUsage.cs @@ -1,1217 +1,1229 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Interfaces -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Core.DTO.Systems.Connections; - using SysML2.NET.Decorators; - - /// - /// An InterfaceUsage is a Usage of an InterfaceDefinition to represent an interface connecting parts of - /// a system through specific ports. - /// - [Class(xmiId: "_18_5_3_12e503d9_1565498940266_617738_28508", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class InterfaceUsage : IInterfaceUsage - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Associations that type the Connector. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674983_471497_43284", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IConnectionUsage.ConnectionDefinition")] - [Implements(implementation: "IConnector.Association")] - public List Association { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The AssociationStructures that are the types of this ConnectionUsage. Nominally, these are , but - /// other kinds of Kernel AssociationStructures are also allowed, to permit use of AssociationStructures - /// from the Kernel Model Libraries - /// - [Property(xmiId: "_19_0_2_12e503d9_1594853499656_139435_802", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565471361757_649736_20796")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674983_471497_43284")] - [RedefinedByProperty("IInterfaceUsage.InterfaceDefinition")] - [Implements(implementation: "IConnectionUsage.ConnectionDefinition")] - public List ConnectionDefinition { get; internal set; } - - /// - /// The endFeatures of a Connector, which redefine the endFeatures of the associations of the Connector. - /// The connectorEnds determine via ReferenceSubsetting Relationships which Features are related by the - /// Connector. - /// - [Property(xmiId: "_18_5_3_12e503d9_1556735067666_827798_21922", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [Implements(implementation: "IConnector.ConnectorEnd")] - public List ConnectorEnd { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The innermost Type that is a common direct or indirect featuringType of the relatedFeatures, such - /// that, if it exists and was the featuringType of this Connector, the Connector would satisfy the - /// checkConnectorTypeFeaturing constraint. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737751598145_444042_71", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IConnector.DefaultFeaturingType")] - public Guid? DefaultFeaturingType { get; internal set; } - - /// - /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds - /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] - [Implements(implementation: "IUsage.Definition")] - public List Definition { get; internal set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Usage that are directedFeatures. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IConnector.ConnectorEnd")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// The at most one occurrenceDefinition that has isIndividual = true. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public Guid? IndividualDefinition { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The InterfaceDefinitions that type this InterfaceUsage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565499418349_431355_28798", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1594853499656_139435_802")] - [Implements(implementation: "IInterfaceUsage.InterfaceDefinition")] - public List InterfaceDefinition { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - public bool IsEnd { get; set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its - /// individualDefinition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceUsage.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - public bool IsPortion { get; set; } - - /// - /// Whether this Usage is a referential Usage, that is, it has isComposite = false. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsReference")] - public bool IsReference { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [RedefinedByProperty("IUsage.MayTimeVary")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage - /// must be VariantMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// The Structures that are the definitions of this ItemUsage. Nominally, these are ItemDefinitions, but - /// other kinds of Kernel Structures are also allowed, to permit use of Structures from the Kernel - /// Library. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565471361757_649736_20796", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IItemUsage.ItemDefinition")] - public List ItemDefinition { get; internal set; } - - /// - /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its - /// owningType, rather than being featured by the owningType itself). However, if isConstant is also - /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance - /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary - /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is - /// inherited from Feature. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] - [Implements(implementation: "IUsage.MayTimeVary")] - public bool MayTimeVary { get; internal set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ActionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedAction")] - public List NestedAction { get; internal set; } - - /// - /// The AllocationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedAllocation")] - public List NestedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List NestedAnalysisCase { get; internal set; } - - /// - /// The code>AttributeUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedAttribute")] - public List NestedAttribute { get; internal set; } - - /// - /// The CalculationUsage that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedCalculation")] - public List NestedCalculation { get; internal set; } - - /// - /// The CaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] - [Implements(implementation: "IUsage.NestedCase")] - public List NestedCase { get; internal set; } - - /// - /// The ConcernUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedConcern")] - public List NestedConcern { get; internal set; } - - /// - /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are - /// ConnectorAsUsages even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedConnection")] - public List NestedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedConstraint")] - public List NestedConstraint { get; internal set; } - - /// - /// The code>EnumerationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] - [Implements(implementation: "IUsage.NestedEnumeration")] - public List NestedEnumeration { get; internal set; } - - /// - /// The code>FlowUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedFlow")] - public List NestedFlow { get; internal set; } - - /// - /// The InterfaceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedInterface")] - public List NestedInterface { get; internal set; } - - /// - /// The ItemUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedItem")] - public List NestedItem { get; internal set; } - - /// - /// The MetadataUsages that are nestedUsages of this of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedMetadata")] - public List NestedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedOccurrence")] - public List NestedOccurrence { get; internal set; } - - /// - /// The PartUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedPart")] - public List NestedPart { get; internal set; } - - /// - /// The PortUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedPort")] - public List NestedPort { get; internal set; } - - /// - /// The ReferenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedReference")] - public List NestedReference { get; internal set; } - - /// - /// The RenderingUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedRendering")] - public List NestedRendering { get; internal set; } - - /// - /// The RequirementUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] - [Implements(implementation: "IUsage.NestedRequirement")] - public List NestedRequirement { get; internal set; } - - /// - /// The StateUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedState")] - public List NestedState { get; internal set; } - - /// - /// The TransitionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedTransition")] - public List NestedTransition { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.NestedUsage")] - public List NestedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedUseCase")] - public List NestedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedVerificationCase")] - public List NestedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedView")] - public List NestedView { get; internal set; } - - /// - /// The ViewpointUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedViewpoint")] - public List NestedViewpoint { get; internal set; } - - /// - /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, - /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] - [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List OccurrenceDefinition { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The Definition that owns this Usage (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] - [Implements(implementation: "IUsage.OwningDefinition")] - public Guid? OwningDefinition { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The Usage in which this Usage is nested (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IUsage.OwningUsage")] - public Guid? OwningUsage { get; internal set; } - - /// - /// The itemDefinitions of this PartUsage that are PartDefinitions. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591475180488_929065_121", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565471361757_649736_20796")] - [Implements(implementation: "IPartUsage.PartDefinition")] - public List PartDefinition { get; internal set; } - - /// - /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If - /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the - /// OccurrenceUsage represents portions of the featuring instance of the owningType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IOccurrenceUsage.PortionKind")] - public PortionKind? PortionKind { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [RedefinedByProperty("IConnector.RelatedFeature")] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The Features that are related by this Connector considered as a Relationship and that restrict the - /// links it identifies, given by the referenced Features of the connectorEnds of the Connector. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_916334_43210", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IConnector.RelatedFeature")] - public List RelatedFeature { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IConnector.SourceFeature")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// The source relatedFeature for this Connector. It is the first relatedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594953058873_558253_3897", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [Implements(implementation: "IConnector.SourceFeature")] - public Guid? SourceFeature { get; internal set; } - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IConnector.TargetFeature")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The target relatedFeatures for this Connector. This includes all the relatedFeatures other than the - /// sourceFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594953128207_991867_3946", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [Implements(implementation: "IConnector.TargetFeature")] - public List TargetFeature { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IUsage.Definition")] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Usage (not necessarily owned). - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IUsage.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = - /// true. If isVariation = false, then there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IUsage.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this - /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IUsage.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Interfaces +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Core.DTO.Systems.Connections; + using SysML2.NET.Decorators; + + /// + /// An InterfaceUsage is a Usage of an InterfaceDefinition to represent an interface connecting parts of + /// a system through specific ports. + /// + [Class(xmiId: "_18_5_3_12e503d9_1565498940266_617738_28508", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class InterfaceUsage : IInterfaceUsage + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Associations that type the Connector. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674983_471497_43284", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IConnectionUsage.ConnectionDefinition")] + [Implements(implementation: "IConnector.Association")] + List Kernel.Connectors.IConnector.association => throw new InvalidOperationException("Redefined by property IConnectionUsage.ConnectionDefinition"); + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The AssociationStructures that are the types of this ConnectionUsage. Nominally, these are , but + /// other kinds of Kernel AssociationStructures are also allowed, to permit use of AssociationStructures + /// from the Kernel Model Libraries + /// + [Property(xmiId: "_19_0_2_12e503d9_1594853499656_139435_802", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565471361757_649736_20796")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674983_471497_43284")] + [RedefinedByProperty("IInterfaceUsage.InterfaceDefinition")] + [Implements(implementation: "IConnectionUsage.ConnectionDefinition")] + List Systems.Connections.IConnectionUsage.connectionDefinition => throw new InvalidOperationException("Redefined by property IInterfaceUsage.InterfaceDefinition"); + + /// + /// The endFeatures of a Connector, which redefine the endFeatures of the associations of the Connector. + /// The connectorEnds determine via ReferenceSubsetting Relationships which Features are related by the + /// Connector. + /// + [Property(xmiId: "_18_5_3_12e503d9_1556735067666_827798_21922", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [Implements(implementation: "IConnector.ConnectorEnd")] + public List connectorEnd { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The innermost Type that is a common direct or indirect featuringType of the relatedFeatures, such + /// that, if it exists and was the featuringType of this Connector, the Connector would satisfy the + /// checkConnectorTypeFeaturing constraint. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737751598145_444042_71", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IConnector.DefaultFeaturingType")] + public Guid? defaultFeaturingType { get; internal set; } + + /// + /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds + /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] + [Implements(implementation: "IUsage.Definition")] + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.DirectedFeature")] + public List directedFeature { get; internal set; } + + /// + /// The usages of this Usage that are directedFeatures. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IConnector.ConnectorEnd")] + [Implements(implementation: "IType.EndFeature")] + List Core.Types.IType.endFeature => throw new InvalidOperationException("Redefined by property IConnector.ConnectorEnd"); + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// The at most one occurrenceDefinition that has isIndividual = true. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] + public Guid? individualDefinition { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The InterfaceDefinitions that type this InterfaceUsage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565499418349_431355_28798", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1594853499656_139435_802")] + [Implements(implementation: "IInterfaceUsage.InterfaceDefinition")] + public List interfaceDefinition { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + public bool IsEnd { get; set; } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its + /// individualDefinition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceUsage.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + public bool IsPortion { get; set; } + + /// + /// Whether this Usage is a referential Usage, that is, it has isComposite = false. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsReference")] + public bool isReference { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [RedefinedByProperty("IUsage.MayTimeVary")] + [Implements(implementation: "IFeature.IsVariable")] + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } + + /// + /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage + /// must be VariantMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// The Structures that are the definitions of this ItemUsage. Nominally, these are ItemDefinitions, but + /// other kinds of Kernel Structures are also allowed, to permit use of Structures from the Kernel + /// Library. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565471361757_649736_20796", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IItemUsage.ItemDefinition")] + public List itemDefinition { get; internal set; } + + /// + /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its + /// owningType, rather than being featured by the owningType itself). However, if isConstant is also + /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance + /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary + /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is + /// inherited from Feature. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] + [Implements(implementation: "IUsage.MayTimeVary")] + public bool mayTimeVary { get; internal set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ActionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedAction")] + public List nestedAction { get; internal set; } + + /// + /// The AllocationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedAllocation")] + public List nestedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedAnalysisCase")] + public List nestedAnalysisCase { get; internal set; } + + /// + /// The code>AttributeUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedAttribute")] + public List nestedAttribute { get; internal set; } + + /// + /// The CalculationUsage that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedCalculation")] + public List nestedCalculation { get; internal set; } + + /// + /// The CaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] + [Implements(implementation: "IUsage.NestedCase")] + public List nestedCase { get; internal set; } + + /// + /// The ConcernUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedConcern")] + public List nestedConcern { get; internal set; } + + /// + /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are + /// ConnectorAsUsages even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedConnection")] + public List nestedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedConstraint")] + public List nestedConstraint { get; internal set; } + + /// + /// The code>EnumerationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] + [Implements(implementation: "IUsage.NestedEnumeration")] + public List nestedEnumeration { get; internal set; } + + /// + /// The code>FlowUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedFlow")] + public List nestedFlow { get; internal set; } + + /// + /// The InterfaceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedInterface")] + public List nestedInterface { get; internal set; } + + /// + /// The ItemUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedItem")] + public List nestedItem { get; internal set; } + + /// + /// The MetadataUsages that are nestedUsages of this of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedMetadata")] + public List nestedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedOccurrence")] + public List nestedOccurrence { get; internal set; } + + /// + /// The PartUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedPart")] + public List nestedPart { get; internal set; } + + /// + /// The PortUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedPort")] + public List nestedPort { get; internal set; } + + /// + /// The ReferenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedReference")] + public List nestedReference { get; internal set; } + + /// + /// The RenderingUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedRendering")] + public List nestedRendering { get; internal set; } + + /// + /// The RequirementUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] + [Implements(implementation: "IUsage.NestedRequirement")] + public List nestedRequirement { get; internal set; } + + /// + /// The StateUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedState")] + public List nestedState { get; internal set; } + + /// + /// The TransitionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedTransition")] + public List nestedTransition { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.NestedUsage")] + public List nestedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedUseCase")] + public List nestedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedVerificationCase")] + public List nestedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedView")] + public List nestedView { get; internal set; } + + /// + /// The ViewpointUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedViewpoint")] + public List nestedViewpoint { get; internal set; } + + /// + /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, + /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] + [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] + public List occurrenceDefinition { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The Definition that owns this Usage (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] + [Implements(implementation: "IUsage.OwningDefinition")] + public Guid? owningDefinition { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The Usage in which this Usage is nested (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IUsage.OwningUsage")] + public Guid? owningUsage { get; internal set; } + + /// + /// The itemDefinitions of this PartUsage that are PartDefinitions. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591475180488_929065_121", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565471361757_649736_20796")] + [Implements(implementation: "IPartUsage.PartDefinition")] + public List partDefinition { get; internal set; } + + /// + /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If + /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the + /// OccurrenceUsage represents portions of the featuring instance of the owningType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IOccurrenceUsage.PortionKind")] + public PortionKind? PortionKind { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [RedefinedByProperty("IConnector.RelatedFeature")] + [Implements(implementation: "IRelationship.RelatedElement")] + List Root.Elements.IRelationship.relatedElement => throw new InvalidOperationException("Redefined by property IConnector.RelatedFeature"); + + /// + /// The Features that are related by this Connector considered as a Relationship and that restrict the + /// links it identifies, given by the referenced Features of the connectorEnds of the Connector. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_916334_43210", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IConnector.RelatedFeature")] + public List relatedFeature { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IConnector.SourceFeature")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + } + + /// + /// The source relatedFeature for this Connector. It is the first relatedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594953058873_558253_3897", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [Implements(implementation: "IConnector.SourceFeature")] + public Guid? sourceFeature { get; internal set; } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IConnector.TargetFeature")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + } + + /// + /// The target relatedFeatures for this Connector. This includes all the relatedFeatures other than the + /// sourceFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594953128207_991867_3946", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [Implements(implementation: "IConnector.TargetFeature")] + public List targetFeature { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IUsage.Definition")] + [Implements(implementation: "IFeature.Type")] + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Usage (not necessarily owned). + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IUsage.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = + /// true. If isVariation = false, then there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IUsage.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this + /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IUsage.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/Intersecting.cs b/SysML2.NET/Core/AutoGenDto/Intersecting.cs index 89d2f8fb..a70e5918 100644 --- a/SysML2.NET/Core/AutoGenDto/Intersecting.cs +++ b/SysML2.NET/Core/AutoGenDto/Intersecting.cs @@ -1,283 +1,291 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Core.Types -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Root.Elements; - using SysML2.NET.Decorators; - - /// - /// Intersecting is a Relationship that makes its intersectingType one of the intersectingTypes of its - /// typeIntersected. - /// - [Class(xmiId: "_19_0_4_b9102da_1623187351831_706169_90", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class Intersecting : IIntersecting - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// Type that partly determines interpretations of typeIntersected, as described in - /// Type::intersectingType. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242559520_591868_537", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [Implements(implementation: "IIntersecting.IntersectingType")] - public Guid IntersectingType { get; set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IIntersecting.TypeIntersected")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IIntersecting.IntersectingType")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Type with interpretations partly determined by intersectingType, as described in - /// Type::intersectingType. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552145_149730_525", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [Implements(implementation: "IIntersecting.TypeIntersected")] - public Guid TypeIntersected { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Core.Types +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Root.Elements; + using SysML2.NET.Decorators; + + /// + /// Intersecting is a Relationship that makes its intersectingType one of the intersectingTypes of its + /// typeIntersected. + /// + [Class(xmiId: "_19_0_4_b9102da_1623187351831_706169_90", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class Intersecting : IIntersecting + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// Type that partly determines interpretations of typeIntersected, as described in + /// Type::intersectingType. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242559520_591868_537", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [Implements(implementation: "IIntersecting.IntersectingType")] + public Guid IntersectingType { get; set; } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IRelationship.RelatedElement")] + public List relatedElement { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IIntersecting.TypeIntersected")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IIntersecting.TypeIntersected"); + set => throw new InvalidOperationException("Redefined by property IIntersecting.TypeIntersected"); + } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IIntersecting.IntersectingType")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IIntersecting.IntersectingType"); + set => throw new InvalidOperationException("Redefined by property IIntersecting.IntersectingType"); + } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Type with interpretations partly determined by intersectingType, as described in + /// Type::intersectingType. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552145_149730_525", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [Implements(implementation: "IIntersecting.TypeIntersected")] + public Guid typeIntersected { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/Invariant.cs b/SysML2.NET/Core/AutoGenDto/Invariant.cs index 08651cb9..9b476be5 100644 --- a/SysML2.NET/Core/AutoGenDto/Invariant.cs +++ b/SysML2.NET/Core/AutoGenDto/Invariant.cs @@ -1,785 +1,785 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Functions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Decorators; - - /// - /// An Invariant is a BooleanExpression that is asserted to have a specific Boolean result value. If - /// isNegated = false, then the result is asserted to be true. If isNegated = true, then the result is - /// asserted to be false. - /// - [Class(xmiId: "_19_0_2_12e503d9_1578025014367_499614_936", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class Invariant : IInvariant - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Behaviors that type this Step. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IExpression.Function")] - [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IStep.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Function that types this Expression. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - [RedefinedByProperty("IBooleanExpression.Predicate")] - [Implements(implementation: "IExpression.Function")] - public Guid? Function { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, - /// using metadata within the model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool IsModelLevelEvaluable { get; internal set; } - - /// - /// Whether this Invariant is asserted to be false rather than true. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623945815201_648891_36531", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IInvariant.IsNegated")] - public bool IsNegated { get; set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into - /// and/or out of a performance of the Step. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The Predicate that types the Expression. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578025035149_386_969", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1543948477241_299049_20934")] - [Implements(implementation: "IBooleanExpression.Predicate")] - public Guid? Predicate { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// An output parameter of the Expression whose value is the result of the Expression. The result of an - /// Expression is either inherited from its function or it is related to the Expression via a - /// ReturnParameterMembership, in which case it redefines the result parameter of its function. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [Implements(implementation: "IExpression.Result")] - public Guid Result { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Functions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Decorators; + + /// + /// An Invariant is a BooleanExpression that is asserted to have a specific Boolean result value. If + /// isNegated = false, then the result is asserted to be true. If isNegated = true, then the result is + /// asserted to be false. + /// + [Class(xmiId: "_19_0_2_12e503d9_1578025014367_499614_936", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class Invariant : IInvariant + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Behaviors that type this Step. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IExpression.Function")] + [Implements(implementation: "IStep.Behavior")] + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IStep.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Function that types this Expression. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] + [RedefinedByProperty("IBooleanExpression.Predicate")] + [Implements(implementation: "IExpression.Function")] + Guid? IExpression.function => throw new InvalidOperationException("Redefined by property IBooleanExpression.Predicate"); + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, + /// using metadata within the model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IExpression.IsModelLevelEvaluable")] + public bool isModelLevelEvaluable { get; internal set; } + + /// + /// Whether this Invariant is asserted to be false rather than true. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623945815201_648891_36531", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IInvariant.IsNegated")] + public bool IsNegated { get; set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsVariable")] + public bool IsVariable { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into + /// and/or out of a performance of the Step. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IStep.Parameter")] + public List parameter { get; internal set; } + + /// + /// The Predicate that types the Expression. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578025035149_386_969", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1543948477241_299049_20934")] + [Implements(implementation: "IBooleanExpression.Predicate")] + public Guid? predicate { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// An output parameter of the Expression whose value is the result of the Expression. The result of an + /// Expression is either inherited from its function or it is related to the Expression via a + /// ReturnParameterMembership, in which case it redefines the result parameter of its function. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [Implements(implementation: "IExpression.Result")] + public Guid result { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Type")] + public List type { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/InvocationExpression.cs b/SysML2.NET/Core/AutoGenDto/InvocationExpression.cs index 67ac5ef2..e3782545 100644 --- a/SysML2.NET/Core/AutoGenDto/InvocationExpression.cs +++ b/SysML2.NET/Core/AutoGenDto/InvocationExpression.cs @@ -1,790 +1,790 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Expressions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Decorators; - - /// - /// An InvocationExpression is an InstantiationExpression whose instantiatedType must be a Behavior or a - /// Feature typed by a single Behavior (such as a Step). Each of the input parameters of the - /// instantiatedType are bound to the result of an argument Expression. If the instantiatedType is a - /// Function or a Feature typed by a Function, then the result of the InvocationExpression is the result - /// of the invoked Function. Otherwise, the result is an instance of the instantiatedType (essentially - /// like a behavioral ConstructorExpression). - /// - [Class(xmiId: "_18_5_3_12e503d9_1557528671608_638869_111563", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class InvocationExpression : IInvocationExpression - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Expressions whose results are bound to features of the instantiatedType. The arguments are - /// ordered consistent with the order of the features, though they may not be one-to-one with all the - /// features.Note. The derivation of argument is given in the concrete subclasses of - /// InstantiationExpression. - /// - [Property(xmiId: "_2022x_2_12e503d9_1739134437590_328753_108", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IInstantiationExpression.Argument")] - public List Argument { get; internal set; } - - /// - /// The Behaviors that type this Step. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IExpression.Function")] - [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IStep.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Function that types this Expression. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - [Implements(implementation: "IExpression.Function")] - public Guid? Function { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The Type that is being instantiated. - /// - [Property(xmiId: "_2022x_2_12e503d9_1739134352572_416088_80", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IInstantiationExpression.InstantiatedType")] - public Guid InstantiatedType { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, - /// using metadata within the model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool IsModelLevelEvaluable { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into - /// and/or out of a performance of the Step. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// An output parameter of the Expression whose value is the result of the Expression. The result of an - /// Expression is either inherited from its function or it is related to the Expression via a - /// ReturnParameterMembership, in which case it redefines the result parameter of its function. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [Implements(implementation: "IExpression.Result")] - public Guid Result { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Expressions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Decorators; + + /// + /// An InvocationExpression is an InstantiationExpression whose instantiatedType must be a Behavior or a + /// Feature typed by a single Behavior (such as a Step). Each of the input parameters of the + /// instantiatedType are bound to the result of an argument Expression. If the instantiatedType is a + /// Function or a Feature typed by a Function, then the result of the InvocationExpression is the result + /// of the invoked Function. Otherwise, the result is an instance of the instantiatedType (essentially + /// like a behavioral ConstructorExpression). + /// + [Class(xmiId: "_18_5_3_12e503d9_1557528671608_638869_111563", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class InvocationExpression : IInvocationExpression + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Expressions whose results are bound to features of the instantiatedType. The arguments are + /// ordered consistent with the order of the features, though they may not be one-to-one with all the + /// features.Note. The derivation of argument is given in the concrete subclasses of + /// InstantiationExpression. + /// + [Property(xmiId: "_2022x_2_12e503d9_1739134437590_328753_108", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IInstantiationExpression.Argument")] + public List argument { get; internal set; } + + /// + /// The Behaviors that type this Step. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IExpression.Function")] + [Implements(implementation: "IStep.Behavior")] + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IStep.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Function that types this Expression. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] + [Implements(implementation: "IExpression.Function")] + public Guid? function { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The Type that is being instantiated. + /// + [Property(xmiId: "_2022x_2_12e503d9_1739134352572_416088_80", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IInstantiationExpression.InstantiatedType")] + public Guid instantiatedType { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, + /// using metadata within the model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IExpression.IsModelLevelEvaluable")] + public bool isModelLevelEvaluable { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsVariable")] + public bool IsVariable { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into + /// and/or out of a performance of the Step. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IStep.Parameter")] + public List parameter { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// An output parameter of the Expression whose value is the result of the Expression. The result of an + /// Expression is either inherited from its function or it is related to the Expression via a + /// ReturnParameterMembership, in which case it redefines the result parameter of its function. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [Implements(implementation: "IExpression.Result")] + public Guid result { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Type")] + public List type { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ItemDefinition.cs b/SysML2.NET/Core/AutoGenDto/ItemDefinition.cs index b5af0a70..41ba3160 100644 --- a/SysML2.NET/Core/AutoGenDto/ItemDefinition.cs +++ b/SysML2.NET/Core/AutoGenDto/ItemDefinition.cs @@ -1,774 +1,774 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Items -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Kernel.Structures; - using SysML2.NET.Core.DTO.Systems.Occurrences; - using SysML2.NET.Decorators; - - /// - /// An ItemDefinition is an OccurrenceDefinition of the Structure of things that may themselves be - /// systems or parts of systems, but may also be things that are acted on by a system or parts of a - /// system, but which do not necessarily perform actions themselves. This includes items that can be - /// exchanged between parts of a system, such as water or electrical signals. - /// - [Class(xmiId: "_19_0_2_12e503d9_1591216581238_805702_84", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class ItemDefinition : IItemDefinition - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Definition that are directedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565495064714_974634_26150", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IDefinition.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - public bool IsAbstract { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceDefinition is constrained to represent at most one thing. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618955405499_394357_6740", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceDefinition.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IDefinition.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ActionUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedAction")] - public List OwnedAction { get; internal set; } - - /// - /// The AllocationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedAllocation")] - public List OwnedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List OwnedAnalysisCase { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The AttributeUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedAttribute")] - public List OwnedAttribute { get; internal set; } - - /// - /// The CalculationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - [Implements(implementation: "IDefinition.OwnedCalculation")] - public List OwnedCalculation { get; internal set; } - - /// - /// The code>CaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] - [Implements(implementation: "IDefinition.OwnedCase")] - public List OwnedCase { get; internal set; } - - /// - /// The ConcernUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - [Implements(implementation: "IDefinition.OwnedConcern")] - public List OwnedConcern { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowUsages because these are ConnectorAsUsages - /// even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedConnection")] - public List OwnedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedConstraint")] - public List OwnedConstraint { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The EnumerationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] - [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List OwnedEnumeration { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The FlowUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedFlow")] - public List OwnedFlow { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The InterfaceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedInterface")] - public List OwnedInterface { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The ItemUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedItem")] - public List OwnedItem { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The MetadataUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - [Implements(implementation: "IDefinition.OwnedMetadata")] - public List OwnedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List OwnedOccurrence { get; internal set; } - - /// - /// The PartUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - [Implements(implementation: "IDefinition.OwnedPart")] - public List OwnedPart { get; internal set; } - - /// - /// The PortUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedPort")] - public List OwnedPort { get; internal set; } - - /// - /// The ReferenceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedReference")] - public List OwnedReference { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The RenderingUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - [Implements(implementation: "IDefinition.OwnedRendering")] - public List OwnedRendering { get; internal set; } - - /// - /// The RequirementUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] - [Implements(implementation: "IDefinition.OwnedRequirement")] - public List OwnedRequirement { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The StateUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - [Implements(implementation: "IDefinition.OwnedState")] - public List OwnedState { get; internal set; } - - /// - /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier - /// is the subclassifier. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List OwnedSubclassification { get; internal set; } - - /// - /// The TransitionUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedTransition")] - public List OwnedTransition { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Definition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686637_967933_23236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IDefinition.OwnedUsage")] - public List OwnedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedUseCase")] - public List OwnedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List OwnedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - [Implements(implementation: "IDefinition.OwnedView")] - public List OwnedView { get; internal set; } - - /// - /// The ViewpointUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List OwnedViewpoint { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Definition (not necessarily owned). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IDefinition.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Definition as a variation point Definition, if - /// isVariation = true. If isVariation = false, the there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IDefinition.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then - /// this must be all ownedMemberships of the Definition. If isVariation = false, then - /// variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IDefinition.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Items +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Kernel.Structures; + using SysML2.NET.Core.DTO.Systems.Occurrences; + using SysML2.NET.Decorators; + + /// + /// An ItemDefinition is an OccurrenceDefinition of the Structure of things that may themselves be + /// systems or parts of systems, but may also be things that are acted on by a system or parts of a + /// system, but which do not necessarily perform actions themselves. This includes items that can be + /// exchanged between parts of a system, such as water or electrical signals. + /// + [Class(xmiId: "_19_0_2_12e503d9_1591216581238_805702_84", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class ItemDefinition : IItemDefinition + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.DirectedFeature")] + public List directedFeature { get; internal set; } + + /// + /// The usages of this Definition that are directedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565495064714_974634_26150", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IDefinition.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + public bool IsAbstract { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceDefinition is constrained to represent at most one thing. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618955405499_394357_6740", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceDefinition.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IDefinition.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ActionUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedAction")] + public List ownedAction { get; internal set; } + + /// + /// The AllocationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedAllocation")] + public List ownedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedAnalysisCase")] + public List ownedAnalysisCase { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The AttributeUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedAttribute")] + public List ownedAttribute { get; internal set; } + + /// + /// The CalculationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] + [Implements(implementation: "IDefinition.OwnedCalculation")] + public List ownedCalculation { get; internal set; } + + /// + /// The code>CaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] + [Implements(implementation: "IDefinition.OwnedCase")] + public List ownedCase { get; internal set; } + + /// + /// The ConcernUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + [Implements(implementation: "IDefinition.OwnedConcern")] + public List ownedConcern { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowUsages because these are ConnectorAsUsages + /// even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedConnection")] + public List ownedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedConstraint")] + public List ownedConstraint { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The EnumerationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] + [Implements(implementation: "IDefinition.OwnedEnumeration")] + public List ownedEnumeration { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The FlowUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedFlow")] + public List ownedFlow { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The InterfaceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedInterface")] + public List ownedInterface { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The ItemUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedItem")] + public List ownedItem { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The MetadataUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] + [Implements(implementation: "IDefinition.OwnedMetadata")] + public List ownedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedOccurrence")] + public List ownedOccurrence { get; internal set; } + + /// + /// The PartUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] + [Implements(implementation: "IDefinition.OwnedPart")] + public List ownedPart { get; internal set; } + + /// + /// The PortUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedPort")] + public List ownedPort { get; internal set; } + + /// + /// The ReferenceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedReference")] + public List ownedReference { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The RenderingUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] + [Implements(implementation: "IDefinition.OwnedRendering")] + public List ownedRendering { get; internal set; } + + /// + /// The RequirementUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] + [Implements(implementation: "IDefinition.OwnedRequirement")] + public List ownedRequirement { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The StateUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] + [Implements(implementation: "IDefinition.OwnedState")] + public List ownedState { get; internal set; } + + /// + /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier + /// is the subclassifier. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [Implements(implementation: "IClassifier.OwnedSubclassification")] + public List ownedSubclassification { get; internal set; } + + /// + /// The TransitionUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedTransition")] + public List ownedTransition { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Definition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686637_967933_23236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IDefinition.OwnedUsage")] + public List ownedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedUseCase")] + public List ownedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedVerificationCase")] + public List ownedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] + [Implements(implementation: "IDefinition.OwnedView")] + public List ownedView { get; internal set; } + + /// + /// The ViewpointUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + [Implements(implementation: "IDefinition.OwnedViewpoint")] + public List ownedViewpoint { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Definition (not necessarily owned). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IDefinition.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Definition as a variation point Definition, if + /// isVariation = true. If isVariation = false, the there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IDefinition.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then + /// this must be all ownedMemberships of the Definition. If isVariation = false, then + /// variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IDefinition.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ItemUsage.cs b/SysML2.NET/Core/AutoGenDto/ItemUsage.cs index 87cdeb5f..7331f215 100644 --- a/SysML2.NET/Core/AutoGenDto/ItemUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/ItemUsage.cs @@ -1,1083 +1,1087 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Items -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Core.DTO.Systems.Occurrences; - using SysML2.NET.Decorators; - - /// - /// An ItemUsage is a ItemUsage whose definition is a Structure. Nominally, if the definition is an - /// ItemDefinition, an ItemUsage is a ItemUsage of that ItemDefinition within a system. However, other - /// kinds of Kernel Structures are also allowed, to permit use of Structures from the Kernel Model - /// Libraries. - /// - [Class(xmiId: "_18_5_3_12e503d9_1565480460114_846184_24270", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class ItemUsage : IItemUsage - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds - /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] - [Implements(implementation: "IUsage.Definition")] - public List Definition { get; internal set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Usage that are directedFeatures. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// The at most one occurrenceDefinition that has isIndividual = true. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public Guid? IndividualDefinition { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its - /// individualDefinition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceUsage.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - public bool IsPortion { get; set; } - - /// - /// Whether this Usage is a referential Usage, that is, it has isComposite = false. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsReference")] - public bool IsReference { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [RedefinedByProperty("IUsage.MayTimeVary")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage - /// must be VariantMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// The Structures that are the definitions of this ItemUsage. Nominally, these are ItemDefinitions, but - /// other kinds of Kernel Structures are also allowed, to permit use of Structures from the Kernel - /// Library. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565471361757_649736_20796", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IItemUsage.ItemDefinition")] - public List ItemDefinition { get; internal set; } - - /// - /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its - /// owningType, rather than being featured by the owningType itself). However, if isConstant is also - /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance - /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary - /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is - /// inherited from Feature. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] - [Implements(implementation: "IUsage.MayTimeVary")] - public bool MayTimeVary { get; internal set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ActionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedAction")] - public List NestedAction { get; internal set; } - - /// - /// The AllocationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedAllocation")] - public List NestedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List NestedAnalysisCase { get; internal set; } - - /// - /// The code>AttributeUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedAttribute")] - public List NestedAttribute { get; internal set; } - - /// - /// The CalculationUsage that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedCalculation")] - public List NestedCalculation { get; internal set; } - - /// - /// The CaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] - [Implements(implementation: "IUsage.NestedCase")] - public List NestedCase { get; internal set; } - - /// - /// The ConcernUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedConcern")] - public List NestedConcern { get; internal set; } - - /// - /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are - /// ConnectorAsUsages even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedConnection")] - public List NestedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedConstraint")] - public List NestedConstraint { get; internal set; } - - /// - /// The code>EnumerationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] - [Implements(implementation: "IUsage.NestedEnumeration")] - public List NestedEnumeration { get; internal set; } - - /// - /// The code>FlowUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedFlow")] - public List NestedFlow { get; internal set; } - - /// - /// The InterfaceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedInterface")] - public List NestedInterface { get; internal set; } - - /// - /// The ItemUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedItem")] - public List NestedItem { get; internal set; } - - /// - /// The MetadataUsages that are nestedUsages of this of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedMetadata")] - public List NestedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedOccurrence")] - public List NestedOccurrence { get; internal set; } - - /// - /// The PartUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedPart")] - public List NestedPart { get; internal set; } - - /// - /// The PortUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedPort")] - public List NestedPort { get; internal set; } - - /// - /// The ReferenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedReference")] - public List NestedReference { get; internal set; } - - /// - /// The RenderingUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedRendering")] - public List NestedRendering { get; internal set; } - - /// - /// The RequirementUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] - [Implements(implementation: "IUsage.NestedRequirement")] - public List NestedRequirement { get; internal set; } - - /// - /// The StateUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedState")] - public List NestedState { get; internal set; } - - /// - /// The TransitionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedTransition")] - public List NestedTransition { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.NestedUsage")] - public List NestedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedUseCase")] - public List NestedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedVerificationCase")] - public List NestedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedView")] - public List NestedView { get; internal set; } - - /// - /// The ViewpointUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedViewpoint")] - public List NestedViewpoint { get; internal set; } - - /// - /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, - /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] - [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List OccurrenceDefinition { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The Definition that owns this Usage (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] - [Implements(implementation: "IUsage.OwningDefinition")] - public Guid? OwningDefinition { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The Usage in which this Usage is nested (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IUsage.OwningUsage")] - public Guid? OwningUsage { get; internal set; } - - /// - /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If - /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the - /// OccurrenceUsage represents portions of the featuring instance of the owningType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IOccurrenceUsage.PortionKind")] - public PortionKind? PortionKind { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IUsage.Definition")] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Usage (not necessarily owned). - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IUsage.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = - /// true. If isVariation = false, then there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IUsage.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this - /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IUsage.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Items +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Core.DTO.Systems.Occurrences; + using SysML2.NET.Decorators; + + /// + /// An ItemUsage is a ItemUsage whose definition is a Structure. Nominally, if the definition is an + /// ItemDefinition, an ItemUsage is a ItemUsage of that ItemDefinition within a system. However, other + /// kinds of Kernel Structures are also allowed, to permit use of Structures from the Kernel Model + /// Libraries. + /// + [Class(xmiId: "_18_5_3_12e503d9_1565480460114_846184_24270", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class ItemUsage : IItemUsage + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds + /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] + [Implements(implementation: "IUsage.Definition")] + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.DirectedFeature")] + public List directedFeature { get; internal set; } + + /// + /// The usages of this Usage that are directedFeatures. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// The at most one occurrenceDefinition that has isIndividual = true. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] + public Guid? individualDefinition { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its + /// individualDefinition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceUsage.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + public bool IsPortion { get; set; } + + /// + /// Whether this Usage is a referential Usage, that is, it has isComposite = false. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsReference")] + public bool isReference { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [RedefinedByProperty("IUsage.MayTimeVary")] + [Implements(implementation: "IFeature.IsVariable")] + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } + + /// + /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage + /// must be VariantMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// The Structures that are the definitions of this ItemUsage. Nominally, these are ItemDefinitions, but + /// other kinds of Kernel Structures are also allowed, to permit use of Structures from the Kernel + /// Library. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565471361757_649736_20796", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IItemUsage.ItemDefinition")] + public List itemDefinition { get; internal set; } + + /// + /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its + /// owningType, rather than being featured by the owningType itself). However, if isConstant is also + /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance + /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary + /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is + /// inherited from Feature. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] + [Implements(implementation: "IUsage.MayTimeVary")] + public bool mayTimeVary { get; internal set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ActionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedAction")] + public List nestedAction { get; internal set; } + + /// + /// The AllocationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedAllocation")] + public List nestedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedAnalysisCase")] + public List nestedAnalysisCase { get; internal set; } + + /// + /// The code>AttributeUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedAttribute")] + public List nestedAttribute { get; internal set; } + + /// + /// The CalculationUsage that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedCalculation")] + public List nestedCalculation { get; internal set; } + + /// + /// The CaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] + [Implements(implementation: "IUsage.NestedCase")] + public List nestedCase { get; internal set; } + + /// + /// The ConcernUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedConcern")] + public List nestedConcern { get; internal set; } + + /// + /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are + /// ConnectorAsUsages even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedConnection")] + public List nestedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedConstraint")] + public List nestedConstraint { get; internal set; } + + /// + /// The code>EnumerationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] + [Implements(implementation: "IUsage.NestedEnumeration")] + public List nestedEnumeration { get; internal set; } + + /// + /// The code>FlowUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedFlow")] + public List nestedFlow { get; internal set; } + + /// + /// The InterfaceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedInterface")] + public List nestedInterface { get; internal set; } + + /// + /// The ItemUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedItem")] + public List nestedItem { get; internal set; } + + /// + /// The MetadataUsages that are nestedUsages of this of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedMetadata")] + public List nestedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedOccurrence")] + public List nestedOccurrence { get; internal set; } + + /// + /// The PartUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedPart")] + public List nestedPart { get; internal set; } + + /// + /// The PortUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedPort")] + public List nestedPort { get; internal set; } + + /// + /// The ReferenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedReference")] + public List nestedReference { get; internal set; } + + /// + /// The RenderingUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedRendering")] + public List nestedRendering { get; internal set; } + + /// + /// The RequirementUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] + [Implements(implementation: "IUsage.NestedRequirement")] + public List nestedRequirement { get; internal set; } + + /// + /// The StateUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedState")] + public List nestedState { get; internal set; } + + /// + /// The TransitionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedTransition")] + public List nestedTransition { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.NestedUsage")] + public List nestedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedUseCase")] + public List nestedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedVerificationCase")] + public List nestedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedView")] + public List nestedView { get; internal set; } + + /// + /// The ViewpointUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedViewpoint")] + public List nestedViewpoint { get; internal set; } + + /// + /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, + /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] + [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] + public List occurrenceDefinition { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The Definition that owns this Usage (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] + [Implements(implementation: "IUsage.OwningDefinition")] + public Guid? owningDefinition { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The Usage in which this Usage is nested (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IUsage.OwningUsage")] + public Guid? owningUsage { get; internal set; } + + /// + /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If + /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the + /// OccurrenceUsage represents portions of the featuring instance of the owningType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IOccurrenceUsage.PortionKind")] + public PortionKind? PortionKind { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IUsage.Definition")] + [Implements(implementation: "IFeature.Type")] + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Usage (not necessarily owned). + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IUsage.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = + /// true. If isVariation = false, then there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IUsage.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this + /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IUsage.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/JoinNode.cs b/SysML2.NET/Core/AutoGenDto/JoinNode.cs index ab358e7a..fee0a8d0 100644 --- a/SysML2.NET/Core/AutoGenDto/JoinNode.cs +++ b/SysML2.NET/Core/AutoGenDto/JoinNode.cs @@ -1,1101 +1,1105 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Actions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Decorators; - - /// - /// A JoinNode is a ControlNode that waits for the completion of all the predecessor Actions given by - /// incoming Successions. - /// - [Class(xmiId: "_18_5_3_12e503d9_1565503134270_392089_33594", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class JoinNode : IJoinNode - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// The Behaviors that are the types of this ActionUsage. Nominally, these would be ActionDefinitions, - /// but other kinds of Kernel Behaviors are also allowed, to permit use of Behaviors from the Kernel - /// Model Libraries. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565500905804_589845_30779", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IActionUsage.ActionDefinition")] - public List ActionDefinition { get; internal set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Behaviors that type this Step. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IActionUsage.ActionDefinition")] - [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds - /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] - [Implements(implementation: "IUsage.Definition")] - public List Definition { get; internal set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IStep.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Usage that are directedFeatures. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// The at most one occurrenceDefinition that has isIndividual = true. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public Guid? IndividualDefinition { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its - /// individualDefinition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceUsage.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - public bool IsPortion { get; set; } - - /// - /// Whether this Usage is a referential Usage, that is, it has isComposite = false. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsReference")] - public bool IsReference { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [RedefinedByProperty("IUsage.MayTimeVary")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage - /// must be VariantMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its - /// owningType, rather than being featured by the owningType itself). However, if isConstant is also - /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance - /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary - /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is - /// inherited from Feature. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] - [Implements(implementation: "IUsage.MayTimeVary")] - public bool MayTimeVary { get; internal set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ActionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedAction")] - public List NestedAction { get; internal set; } - - /// - /// The AllocationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedAllocation")] - public List NestedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List NestedAnalysisCase { get; internal set; } - - /// - /// The code>AttributeUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedAttribute")] - public List NestedAttribute { get; internal set; } - - /// - /// The CalculationUsage that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedCalculation")] - public List NestedCalculation { get; internal set; } - - /// - /// The CaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] - [Implements(implementation: "IUsage.NestedCase")] - public List NestedCase { get; internal set; } - - /// - /// The ConcernUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedConcern")] - public List NestedConcern { get; internal set; } - - /// - /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are - /// ConnectorAsUsages even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedConnection")] - public List NestedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedConstraint")] - public List NestedConstraint { get; internal set; } - - /// - /// The code>EnumerationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] - [Implements(implementation: "IUsage.NestedEnumeration")] - public List NestedEnumeration { get; internal set; } - - /// - /// The code>FlowUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedFlow")] - public List NestedFlow { get; internal set; } - - /// - /// The InterfaceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedInterface")] - public List NestedInterface { get; internal set; } - - /// - /// The ItemUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedItem")] - public List NestedItem { get; internal set; } - - /// - /// The MetadataUsages that are nestedUsages of this of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedMetadata")] - public List NestedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedOccurrence")] - public List NestedOccurrence { get; internal set; } - - /// - /// The PartUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedPart")] - public List NestedPart { get; internal set; } - - /// - /// The PortUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedPort")] - public List NestedPort { get; internal set; } - - /// - /// The ReferenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedReference")] - public List NestedReference { get; internal set; } - - /// - /// The RenderingUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedRendering")] - public List NestedRendering { get; internal set; } - - /// - /// The RequirementUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] - [Implements(implementation: "IUsage.NestedRequirement")] - public List NestedRequirement { get; internal set; } - - /// - /// The StateUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedState")] - public List NestedState { get; internal set; } - - /// - /// The TransitionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedTransition")] - public List NestedTransition { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.NestedUsage")] - public List NestedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedUseCase")] - public List NestedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedVerificationCase")] - public List NestedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedView")] - public List NestedView { get; internal set; } - - /// - /// The ViewpointUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedViewpoint")] - public List NestedViewpoint { get; internal set; } - - /// - /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, - /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] - [RedefinedByProperty("IActionUsage.ActionDefinition")] - [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List OccurrenceDefinition { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The Definition that owns this Usage (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] - [Implements(implementation: "IUsage.OwningDefinition")] - public Guid? OwningDefinition { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The Usage in which this Usage is nested (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IUsage.OwningUsage")] - public Guid? OwningUsage { get; internal set; } - - /// - /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into - /// and/or out of a performance of the Step. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If - /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the - /// OccurrenceUsage represents portions of the featuring instance of the owningType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IOccurrenceUsage.PortionKind")] - public PortionKind? PortionKind { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IUsage.Definition")] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Usage (not necessarily owned). - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IUsage.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = - /// true. If isVariation = false, then there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IUsage.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this - /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IUsage.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Actions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Decorators; + + /// + /// A JoinNode is a ControlNode that waits for the completion of all the predecessor Actions given by + /// incoming Successions. + /// + [Class(xmiId: "_18_5_3_12e503d9_1565503134270_392089_33594", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class JoinNode : IJoinNode + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// The Behaviors that are the types of this ActionUsage. Nominally, these would be ActionDefinitions, + /// but other kinds of Kernel Behaviors are also allowed, to permit use of Behaviors from the Kernel + /// Model Libraries. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565500905804_589845_30779", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IActionUsage.ActionDefinition")] + public List actionDefinition { get; internal set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Behaviors that type this Step. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IActionUsage.ActionDefinition")] + [Implements(implementation: "IStep.Behavior")] + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds + /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] + [Implements(implementation: "IUsage.Definition")] + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IStep.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); + + /// + /// The usages of this Usage that are directedFeatures. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// The at most one occurrenceDefinition that has isIndividual = true. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] + public Guid? individualDefinition { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its + /// individualDefinition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceUsage.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + public bool IsPortion { get; set; } + + /// + /// Whether this Usage is a referential Usage, that is, it has isComposite = false. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsReference")] + public bool isReference { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [RedefinedByProperty("IUsage.MayTimeVary")] + [Implements(implementation: "IFeature.IsVariable")] + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } + + /// + /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage + /// must be VariantMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its + /// owningType, rather than being featured by the owningType itself). However, if isConstant is also + /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance + /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary + /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is + /// inherited from Feature. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] + [Implements(implementation: "IUsage.MayTimeVary")] + public bool mayTimeVary { get; internal set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ActionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedAction")] + public List nestedAction { get; internal set; } + + /// + /// The AllocationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedAllocation")] + public List nestedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedAnalysisCase")] + public List nestedAnalysisCase { get; internal set; } + + /// + /// The code>AttributeUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedAttribute")] + public List nestedAttribute { get; internal set; } + + /// + /// The CalculationUsage that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedCalculation")] + public List nestedCalculation { get; internal set; } + + /// + /// The CaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] + [Implements(implementation: "IUsage.NestedCase")] + public List nestedCase { get; internal set; } + + /// + /// The ConcernUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedConcern")] + public List nestedConcern { get; internal set; } + + /// + /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are + /// ConnectorAsUsages even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedConnection")] + public List nestedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedConstraint")] + public List nestedConstraint { get; internal set; } + + /// + /// The code>EnumerationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] + [Implements(implementation: "IUsage.NestedEnumeration")] + public List nestedEnumeration { get; internal set; } + + /// + /// The code>FlowUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedFlow")] + public List nestedFlow { get; internal set; } + + /// + /// The InterfaceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedInterface")] + public List nestedInterface { get; internal set; } + + /// + /// The ItemUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedItem")] + public List nestedItem { get; internal set; } + + /// + /// The MetadataUsages that are nestedUsages of this of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedMetadata")] + public List nestedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedOccurrence")] + public List nestedOccurrence { get; internal set; } + + /// + /// The PartUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedPart")] + public List nestedPart { get; internal set; } + + /// + /// The PortUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedPort")] + public List nestedPort { get; internal set; } + + /// + /// The ReferenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedReference")] + public List nestedReference { get; internal set; } + + /// + /// The RenderingUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedRendering")] + public List nestedRendering { get; internal set; } + + /// + /// The RequirementUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] + [Implements(implementation: "IUsage.NestedRequirement")] + public List nestedRequirement { get; internal set; } + + /// + /// The StateUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedState")] + public List nestedState { get; internal set; } + + /// + /// The TransitionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedTransition")] + public List nestedTransition { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.NestedUsage")] + public List nestedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedUseCase")] + public List nestedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedVerificationCase")] + public List nestedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedView")] + public List nestedView { get; internal set; } + + /// + /// The ViewpointUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedViewpoint")] + public List nestedViewpoint { get; internal set; } + + /// + /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, + /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] + [RedefinedByProperty("IActionUsage.ActionDefinition")] + [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] + List Systems.Occurrences.IOccurrenceUsage.occurrenceDefinition => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The Definition that owns this Usage (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] + [Implements(implementation: "IUsage.OwningDefinition")] + public Guid? owningDefinition { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The Usage in which this Usage is nested (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IUsage.OwningUsage")] + public Guid? owningUsage { get; internal set; } + + /// + /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into + /// and/or out of a performance of the Step. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IStep.Parameter")] + public List parameter { get; internal set; } + + /// + /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If + /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the + /// OccurrenceUsage represents portions of the featuring instance of the owningType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IOccurrenceUsage.PortionKind")] + public PortionKind? PortionKind { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IUsage.Definition")] + [Implements(implementation: "IFeature.Type")] + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Usage (not necessarily owned). + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IUsage.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = + /// true. If isVariation = false, then there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IUsage.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this + /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IUsage.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/LibraryPackage.cs b/SysML2.NET/Core/AutoGenDto/LibraryPackage.cs index 8ddf7b87..782ed853 100644 --- a/SysML2.NET/Core/AutoGenDto/LibraryPackage.cs +++ b/SysML2.NET/Core/AutoGenDto/LibraryPackage.cs @@ -1,285 +1,285 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Packages -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Decorators; - - /// - /// A LibraryPackage is a Package that is the container for a model library. A LibraryPackage is itself - /// a library Element as are all Elements that are directly or indirectly contained in it. - /// - [Class(xmiId: "_19_0_4_12e503d9_1665457931502_349175_779", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class LibraryPackage : ILibraryPackage - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// The model-level evaluable Boolean-valued Expression used to filter the members of this Package, - /// which are owned by the Package are via ElementFilterMemberships. - /// - [Property(xmiId: "_19_0_4_12e503d9_1607033896050_867332_6206", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IPackage.FilterCondition")] - public List FilterCondition { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether this LibraryPackage contains a standard library model. This should only be set to true for - /// LibraryPackages in the standard Kernel Model Libraries or in normative model libraries for a - /// language built on KerML. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665459011301_65344_899", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "ILibraryPackage.IsStandard")] - public bool IsStandard { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Packages +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Decorators; + + /// + /// A LibraryPackage is a Package that is the container for a model library. A LibraryPackage is itself + /// a library Element as are all Elements that are directly or indirectly contained in it. + /// + [Class(xmiId: "_19_0_4_12e503d9_1665457931502_349175_779", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class LibraryPackage : ILibraryPackage + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// The model-level evaluable Boolean-valued Expression used to filter the members of this Package, + /// which are owned by the Package are via ElementFilterMemberships. + /// + [Property(xmiId: "_19_0_4_12e503d9_1607033896050_867332_6206", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IPackage.FilterCondition")] + public List filterCondition { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether this LibraryPackage contains a standard library model. This should only be set to true for + /// LibraryPackages in the standard Kernel Model Libraries or in normative model libraries for a + /// language built on KerML. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665459011301_65344_899", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "ILibraryPackage.IsStandard")] + public bool IsStandard { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/LiteralBoolean.cs b/SysML2.NET/Core/AutoGenDto/LiteralBoolean.cs index 4c822417..f62a8246 100644 --- a/SysML2.NET/Core/AutoGenDto/LiteralBoolean.cs +++ b/SysML2.NET/Core/AutoGenDto/LiteralBoolean.cs @@ -1,775 +1,775 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Expressions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Decorators; - - /// - /// LiteralBoolean is a LiteralExpression that provides a Boolean value as a result. Its result - /// parameter must have type Boolean. - /// - [Class(xmiId: "_18_5_3_12e503d9_1533160651699_96836_42187", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class LiteralBoolean : ILiteralBoolean - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Behaviors that type this Step. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IExpression.Function")] - [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IStep.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Function that types this Expression. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - [Implements(implementation: "IExpression.Function")] - public Guid? Function { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, - /// using metadata within the model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool IsModelLevelEvaluable { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into - /// and/or out of a performance of the Step. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// An output parameter of the Expression whose value is the result of the Expression. The result of an - /// Expression is either inherited from its function or it is related to the Expression via a - /// ReturnParameterMembership, in which case it redefines the result parameter of its function. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [Implements(implementation: "IExpression.Result")] - public Guid Result { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Boolean value that is the result of evaluating this LiteralBoolean. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674984_421338_43289", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "ILiteralBoolean.Value")] - public bool Value { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Expressions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Decorators; + + /// + /// LiteralBoolean is a LiteralExpression that provides a Boolean value as a result. Its result + /// parameter must have type Boolean. + /// + [Class(xmiId: "_18_5_3_12e503d9_1533160651699_96836_42187", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class LiteralBoolean : ILiteralBoolean + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Behaviors that type this Step. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IExpression.Function")] + [Implements(implementation: "IStep.Behavior")] + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IStep.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Function that types this Expression. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] + [Implements(implementation: "IExpression.Function")] + public Guid? function { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, + /// using metadata within the model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IExpression.IsModelLevelEvaluable")] + public bool isModelLevelEvaluable { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsVariable")] + public bool IsVariable { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into + /// and/or out of a performance of the Step. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IStep.Parameter")] + public List parameter { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// An output parameter of the Expression whose value is the result of the Expression. The result of an + /// Expression is either inherited from its function or it is related to the Expression via a + /// ReturnParameterMembership, in which case it redefines the result parameter of its function. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [Implements(implementation: "IExpression.Result")] + public Guid result { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Type")] + public List type { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Boolean value that is the result of evaluating this LiteralBoolean. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674984_421338_43289", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "ILiteralBoolean.Value")] + public bool Value { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/LiteralExpression.cs b/SysML2.NET/Core/AutoGenDto/LiteralExpression.cs index a8114bf0..1eaa847d 100644 --- a/SysML2.NET/Core/AutoGenDto/LiteralExpression.cs +++ b/SysML2.NET/Core/AutoGenDto/LiteralExpression.cs @@ -1,768 +1,768 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Expressions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.DTO.Kernel.Functions; - using SysML2.NET.Decorators; - - /// - /// A LiteralExpression is an Expression that provides a basic DataValue as a result. - /// - [Class(xmiId: "_18_5_3_12e503d9_1533160651688_624289_42165", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class LiteralExpression : ILiteralExpression - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Behaviors that type this Step. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IExpression.Function")] - [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IStep.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Function that types this Expression. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - [Implements(implementation: "IExpression.Function")] - public Guid? Function { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, - /// using metadata within the model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool IsModelLevelEvaluable { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into - /// and/or out of a performance of the Step. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// An output parameter of the Expression whose value is the result of the Expression. The result of an - /// Expression is either inherited from its function or it is related to the Expression via a - /// ReturnParameterMembership, in which case it redefines the result parameter of its function. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [Implements(implementation: "IExpression.Result")] - public Guid Result { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Expressions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.DTO.Kernel.Functions; + using SysML2.NET.Decorators; + + /// + /// A LiteralExpression is an Expression that provides a basic DataValue as a result. + /// + [Class(xmiId: "_18_5_3_12e503d9_1533160651688_624289_42165", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class LiteralExpression : ILiteralExpression + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Behaviors that type this Step. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IExpression.Function")] + [Implements(implementation: "IStep.Behavior")] + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IStep.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Function that types this Expression. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] + [Implements(implementation: "IExpression.Function")] + public Guid? function { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, + /// using metadata within the model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IExpression.IsModelLevelEvaluable")] + public bool isModelLevelEvaluable { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsVariable")] + public bool IsVariable { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into + /// and/or out of a performance of the Step. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IStep.Parameter")] + public List parameter { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// An output parameter of the Expression whose value is the result of the Expression. The result of an + /// Expression is either inherited from its function or it is related to the Expression via a + /// ReturnParameterMembership, in which case it redefines the result parameter of its function. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [Implements(implementation: "IExpression.Result")] + public Guid result { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Type")] + public List type { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/LiteralInfinity.cs b/SysML2.NET/Core/AutoGenDto/LiteralInfinity.cs index fa2449e2..2f48fc7f 100644 --- a/SysML2.NET/Core/AutoGenDto/LiteralInfinity.cs +++ b/SysML2.NET/Core/AutoGenDto/LiteralInfinity.cs @@ -1,768 +1,768 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Expressions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Decorators; - - /// - /// A LiteralInfinity is a LiteralExpression that provides the positive infinity value (*). It's result - /// must have the type Positive. - /// - [Class(xmiId: "_18_5_3_12e503d9_1533160651697_757989_42184", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class LiteralInfinity : ILiteralInfinity - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Behaviors that type this Step. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IExpression.Function")] - [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IStep.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Function that types this Expression. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - [Implements(implementation: "IExpression.Function")] - public Guid? Function { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, - /// using metadata within the model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool IsModelLevelEvaluable { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into - /// and/or out of a performance of the Step. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// An output parameter of the Expression whose value is the result of the Expression. The result of an - /// Expression is either inherited from its function or it is related to the Expression via a - /// ReturnParameterMembership, in which case it redefines the result parameter of its function. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [Implements(implementation: "IExpression.Result")] - public Guid Result { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Expressions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Decorators; + + /// + /// A LiteralInfinity is a LiteralExpression that provides the positive infinity value (*). It's result + /// must have the type Positive. + /// + [Class(xmiId: "_18_5_3_12e503d9_1533160651697_757989_42184", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class LiteralInfinity : ILiteralInfinity + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Behaviors that type this Step. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IExpression.Function")] + [Implements(implementation: "IStep.Behavior")] + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IStep.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Function that types this Expression. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] + [Implements(implementation: "IExpression.Function")] + public Guid? function { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, + /// using metadata within the model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IExpression.IsModelLevelEvaluable")] + public bool isModelLevelEvaluable { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsVariable")] + public bool IsVariable { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into + /// and/or out of a performance of the Step. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IStep.Parameter")] + public List parameter { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// An output parameter of the Expression whose value is the result of the Expression. The result of an + /// Expression is either inherited from its function or it is related to the Expression via a + /// ReturnParameterMembership, in which case it redefines the result parameter of its function. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [Implements(implementation: "IExpression.Result")] + public Guid result { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Type")] + public List type { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/LiteralInteger.cs b/SysML2.NET/Core/AutoGenDto/LiteralInteger.cs index 7a8908d6..d9113989 100644 --- a/SysML2.NET/Core/AutoGenDto/LiteralInteger.cs +++ b/SysML2.NET/Core/AutoGenDto/LiteralInteger.cs @@ -1,775 +1,775 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Expressions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Decorators; - - /// - /// A LiteralInteger is a LiteralExpression that provides an Integer value as a result. Its result - /// parameter must have the type Integer. - /// - [Class(xmiId: "_18_5_3_12e503d9_1533160651681_567347_42153", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class LiteralInteger : ILiteralInteger - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Behaviors that type this Step. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IExpression.Function")] - [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IStep.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Function that types this Expression. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - [Implements(implementation: "IExpression.Function")] - public Guid? Function { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, - /// using metadata within the model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool IsModelLevelEvaluable { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into - /// and/or out of a performance of the Step. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// An output parameter of the Expression whose value is the result of the Expression. The result of an - /// Expression is either inherited from its function or it is related to the Expression via a - /// ReturnParameterMembership, in which case it redefines the result parameter of its function. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [Implements(implementation: "IExpression.Result")] - public Guid Result { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Integer value that is the result of evaluating this LiteralInteger. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_358889_43199", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "ILiteralInteger.Value")] - public int Value { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Expressions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Decorators; + + /// + /// A LiteralInteger is a LiteralExpression that provides an Integer value as a result. Its result + /// parameter must have the type Integer. + /// + [Class(xmiId: "_18_5_3_12e503d9_1533160651681_567347_42153", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class LiteralInteger : ILiteralInteger + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Behaviors that type this Step. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IExpression.Function")] + [Implements(implementation: "IStep.Behavior")] + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IStep.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Function that types this Expression. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] + [Implements(implementation: "IExpression.Function")] + public Guid? function { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, + /// using metadata within the model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IExpression.IsModelLevelEvaluable")] + public bool isModelLevelEvaluable { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsVariable")] + public bool IsVariable { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into + /// and/or out of a performance of the Step. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IStep.Parameter")] + public List parameter { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// An output parameter of the Expression whose value is the result of the Expression. The result of an + /// Expression is either inherited from its function or it is related to the Expression via a + /// ReturnParameterMembership, in which case it redefines the result parameter of its function. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [Implements(implementation: "IExpression.Result")] + public Guid result { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Type")] + public List type { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Integer value that is the result of evaluating this LiteralInteger. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_358889_43199", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "ILiteralInteger.Value")] + public int Value { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/LiteralRational.cs b/SysML2.NET/Core/AutoGenDto/LiteralRational.cs index f3e0347f..1b51e80c 100644 --- a/SysML2.NET/Core/AutoGenDto/LiteralRational.cs +++ b/SysML2.NET/Core/AutoGenDto/LiteralRational.cs @@ -1,775 +1,775 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Expressions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Decorators; - - /// - /// A LiteralRational is a LiteralExpression that provides a Rational value as a result. Its result - /// parameter must have the type Rational. - /// - [Class(xmiId: "_18_5_3_12e503d9_1533160651706_235283_42203", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class LiteralRational : ILiteralRational - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Behaviors that type this Step. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IExpression.Function")] - [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IStep.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Function that types this Expression. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - [Implements(implementation: "IExpression.Function")] - public Guid? Function { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, - /// using metadata within the model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool IsModelLevelEvaluable { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into - /// and/or out of a performance of the Step. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// An output parameter of the Expression whose value is the result of the Expression. The result of an - /// Expression is either inherited from its function or it is related to the Expression via a - /// ReturnParameterMembership, in which case it redefines the result parameter of its function. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [Implements(implementation: "IExpression.Result")] - public Guid Result { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The value whose rational approximation is the result of evaluating this LiteralRational. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_967605_43310", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "ILiteralRational.Value")] - public double Value { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Expressions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Decorators; + + /// + /// A LiteralRational is a LiteralExpression that provides a Rational value as a result. Its result + /// parameter must have the type Rational. + /// + [Class(xmiId: "_18_5_3_12e503d9_1533160651706_235283_42203", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class LiteralRational : ILiteralRational + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Behaviors that type this Step. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IExpression.Function")] + [Implements(implementation: "IStep.Behavior")] + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IStep.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Function that types this Expression. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] + [Implements(implementation: "IExpression.Function")] + public Guid? function { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, + /// using metadata within the model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IExpression.IsModelLevelEvaluable")] + public bool isModelLevelEvaluable { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsVariable")] + public bool IsVariable { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into + /// and/or out of a performance of the Step. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IStep.Parameter")] + public List parameter { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// An output parameter of the Expression whose value is the result of the Expression. The result of an + /// Expression is either inherited from its function or it is related to the Expression via a + /// ReturnParameterMembership, in which case it redefines the result parameter of its function. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [Implements(implementation: "IExpression.Result")] + public Guid result { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Type")] + public List type { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The value whose rational approximation is the result of evaluating this LiteralRational. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_967605_43310", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "ILiteralRational.Value")] + public double Value { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/LiteralString.cs b/SysML2.NET/Core/AutoGenDto/LiteralString.cs index d2b683eb..96cfde21 100644 --- a/SysML2.NET/Core/AutoGenDto/LiteralString.cs +++ b/SysML2.NET/Core/AutoGenDto/LiteralString.cs @@ -1,775 +1,775 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Expressions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Decorators; - - /// - /// A LiteralString is a LiteralExpression that provides a String value as a result. Its result - /// parameter must have the type String. - /// - [Class(xmiId: "_18_5_3_12e503d9_1533160651701_975433_42193", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class LiteralString : ILiteralString - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Behaviors that type this Step. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IExpression.Function")] - [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IStep.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Function that types this Expression. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - [Implements(implementation: "IExpression.Function")] - public Guid? Function { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, - /// using metadata within the model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool IsModelLevelEvaluable { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into - /// and/or out of a performance of the Step. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// An output parameter of the Expression whose value is the result of the Expression. The result of an - /// Expression is either inherited from its function or it is related to the Expression via a - /// ReturnParameterMembership, in which case it redefines the result parameter of its function. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [Implements(implementation: "IExpression.Result")] - public Guid Result { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The String value that is the result of evaluating this Expression. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674985_368212_43297", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "ILiteralString.Value")] - public string Value { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Expressions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Decorators; + + /// + /// A LiteralString is a LiteralExpression that provides a String value as a result. Its result + /// parameter must have the type String. + /// + [Class(xmiId: "_18_5_3_12e503d9_1533160651701_975433_42193", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class LiteralString : ILiteralString + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Behaviors that type this Step. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IExpression.Function")] + [Implements(implementation: "IStep.Behavior")] + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IStep.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Function that types this Expression. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] + [Implements(implementation: "IExpression.Function")] + public Guid? function { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, + /// using metadata within the model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IExpression.IsModelLevelEvaluable")] + public bool isModelLevelEvaluable { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsVariable")] + public bool IsVariable { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into + /// and/or out of a performance of the Step. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IStep.Parameter")] + public List parameter { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// An output parameter of the Expression whose value is the result of the Expression. The result of an + /// Expression is either inherited from its function or it is related to the Expression via a + /// ReturnParameterMembership, in which case it redefines the result parameter of its function. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [Implements(implementation: "IExpression.Result")] + public Guid result { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Type")] + public List type { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The String value that is the result of evaluating this Expression. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674985_368212_43297", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "ILiteralString.Value")] + public string Value { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/Membership.cs b/SysML2.NET/Core/AutoGenDto/Membership.cs index 44fd96ae..31756695 100644 --- a/SysML2.NET/Core/AutoGenDto/Membership.cs +++ b/SysML2.NET/Core/AutoGenDto/Membership.cs @@ -1,317 +1,325 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Root.Namespaces -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Root.Namespaces; - using SysML2.NET.Core.DTO.Root.Elements; - using SysML2.NET.Decorators; - - /// - /// A Membership is a Relationship between a Namespace and an Element that indicates the Element is a - /// member of (i.e., is contained in) the Namespace. Any memberNames specify how the memberElement is - /// identified in the Namespace and the visibility specifies whether or not the memberElement is - /// publicly visible from outside the Namespace.If a Membership is an OwningMembership, then it owns its - /// memberElement, which becomes an ownedMember of the membershipOwningNamespace. Otherwise, the - /// memberNames of a Membership are effectively aliases within the membershipOwningNamespace for an - /// Element with a separate OwningMembership in the same or a different Namespace. - /// - [Class(xmiId: "_18_5_3_12e503d9_1533160651680_888716_42152", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class Membership : IMembership - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_819490_43195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [Implements(implementation: "IMembership.MemberElement")] - public Guid MemberElement { get; set; } - - /// - /// The elementId of the memberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IMembership.MemberElementId")] - public string MemberElementId { get; internal set; } - - /// - /// The name of the memberElement relative to the membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IMembership.MemberName")] - public string MemberName { get; set; } - - /// - /// The Namespace of which the memberElement becomes a member due to this Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_193857_43197", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_531296_43182")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [Implements(implementation: "IMembership.MembershipOwningNamespace")] - public Guid MembershipOwningNamespace { get; internal set; } - - /// - /// The short name of the memberElement relative to the membershipOwningNamespace. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IMembership.MemberShortName")] - public string MemberShortName { get; set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IMembership.MembershipOwningNamespace")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IMembership.MemberElement")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly - /// visible outside that Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_42975_43193", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "public")] - [Implements(implementation: "IMembership.Visibility")] - public VisibilityKind Visibility { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Root.Namespaces +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Root.Namespaces; + using SysML2.NET.Core.DTO.Root.Elements; + using SysML2.NET.Decorators; + + /// + /// A Membership is a Relationship between a Namespace and an Element that indicates the Element is a + /// member of (i.e., is contained in) the Namespace. Any memberNames specify how the memberElement is + /// identified in the Namespace and the visibility specifies whether or not the memberElement is + /// publicly visible from outside the Namespace.If a Membership is an OwningMembership, then it owns its + /// memberElement, which becomes an ownedMember of the membershipOwningNamespace. Otherwise, the + /// memberNames of a Membership are effectively aliases within the membershipOwningNamespace for an + /// Element with a separate OwningMembership in the same or a different Namespace. + /// + [Class(xmiId: "_18_5_3_12e503d9_1533160651680_888716_42152", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class Membership : IMembership + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_819490_43195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [Implements(implementation: "IMembership.MemberElement")] + public Guid MemberElement { get; set; } + + /// + /// The elementId of the memberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IMembership.MemberElementId")] + public string memberElementId { get; internal set; } + + /// + /// The name of the memberElement relative to the membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IMembership.MemberName")] + public string MemberName { get; set; } + + /// + /// The Namespace of which the memberElement becomes a member due to this Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_193857_43197", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_531296_43182")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [Implements(implementation: "IMembership.MembershipOwningNamespace")] + public Guid membershipOwningNamespace { get; internal set; } + + /// + /// The short name of the memberElement relative to the membershipOwningNamespace. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IMembership.MemberShortName")] + public string MemberShortName { get; set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IRelationship.RelatedElement")] + public List relatedElement { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IMembership.MembershipOwningNamespace")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IMembership.MemberElement")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + set => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly + /// visible outside that Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_42975_43193", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "public")] + [Implements(implementation: "IMembership.Visibility")] + public VisibilityKind Visibility { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/MembershipExpose.cs b/SysML2.NET/Core/AutoGenDto/MembershipExpose.cs index 25525b78..97313ca2 100644 --- a/SysML2.NET/Core/AutoGenDto/MembershipExpose.cs +++ b/SysML2.NET/Core/AutoGenDto/MembershipExpose.cs @@ -1,331 +1,347 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Views -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Root.Namespaces; - using SysML2.NET.Core.DTO.Root.Namespaces; - using SysML2.NET.Decorators; - - /// - /// A MembershipExpose is an Expose <> that exposes a specific importedMembership and, if isRecursive = - /// true, additional Memberships recursively. - /// - [Class(xmiId: "_19_0_4_12e503d9_1668805350620_499865_159", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class MembershipExpose : IMembershipExpose - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// The effectively imported Element for this Import. For a MembershipImport, this is the memberElement - /// of the importedMembership. For a NamespaceImport, it is the importedNamespace. - /// - [Property(xmiId: "_19_0_4_12e503d9_1668801846848_909736_64", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IImport.ImportedElement")] - public Guid ImportedElement { get; internal set; } - - /// - /// The Membership to be imported. - /// - [Property(xmiId: "_19_0_4_12e503d9_1668466089734_604404_605", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [Implements(implementation: "IMembershipImport.ImportedMembership")] - public Guid ImportedMembership { get; set; } - - /// - /// The Namespace into which Memberships are imported by this Import, which must be the - /// owningRelatedElement of the Import. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_548878_43248", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [Implements(implementation: "IImport.ImportOwningNamespace")] - public Guid ImportOwningNamespace { get; internal set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether to import memberships without regard to declared visibility. - /// - [Property(xmiId: "_19_0_4_12e503d9_1622577942205_869984_64", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [RedefinedByProperty("IExpose.IsImportAll")] - [Implements(implementation: "IImport.IsImportAll")] - bool Root.Namespaces.IImport.IsImportAll { get; set; } - - /// - /// An Expose always imports all Elements, regardless of visibility (isImportAll = true). - /// - [Property(xmiId: "_19_0_4_12e503d9_1622578615027_762161_80", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1622577942205_869984_64")] - [Implements(implementation: "IExpose.IsImportAll")] - bool IExpose.IsImportAll { get; set; } = true; - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether to recursively import Memberships from visible, owned sub-Namespaces. - /// - [Property(xmiId: "_19_0_4_12e503d9_1605759116711_596237_5033", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IImport.IsRecursive")] - public bool IsRecursive { get; set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IImport.ImportOwningNamespace")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IMembershipImport.ImportedMembership")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// The visibility level of the imported members from this Import relative to the importOwningNamespace. - /// The default is private. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674976_798509_43257", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "private")] - [RedefinedByProperty("IExpose.Visibility")] - [Implements(implementation: "IImport.Visibility")] - VisibilityKind Root.Namespaces.IImport.Visibility { get; set; } - - /// - /// An Expose always has protected visibility. - /// - [Property(xmiId: "_2022x_2_12e503d9_1720469034555_222060_1140", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "protected")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674976_798509_43257")] - [Implements(implementation: "IExpose.Visibility")] - VisibilityKind IExpose.Visibility { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Views +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Root.Namespaces; + using SysML2.NET.Core.DTO.Root.Namespaces; + using SysML2.NET.Decorators; + + /// + /// A MembershipExpose is an Expose <> that exposes a specific importedMembership and, if isRecursive = + /// true, additional Memberships recursively. + /// + [Class(xmiId: "_19_0_4_12e503d9_1668805350620_499865_159", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class MembershipExpose : IMembershipExpose + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// The effectively imported Element for this Import. For a MembershipImport, this is the memberElement + /// of the importedMembership. For a NamespaceImport, it is the importedNamespace. + /// + [Property(xmiId: "_19_0_4_12e503d9_1668801846848_909736_64", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IImport.ImportedElement")] + public Guid importedElement { get; internal set; } + + /// + /// The Membership to be imported. + /// + [Property(xmiId: "_19_0_4_12e503d9_1668466089734_604404_605", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [Implements(implementation: "IMembershipImport.ImportedMembership")] + public Guid ImportedMembership { get; set; } + + /// + /// The Namespace into which Memberships are imported by this Import, which must be the + /// owningRelatedElement of the Import. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_548878_43248", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [Implements(implementation: "IImport.ImportOwningNamespace")] + public Guid importOwningNamespace { get; internal set; } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether to import memberships without regard to declared visibility. + /// + [Property(xmiId: "_19_0_4_12e503d9_1622577942205_869984_64", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [RedefinedByProperty("IExpose.IsImportAll")] + [Implements(implementation: "IImport.IsImportAll")] + bool Root.Namespaces.IImport.IsImportAll + { + get => throw new InvalidOperationException("Redefined by property IExpose.IsImportAll"); + set => throw new InvalidOperationException("Redefined by property IExpose.IsImportAll"); + } + + /// + /// An Expose always imports all Elements, regardless of visibility (isImportAll = true). + /// + [Property(xmiId: "_19_0_4_12e503d9_1622578615027_762161_80", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1622577942205_869984_64")] + [Implements(implementation: "IExpose.IsImportAll")] + public bool IsImportAll { get; set; } = true; + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether to recursively import Memberships from visible, owned sub-Namespaces. + /// + [Property(xmiId: "_19_0_4_12e503d9_1605759116711_596237_5033", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IImport.IsRecursive")] + public bool IsRecursive { get; set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IRelationship.RelatedElement")] + public List relatedElement { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IImport.ImportOwningNamespace")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IImport.ImportOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IImport.ImportOwningNamespace"); + } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IMembershipImport.ImportedMembership")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IMembershipImport.ImportedMembership"); + set => throw new InvalidOperationException("Redefined by property IMembershipImport.ImportedMembership"); + } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// The visibility level of the imported members from this Import relative to the importOwningNamespace. + /// The default is private. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674976_798509_43257", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "private")] + [RedefinedByProperty("IExpose.Visibility")] + [Implements(implementation: "IImport.Visibility")] + VisibilityKind Root.Namespaces.IImport.Visibility + { + get => throw new InvalidOperationException("Redefined by property IExpose.Visibility"); + set => throw new InvalidOperationException("Redefined by property IExpose.Visibility"); + } + + /// + /// An Expose always has protected visibility. + /// + [Property(xmiId: "_2022x_2_12e503d9_1720469034555_222060_1140", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "protected")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674976_798509_43257")] + [Implements(implementation: "IExpose.Visibility")] + public VisibilityKind Visibility { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/MembershipImport.cs b/SysML2.NET/Core/AutoGenDto/MembershipImport.cs index 0fd8942a..c7278294 100644 --- a/SysML2.NET/Core/AutoGenDto/MembershipImport.cs +++ b/SysML2.NET/Core/AutoGenDto/MembershipImport.cs @@ -1,313 +1,321 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Root.Namespaces -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Root.Namespaces; - using SysML2.NET.Decorators; - - /// - /// A MembershipImport is an Import that imports its importedMembership into the importOwningNamespace. - /// If isRecursive = true and the memberElement of the importedMembership is a Namespace, then the - /// equivalent of a recursive NamespaceImport is also performed on that Namespace. - /// - [Class(xmiId: "_19_0_4_12e503d9_1668208086726_425885_108", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class MembershipImport : IMembershipImport - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// The effectively imported Element for this Import. For a MembershipImport, this is the memberElement - /// of the importedMembership. For a NamespaceImport, it is the importedNamespace. - /// - [Property(xmiId: "_19_0_4_12e503d9_1668801846848_909736_64", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IImport.ImportedElement")] - public Guid ImportedElement { get; internal set; } - - /// - /// The Membership to be imported. - /// - [Property(xmiId: "_19_0_4_12e503d9_1668466089734_604404_605", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [Implements(implementation: "IMembershipImport.ImportedMembership")] - public Guid ImportedMembership { get; set; } - - /// - /// The Namespace into which Memberships are imported by this Import, which must be the - /// owningRelatedElement of the Import. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_548878_43248", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [Implements(implementation: "IImport.ImportOwningNamespace")] - public Guid ImportOwningNamespace { get; internal set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether to import memberships without regard to declared visibility. - /// - [Property(xmiId: "_19_0_4_12e503d9_1622577942205_869984_64", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IImport.IsImportAll")] - public bool IsImportAll { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether to recursively import Memberships from visible, owned sub-Namespaces. - /// - [Property(xmiId: "_19_0_4_12e503d9_1605759116711_596237_5033", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IImport.IsRecursive")] - public bool IsRecursive { get; set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IImport.ImportOwningNamespace")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IMembershipImport.ImportedMembership")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// The visibility level of the imported members from this Import relative to the importOwningNamespace. - /// The default is private. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674976_798509_43257", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "private")] - [Implements(implementation: "IImport.Visibility")] - public VisibilityKind Visibility { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Root.Namespaces +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Root.Namespaces; + using SysML2.NET.Decorators; + + /// + /// A MembershipImport is an Import that imports its importedMembership into the importOwningNamespace. + /// If isRecursive = true and the memberElement of the importedMembership is a Namespace, then the + /// equivalent of a recursive NamespaceImport is also performed on that Namespace. + /// + [Class(xmiId: "_19_0_4_12e503d9_1668208086726_425885_108", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class MembershipImport : IMembershipImport + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// The effectively imported Element for this Import. For a MembershipImport, this is the memberElement + /// of the importedMembership. For a NamespaceImport, it is the importedNamespace. + /// + [Property(xmiId: "_19_0_4_12e503d9_1668801846848_909736_64", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IImport.ImportedElement")] + public Guid importedElement { get; internal set; } + + /// + /// The Membership to be imported. + /// + [Property(xmiId: "_19_0_4_12e503d9_1668466089734_604404_605", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [Implements(implementation: "IMembershipImport.ImportedMembership")] + public Guid ImportedMembership { get; set; } + + /// + /// The Namespace into which Memberships are imported by this Import, which must be the + /// owningRelatedElement of the Import. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_548878_43248", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [Implements(implementation: "IImport.ImportOwningNamespace")] + public Guid importOwningNamespace { get; internal set; } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether to import memberships without regard to declared visibility. + /// + [Property(xmiId: "_19_0_4_12e503d9_1622577942205_869984_64", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IImport.IsImportAll")] + public bool IsImportAll { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether to recursively import Memberships from visible, owned sub-Namespaces. + /// + [Property(xmiId: "_19_0_4_12e503d9_1605759116711_596237_5033", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IImport.IsRecursive")] + public bool IsRecursive { get; set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IRelationship.RelatedElement")] + public List relatedElement { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IImport.ImportOwningNamespace")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IImport.ImportOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IImport.ImportOwningNamespace"); + } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IMembershipImport.ImportedMembership")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IMembershipImport.ImportedMembership"); + set => throw new InvalidOperationException("Redefined by property IMembershipImport.ImportedMembership"); + } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// The visibility level of the imported members from this Import relative to the importOwningNamespace. + /// The default is private. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674976_798509_43257", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "private")] + [Implements(implementation: "IImport.Visibility")] + public VisibilityKind Visibility { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/MergeNode.cs b/SysML2.NET/Core/AutoGenDto/MergeNode.cs index 438daad4..562c9886 100644 --- a/SysML2.NET/Core/AutoGenDto/MergeNode.cs +++ b/SysML2.NET/Core/AutoGenDto/MergeNode.cs @@ -1,1101 +1,1105 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Actions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Decorators; - - /// - /// A MergeNode is a ControlNode that asserts the merging of its incoming Successions. A MergeNode may - /// have at most one outgoing Successions. - /// - [Class(xmiId: "_18_5_3_12e503d9_1565503106899_225416_33510", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class MergeNode : IMergeNode - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// The Behaviors that are the types of this ActionUsage. Nominally, these would be ActionDefinitions, - /// but other kinds of Kernel Behaviors are also allowed, to permit use of Behaviors from the Kernel - /// Model Libraries. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565500905804_589845_30779", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IActionUsage.ActionDefinition")] - public List ActionDefinition { get; internal set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Behaviors that type this Step. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IActionUsage.ActionDefinition")] - [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds - /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] - [Implements(implementation: "IUsage.Definition")] - public List Definition { get; internal set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IStep.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Usage that are directedFeatures. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// The at most one occurrenceDefinition that has isIndividual = true. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public Guid? IndividualDefinition { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its - /// individualDefinition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceUsage.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - public bool IsPortion { get; set; } - - /// - /// Whether this Usage is a referential Usage, that is, it has isComposite = false. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsReference")] - public bool IsReference { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [RedefinedByProperty("IUsage.MayTimeVary")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage - /// must be VariantMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its - /// owningType, rather than being featured by the owningType itself). However, if isConstant is also - /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance - /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary - /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is - /// inherited from Feature. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] - [Implements(implementation: "IUsage.MayTimeVary")] - public bool MayTimeVary { get; internal set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ActionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedAction")] - public List NestedAction { get; internal set; } - - /// - /// The AllocationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedAllocation")] - public List NestedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List NestedAnalysisCase { get; internal set; } - - /// - /// The code>AttributeUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedAttribute")] - public List NestedAttribute { get; internal set; } - - /// - /// The CalculationUsage that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedCalculation")] - public List NestedCalculation { get; internal set; } - - /// - /// The CaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] - [Implements(implementation: "IUsage.NestedCase")] - public List NestedCase { get; internal set; } - - /// - /// The ConcernUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedConcern")] - public List NestedConcern { get; internal set; } - - /// - /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are - /// ConnectorAsUsages even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedConnection")] - public List NestedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedConstraint")] - public List NestedConstraint { get; internal set; } - - /// - /// The code>EnumerationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] - [Implements(implementation: "IUsage.NestedEnumeration")] - public List NestedEnumeration { get; internal set; } - - /// - /// The code>FlowUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedFlow")] - public List NestedFlow { get; internal set; } - - /// - /// The InterfaceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedInterface")] - public List NestedInterface { get; internal set; } - - /// - /// The ItemUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedItem")] - public List NestedItem { get; internal set; } - - /// - /// The MetadataUsages that are nestedUsages of this of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedMetadata")] - public List NestedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedOccurrence")] - public List NestedOccurrence { get; internal set; } - - /// - /// The PartUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedPart")] - public List NestedPart { get; internal set; } - - /// - /// The PortUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedPort")] - public List NestedPort { get; internal set; } - - /// - /// The ReferenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedReference")] - public List NestedReference { get; internal set; } - - /// - /// The RenderingUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedRendering")] - public List NestedRendering { get; internal set; } - - /// - /// The RequirementUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] - [Implements(implementation: "IUsage.NestedRequirement")] - public List NestedRequirement { get; internal set; } - - /// - /// The StateUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedState")] - public List NestedState { get; internal set; } - - /// - /// The TransitionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedTransition")] - public List NestedTransition { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.NestedUsage")] - public List NestedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedUseCase")] - public List NestedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedVerificationCase")] - public List NestedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedView")] - public List NestedView { get; internal set; } - - /// - /// The ViewpointUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedViewpoint")] - public List NestedViewpoint { get; internal set; } - - /// - /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, - /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] - [RedefinedByProperty("IActionUsage.ActionDefinition")] - [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List OccurrenceDefinition { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The Definition that owns this Usage (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] - [Implements(implementation: "IUsage.OwningDefinition")] - public Guid? OwningDefinition { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The Usage in which this Usage is nested (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IUsage.OwningUsage")] - public Guid? OwningUsage { get; internal set; } - - /// - /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into - /// and/or out of a performance of the Step. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If - /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the - /// OccurrenceUsage represents portions of the featuring instance of the owningType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IOccurrenceUsage.PortionKind")] - public PortionKind? PortionKind { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IUsage.Definition")] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Usage (not necessarily owned). - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IUsage.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = - /// true. If isVariation = false, then there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IUsage.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this - /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IUsage.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Actions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Decorators; + + /// + /// A MergeNode is a ControlNode that asserts the merging of its incoming Successions. A MergeNode may + /// have at most one outgoing Successions. + /// + [Class(xmiId: "_18_5_3_12e503d9_1565503106899_225416_33510", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class MergeNode : IMergeNode + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// The Behaviors that are the types of this ActionUsage. Nominally, these would be ActionDefinitions, + /// but other kinds of Kernel Behaviors are also allowed, to permit use of Behaviors from the Kernel + /// Model Libraries. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565500905804_589845_30779", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IActionUsage.ActionDefinition")] + public List actionDefinition { get; internal set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Behaviors that type this Step. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IActionUsage.ActionDefinition")] + [Implements(implementation: "IStep.Behavior")] + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds + /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] + [Implements(implementation: "IUsage.Definition")] + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IStep.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); + + /// + /// The usages of this Usage that are directedFeatures. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// The at most one occurrenceDefinition that has isIndividual = true. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] + public Guid? individualDefinition { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its + /// individualDefinition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceUsage.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + public bool IsPortion { get; set; } + + /// + /// Whether this Usage is a referential Usage, that is, it has isComposite = false. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsReference")] + public bool isReference { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [RedefinedByProperty("IUsage.MayTimeVary")] + [Implements(implementation: "IFeature.IsVariable")] + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } + + /// + /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage + /// must be VariantMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its + /// owningType, rather than being featured by the owningType itself). However, if isConstant is also + /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance + /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary + /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is + /// inherited from Feature. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] + [Implements(implementation: "IUsage.MayTimeVary")] + public bool mayTimeVary { get; internal set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ActionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedAction")] + public List nestedAction { get; internal set; } + + /// + /// The AllocationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedAllocation")] + public List nestedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedAnalysisCase")] + public List nestedAnalysisCase { get; internal set; } + + /// + /// The code>AttributeUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedAttribute")] + public List nestedAttribute { get; internal set; } + + /// + /// The CalculationUsage that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedCalculation")] + public List nestedCalculation { get; internal set; } + + /// + /// The CaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] + [Implements(implementation: "IUsage.NestedCase")] + public List nestedCase { get; internal set; } + + /// + /// The ConcernUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedConcern")] + public List nestedConcern { get; internal set; } + + /// + /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are + /// ConnectorAsUsages even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedConnection")] + public List nestedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedConstraint")] + public List nestedConstraint { get; internal set; } + + /// + /// The code>EnumerationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] + [Implements(implementation: "IUsage.NestedEnumeration")] + public List nestedEnumeration { get; internal set; } + + /// + /// The code>FlowUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedFlow")] + public List nestedFlow { get; internal set; } + + /// + /// The InterfaceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedInterface")] + public List nestedInterface { get; internal set; } + + /// + /// The ItemUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedItem")] + public List nestedItem { get; internal set; } + + /// + /// The MetadataUsages that are nestedUsages of this of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedMetadata")] + public List nestedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedOccurrence")] + public List nestedOccurrence { get; internal set; } + + /// + /// The PartUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedPart")] + public List nestedPart { get; internal set; } + + /// + /// The PortUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedPort")] + public List nestedPort { get; internal set; } + + /// + /// The ReferenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedReference")] + public List nestedReference { get; internal set; } + + /// + /// The RenderingUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedRendering")] + public List nestedRendering { get; internal set; } + + /// + /// The RequirementUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] + [Implements(implementation: "IUsage.NestedRequirement")] + public List nestedRequirement { get; internal set; } + + /// + /// The StateUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedState")] + public List nestedState { get; internal set; } + + /// + /// The TransitionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedTransition")] + public List nestedTransition { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.NestedUsage")] + public List nestedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedUseCase")] + public List nestedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedVerificationCase")] + public List nestedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedView")] + public List nestedView { get; internal set; } + + /// + /// The ViewpointUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedViewpoint")] + public List nestedViewpoint { get; internal set; } + + /// + /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, + /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] + [RedefinedByProperty("IActionUsage.ActionDefinition")] + [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] + List Systems.Occurrences.IOccurrenceUsage.occurrenceDefinition => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The Definition that owns this Usage (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] + [Implements(implementation: "IUsage.OwningDefinition")] + public Guid? owningDefinition { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The Usage in which this Usage is nested (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IUsage.OwningUsage")] + public Guid? owningUsage { get; internal set; } + + /// + /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into + /// and/or out of a performance of the Step. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IStep.Parameter")] + public List parameter { get; internal set; } + + /// + /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If + /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the + /// OccurrenceUsage represents portions of the featuring instance of the owningType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IOccurrenceUsage.PortionKind")] + public PortionKind? PortionKind { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IUsage.Definition")] + [Implements(implementation: "IFeature.Type")] + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Usage (not necessarily owned). + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IUsage.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = + /// true. If isVariation = false, then there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IUsage.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this + /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IUsage.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/Metaclass.cs b/SysML2.NET/Core/AutoGenDto/Metaclass.cs index 848fc4f9..5f8ceff5 100644 --- a/SysML2.NET/Core/AutoGenDto/Metaclass.cs +++ b/SysML2.NET/Core/AutoGenDto/Metaclass.cs @@ -1,500 +1,500 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Metadata -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Kernel.Structures; - using SysML2.NET.Decorators; - - /// - /// A Metaclass is a Structure used to type MetadataFeatures. - /// - [Class(xmiId: "_19_0_4_12e503d9_1645120910786_720932_39", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class Metaclass : IMetaclass - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - public bool IsAbstract { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier - /// is the subclassifier. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List OwnedSubclassification { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Metadata +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Kernel.Structures; + using SysML2.NET.Decorators; + + /// + /// A Metaclass is a Structure used to type MetadataFeatures. + /// + [Class(xmiId: "_19_0_4_12e503d9_1645120910786_720932_39", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class Metaclass : IMetaclass + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.DirectedFeature")] + public List directedFeature { get; internal set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + public bool IsAbstract { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier + /// is the subclassifier. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [Implements(implementation: "IClassifier.OwnedSubclassification")] + public List ownedSubclassification { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/MetadataAccessExpression.cs b/SysML2.NET/Core/AutoGenDto/MetadataAccessExpression.cs index 8480038c..d4f334fe 100644 --- a/SysML2.NET/Core/AutoGenDto/MetadataAccessExpression.cs +++ b/SysML2.NET/Core/AutoGenDto/MetadataAccessExpression.cs @@ -1,779 +1,779 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Expressions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.DTO.Kernel.Functions; - using SysML2.NET.Decorators; - - /// - /// A MetadataAccessExpression is an Expression whose result is a sequence of instances of Metaclasses - /// representing all the MetadataFeature annotations of the referencedElement. In addition, the sequence - /// includes an instance of the reflective Metaclass corresponding to the MOF class of the - /// referencedElement, with values for all the abstract syntax properties of the referencedElement. - /// - [Class(xmiId: "_19_0_4_12e503d9_1665514023745_516216_1215", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class MetadataAccessExpression : IMetadataAccessExpression - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Behaviors that type this Step. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IExpression.Function")] - [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IStep.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Function that types this Expression. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - [Implements(implementation: "IExpression.Function")] - public Guid? Function { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, - /// using metadata within the model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool IsModelLevelEvaluable { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into - /// and/or out of a performance of the Step. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Element whose metadata is being accessed. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665514131655_247232_1341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IMetadataAccessExpression.ReferencedElement")] - public Guid ReferencedElement { get; internal set; } - - /// - /// An output parameter of the Expression whose value is the result of the Expression. The result of an - /// Expression is either inherited from its function or it is related to the Expression via a - /// ReturnParameterMembership, in which case it redefines the result parameter of its function. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [Implements(implementation: "IExpression.Result")] - public Guid Result { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Expressions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.DTO.Kernel.Functions; + using SysML2.NET.Decorators; + + /// + /// A MetadataAccessExpression is an Expression whose result is a sequence of instances of Metaclasses + /// representing all the MetadataFeature annotations of the referencedElement. In addition, the sequence + /// includes an instance of the reflective Metaclass corresponding to the MOF class of the + /// referencedElement, with values for all the abstract syntax properties of the referencedElement. + /// + [Class(xmiId: "_19_0_4_12e503d9_1665514023745_516216_1215", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class MetadataAccessExpression : IMetadataAccessExpression + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Behaviors that type this Step. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IExpression.Function")] + [Implements(implementation: "IStep.Behavior")] + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IStep.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Function that types this Expression. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] + [Implements(implementation: "IExpression.Function")] + public Guid? function { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, + /// using metadata within the model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IExpression.IsModelLevelEvaluable")] + public bool isModelLevelEvaluable { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsVariable")] + public bool IsVariable { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into + /// and/or out of a performance of the Step. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IStep.Parameter")] + public List parameter { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Element whose metadata is being accessed. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665514131655_247232_1341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IMetadataAccessExpression.ReferencedElement")] + public Guid referencedElement { get; internal set; } + + /// + /// An output parameter of the Expression whose value is the result of the Expression. The result of an + /// Expression is either inherited from its function or it is related to the Expression via a + /// ReturnParameterMembership, in which case it redefines the result parameter of its function. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [Implements(implementation: "IExpression.Result")] + public Guid result { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Type")] + public List type { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/MetadataDefinition.cs b/SysML2.NET/Core/AutoGenDto/MetadataDefinition.cs index 784cb075..2be6ba87 100644 --- a/SysML2.NET/Core/AutoGenDto/MetadataDefinition.cs +++ b/SysML2.NET/Core/AutoGenDto/MetadataDefinition.cs @@ -1,771 +1,771 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Metadata -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Kernel.Metadata; - using SysML2.NET.Core.DTO.Systems.Items; - using SysML2.NET.Decorators; - - /// - /// A MetadataDefinition is an ItemDefinition that is also a Metaclass. - /// - [Class(xmiId: "_19_0_4_12e503d9_1645121454429_912244_371", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class MetadataDefinition : IMetadataDefinition - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Definition that are directedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565495064714_974634_26150", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IDefinition.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - public bool IsAbstract { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceDefinition is constrained to represent at most one thing. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618955405499_394357_6740", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceDefinition.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IDefinition.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ActionUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedAction")] - public List OwnedAction { get; internal set; } - - /// - /// The AllocationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedAllocation")] - public List OwnedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List OwnedAnalysisCase { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The AttributeUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedAttribute")] - public List OwnedAttribute { get; internal set; } - - /// - /// The CalculationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - [Implements(implementation: "IDefinition.OwnedCalculation")] - public List OwnedCalculation { get; internal set; } - - /// - /// The code>CaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] - [Implements(implementation: "IDefinition.OwnedCase")] - public List OwnedCase { get; internal set; } - - /// - /// The ConcernUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - [Implements(implementation: "IDefinition.OwnedConcern")] - public List OwnedConcern { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowUsages because these are ConnectorAsUsages - /// even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedConnection")] - public List OwnedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedConstraint")] - public List OwnedConstraint { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The EnumerationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] - [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List OwnedEnumeration { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The FlowUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedFlow")] - public List OwnedFlow { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The InterfaceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedInterface")] - public List OwnedInterface { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The ItemUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedItem")] - public List OwnedItem { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The MetadataUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - [Implements(implementation: "IDefinition.OwnedMetadata")] - public List OwnedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List OwnedOccurrence { get; internal set; } - - /// - /// The PartUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - [Implements(implementation: "IDefinition.OwnedPart")] - public List OwnedPart { get; internal set; } - - /// - /// The PortUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedPort")] - public List OwnedPort { get; internal set; } - - /// - /// The ReferenceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedReference")] - public List OwnedReference { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The RenderingUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - [Implements(implementation: "IDefinition.OwnedRendering")] - public List OwnedRendering { get; internal set; } - - /// - /// The RequirementUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] - [Implements(implementation: "IDefinition.OwnedRequirement")] - public List OwnedRequirement { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The StateUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - [Implements(implementation: "IDefinition.OwnedState")] - public List OwnedState { get; internal set; } - - /// - /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier - /// is the subclassifier. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List OwnedSubclassification { get; internal set; } - - /// - /// The TransitionUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedTransition")] - public List OwnedTransition { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Definition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686637_967933_23236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IDefinition.OwnedUsage")] - public List OwnedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedUseCase")] - public List OwnedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List OwnedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - [Implements(implementation: "IDefinition.OwnedView")] - public List OwnedView { get; internal set; } - - /// - /// The ViewpointUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List OwnedViewpoint { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Definition (not necessarily owned). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IDefinition.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Definition as a variation point Definition, if - /// isVariation = true. If isVariation = false, the there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IDefinition.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then - /// this must be all ownedMemberships of the Definition. If isVariation = false, then - /// variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IDefinition.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Metadata +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Kernel.Metadata; + using SysML2.NET.Core.DTO.Systems.Items; + using SysML2.NET.Decorators; + + /// + /// A MetadataDefinition is an ItemDefinition that is also a Metaclass. + /// + [Class(xmiId: "_19_0_4_12e503d9_1645121454429_912244_371", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class MetadataDefinition : IMetadataDefinition + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.DirectedFeature")] + public List directedFeature { get; internal set; } + + /// + /// The usages of this Definition that are directedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565495064714_974634_26150", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IDefinition.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + public bool IsAbstract { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceDefinition is constrained to represent at most one thing. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618955405499_394357_6740", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceDefinition.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IDefinition.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ActionUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedAction")] + public List ownedAction { get; internal set; } + + /// + /// The AllocationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedAllocation")] + public List ownedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedAnalysisCase")] + public List ownedAnalysisCase { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The AttributeUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedAttribute")] + public List ownedAttribute { get; internal set; } + + /// + /// The CalculationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] + [Implements(implementation: "IDefinition.OwnedCalculation")] + public List ownedCalculation { get; internal set; } + + /// + /// The code>CaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] + [Implements(implementation: "IDefinition.OwnedCase")] + public List ownedCase { get; internal set; } + + /// + /// The ConcernUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + [Implements(implementation: "IDefinition.OwnedConcern")] + public List ownedConcern { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowUsages because these are ConnectorAsUsages + /// even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedConnection")] + public List ownedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedConstraint")] + public List ownedConstraint { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The EnumerationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] + [Implements(implementation: "IDefinition.OwnedEnumeration")] + public List ownedEnumeration { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The FlowUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedFlow")] + public List ownedFlow { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The InterfaceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedInterface")] + public List ownedInterface { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The ItemUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedItem")] + public List ownedItem { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The MetadataUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] + [Implements(implementation: "IDefinition.OwnedMetadata")] + public List ownedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedOccurrence")] + public List ownedOccurrence { get; internal set; } + + /// + /// The PartUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] + [Implements(implementation: "IDefinition.OwnedPart")] + public List ownedPart { get; internal set; } + + /// + /// The PortUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedPort")] + public List ownedPort { get; internal set; } + + /// + /// The ReferenceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedReference")] + public List ownedReference { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The RenderingUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] + [Implements(implementation: "IDefinition.OwnedRendering")] + public List ownedRendering { get; internal set; } + + /// + /// The RequirementUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] + [Implements(implementation: "IDefinition.OwnedRequirement")] + public List ownedRequirement { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The StateUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] + [Implements(implementation: "IDefinition.OwnedState")] + public List ownedState { get; internal set; } + + /// + /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier + /// is the subclassifier. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [Implements(implementation: "IClassifier.OwnedSubclassification")] + public List ownedSubclassification { get; internal set; } + + /// + /// The TransitionUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedTransition")] + public List ownedTransition { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Definition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686637_967933_23236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IDefinition.OwnedUsage")] + public List ownedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedUseCase")] + public List ownedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedVerificationCase")] + public List ownedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] + [Implements(implementation: "IDefinition.OwnedView")] + public List ownedView { get; internal set; } + + /// + /// The ViewpointUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + [Implements(implementation: "IDefinition.OwnedViewpoint")] + public List ownedViewpoint { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Definition (not necessarily owned). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IDefinition.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Definition as a variation point Definition, if + /// isVariation = true. If isVariation = false, the there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IDefinition.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then + /// this must be all ownedMemberships of the Definition. If isVariation = false, then + /// variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IDefinition.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/MetadataFeature.cs b/SysML2.NET/Core/AutoGenDto/MetadataFeature.cs index 4ad5d9cc..3db94305 100644 --- a/SysML2.NET/Core/AutoGenDto/MetadataFeature.cs +++ b/SysML2.NET/Core/AutoGenDto/MetadataFeature.cs @@ -1,770 +1,770 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Metadata -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.DTO.Core.Features; - using SysML2.NET.Core.DTO.Root.Annotations; - using SysML2.NET.Decorators; - - /// - /// A MetadataFeature is a Feature that is an AnnotatingElement used to annotate another Element with - /// metadata. It is typed by a Metaclass. All its ownedFeatures must redefine features of its metaclass - /// and any feature bindings must be model-level evaluable. - /// - [Class(xmiId: "_19_0_4_12e503d9_1606345563822_968574_178", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class MetadataFeature : IMetadataFeature - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Elements that are annotated by this AnnotatingElement. If annotation is not empty, these are the - /// annotatedElements of the annotations. If annotation is empty, then it is the owningNamespace of the - /// AnnotatingElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594145755058_99428_86", aggregation: AggregationKind.None, lowerValue: 1, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IAnnotatingElement.AnnotatedElement")] - public List AnnotatedElement { get; internal set; } - - /// - /// The Annotations that relate this AnnotatingElement to its annotatedElements. This includes the - /// owningAnnotatingRelationship (if any) followed by all the ownedAnnotatingRelationshps. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543094212714_953084_18407", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IAnnotatingElement.Annotation")] - public List Annotation { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// The type of this MetadataFeature, which must be a Metaclass. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606345564958_925589_327", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [Implements(implementation: "IMetadataFeature.Metaclass")] - public Guid? Metaclass { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this AnnotatingElement that are Annotations, for which this - /// AnnotatingElement is the annotatingElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1703019570915_375100_18", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IAnnotatingElement.OwnedAnnotatingRelationship")] - public List OwnedAnnotatingRelationship { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this AnnotatingRelationship, if it is an Annotation - /// - [Property(xmiId: "_2022x_2_12e503d9_1735188506571_308678_376", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] - [Implements(implementation: "IAnnotatingElement.OwningAnnotatingRelationship")] - public Guid? OwningAnnotatingRelationship { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Metadata +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.DTO.Core.Features; + using SysML2.NET.Core.DTO.Root.Annotations; + using SysML2.NET.Decorators; + + /// + /// A MetadataFeature is a Feature that is an AnnotatingElement used to annotate another Element with + /// metadata. It is typed by a Metaclass. All its ownedFeatures must redefine features of its metaclass + /// and any feature bindings must be model-level evaluable. + /// + [Class(xmiId: "_19_0_4_12e503d9_1606345563822_968574_178", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class MetadataFeature : IMetadataFeature + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Elements that are annotated by this AnnotatingElement. If annotation is not empty, these are the + /// annotatedElements of the annotations. If annotation is empty, then it is the owningNamespace of the + /// AnnotatingElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594145755058_99428_86", aggregation: AggregationKind.None, lowerValue: 1, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IAnnotatingElement.AnnotatedElement")] + public List annotatedElement { get; internal set; } + + /// + /// The Annotations that relate this AnnotatingElement to its annotatedElements. This includes the + /// owningAnnotatingRelationship (if any) followed by all the ownedAnnotatingRelationshps. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543094212714_953084_18407", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IAnnotatingElement.Annotation")] + public List annotation { get; internal set; } + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.DirectedFeature")] + public List directedFeature { get; internal set; } + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsVariable")] + public bool IsVariable { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// The type of this MetadataFeature, which must be a Metaclass. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606345564958_925589_327", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [Implements(implementation: "IMetadataFeature.Metaclass")] + public Guid? metaclass { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this AnnotatingElement that are Annotations, for which this + /// AnnotatingElement is the annotatingElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1703019570915_375100_18", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IAnnotatingElement.OwnedAnnotatingRelationship")] + public List ownedAnnotatingRelationship { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this AnnotatingRelationship, if it is an Annotation + /// + [Property(xmiId: "_2022x_2_12e503d9_1735188506571_308678_376", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] + [Implements(implementation: "IAnnotatingElement.OwningAnnotatingRelationship")] + public Guid? owningAnnotatingRelationship { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Type")] + public List type { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/MetadataUsage.cs b/SysML2.NET/Core/AutoGenDto/MetadataUsage.cs index 29cd4a4f..95dcf286 100644 --- a/SysML2.NET/Core/AutoGenDto/MetadataUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/MetadataUsage.cs @@ -1,1140 +1,1144 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Metadata -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Core.DTO.Kernel.Metadata; - using SysML2.NET.Core.DTO.Systems.Items; - using SysML2.NET.Decorators; - - /// - /// A MetadataUsage is a Usage and a MetadataFeature, used to annotate other Elements in a system model - /// with metadata. As a MetadataFeature, its type must be a Metaclass, which will nominally be a - /// MetadataDefinition. However, any kernel Metaclass is also allowed, to permit use of Metaclasses from - /// the Kernel Model Libraries. - /// - [Class(xmiId: "_19_0_4_12e503d9_1645121476406_921183_398", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class MetadataUsage : IMetadataUsage - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Elements that are annotated by this AnnotatingElement. If annotation is not empty, these are the - /// annotatedElements of the annotations. If annotation is empty, then it is the owningNamespace of the - /// AnnotatingElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594145755058_99428_86", aggregation: AggregationKind.None, lowerValue: 1, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IAnnotatingElement.AnnotatedElement")] - public List AnnotatedElement { get; internal set; } - - /// - /// The Annotations that relate this AnnotatingElement to its annotatedElements. This includes the - /// owningAnnotatingRelationship (if any) followed by all the ownedAnnotatingRelationshps. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543094212714_953084_18407", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IAnnotatingElement.Annotation")] - public List Annotation { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds - /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] - [Implements(implementation: "IUsage.Definition")] - public List Definition { get; internal set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Usage that are directedFeatures. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// The at most one occurrenceDefinition that has isIndividual = true. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public Guid? IndividualDefinition { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its - /// individualDefinition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceUsage.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - public bool IsPortion { get; set; } - - /// - /// Whether this Usage is a referential Usage, that is, it has isComposite = false. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsReference")] - public bool IsReference { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [RedefinedByProperty("IUsage.MayTimeVary")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage - /// must be VariantMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// The Structures that are the definitions of this ItemUsage. Nominally, these are ItemDefinitions, but - /// other kinds of Kernel Structures are also allowed, to permit use of Structures from the Kernel - /// Library. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565471361757_649736_20796", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [RedefinedByProperty("IMetadataUsage.MetadataDefinition")] - [Implements(implementation: "IItemUsage.ItemDefinition")] - public List ItemDefinition { get; internal set; } - - /// - /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its - /// owningType, rather than being featured by the owningType itself). However, if isConstant is also - /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance - /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary - /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is - /// inherited from Feature. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] - [Implements(implementation: "IUsage.MayTimeVary")] - public bool MayTimeVary { get; internal set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// The type of this MetadataFeature, which must be a Metaclass. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606345564958_925589_327", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IMetadataUsage.MetadataDefinition")] - [Implements(implementation: "IMetadataFeature.Metaclass")] - public Guid? Metaclass { get; internal set; } - - /// - /// The MetadataDefinition that is the definition of this MetadataUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1647727047674_847094_2563", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1565471361757_649736_20796")] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1606345564958_925589_327")] - [Implements(implementation: "IMetadataUsage.MetadataDefinition")] - public Guid? MetadataDefinition { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ActionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedAction")] - public List NestedAction { get; internal set; } - - /// - /// The AllocationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedAllocation")] - public List NestedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List NestedAnalysisCase { get; internal set; } - - /// - /// The code>AttributeUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedAttribute")] - public List NestedAttribute { get; internal set; } - - /// - /// The CalculationUsage that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedCalculation")] - public List NestedCalculation { get; internal set; } - - /// - /// The CaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] - [Implements(implementation: "IUsage.NestedCase")] - public List NestedCase { get; internal set; } - - /// - /// The ConcernUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedConcern")] - public List NestedConcern { get; internal set; } - - /// - /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are - /// ConnectorAsUsages even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedConnection")] - public List NestedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedConstraint")] - public List NestedConstraint { get; internal set; } - - /// - /// The code>EnumerationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] - [Implements(implementation: "IUsage.NestedEnumeration")] - public List NestedEnumeration { get; internal set; } - - /// - /// The code>FlowUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedFlow")] - public List NestedFlow { get; internal set; } - - /// - /// The InterfaceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedInterface")] - public List NestedInterface { get; internal set; } - - /// - /// The ItemUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedItem")] - public List NestedItem { get; internal set; } - - /// - /// The MetadataUsages that are nestedUsages of this of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedMetadata")] - public List NestedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedOccurrence")] - public List NestedOccurrence { get; internal set; } - - /// - /// The PartUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedPart")] - public List NestedPart { get; internal set; } - - /// - /// The PortUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedPort")] - public List NestedPort { get; internal set; } - - /// - /// The ReferenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedReference")] - public List NestedReference { get; internal set; } - - /// - /// The RenderingUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedRendering")] - public List NestedRendering { get; internal set; } - - /// - /// The RequirementUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] - [Implements(implementation: "IUsage.NestedRequirement")] - public List NestedRequirement { get; internal set; } - - /// - /// The StateUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedState")] - public List NestedState { get; internal set; } - - /// - /// The TransitionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedTransition")] - public List NestedTransition { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.NestedUsage")] - public List NestedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedUseCase")] - public List NestedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedVerificationCase")] - public List NestedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedView")] - public List NestedView { get; internal set; } - - /// - /// The ViewpointUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedViewpoint")] - public List NestedViewpoint { get; internal set; } - - /// - /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, - /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] - [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List OccurrenceDefinition { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this AnnotatingElement that are Annotations, for which this - /// AnnotatingElement is the annotatingElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1703019570915_375100_18", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IAnnotatingElement.OwnedAnnotatingRelationship")] - public List OwnedAnnotatingRelationship { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this AnnotatingRelationship, if it is an Annotation - /// - [Property(xmiId: "_2022x_2_12e503d9_1735188506571_308678_376", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] - [Implements(implementation: "IAnnotatingElement.OwningAnnotatingRelationship")] - public Guid? OwningAnnotatingRelationship { get; internal set; } - - /// - /// The Definition that owns this Usage (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] - [Implements(implementation: "IUsage.OwningDefinition")] - public Guid? OwningDefinition { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The Usage in which this Usage is nested (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IUsage.OwningUsage")] - public Guid? OwningUsage { get; internal set; } - - /// - /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If - /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the - /// OccurrenceUsage represents portions of the featuring instance of the owningType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IOccurrenceUsage.PortionKind")] - public PortionKind? PortionKind { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IUsage.Definition")] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Usage (not necessarily owned). - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IUsage.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = - /// true. If isVariation = false, then there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IUsage.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this - /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IUsage.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Metadata +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Core.DTO.Kernel.Metadata; + using SysML2.NET.Core.DTO.Systems.Items; + using SysML2.NET.Decorators; + + /// + /// A MetadataUsage is a Usage and a MetadataFeature, used to annotate other Elements in a system model + /// with metadata. As a MetadataFeature, its type must be a Metaclass, which will nominally be a + /// MetadataDefinition. However, any kernel Metaclass is also allowed, to permit use of Metaclasses from + /// the Kernel Model Libraries. + /// + [Class(xmiId: "_19_0_4_12e503d9_1645121476406_921183_398", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class MetadataUsage : IMetadataUsage + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Elements that are annotated by this AnnotatingElement. If annotation is not empty, these are the + /// annotatedElements of the annotations. If annotation is empty, then it is the owningNamespace of the + /// AnnotatingElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594145755058_99428_86", aggregation: AggregationKind.None, lowerValue: 1, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IAnnotatingElement.AnnotatedElement")] + public List annotatedElement { get; internal set; } + + /// + /// The Annotations that relate this AnnotatingElement to its annotatedElements. This includes the + /// owningAnnotatingRelationship (if any) followed by all the ownedAnnotatingRelationshps. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543094212714_953084_18407", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IAnnotatingElement.Annotation")] + public List annotation { get; internal set; } + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds + /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] + [Implements(implementation: "IUsage.Definition")] + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.DirectedFeature")] + public List directedFeature { get; internal set; } + + /// + /// The usages of this Usage that are directedFeatures. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// The at most one occurrenceDefinition that has isIndividual = true. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] + public Guid? individualDefinition { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its + /// individualDefinition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceUsage.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + public bool IsPortion { get; set; } + + /// + /// Whether this Usage is a referential Usage, that is, it has isComposite = false. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsReference")] + public bool isReference { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [RedefinedByProperty("IUsage.MayTimeVary")] + [Implements(implementation: "IFeature.IsVariable")] + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } + + /// + /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage + /// must be VariantMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// The Structures that are the definitions of this ItemUsage. Nominally, these are ItemDefinitions, but + /// other kinds of Kernel Structures are also allowed, to permit use of Structures from the Kernel + /// Library. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565471361757_649736_20796", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [RedefinedByProperty("IMetadataUsage.MetadataDefinition")] + [Implements(implementation: "IItemUsage.ItemDefinition")] + List Systems.Items.IItemUsage.itemDefinition => throw new InvalidOperationException("Redefined by property IMetadataUsage.MetadataDefinition"); + + /// + /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its + /// owningType, rather than being featured by the owningType itself). However, if isConstant is also + /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance + /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary + /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is + /// inherited from Feature. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] + [Implements(implementation: "IUsage.MayTimeVary")] + public bool mayTimeVary { get; internal set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// The type of this MetadataFeature, which must be a Metaclass. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606345564958_925589_327", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IMetadataUsage.MetadataDefinition")] + [Implements(implementation: "IMetadataFeature.Metaclass")] + Guid? Kernel.Metadata.IMetadataFeature.metaclass => throw new InvalidOperationException("Redefined by property IMetadataUsage.MetadataDefinition"); + + /// + /// The MetadataDefinition that is the definition of this MetadataUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1647727047674_847094_2563", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1565471361757_649736_20796")] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1606345564958_925589_327")] + [Implements(implementation: "IMetadataUsage.MetadataDefinition")] + public Guid? metadataDefinition { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ActionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedAction")] + public List nestedAction { get; internal set; } + + /// + /// The AllocationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedAllocation")] + public List nestedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedAnalysisCase")] + public List nestedAnalysisCase { get; internal set; } + + /// + /// The code>AttributeUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedAttribute")] + public List nestedAttribute { get; internal set; } + + /// + /// The CalculationUsage that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedCalculation")] + public List nestedCalculation { get; internal set; } + + /// + /// The CaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] + [Implements(implementation: "IUsage.NestedCase")] + public List nestedCase { get; internal set; } + + /// + /// The ConcernUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedConcern")] + public List nestedConcern { get; internal set; } + + /// + /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are + /// ConnectorAsUsages even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedConnection")] + public List nestedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedConstraint")] + public List nestedConstraint { get; internal set; } + + /// + /// The code>EnumerationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] + [Implements(implementation: "IUsage.NestedEnumeration")] + public List nestedEnumeration { get; internal set; } + + /// + /// The code>FlowUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedFlow")] + public List nestedFlow { get; internal set; } + + /// + /// The InterfaceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedInterface")] + public List nestedInterface { get; internal set; } + + /// + /// The ItemUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedItem")] + public List nestedItem { get; internal set; } + + /// + /// The MetadataUsages that are nestedUsages of this of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedMetadata")] + public List nestedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedOccurrence")] + public List nestedOccurrence { get; internal set; } + + /// + /// The PartUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedPart")] + public List nestedPart { get; internal set; } + + /// + /// The PortUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedPort")] + public List nestedPort { get; internal set; } + + /// + /// The ReferenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedReference")] + public List nestedReference { get; internal set; } + + /// + /// The RenderingUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedRendering")] + public List nestedRendering { get; internal set; } + + /// + /// The RequirementUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] + [Implements(implementation: "IUsage.NestedRequirement")] + public List nestedRequirement { get; internal set; } + + /// + /// The StateUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedState")] + public List nestedState { get; internal set; } + + /// + /// The TransitionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedTransition")] + public List nestedTransition { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.NestedUsage")] + public List nestedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedUseCase")] + public List nestedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedVerificationCase")] + public List nestedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedView")] + public List nestedView { get; internal set; } + + /// + /// The ViewpointUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedViewpoint")] + public List nestedViewpoint { get; internal set; } + + /// + /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, + /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] + [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] + public List occurrenceDefinition { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this AnnotatingElement that are Annotations, for which this + /// AnnotatingElement is the annotatingElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1703019570915_375100_18", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IAnnotatingElement.OwnedAnnotatingRelationship")] + public List ownedAnnotatingRelationship { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this AnnotatingRelationship, if it is an Annotation + /// + [Property(xmiId: "_2022x_2_12e503d9_1735188506571_308678_376", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] + [Implements(implementation: "IAnnotatingElement.OwningAnnotatingRelationship")] + public Guid? owningAnnotatingRelationship { get; internal set; } + + /// + /// The Definition that owns this Usage (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] + [Implements(implementation: "IUsage.OwningDefinition")] + public Guid? owningDefinition { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The Usage in which this Usage is nested (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IUsage.OwningUsage")] + public Guid? owningUsage { get; internal set; } + + /// + /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If + /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the + /// OccurrenceUsage represents portions of the featuring instance of the owningType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IOccurrenceUsage.PortionKind")] + public PortionKind? PortionKind { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IUsage.Definition")] + [Implements(implementation: "IFeature.Type")] + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Usage (not necessarily owned). + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IUsage.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = + /// true. If isVariation = false, then there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IUsage.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this + /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IUsage.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/Multiplicity.cs b/SysML2.NET/Core/AutoGenDto/Multiplicity.cs index 973c05ae..36bc90bc 100644 --- a/SysML2.NET/Core/AutoGenDto/Multiplicity.cs +++ b/SysML2.NET/Core/AutoGenDto/Multiplicity.cs @@ -1,733 +1,733 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Core.Types -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.DTO.Core.Features; - using SysML2.NET.Decorators; - - /// - /// A Multiplicity is a Feature whose co-domain is a set of natural numbers giving the allowed - /// cardinalities of each typeWithMultiplicity. The cardinality of a Type is defined as follows, - /// depending on whether the Type is a Classifier or Feature.
  • Classifier – The number of basic - /// instances of the Classifier, that is, those instances representing things, which are not instances - /// of any subtypes of the Classifier that are Features.
  • Features – The number of instances with the - /// same featuring instances. In the case of a Feature with a Classifier as its featuringType, this is - /// the number of values of Feature for each basic instance of the Classifier. Note that, for non-unique - /// Features, all duplicate values are included in this count.
Multiplicity co-domains (in - /// models) can be specified by Expression that might vary in their results. If the typeWithMultiplicity - /// is a Classifier, the domain of the Multiplicity shall be Base::Anything. If the - /// typeWithMultiplicity is a Feature, the Multiplicity shall have the same domain as the - /// typeWithMultiplicity. - ///
- [Class(xmiId: "_19_0_2_12e503d9_1573083797505_495205_3879", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class Multiplicity : IMultiplicity - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - Guid? IType.Multiplicity { get; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Core.Types +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.DTO.Core.Features; + using SysML2.NET.Decorators; + + /// + /// A Multiplicity is a Feature whose co-domain is a set of natural numbers giving the allowed + /// cardinalities of each typeWithMultiplicity. The cardinality of a Type is defined as follows, + /// depending on whether the Type is a Classifier or Feature.
  • Classifier – The number of basic + /// instances of the Classifier, that is, those instances representing things, which are not instances + /// of any subtypes of the Classifier that are Features.
  • Features – The number of instances with the + /// same featuring instances. In the case of a Feature with a Classifier as its featuringType, this is + /// the number of values of Feature for each basic instance of the Classifier. Note that, for non-unique + /// Features, all duplicate values are included in this count.
Multiplicity co-domains (in + /// models) can be specified by Expression that might vary in their results. If the typeWithMultiplicity + /// is a Classifier, the domain of the Multiplicity shall be Base::Anything. If the + /// typeWithMultiplicity is a Feature, the Multiplicity shall have the same domain as the + /// typeWithMultiplicity. + ///
+ [Class(xmiId: "_19_0_2_12e503d9_1573083797505_495205_3879", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class Multiplicity : IMultiplicity + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.DirectedFeature")] + public List directedFeature { get; internal set; } + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsVariable")] + public bool IsVariable { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Type")] + public List type { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/MultiplicityRange.cs b/SysML2.NET/Core/AutoGenDto/MultiplicityRange.cs index e5a94b3c..f7d7ea20 100644 --- a/SysML2.NET/Core/AutoGenDto/MultiplicityRange.cs +++ b/SysML2.NET/Core/AutoGenDto/MultiplicityRange.cs @@ -1,755 +1,755 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Multiplicities -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.DTO.Core.Types; - using SysML2.NET.Decorators; - - /// - /// A MultiplicityRange is a Multiplicity whose value is defined to be the (inclusive) range of natural - /// numbers given by the result of a lowerBound Expression and the result of an upperBound Expression. - /// The result of these Expressions shall be of type Natural. If the result of the upperBound Expression - /// is the unbounded value *, then the specified range includes all natural numbers greater than or - /// equal to the lowerBound value. If no lowerBound Expression, then the default is that the lower bound - /// has the same value as the upper bound, except if the upperBound evaluates to *, in which case the - /// default for the lower bound is 0. - /// - [Class(xmiId: "_19_0_2_12e503d9_1573086225407_540120_4572", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class MultiplicityRange : IMultiplicityRange - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The owned Expressions of the MultiplicityRange whose results provide its bounds. These must be the - /// first ownedMembers of the MultiplicityRange. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095221994_519580_5095", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 2, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IMultiplicityRange.Bound")] - public List Bound { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// The Expression whose result provides the lower bound of the MultiplicityRange. If no lowerBound - /// Expression is given, then the lower bound shall have the same value as the upper bound, unless the - /// upper bound is unbounded (*), in which case the lower bound shall be 0. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573094905677_801324_4744", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1573095221994_519580_5095")] - [Implements(implementation: "IMultiplicityRange.LowerBound")] - public Guid? LowerBound { get; internal set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Expression whose result is the upper bound of the MultiplicityRange. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573094947427_797440_4796", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1573095221994_519580_5095")] - [Implements(implementation: "IMultiplicityRange.UpperBound")] - public Guid UpperBound { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Multiplicities +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.DTO.Core.Types; + using SysML2.NET.Decorators; + + /// + /// A MultiplicityRange is a Multiplicity whose value is defined to be the (inclusive) range of natural + /// numbers given by the result of a lowerBound Expression and the result of an upperBound Expression. + /// The result of these Expressions shall be of type Natural. If the result of the upperBound Expression + /// is the unbounded value *, then the specified range includes all natural numbers greater than or + /// equal to the lowerBound value. If no lowerBound Expression, then the default is that the lower bound + /// has the same value as the upper bound, except if the upperBound evaluates to *, in which case the + /// default for the lower bound is 0. + /// + [Class(xmiId: "_19_0_2_12e503d9_1573086225407_540120_4572", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class MultiplicityRange : IMultiplicityRange + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The owned Expressions of the MultiplicityRange whose results provide its bounds. These must be the + /// first ownedMembers of the MultiplicityRange. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095221994_519580_5095", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 2, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IMultiplicityRange.Bound")] + public List bound { get; internal set; } + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.DirectedFeature")] + public List directedFeature { get; internal set; } + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsVariable")] + public bool IsVariable { get; set; } + + /// + /// The Expression whose result provides the lower bound of the MultiplicityRange. If no lowerBound + /// Expression is given, then the lower bound shall have the same value as the upper bound, unless the + /// upper bound is unbounded (*), in which case the lower bound shall be 0. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573094905677_801324_4744", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1573095221994_519580_5095")] + [Implements(implementation: "IMultiplicityRange.LowerBound")] + public Guid? lowerBound { get; internal set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Type")] + public List type { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Expression whose result is the upper bound of the MultiplicityRange. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573094947427_797440_4796", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1573095221994_519580_5095")] + [Implements(implementation: "IMultiplicityRange.UpperBound")] + public Guid upperBound { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/Namespace.cs b/SysML2.NET/Core/AutoGenDto/Namespace.cs index d50bcb0a..42da971c 100644 --- a/SysML2.NET/Core/AutoGenDto/Namespace.cs +++ b/SysML2.NET/Core/AutoGenDto/Namespace.cs @@ -1,275 +1,275 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Root.Namespaces -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Root.Elements; - using SysML2.NET.Decorators; - - /// - /// A Namespace is an Element that contains other Elements, known as its members, via Membership - /// Relationships with those Elements. The members of a Namespace may be owned by the Namespace, aliased - /// in the Namespace, or imported into the Namespace via Import Relationships.A Namespace can provide - /// names for its members via the memberNames and memberShortNames specified by the Memberships in the - /// Namespace. If a Membership specifies a memberName and/or memberShortName, then those are names of - /// the corresponding memberElement relative to the Namespace. For an OwningMembership, the - /// ownedMemberName and ownedMemberShortName are given by the Element name and shortName. Note that the - /// same Element may be the memberElement of multiple Memberships in a Namespace (though it may be owned - /// at most once), each of which may define a separate alias for the Element relative to the Namespace. - /// - [Class(xmiId: "_18_5_3_12e503d9_1533160651694_110063_42176", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class Namespace : INamespace - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Root.Namespaces +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Root.Elements; + using SysML2.NET.Decorators; + + /// + /// A Namespace is an Element that contains other Elements, known as its members, via Membership + /// Relationships with those Elements. The members of a Namespace may be owned by the Namespace, aliased + /// in the Namespace, or imported into the Namespace via Import Relationships.A Namespace can provide + /// names for its members via the memberNames and memberShortNames specified by the Memberships in the + /// Namespace. If a Membership specifies a memberName and/or memberShortName, then those are names of + /// the corresponding memberElement relative to the Namespace. For an OwningMembership, the + /// ownedMemberName and ownedMemberShortName are given by the Element name and shortName. Note that the + /// same Element may be the memberElement of multiple Memberships in a Namespace (though it may be owned + /// at most once), each of which may define a separate alias for the Element relative to the Namespace. + /// + [Class(xmiId: "_18_5_3_12e503d9_1533160651694_110063_42176", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class Namespace : INamespace + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/NamespaceExpose.cs b/SysML2.NET/Core/AutoGenDto/NamespaceExpose.cs index 7c28aea1..4cb96da8 100644 --- a/SysML2.NET/Core/AutoGenDto/NamespaceExpose.cs +++ b/SysML2.NET/Core/AutoGenDto/NamespaceExpose.cs @@ -1,331 +1,347 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Views -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Root.Namespaces; - using SysML2.NET.Core.DTO.Root.Namespaces; - using SysML2.NET.Decorators; - - /// - /// A NamespaceExpose is an Expose Relationship that exposes the Memberships of a specific - /// importedNamespace and, if isRecursive = true, additional Memberships recursively. - /// - [Class(xmiId: "_19_0_4_12e503d9_1668805386737_851862_212", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class NamespaceExpose : INamespaceExpose - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// The effectively imported Element for this Import. For a MembershipImport, this is the memberElement - /// of the importedMembership. For a NamespaceImport, it is the importedNamespace. - /// - [Property(xmiId: "_19_0_4_12e503d9_1668801846848_909736_64", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IImport.ImportedElement")] - public Guid ImportedElement { get; internal set; } - - /// - /// The Namespace whose visible Memberships are imported by this NamespaceImport. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674966_977620_43202", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [Implements(implementation: "INamespaceImport.ImportedNamespace")] - public Guid ImportedNamespace { get; set; } - - /// - /// The Namespace into which Memberships are imported by this Import, which must be the - /// owningRelatedElement of the Import. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_548878_43248", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [Implements(implementation: "IImport.ImportOwningNamespace")] - public Guid ImportOwningNamespace { get; internal set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// An Expose always imports all Elements, regardless of visibility (isImportAll = true). - /// - [Property(xmiId: "_19_0_4_12e503d9_1622578615027_762161_80", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1622577942205_869984_64")] - [Implements(implementation: "IExpose.IsImportAll")] - bool IExpose.IsImportAll { get; set; } = true; - - /// - /// Whether to import memberships without regard to declared visibility. - /// - [Property(xmiId: "_19_0_4_12e503d9_1622577942205_869984_64", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [RedefinedByProperty("IExpose.IsImportAll")] - [Implements(implementation: "IImport.IsImportAll")] - bool Root.Namespaces.IImport.IsImportAll { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether to recursively import Memberships from visible, owned sub-Namespaces. - /// - [Property(xmiId: "_19_0_4_12e503d9_1605759116711_596237_5033", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IImport.IsRecursive")] - public bool IsRecursive { get; set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IImport.ImportOwningNamespace")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("INamespaceImport.ImportedNamespace")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// An Expose always has protected visibility. - /// - [Property(xmiId: "_2022x_2_12e503d9_1720469034555_222060_1140", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "protected")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674976_798509_43257")] - [Implements(implementation: "IExpose.Visibility")] - VisibilityKind IExpose.Visibility { get; set; } - - /// - /// The visibility level of the imported members from this Import relative to the importOwningNamespace. - /// The default is private. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674976_798509_43257", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "private")] - [RedefinedByProperty("IExpose.Visibility")] - [Implements(implementation: "IImport.Visibility")] - VisibilityKind Root.Namespaces.IImport.Visibility { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Views +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Root.Namespaces; + using SysML2.NET.Core.DTO.Root.Namespaces; + using SysML2.NET.Decorators; + + /// + /// A NamespaceExpose is an Expose Relationship that exposes the Memberships of a specific + /// importedNamespace and, if isRecursive = true, additional Memberships recursively. + /// + [Class(xmiId: "_19_0_4_12e503d9_1668805386737_851862_212", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class NamespaceExpose : INamespaceExpose + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// The effectively imported Element for this Import. For a MembershipImport, this is the memberElement + /// of the importedMembership. For a NamespaceImport, it is the importedNamespace. + /// + [Property(xmiId: "_19_0_4_12e503d9_1668801846848_909736_64", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IImport.ImportedElement")] + public Guid importedElement { get; internal set; } + + /// + /// The Namespace whose visible Memberships are imported by this NamespaceImport. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674966_977620_43202", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [Implements(implementation: "INamespaceImport.ImportedNamespace")] + public Guid ImportedNamespace { get; set; } + + /// + /// The Namespace into which Memberships are imported by this Import, which must be the + /// owningRelatedElement of the Import. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_548878_43248", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [Implements(implementation: "IImport.ImportOwningNamespace")] + public Guid importOwningNamespace { get; internal set; } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// An Expose always imports all Elements, regardless of visibility (isImportAll = true). + /// + [Property(xmiId: "_19_0_4_12e503d9_1622578615027_762161_80", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1622577942205_869984_64")] + [Implements(implementation: "IExpose.IsImportAll")] + public bool IsImportAll { get; set; } = true; + + /// + /// Whether to import memberships without regard to declared visibility. + /// + [Property(xmiId: "_19_0_4_12e503d9_1622577942205_869984_64", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [RedefinedByProperty("IExpose.IsImportAll")] + [Implements(implementation: "IImport.IsImportAll")] + bool Root.Namespaces.IImport.IsImportAll + { + get => throw new InvalidOperationException("Redefined by property IExpose.IsImportAll"); + set => throw new InvalidOperationException("Redefined by property IExpose.IsImportAll"); + } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether to recursively import Memberships from visible, owned sub-Namespaces. + /// + [Property(xmiId: "_19_0_4_12e503d9_1605759116711_596237_5033", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IImport.IsRecursive")] + public bool IsRecursive { get; set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IRelationship.RelatedElement")] + public List relatedElement { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IImport.ImportOwningNamespace")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IImport.ImportOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IImport.ImportOwningNamespace"); + } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("INamespaceImport.ImportedNamespace")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property INamespaceImport.ImportedNamespace"); + set => throw new InvalidOperationException("Redefined by property INamespaceImport.ImportedNamespace"); + } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// An Expose always has protected visibility. + /// + [Property(xmiId: "_2022x_2_12e503d9_1720469034555_222060_1140", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "protected")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674976_798509_43257")] + [Implements(implementation: "IExpose.Visibility")] + public VisibilityKind Visibility { get; set; } + + /// + /// The visibility level of the imported members from this Import relative to the importOwningNamespace. + /// The default is private. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674976_798509_43257", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "private")] + [RedefinedByProperty("IExpose.Visibility")] + [Implements(implementation: "IImport.Visibility")] + VisibilityKind Root.Namespaces.IImport.Visibility + { + get => throw new InvalidOperationException("Redefined by property IExpose.Visibility"); + set => throw new InvalidOperationException("Redefined by property IExpose.Visibility"); + } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/NamespaceImport.cs b/SysML2.NET/Core/AutoGenDto/NamespaceImport.cs index da48e233..f04480f7 100644 --- a/SysML2.NET/Core/AutoGenDto/NamespaceImport.cs +++ b/SysML2.NET/Core/AutoGenDto/NamespaceImport.cs @@ -1,314 +1,322 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Root.Namespaces -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Root.Namespaces; - using SysML2.NET.Decorators; - - /// - /// A NamespaceImport is an Import that imports Memberships from its importedNamespace into the - /// importOwningNamespace. If isRecursive = false, then only the visible Memberships of the - /// importedNamespace are imported. If isRecursive = true, then, in addition, Memberships are - /// recursively imported from any ownedMembers of the importedNamespace that are Namespaces. - /// - [Class(xmiId: "_19_0_4_12e503d9_1668208114894_902739_132", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class NamespaceImport : INamespaceImport - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// The effectively imported Element for this Import. For a MembershipImport, this is the memberElement - /// of the importedMembership. For a NamespaceImport, it is the importedNamespace. - /// - [Property(xmiId: "_19_0_4_12e503d9_1668801846848_909736_64", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IImport.ImportedElement")] - public Guid ImportedElement { get; internal set; } - - /// - /// The Namespace whose visible Memberships are imported by this NamespaceImport. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674966_977620_43202", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [Implements(implementation: "INamespaceImport.ImportedNamespace")] - public Guid ImportedNamespace { get; set; } - - /// - /// The Namespace into which Memberships are imported by this Import, which must be the - /// owningRelatedElement of the Import. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_548878_43248", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [Implements(implementation: "IImport.ImportOwningNamespace")] - public Guid ImportOwningNamespace { get; internal set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether to import memberships without regard to declared visibility. - /// - [Property(xmiId: "_19_0_4_12e503d9_1622577942205_869984_64", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IImport.IsImportAll")] - public bool IsImportAll { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether to recursively import Memberships from visible, owned sub-Namespaces. - /// - [Property(xmiId: "_19_0_4_12e503d9_1605759116711_596237_5033", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IImport.IsRecursive")] - public bool IsRecursive { get; set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IImport.ImportOwningNamespace")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("INamespaceImport.ImportedNamespace")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// The visibility level of the imported members from this Import relative to the importOwningNamespace. - /// The default is private. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674976_798509_43257", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "private")] - [Implements(implementation: "IImport.Visibility")] - public VisibilityKind Visibility { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Root.Namespaces +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Root.Namespaces; + using SysML2.NET.Decorators; + + /// + /// A NamespaceImport is an Import that imports Memberships from its importedNamespace into the + /// importOwningNamespace. If isRecursive = false, then only the visible Memberships of the + /// importedNamespace are imported. If isRecursive = true, then, in addition, Memberships are + /// recursively imported from any ownedMembers of the importedNamespace that are Namespaces. + /// + [Class(xmiId: "_19_0_4_12e503d9_1668208114894_902739_132", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class NamespaceImport : INamespaceImport + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// The effectively imported Element for this Import. For a MembershipImport, this is the memberElement + /// of the importedMembership. For a NamespaceImport, it is the importedNamespace. + /// + [Property(xmiId: "_19_0_4_12e503d9_1668801846848_909736_64", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IImport.ImportedElement")] + public Guid importedElement { get; internal set; } + + /// + /// The Namespace whose visible Memberships are imported by this NamespaceImport. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674966_977620_43202", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [Implements(implementation: "INamespaceImport.ImportedNamespace")] + public Guid ImportedNamespace { get; set; } + + /// + /// The Namespace into which Memberships are imported by this Import, which must be the + /// owningRelatedElement of the Import. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_548878_43248", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [Implements(implementation: "IImport.ImportOwningNamespace")] + public Guid importOwningNamespace { get; internal set; } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether to import memberships without regard to declared visibility. + /// + [Property(xmiId: "_19_0_4_12e503d9_1622577942205_869984_64", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IImport.IsImportAll")] + public bool IsImportAll { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether to recursively import Memberships from visible, owned sub-Namespaces. + /// + [Property(xmiId: "_19_0_4_12e503d9_1605759116711_596237_5033", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IImport.IsRecursive")] + public bool IsRecursive { get; set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IRelationship.RelatedElement")] + public List relatedElement { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IImport.ImportOwningNamespace")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IImport.ImportOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IImport.ImportOwningNamespace"); + } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("INamespaceImport.ImportedNamespace")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property INamespaceImport.ImportedNamespace"); + set => throw new InvalidOperationException("Redefined by property INamespaceImport.ImportedNamespace"); + } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// The visibility level of the imported members from this Import relative to the importOwningNamespace. + /// The default is private. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674976_798509_43257", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "private")] + [Implements(implementation: "IImport.Visibility")] + public VisibilityKind Visibility { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/NullExpression.cs b/SysML2.NET/Core/AutoGenDto/NullExpression.cs index 913f5bd9..e53ac4f6 100644 --- a/SysML2.NET/Core/AutoGenDto/NullExpression.cs +++ b/SysML2.NET/Core/AutoGenDto/NullExpression.cs @@ -1,768 +1,768 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Expressions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.DTO.Kernel.Functions; - using SysML2.NET.Decorators; - - /// - /// A NullExpression is an Expression that results in a null value. - /// - [Class(xmiId: "_18_5_3_12e503d9_1533160651705_773974_42202", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class NullExpression : INullExpression - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Behaviors that type this Step. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IExpression.Function")] - [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IStep.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Function that types this Expression. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - [Implements(implementation: "IExpression.Function")] - public Guid? Function { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, - /// using metadata within the model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool IsModelLevelEvaluable { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into - /// and/or out of a performance of the Step. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// An output parameter of the Expression whose value is the result of the Expression. The result of an - /// Expression is either inherited from its function or it is related to the Expression via a - /// ReturnParameterMembership, in which case it redefines the result parameter of its function. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [Implements(implementation: "IExpression.Result")] - public Guid Result { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Expressions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.DTO.Kernel.Functions; + using SysML2.NET.Decorators; + + /// + /// A NullExpression is an Expression that results in a null value. + /// + [Class(xmiId: "_18_5_3_12e503d9_1533160651705_773974_42202", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class NullExpression : INullExpression + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Behaviors that type this Step. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IExpression.Function")] + [Implements(implementation: "IStep.Behavior")] + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IStep.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Function that types this Expression. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] + [Implements(implementation: "IExpression.Function")] + public Guid? function { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, + /// using metadata within the model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IExpression.IsModelLevelEvaluable")] + public bool isModelLevelEvaluable { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsVariable")] + public bool IsVariable { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into + /// and/or out of a performance of the Step. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IStep.Parameter")] + public List parameter { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// An output parameter of the Expression whose value is the result of the Expression. The result of an + /// Expression is either inherited from its function or it is related to the Expression via a + /// ReturnParameterMembership, in which case it redefines the result parameter of its function. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [Implements(implementation: "IExpression.Result")] + public Guid result { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Type")] + public List type { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ObjectiveMembership.cs b/SysML2.NET/Core/AutoGenDto/ObjectiveMembership.cs index 4027a02a..bb99b731 100644 --- a/SysML2.NET/Core/AutoGenDto/ObjectiveMembership.cs +++ b/SysML2.NET/Core/AutoGenDto/ObjectiveMembership.cs @@ -1,379 +1,399 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Cases -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Root.Namespaces; - using SysML2.NET.Core.DTO.Core.Types; - using SysML2.NET.Decorators; - - /// - /// An ObjectiveMembership is a FeatureMembership that indicates that its ownedObjectiveRequirement is - /// the objective RequirementUsage for its owningType, which must be a CaseDefinition or CaseUsage. - /// - [Class(xmiId: "_19_0_2_59601fc_1590256849943_920466_400", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class ObjectiveMembership : IObjectiveMembership - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_819490_43195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] - [Implements(implementation: "IMembership.MemberElement")] - public Guid MemberElement { get; set; } - - /// - /// The elementId of the memberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] - [Implements(implementation: "IMembership.MemberElementId")] - public string MemberElementId { get; internal set; } - - /// - /// The name of the memberElement relative to the membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberName")] - [Implements(implementation: "IMembership.MemberName")] - public string MemberName { get; set; } - - /// - /// The Namespace of which the memberElement becomes a member due to this Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_193857_43197", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_531296_43182")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [RedefinedByProperty("IFeatureMembership.OwningType")] - [Implements(implementation: "IMembership.MembershipOwningNamespace")] - public Guid MembershipOwningNamespace { get; internal set; } - - /// - /// The short name of the memberElement relative to the membershipOwningNamespace. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] - [Implements(implementation: "IMembership.MemberShortName")] - public string MemberShortName { get; set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this - /// OwningMembership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_501750_43196", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_59873_43302")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] - [RedefinedByProperty("IFeatureMembership.OwnedMemberFeature")] - [Implements(implementation: "IOwningMembership.OwnedMemberElement")] - public Guid OwnedMemberElement { get; internal set; } - - /// - /// The elementId of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] - [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] - public string OwnedMemberElementId { get; internal set; } - - /// - /// The Feature that this FeatureMembership relates to its owningType, making it an ownedFeature of the - /// owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_898044_43344", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] - [RedefinedByProperty("IObjectiveMembership.OwnedObjectiveRequirement")] - [Implements(implementation: "IFeatureMembership.OwnedMemberFeature")] - public Guid OwnedMemberFeature { get; internal set; } - - /// - /// The name of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] - [Implements(implementation: "IOwningMembership.OwnedMemberName")] - public string OwnedMemberName { get; internal set; } - - /// - /// The shortName of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] - [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] - public string OwnedMemberShortName { get; internal set; } - - /// - /// The RequirementUsage that is the ownedMemberFeature of this RequirementUsage. - /// - [Property(xmiId: "_19_0_2_59601fc_1590258776804_538578_832", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] - [Implements(implementation: "IObjectiveMembership.OwnedObjectiveRequirement")] - public Guid OwnedObjectiveRequirement { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that owns this FeatureMembership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_418504_43339", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866524_738482_486")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] - [Implements(implementation: "IFeatureMembership.OwningType")] - public Guid OwningType { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IMembership.MembershipOwningNamespace")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IMembership.MemberElement")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly - /// visible outside that Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_42975_43193", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "public")] - [Implements(implementation: "IMembership.Visibility")] - public VisibilityKind Visibility { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Cases +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Root.Namespaces; + using SysML2.NET.Core.DTO.Core.Types; + using SysML2.NET.Decorators; + + /// + /// An ObjectiveMembership is a FeatureMembership that indicates that its ownedObjectiveRequirement is + /// the objective RequirementUsage for its owningType, which must be a CaseDefinition or CaseUsage. + /// + [Class(xmiId: "_19_0_2_59601fc_1590256849943_920466_400", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class ObjectiveMembership : IObjectiveMembership + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_819490_43195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] + [Implements(implementation: "IMembership.MemberElement")] + Guid Root.Namespaces.IMembership.MemberElement + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + } + + /// + /// The elementId of the memberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] + [Implements(implementation: "IMembership.MemberElementId")] + string Root.Namespaces.IMembership.memberElementId => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElementId"); + + /// + /// The name of the memberElement relative to the membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberName")] + [Implements(implementation: "IMembership.MemberName")] + string Root.Namespaces.IMembership.MemberName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + } + + /// + /// The Namespace of which the memberElement becomes a member due to this Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_193857_43197", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_531296_43182")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [RedefinedByProperty("IFeatureMembership.OwningType")] + [Implements(implementation: "IMembership.MembershipOwningNamespace")] + Guid Root.Namespaces.IMembership.membershipOwningNamespace => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwningType"); + + /// + /// The short name of the memberElement relative to the membershipOwningNamespace. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] + [Implements(implementation: "IMembership.MemberShortName")] + string Root.Namespaces.IMembership.MemberShortName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this + /// OwningMembership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_501750_43196", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_59873_43302")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] + [RedefinedByProperty("IFeatureMembership.OwnedMemberFeature")] + [Implements(implementation: "IOwningMembership.OwnedMemberElement")] + Guid Root.Namespaces.IOwningMembership.ownedMemberElement => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwnedMemberFeature"); + + /// + /// The elementId of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] + [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] + public string ownedMemberElementId { get; internal set; } + + /// + /// The Feature that this FeatureMembership relates to its owningType, making it an ownedFeature of the + /// owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_898044_43344", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] + [RedefinedByProperty("IObjectiveMembership.OwnedObjectiveRequirement")] + [Implements(implementation: "IFeatureMembership.OwnedMemberFeature")] + Guid Core.Types.IFeatureMembership.ownedMemberFeature => throw new InvalidOperationException("Redefined by property IObjectiveMembership.OwnedObjectiveRequirement"); + + /// + /// The name of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] + [Implements(implementation: "IOwningMembership.OwnedMemberName")] + public string ownedMemberName { get; internal set; } + + /// + /// The shortName of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] + [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] + public string ownedMemberShortName { get; internal set; } + + /// + /// The RequirementUsage that is the ownedMemberFeature of this RequirementUsage. + /// + [Property(xmiId: "_19_0_2_59601fc_1590258776804_538578_832", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] + [Implements(implementation: "IObjectiveMembership.OwnedObjectiveRequirement")] + public Guid ownedObjectiveRequirement { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that owns this FeatureMembership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_418504_43339", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866524_738482_486")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] + [Implements(implementation: "IFeatureMembership.OwningType")] + public Guid owningType { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IRelationship.RelatedElement")] + public List relatedElement { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IMembership.MembershipOwningNamespace")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IMembership.MemberElement")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + set => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly + /// visible outside that Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_42975_43193", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "public")] + [Implements(implementation: "IMembership.Visibility")] + public VisibilityKind Visibility { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/OccurrenceDefinition.cs b/SysML2.NET/Core/AutoGenDto/OccurrenceDefinition.cs index 745b78df..073ba986 100644 --- a/SysML2.NET/Core/AutoGenDto/OccurrenceDefinition.cs +++ b/SysML2.NET/Core/AutoGenDto/OccurrenceDefinition.cs @@ -1,774 +1,774 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Occurrences -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Kernel.Classes; - using SysML2.NET.Core.DTO.Systems.DefinitionAndUsage; - using SysML2.NET.Decorators; - - /// - /// An OccurrenceDefinition is a Definition of a Class of individuals that have an independent life over - /// time and potentially an extent over space. This includes both structural things and behaviors that - /// act on such structures. If isIndividual is true, then the OccurrenceDefinition is constrained to - /// have (at most) a single instance that is the entire life of a single individual. - /// - [Class(xmiId: "_19_0_4_12e503d9_1618943693347_790503_111", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class OccurrenceDefinition : IOccurrenceDefinition - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Definition that are directedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565495064714_974634_26150", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IDefinition.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - public bool IsAbstract { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceDefinition is constrained to represent at most one thing. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618955405499_394357_6740", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceDefinition.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IDefinition.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ActionUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedAction")] - public List OwnedAction { get; internal set; } - - /// - /// The AllocationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedAllocation")] - public List OwnedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List OwnedAnalysisCase { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The AttributeUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedAttribute")] - public List OwnedAttribute { get; internal set; } - - /// - /// The CalculationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - [Implements(implementation: "IDefinition.OwnedCalculation")] - public List OwnedCalculation { get; internal set; } - - /// - /// The code>CaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] - [Implements(implementation: "IDefinition.OwnedCase")] - public List OwnedCase { get; internal set; } - - /// - /// The ConcernUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - [Implements(implementation: "IDefinition.OwnedConcern")] - public List OwnedConcern { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowUsages because these are ConnectorAsUsages - /// even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedConnection")] - public List OwnedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedConstraint")] - public List OwnedConstraint { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The EnumerationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] - [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List OwnedEnumeration { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The FlowUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedFlow")] - public List OwnedFlow { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The InterfaceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedInterface")] - public List OwnedInterface { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The ItemUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedItem")] - public List OwnedItem { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The MetadataUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - [Implements(implementation: "IDefinition.OwnedMetadata")] - public List OwnedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List OwnedOccurrence { get; internal set; } - - /// - /// The PartUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - [Implements(implementation: "IDefinition.OwnedPart")] - public List OwnedPart { get; internal set; } - - /// - /// The PortUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedPort")] - public List OwnedPort { get; internal set; } - - /// - /// The ReferenceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedReference")] - public List OwnedReference { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The RenderingUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - [Implements(implementation: "IDefinition.OwnedRendering")] - public List OwnedRendering { get; internal set; } - - /// - /// The RequirementUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] - [Implements(implementation: "IDefinition.OwnedRequirement")] - public List OwnedRequirement { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The StateUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - [Implements(implementation: "IDefinition.OwnedState")] - public List OwnedState { get; internal set; } - - /// - /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier - /// is the subclassifier. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List OwnedSubclassification { get; internal set; } - - /// - /// The TransitionUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedTransition")] - public List OwnedTransition { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Definition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686637_967933_23236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IDefinition.OwnedUsage")] - public List OwnedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedUseCase")] - public List OwnedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List OwnedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - [Implements(implementation: "IDefinition.OwnedView")] - public List OwnedView { get; internal set; } - - /// - /// The ViewpointUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List OwnedViewpoint { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Definition (not necessarily owned). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IDefinition.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Definition as a variation point Definition, if - /// isVariation = true. If isVariation = false, the there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IDefinition.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then - /// this must be all ownedMemberships of the Definition. If isVariation = false, then - /// variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IDefinition.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Occurrences +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Kernel.Classes; + using SysML2.NET.Core.DTO.Systems.DefinitionAndUsage; + using SysML2.NET.Decorators; + + /// + /// An OccurrenceDefinition is a Definition of a Class of individuals that have an independent life over + /// time and potentially an extent over space. This includes both structural things and behaviors that + /// act on such structures. If isIndividual is true, then the OccurrenceDefinition is constrained to + /// have (at most) a single instance that is the entire life of a single individual. + /// + [Class(xmiId: "_19_0_4_12e503d9_1618943693347_790503_111", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class OccurrenceDefinition : IOccurrenceDefinition + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.DirectedFeature")] + public List directedFeature { get; internal set; } + + /// + /// The usages of this Definition that are directedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565495064714_974634_26150", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IDefinition.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + public bool IsAbstract { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceDefinition is constrained to represent at most one thing. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618955405499_394357_6740", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceDefinition.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IDefinition.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ActionUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedAction")] + public List ownedAction { get; internal set; } + + /// + /// The AllocationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedAllocation")] + public List ownedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedAnalysisCase")] + public List ownedAnalysisCase { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The AttributeUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedAttribute")] + public List ownedAttribute { get; internal set; } + + /// + /// The CalculationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] + [Implements(implementation: "IDefinition.OwnedCalculation")] + public List ownedCalculation { get; internal set; } + + /// + /// The code>CaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] + [Implements(implementation: "IDefinition.OwnedCase")] + public List ownedCase { get; internal set; } + + /// + /// The ConcernUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + [Implements(implementation: "IDefinition.OwnedConcern")] + public List ownedConcern { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowUsages because these are ConnectorAsUsages + /// even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedConnection")] + public List ownedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedConstraint")] + public List ownedConstraint { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The EnumerationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] + [Implements(implementation: "IDefinition.OwnedEnumeration")] + public List ownedEnumeration { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The FlowUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedFlow")] + public List ownedFlow { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The InterfaceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedInterface")] + public List ownedInterface { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The ItemUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedItem")] + public List ownedItem { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The MetadataUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] + [Implements(implementation: "IDefinition.OwnedMetadata")] + public List ownedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedOccurrence")] + public List ownedOccurrence { get; internal set; } + + /// + /// The PartUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] + [Implements(implementation: "IDefinition.OwnedPart")] + public List ownedPart { get; internal set; } + + /// + /// The PortUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedPort")] + public List ownedPort { get; internal set; } + + /// + /// The ReferenceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedReference")] + public List ownedReference { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The RenderingUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] + [Implements(implementation: "IDefinition.OwnedRendering")] + public List ownedRendering { get; internal set; } + + /// + /// The RequirementUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] + [Implements(implementation: "IDefinition.OwnedRequirement")] + public List ownedRequirement { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The StateUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] + [Implements(implementation: "IDefinition.OwnedState")] + public List ownedState { get; internal set; } + + /// + /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier + /// is the subclassifier. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [Implements(implementation: "IClassifier.OwnedSubclassification")] + public List ownedSubclassification { get; internal set; } + + /// + /// The TransitionUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedTransition")] + public List ownedTransition { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Definition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686637_967933_23236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IDefinition.OwnedUsage")] + public List ownedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedUseCase")] + public List ownedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedVerificationCase")] + public List ownedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] + [Implements(implementation: "IDefinition.OwnedView")] + public List ownedView { get; internal set; } + + /// + /// The ViewpointUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + [Implements(implementation: "IDefinition.OwnedViewpoint")] + public List ownedViewpoint { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Definition (not necessarily owned). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IDefinition.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Definition as a variation point Definition, if + /// isVariation = true. If isVariation = false, the there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IDefinition.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then + /// this must be all ownedMemberships of the Definition. If isVariation = false, then + /// variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IDefinition.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/OccurrenceUsage.cs b/SysML2.NET/Core/AutoGenDto/OccurrenceUsage.cs index 19c078ff..66975799 100644 --- a/SysML2.NET/Core/AutoGenDto/OccurrenceUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/OccurrenceUsage.cs @@ -1,1073 +1,1077 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Occurrences -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Core.DTO.Systems.DefinitionAndUsage; - using SysML2.NET.Decorators; - - /// - /// An OccurrenceUsage is a Usage whose types are all Classes. Nominally, if a type is an - /// OccurrenceDefinition, an OccurrenceUsage is a Usage of that OccurrenceDefinition within a system. - /// However, other types of Kernel Classes are also allowed, to permit use of Classes from the Kernel - /// Model Libraries. - /// - [Class(xmiId: "_19_0_4_12e503d9_1618943737195_33207_138", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class OccurrenceUsage : IOccurrenceUsage - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds - /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] - [Implements(implementation: "IUsage.Definition")] - public List Definition { get; internal set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Usage that are directedFeatures. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// The at most one occurrenceDefinition that has isIndividual = true. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public Guid? IndividualDefinition { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its - /// individualDefinition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceUsage.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - public bool IsPortion { get; set; } - - /// - /// Whether this Usage is a referential Usage, that is, it has isComposite = false. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsReference")] - public bool IsReference { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [RedefinedByProperty("IUsage.MayTimeVary")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage - /// must be VariantMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its - /// owningType, rather than being featured by the owningType itself). However, if isConstant is also - /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance - /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary - /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is - /// inherited from Feature. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] - [Implements(implementation: "IUsage.MayTimeVary")] - public bool MayTimeVary { get; internal set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ActionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedAction")] - public List NestedAction { get; internal set; } - - /// - /// The AllocationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedAllocation")] - public List NestedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List NestedAnalysisCase { get; internal set; } - - /// - /// The code>AttributeUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedAttribute")] - public List NestedAttribute { get; internal set; } - - /// - /// The CalculationUsage that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedCalculation")] - public List NestedCalculation { get; internal set; } - - /// - /// The CaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] - [Implements(implementation: "IUsage.NestedCase")] - public List NestedCase { get; internal set; } - - /// - /// The ConcernUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedConcern")] - public List NestedConcern { get; internal set; } - - /// - /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are - /// ConnectorAsUsages even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedConnection")] - public List NestedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedConstraint")] - public List NestedConstraint { get; internal set; } - - /// - /// The code>EnumerationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] - [Implements(implementation: "IUsage.NestedEnumeration")] - public List NestedEnumeration { get; internal set; } - - /// - /// The code>FlowUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedFlow")] - public List NestedFlow { get; internal set; } - - /// - /// The InterfaceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedInterface")] - public List NestedInterface { get; internal set; } - - /// - /// The ItemUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedItem")] - public List NestedItem { get; internal set; } - - /// - /// The MetadataUsages that are nestedUsages of this of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedMetadata")] - public List NestedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedOccurrence")] - public List NestedOccurrence { get; internal set; } - - /// - /// The PartUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedPart")] - public List NestedPart { get; internal set; } - - /// - /// The PortUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedPort")] - public List NestedPort { get; internal set; } - - /// - /// The ReferenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedReference")] - public List NestedReference { get; internal set; } - - /// - /// The RenderingUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedRendering")] - public List NestedRendering { get; internal set; } - - /// - /// The RequirementUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] - [Implements(implementation: "IUsage.NestedRequirement")] - public List NestedRequirement { get; internal set; } - - /// - /// The StateUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedState")] - public List NestedState { get; internal set; } - - /// - /// The TransitionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedTransition")] - public List NestedTransition { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.NestedUsage")] - public List NestedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedUseCase")] - public List NestedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedVerificationCase")] - public List NestedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedView")] - public List NestedView { get; internal set; } - - /// - /// The ViewpointUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedViewpoint")] - public List NestedViewpoint { get; internal set; } - - /// - /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, - /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] - [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List OccurrenceDefinition { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The Definition that owns this Usage (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] - [Implements(implementation: "IUsage.OwningDefinition")] - public Guid? OwningDefinition { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The Usage in which this Usage is nested (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IUsage.OwningUsage")] - public Guid? OwningUsage { get; internal set; } - - /// - /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If - /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the - /// OccurrenceUsage represents portions of the featuring instance of the owningType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IOccurrenceUsage.PortionKind")] - public PortionKind? PortionKind { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IUsage.Definition")] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Usage (not necessarily owned). - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IUsage.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = - /// true. If isVariation = false, then there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IUsage.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this - /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IUsage.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Occurrences +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Core.DTO.Systems.DefinitionAndUsage; + using SysML2.NET.Decorators; + + /// + /// An OccurrenceUsage is a Usage whose types are all Classes. Nominally, if a type is an + /// OccurrenceDefinition, an OccurrenceUsage is a Usage of that OccurrenceDefinition within a system. + /// However, other types of Kernel Classes are also allowed, to permit use of Classes from the Kernel + /// Model Libraries. + /// + [Class(xmiId: "_19_0_4_12e503d9_1618943737195_33207_138", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class OccurrenceUsage : IOccurrenceUsage + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds + /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] + [Implements(implementation: "IUsage.Definition")] + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.DirectedFeature")] + public List directedFeature { get; internal set; } + + /// + /// The usages of this Usage that are directedFeatures. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// The at most one occurrenceDefinition that has isIndividual = true. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] + public Guid? individualDefinition { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its + /// individualDefinition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceUsage.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + public bool IsPortion { get; set; } + + /// + /// Whether this Usage is a referential Usage, that is, it has isComposite = false. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsReference")] + public bool isReference { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [RedefinedByProperty("IUsage.MayTimeVary")] + [Implements(implementation: "IFeature.IsVariable")] + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } + + /// + /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage + /// must be VariantMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its + /// owningType, rather than being featured by the owningType itself). However, if isConstant is also + /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance + /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary + /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is + /// inherited from Feature. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] + [Implements(implementation: "IUsage.MayTimeVary")] + public bool mayTimeVary { get; internal set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ActionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedAction")] + public List nestedAction { get; internal set; } + + /// + /// The AllocationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedAllocation")] + public List nestedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedAnalysisCase")] + public List nestedAnalysisCase { get; internal set; } + + /// + /// The code>AttributeUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedAttribute")] + public List nestedAttribute { get; internal set; } + + /// + /// The CalculationUsage that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedCalculation")] + public List nestedCalculation { get; internal set; } + + /// + /// The CaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] + [Implements(implementation: "IUsage.NestedCase")] + public List nestedCase { get; internal set; } + + /// + /// The ConcernUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedConcern")] + public List nestedConcern { get; internal set; } + + /// + /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are + /// ConnectorAsUsages even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedConnection")] + public List nestedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedConstraint")] + public List nestedConstraint { get; internal set; } + + /// + /// The code>EnumerationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] + [Implements(implementation: "IUsage.NestedEnumeration")] + public List nestedEnumeration { get; internal set; } + + /// + /// The code>FlowUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedFlow")] + public List nestedFlow { get; internal set; } + + /// + /// The InterfaceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedInterface")] + public List nestedInterface { get; internal set; } + + /// + /// The ItemUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedItem")] + public List nestedItem { get; internal set; } + + /// + /// The MetadataUsages that are nestedUsages of this of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedMetadata")] + public List nestedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedOccurrence")] + public List nestedOccurrence { get; internal set; } + + /// + /// The PartUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedPart")] + public List nestedPart { get; internal set; } + + /// + /// The PortUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedPort")] + public List nestedPort { get; internal set; } + + /// + /// The ReferenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedReference")] + public List nestedReference { get; internal set; } + + /// + /// The RenderingUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedRendering")] + public List nestedRendering { get; internal set; } + + /// + /// The RequirementUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] + [Implements(implementation: "IUsage.NestedRequirement")] + public List nestedRequirement { get; internal set; } + + /// + /// The StateUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedState")] + public List nestedState { get; internal set; } + + /// + /// The TransitionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedTransition")] + public List nestedTransition { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.NestedUsage")] + public List nestedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedUseCase")] + public List nestedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedVerificationCase")] + public List nestedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedView")] + public List nestedView { get; internal set; } + + /// + /// The ViewpointUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedViewpoint")] + public List nestedViewpoint { get; internal set; } + + /// + /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, + /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] + [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] + public List occurrenceDefinition { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The Definition that owns this Usage (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] + [Implements(implementation: "IUsage.OwningDefinition")] + public Guid? owningDefinition { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The Usage in which this Usage is nested (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IUsage.OwningUsage")] + public Guid? owningUsage { get; internal set; } + + /// + /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If + /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the + /// OccurrenceUsage represents portions of the featuring instance of the owningType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IOccurrenceUsage.PortionKind")] + public PortionKind? PortionKind { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IUsage.Definition")] + [Implements(implementation: "IFeature.Type")] + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Usage (not necessarily owned). + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IUsage.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = + /// true. If isVariation = false, then there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IUsage.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this + /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IUsage.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/OperatorExpression.cs b/SysML2.NET/Core/AutoGenDto/OperatorExpression.cs index edfd4f99..93e83cfd 100644 --- a/SysML2.NET/Core/AutoGenDto/OperatorExpression.cs +++ b/SysML2.NET/Core/AutoGenDto/OperatorExpression.cs @@ -1,794 +1,794 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Expressions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Decorators; - - /// - /// An OperatorExpression is an InvocationExpression whose function is determined by resolving its - /// operator in the context of one of the standard packages from the Kernel Function Library. - /// - [Class(xmiId: "_18_5_3_12e503d9_1557528779746_71999_111623", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class OperatorExpression : IOperatorExpression - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Expressions whose results are bound to features of the instantiatedType. The arguments are - /// ordered consistent with the order of the features, though they may not be one-to-one with all the - /// features.Note. The derivation of argument is given in the concrete subclasses of - /// InstantiationExpression. - /// - [Property(xmiId: "_2022x_2_12e503d9_1739134437590_328753_108", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IInstantiationExpression.Argument")] - public List Argument { get; internal set; } - - /// - /// The Behaviors that type this Step. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IExpression.Function")] - [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IStep.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Function that types this Expression. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - [Implements(implementation: "IExpression.Function")] - public Guid? Function { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The Type that is being instantiated. - /// - [Property(xmiId: "_2022x_2_12e503d9_1739134352572_416088_80", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IInstantiationExpression.InstantiatedType")] - public Guid InstantiatedType { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, - /// using metadata within the model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool IsModelLevelEvaluable { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// An operator symbol that names a corresponding Function from one of the standard packages from the - /// Kernel Function Library . - /// - [Property(xmiId: "_18_5_3_12e503d9_1557528808100_646606_111674", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IOperatorExpression.Operator")] - public string Operator { get; set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into - /// and/or out of a performance of the Step. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// An output parameter of the Expression whose value is the result of the Expression. The result of an - /// Expression is either inherited from its function or it is related to the Expression via a - /// ReturnParameterMembership, in which case it redefines the result parameter of its function. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [Implements(implementation: "IExpression.Result")] - public Guid Result { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Expressions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Decorators; + + /// + /// An OperatorExpression is an InvocationExpression whose function is determined by resolving its + /// operator in the context of one of the standard packages from the Kernel Function Library. + /// + [Class(xmiId: "_18_5_3_12e503d9_1557528779746_71999_111623", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class OperatorExpression : IOperatorExpression + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Expressions whose results are bound to features of the instantiatedType. The arguments are + /// ordered consistent with the order of the features, though they may not be one-to-one with all the + /// features.Note. The derivation of argument is given in the concrete subclasses of + /// InstantiationExpression. + /// + [Property(xmiId: "_2022x_2_12e503d9_1739134437590_328753_108", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IInstantiationExpression.Argument")] + public List argument { get; internal set; } + + /// + /// The Behaviors that type this Step. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IExpression.Function")] + [Implements(implementation: "IStep.Behavior")] + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IStep.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Function that types this Expression. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] + [Implements(implementation: "IExpression.Function")] + public Guid? function { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The Type that is being instantiated. + /// + [Property(xmiId: "_2022x_2_12e503d9_1739134352572_416088_80", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IInstantiationExpression.InstantiatedType")] + public Guid instantiatedType { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, + /// using metadata within the model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IExpression.IsModelLevelEvaluable")] + public bool isModelLevelEvaluable { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsVariable")] + public bool IsVariable { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// An operator symbol that names a corresponding Function from one of the standard packages from the + /// Kernel Function Library . + /// + [Property(xmiId: "_18_5_3_12e503d9_1557528808100_646606_111674", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IOperatorExpression.Operator")] + public string Operator { get; set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into + /// and/or out of a performance of the Step. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IStep.Parameter")] + public List parameter { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// An output parameter of the Expression whose value is the result of the Expression. The result of an + /// Expression is either inherited from its function or it is related to the Expression via a + /// ReturnParameterMembership, in which case it redefines the result parameter of its function. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [Implements(implementation: "IExpression.Result")] + public Guid result { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Type")] + public List type { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/OwningMembership.cs b/SysML2.NET/Core/AutoGenDto/OwningMembership.cs index f740fd1a..5b95f118 100644 --- a/SysML2.NET/Core/AutoGenDto/OwningMembership.cs +++ b/SysML2.NET/Core/AutoGenDto/OwningMembership.cs @@ -1,349 +1,369 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Root.Namespaces -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Root.Namespaces; - using SysML2.NET.Decorators; - - /// - /// An OwningMembership is a Membership that owns its memberElement as a ownedRelatedElement. The - /// ownedMemberElement becomes an ownedMember of the membershipOwningNamespace. - /// - [Class(xmiId: "_19_0_4_12e503d9_1648180804650_933390_31", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class OwningMembership : IOwningMembership - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_819490_43195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] - [Implements(implementation: "IMembership.MemberElement")] - public Guid MemberElement { get; set; } - - /// - /// The elementId of the memberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] - [Implements(implementation: "IMembership.MemberElementId")] - public string MemberElementId { get; internal set; } - - /// - /// The name of the memberElement relative to the membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberName")] - [Implements(implementation: "IMembership.MemberName")] - public string MemberName { get; set; } - - /// - /// The Namespace of which the memberElement becomes a member due to this Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_193857_43197", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_531296_43182")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [Implements(implementation: "IMembership.MembershipOwningNamespace")] - public Guid MembershipOwningNamespace { get; internal set; } - - /// - /// The short name of the memberElement relative to the membershipOwningNamespace. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] - [Implements(implementation: "IMembership.MemberShortName")] - public string MemberShortName { get; set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this - /// OwningMembership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_501750_43196", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_59873_43302")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] - [Implements(implementation: "IOwningMembership.OwnedMemberElement")] - public Guid OwnedMemberElement { get; internal set; } - - /// - /// The elementId of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] - [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] - public string OwnedMemberElementId { get; internal set; } - - /// - /// The name of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] - [Implements(implementation: "IOwningMembership.OwnedMemberName")] - public string OwnedMemberName { get; internal set; } - - /// - /// The shortName of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] - [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] - public string OwnedMemberShortName { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - Guid? Root.Elements.IElement.OwningMembership { get; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IMembership.MembershipOwningNamespace")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IMembership.MemberElement")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly - /// visible outside that Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_42975_43193", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "public")] - [Implements(implementation: "IMembership.Visibility")] - public VisibilityKind Visibility { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Root.Namespaces +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Root.Namespaces; + using SysML2.NET.Decorators; + + /// + /// An OwningMembership is a Membership that owns its memberElement as a ownedRelatedElement. The + /// ownedMemberElement becomes an ownedMember of the membershipOwningNamespace. + /// + [Class(xmiId: "_19_0_4_12e503d9_1648180804650_933390_31", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class OwningMembership : IOwningMembership + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_819490_43195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] + [Implements(implementation: "IMembership.MemberElement")] + Guid IMembership.MemberElement + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + } + + /// + /// The elementId of the memberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] + [Implements(implementation: "IMembership.MemberElementId")] + string IMembership.memberElementId => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElementId"); + + /// + /// The name of the memberElement relative to the membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberName")] + [Implements(implementation: "IMembership.MemberName")] + string IMembership.MemberName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + } + + /// + /// The Namespace of which the memberElement becomes a member due to this Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_193857_43197", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_531296_43182")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [Implements(implementation: "IMembership.MembershipOwningNamespace")] + public Guid membershipOwningNamespace { get; internal set; } + + /// + /// The short name of the memberElement relative to the membershipOwningNamespace. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] + [Implements(implementation: "IMembership.MemberShortName")] + string IMembership.MemberShortName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this + /// OwningMembership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_501750_43196", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_59873_43302")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] + [Implements(implementation: "IOwningMembership.OwnedMemberElement")] + public Guid ownedMemberElement { get; internal set; } + + /// + /// The elementId of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] + [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] + public string ownedMemberElementId { get; internal set; } + + /// + /// The name of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] + [Implements(implementation: "IOwningMembership.OwnedMemberName")] + public string ownedMemberName { get; internal set; } + + /// + /// The shortName of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] + [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] + public string ownedMemberShortName { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IRelationship.RelatedElement")] + public List relatedElement { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IMembership.MembershipOwningNamespace")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IMembership.MemberElement")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + set => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly + /// visible outside that Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_42975_43193", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "public")] + [Implements(implementation: "IMembership.Visibility")] + public VisibilityKind Visibility { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/Package.cs b/SysML2.NET/Core/AutoGenDto/Package.cs index 5e96145d..d02993f5 100644 --- a/SysML2.NET/Core/AutoGenDto/Package.cs +++ b/SysML2.NET/Core/AutoGenDto/Package.cs @@ -1,278 +1,278 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Packages -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Root.Namespaces; - using SysML2.NET.Decorators; - - /// - /// A Package is a Namespace used to group Elements, without any instance-level semantics. It may have - /// one or more model-level evaluable filterCondition Expressions used to filter its - /// importedMemberships. Any imported member must meet all of the filterConditions. - /// - [Class(xmiId: "_19_0_4_12e503d9_1606943754976_445656_5532", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class Package : IPackage - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// The model-level evaluable Boolean-valued Expression used to filter the members of this Package, - /// which are owned by the Package are via ElementFilterMemberships. - /// - [Property(xmiId: "_19_0_4_12e503d9_1607033896050_867332_6206", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IPackage.FilterCondition")] - public List FilterCondition { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Packages +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Root.Namespaces; + using SysML2.NET.Decorators; + + /// + /// A Package is a Namespace used to group Elements, without any instance-level semantics. It may have + /// one or more model-level evaluable filterCondition Expressions used to filter its + /// importedMemberships. Any imported member must meet all of the filterConditions. + /// + [Class(xmiId: "_19_0_4_12e503d9_1606943754976_445656_5532", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class Package : IPackage + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// The model-level evaluable Boolean-valued Expression used to filter the members of this Package, + /// which are owned by the Package are via ElementFilterMemberships. + /// + [Property(xmiId: "_19_0_4_12e503d9_1607033896050_867332_6206", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IPackage.FilterCondition")] + public List filterCondition { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ParameterMembership.cs b/SysML2.NET/Core/AutoGenDto/ParameterMembership.cs index 3121a1e0..fbed3e10 100644 --- a/SysML2.NET/Core/AutoGenDto/ParameterMembership.cs +++ b/SysML2.NET/Core/AutoGenDto/ParameterMembership.cs @@ -1,380 +1,400 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Behaviors -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Root.Namespaces; - using SysML2.NET.Core.DTO.Core.Types; - using SysML2.NET.Decorators; - - /// - /// A ParameterMembership is a FeatureMembership that identifies its memberFeature as a parameter, which - /// is always owned, and must have a direction. A ParameterMembership must be owned by a Behavior, a - /// Step, or the result parameter of a ConstructorExpression. - /// - [Class(xmiId: "_18_5_3_12e503d9_1557527738711_165124_110466", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class ParameterMembership : IParameterMembership - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_819490_43195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] - [Implements(implementation: "IMembership.MemberElement")] - public Guid MemberElement { get; set; } - - /// - /// The elementId of the memberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] - [Implements(implementation: "IMembership.MemberElementId")] - public string MemberElementId { get; internal set; } - - /// - /// The name of the memberElement relative to the membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberName")] - [Implements(implementation: "IMembership.MemberName")] - public string MemberName { get; set; } - - /// - /// The Namespace of which the memberElement becomes a member due to this Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_193857_43197", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_531296_43182")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [RedefinedByProperty("IFeatureMembership.OwningType")] - [Implements(implementation: "IMembership.MembershipOwningNamespace")] - public Guid MembershipOwningNamespace { get; internal set; } - - /// - /// The short name of the memberElement relative to the membershipOwningNamespace. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] - [Implements(implementation: "IMembership.MemberShortName")] - public string MemberShortName { get; set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this - /// OwningMembership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_501750_43196", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_59873_43302")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] - [RedefinedByProperty("IFeatureMembership.OwnedMemberFeature")] - [Implements(implementation: "IOwningMembership.OwnedMemberElement")] - public Guid OwnedMemberElement { get; internal set; } - - /// - /// The elementId of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] - [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] - public string OwnedMemberElementId { get; internal set; } - - /// - /// The Feature that this FeatureMembership relates to its owningType, making it an ownedFeature of the - /// owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_898044_43344", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] - [RedefinedByProperty("IParameterMembership.OwnedMemberParameter")] - [Implements(implementation: "IFeatureMembership.OwnedMemberFeature")] - public Guid OwnedMemberFeature { get; internal set; } - - /// - /// The name of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] - [Implements(implementation: "IOwningMembership.OwnedMemberName")] - public string OwnedMemberName { get; internal set; } - - /// - /// The Feature that is identified as a parameter by this ParameterMembership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1557528016548_548098_110830", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] - [Implements(implementation: "IParameterMembership.OwnedMemberParameter")] - public Guid OwnedMemberParameter { get; internal set; } - - /// - /// The shortName of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] - [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] - public string OwnedMemberShortName { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that owns this FeatureMembership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_418504_43339", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866524_738482_486")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] - [Implements(implementation: "IFeatureMembership.OwningType")] - public Guid OwningType { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IMembership.MembershipOwningNamespace")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IMembership.MemberElement")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly - /// visible outside that Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_42975_43193", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "public")] - [Implements(implementation: "IMembership.Visibility")] - public VisibilityKind Visibility { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Behaviors +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Root.Namespaces; + using SysML2.NET.Core.DTO.Core.Types; + using SysML2.NET.Decorators; + + /// + /// A ParameterMembership is a FeatureMembership that identifies its memberFeature as a parameter, which + /// is always owned, and must have a direction. A ParameterMembership must be owned by a Behavior, a + /// Step, or the result parameter of a ConstructorExpression. + /// + [Class(xmiId: "_18_5_3_12e503d9_1557527738711_165124_110466", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class ParameterMembership : IParameterMembership + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_819490_43195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] + [Implements(implementation: "IMembership.MemberElement")] + Guid Root.Namespaces.IMembership.MemberElement + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + } + + /// + /// The elementId of the memberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] + [Implements(implementation: "IMembership.MemberElementId")] + string Root.Namespaces.IMembership.memberElementId => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElementId"); + + /// + /// The name of the memberElement relative to the membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberName")] + [Implements(implementation: "IMembership.MemberName")] + string Root.Namespaces.IMembership.MemberName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + } + + /// + /// The Namespace of which the memberElement becomes a member due to this Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_193857_43197", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_531296_43182")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [RedefinedByProperty("IFeatureMembership.OwningType")] + [Implements(implementation: "IMembership.MembershipOwningNamespace")] + Guid Root.Namespaces.IMembership.membershipOwningNamespace => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwningType"); + + /// + /// The short name of the memberElement relative to the membershipOwningNamespace. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] + [Implements(implementation: "IMembership.MemberShortName")] + string Root.Namespaces.IMembership.MemberShortName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this + /// OwningMembership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_501750_43196", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_59873_43302")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] + [RedefinedByProperty("IFeatureMembership.OwnedMemberFeature")] + [Implements(implementation: "IOwningMembership.OwnedMemberElement")] + Guid Root.Namespaces.IOwningMembership.ownedMemberElement => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwnedMemberFeature"); + + /// + /// The elementId of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] + [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] + public string ownedMemberElementId { get; internal set; } + + /// + /// The Feature that this FeatureMembership relates to its owningType, making it an ownedFeature of the + /// owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_898044_43344", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] + [RedefinedByProperty("IParameterMembership.OwnedMemberParameter")] + [Implements(implementation: "IFeatureMembership.OwnedMemberFeature")] + Guid Core.Types.IFeatureMembership.ownedMemberFeature => throw new InvalidOperationException("Redefined by property IParameterMembership.OwnedMemberParameter"); + + /// + /// The name of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] + [Implements(implementation: "IOwningMembership.OwnedMemberName")] + public string ownedMemberName { get; internal set; } + + /// + /// The Feature that is identified as a parameter by this ParameterMembership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1557528016548_548098_110830", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] + [Implements(implementation: "IParameterMembership.OwnedMemberParameter")] + public Guid ownedMemberParameter { get; internal set; } + + /// + /// The shortName of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] + [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] + public string ownedMemberShortName { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that owns this FeatureMembership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_418504_43339", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866524_738482_486")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] + [Implements(implementation: "IFeatureMembership.OwningType")] + public Guid owningType { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IRelationship.RelatedElement")] + public List relatedElement { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IMembership.MembershipOwningNamespace")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IMembership.MemberElement")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + set => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly + /// visible outside that Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_42975_43193", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "public")] + [Implements(implementation: "IMembership.Visibility")] + public VisibilityKind Visibility { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/PartDefinition.cs b/SysML2.NET/Core/AutoGenDto/PartDefinition.cs index 986778e9..0ca9a370 100644 --- a/SysML2.NET/Core/AutoGenDto/PartDefinition.cs +++ b/SysML2.NET/Core/AutoGenDto/PartDefinition.cs @@ -1,772 +1,772 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Parts -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Systems.Items; - using SysML2.NET.Decorators; - - /// - /// A PartDefinition is an ItemDefinition of a Class of systems or parts of systems. Note that all parts - /// may be considered items for certain purposes, but not all items are parts that can perform actions - /// within a system. - /// - [Class(xmiId: "_18_5_3_12e503d9_1565469626440_455154_19856", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class PartDefinition : IPartDefinition - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Definition that are directedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565495064714_974634_26150", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IDefinition.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - public bool IsAbstract { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceDefinition is constrained to represent at most one thing. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618955405499_394357_6740", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceDefinition.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IDefinition.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ActionUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedAction")] - public List OwnedAction { get; internal set; } - - /// - /// The AllocationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedAllocation")] - public List OwnedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List OwnedAnalysisCase { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The AttributeUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedAttribute")] - public List OwnedAttribute { get; internal set; } - - /// - /// The CalculationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - [Implements(implementation: "IDefinition.OwnedCalculation")] - public List OwnedCalculation { get; internal set; } - - /// - /// The code>CaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] - [Implements(implementation: "IDefinition.OwnedCase")] - public List OwnedCase { get; internal set; } - - /// - /// The ConcernUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - [Implements(implementation: "IDefinition.OwnedConcern")] - public List OwnedConcern { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowUsages because these are ConnectorAsUsages - /// even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedConnection")] - public List OwnedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedConstraint")] - public List OwnedConstraint { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The EnumerationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] - [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List OwnedEnumeration { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The FlowUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedFlow")] - public List OwnedFlow { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The InterfaceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedInterface")] - public List OwnedInterface { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The ItemUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedItem")] - public List OwnedItem { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The MetadataUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - [Implements(implementation: "IDefinition.OwnedMetadata")] - public List OwnedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List OwnedOccurrence { get; internal set; } - - /// - /// The PartUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - [Implements(implementation: "IDefinition.OwnedPart")] - public List OwnedPart { get; internal set; } - - /// - /// The PortUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedPort")] - public List OwnedPort { get; internal set; } - - /// - /// The ReferenceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedReference")] - public List OwnedReference { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The RenderingUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - [Implements(implementation: "IDefinition.OwnedRendering")] - public List OwnedRendering { get; internal set; } - - /// - /// The RequirementUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] - [Implements(implementation: "IDefinition.OwnedRequirement")] - public List OwnedRequirement { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The StateUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - [Implements(implementation: "IDefinition.OwnedState")] - public List OwnedState { get; internal set; } - - /// - /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier - /// is the subclassifier. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List OwnedSubclassification { get; internal set; } - - /// - /// The TransitionUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedTransition")] - public List OwnedTransition { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Definition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686637_967933_23236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IDefinition.OwnedUsage")] - public List OwnedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedUseCase")] - public List OwnedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List OwnedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - [Implements(implementation: "IDefinition.OwnedView")] - public List OwnedView { get; internal set; } - - /// - /// The ViewpointUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List OwnedViewpoint { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Definition (not necessarily owned). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IDefinition.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Definition as a variation point Definition, if - /// isVariation = true. If isVariation = false, the there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IDefinition.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then - /// this must be all ownedMemberships of the Definition. If isVariation = false, then - /// variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IDefinition.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Parts +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Systems.Items; + using SysML2.NET.Decorators; + + /// + /// A PartDefinition is an ItemDefinition of a Class of systems or parts of systems. Note that all parts + /// may be considered items for certain purposes, but not all items are parts that can perform actions + /// within a system. + /// + [Class(xmiId: "_18_5_3_12e503d9_1565469626440_455154_19856", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class PartDefinition : IPartDefinition + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.DirectedFeature")] + public List directedFeature { get; internal set; } + + /// + /// The usages of this Definition that are directedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565495064714_974634_26150", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IDefinition.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + public bool IsAbstract { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceDefinition is constrained to represent at most one thing. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618955405499_394357_6740", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceDefinition.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IDefinition.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ActionUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedAction")] + public List ownedAction { get; internal set; } + + /// + /// The AllocationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedAllocation")] + public List ownedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedAnalysisCase")] + public List ownedAnalysisCase { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The AttributeUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedAttribute")] + public List ownedAttribute { get; internal set; } + + /// + /// The CalculationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] + [Implements(implementation: "IDefinition.OwnedCalculation")] + public List ownedCalculation { get; internal set; } + + /// + /// The code>CaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] + [Implements(implementation: "IDefinition.OwnedCase")] + public List ownedCase { get; internal set; } + + /// + /// The ConcernUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + [Implements(implementation: "IDefinition.OwnedConcern")] + public List ownedConcern { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowUsages because these are ConnectorAsUsages + /// even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedConnection")] + public List ownedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedConstraint")] + public List ownedConstraint { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The EnumerationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] + [Implements(implementation: "IDefinition.OwnedEnumeration")] + public List ownedEnumeration { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The FlowUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedFlow")] + public List ownedFlow { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The InterfaceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedInterface")] + public List ownedInterface { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The ItemUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedItem")] + public List ownedItem { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The MetadataUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] + [Implements(implementation: "IDefinition.OwnedMetadata")] + public List ownedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedOccurrence")] + public List ownedOccurrence { get; internal set; } + + /// + /// The PartUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] + [Implements(implementation: "IDefinition.OwnedPart")] + public List ownedPart { get; internal set; } + + /// + /// The PortUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedPort")] + public List ownedPort { get; internal set; } + + /// + /// The ReferenceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedReference")] + public List ownedReference { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The RenderingUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] + [Implements(implementation: "IDefinition.OwnedRendering")] + public List ownedRendering { get; internal set; } + + /// + /// The RequirementUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] + [Implements(implementation: "IDefinition.OwnedRequirement")] + public List ownedRequirement { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The StateUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] + [Implements(implementation: "IDefinition.OwnedState")] + public List ownedState { get; internal set; } + + /// + /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier + /// is the subclassifier. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [Implements(implementation: "IClassifier.OwnedSubclassification")] + public List ownedSubclassification { get; internal set; } + + /// + /// The TransitionUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedTransition")] + public List ownedTransition { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Definition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686637_967933_23236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IDefinition.OwnedUsage")] + public List ownedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedUseCase")] + public List ownedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedVerificationCase")] + public List ownedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] + [Implements(implementation: "IDefinition.OwnedView")] + public List ownedView { get; internal set; } + + /// + /// The ViewpointUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + [Implements(implementation: "IDefinition.OwnedViewpoint")] + public List ownedViewpoint { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Definition (not necessarily owned). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IDefinition.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Definition as a variation point Definition, if + /// isVariation = true. If isVariation = false, the there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IDefinition.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then + /// this must be all ownedMemberships of the Definition. If isVariation = false, then + /// variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IDefinition.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/PartUsage.cs b/SysML2.NET/Core/AutoGenDto/PartUsage.cs index ce4f44c8..6089f539 100644 --- a/SysML2.NET/Core/AutoGenDto/PartUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/PartUsage.cs @@ -1,1090 +1,1094 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Parts -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Core.DTO.Systems.Items; - using SysML2.NET.Decorators; - - /// - /// A PartUsage is a usage of a PartDefinition to represent a system or a part of a system. At least one - /// of the itemDefinitions of the PartUsage must be a PartDefinition.A PartUsage must subset, directly - /// or indirectly, the base PartUsage parts from the Systems Model Library. - /// - [Class(xmiId: "_18_5_3_12e503d9_1565471239590_312157_20701", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class PartUsage : IPartUsage - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds - /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] - [Implements(implementation: "IUsage.Definition")] - public List Definition { get; internal set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Usage that are directedFeatures. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// The at most one occurrenceDefinition that has isIndividual = true. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public Guid? IndividualDefinition { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its - /// individualDefinition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceUsage.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - public bool IsPortion { get; set; } - - /// - /// Whether this Usage is a referential Usage, that is, it has isComposite = false. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsReference")] - public bool IsReference { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [RedefinedByProperty("IUsage.MayTimeVary")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage - /// must be VariantMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// The Structures that are the definitions of this ItemUsage. Nominally, these are ItemDefinitions, but - /// other kinds of Kernel Structures are also allowed, to permit use of Structures from the Kernel - /// Library. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565471361757_649736_20796", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IItemUsage.ItemDefinition")] - public List ItemDefinition { get; internal set; } - - /// - /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its - /// owningType, rather than being featured by the owningType itself). However, if isConstant is also - /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance - /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary - /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is - /// inherited from Feature. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] - [Implements(implementation: "IUsage.MayTimeVary")] - public bool MayTimeVary { get; internal set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ActionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedAction")] - public List NestedAction { get; internal set; } - - /// - /// The AllocationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedAllocation")] - public List NestedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List NestedAnalysisCase { get; internal set; } - - /// - /// The code>AttributeUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedAttribute")] - public List NestedAttribute { get; internal set; } - - /// - /// The CalculationUsage that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedCalculation")] - public List NestedCalculation { get; internal set; } - - /// - /// The CaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] - [Implements(implementation: "IUsage.NestedCase")] - public List NestedCase { get; internal set; } - - /// - /// The ConcernUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedConcern")] - public List NestedConcern { get; internal set; } - - /// - /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are - /// ConnectorAsUsages even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedConnection")] - public List NestedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedConstraint")] - public List NestedConstraint { get; internal set; } - - /// - /// The code>EnumerationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] - [Implements(implementation: "IUsage.NestedEnumeration")] - public List NestedEnumeration { get; internal set; } - - /// - /// The code>FlowUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedFlow")] - public List NestedFlow { get; internal set; } - - /// - /// The InterfaceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedInterface")] - public List NestedInterface { get; internal set; } - - /// - /// The ItemUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedItem")] - public List NestedItem { get; internal set; } - - /// - /// The MetadataUsages that are nestedUsages of this of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedMetadata")] - public List NestedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedOccurrence")] - public List NestedOccurrence { get; internal set; } - - /// - /// The PartUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedPart")] - public List NestedPart { get; internal set; } - - /// - /// The PortUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedPort")] - public List NestedPort { get; internal set; } - - /// - /// The ReferenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedReference")] - public List NestedReference { get; internal set; } - - /// - /// The RenderingUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedRendering")] - public List NestedRendering { get; internal set; } - - /// - /// The RequirementUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] - [Implements(implementation: "IUsage.NestedRequirement")] - public List NestedRequirement { get; internal set; } - - /// - /// The StateUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedState")] - public List NestedState { get; internal set; } - - /// - /// The TransitionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedTransition")] - public List NestedTransition { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.NestedUsage")] - public List NestedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedUseCase")] - public List NestedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedVerificationCase")] - public List NestedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedView")] - public List NestedView { get; internal set; } - - /// - /// The ViewpointUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedViewpoint")] - public List NestedViewpoint { get; internal set; } - - /// - /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, - /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] - [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List OccurrenceDefinition { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The Definition that owns this Usage (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] - [Implements(implementation: "IUsage.OwningDefinition")] - public Guid? OwningDefinition { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The Usage in which this Usage is nested (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IUsage.OwningUsage")] - public Guid? OwningUsage { get; internal set; } - - /// - /// The itemDefinitions of this PartUsage that are PartDefinitions. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591475180488_929065_121", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565471361757_649736_20796")] - [Implements(implementation: "IPartUsage.PartDefinition")] - public List PartDefinition { get; internal set; } - - /// - /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If - /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the - /// OccurrenceUsage represents portions of the featuring instance of the owningType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IOccurrenceUsage.PortionKind")] - public PortionKind? PortionKind { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IUsage.Definition")] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Usage (not necessarily owned). - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IUsage.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = - /// true. If isVariation = false, then there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IUsage.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this - /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IUsage.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Parts +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Core.DTO.Systems.Items; + using SysML2.NET.Decorators; + + /// + /// A PartUsage is a usage of a PartDefinition to represent a system or a part of a system. At least one + /// of the itemDefinitions of the PartUsage must be a PartDefinition.A PartUsage must subset, directly + /// or indirectly, the base PartUsage parts from the Systems Model Library. + /// + [Class(xmiId: "_18_5_3_12e503d9_1565471239590_312157_20701", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class PartUsage : IPartUsage + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds + /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] + [Implements(implementation: "IUsage.Definition")] + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.DirectedFeature")] + public List directedFeature { get; internal set; } + + /// + /// The usages of this Usage that are directedFeatures. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// The at most one occurrenceDefinition that has isIndividual = true. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] + public Guid? individualDefinition { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its + /// individualDefinition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceUsage.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + public bool IsPortion { get; set; } + + /// + /// Whether this Usage is a referential Usage, that is, it has isComposite = false. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsReference")] + public bool isReference { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [RedefinedByProperty("IUsage.MayTimeVary")] + [Implements(implementation: "IFeature.IsVariable")] + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } + + /// + /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage + /// must be VariantMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// The Structures that are the definitions of this ItemUsage. Nominally, these are ItemDefinitions, but + /// other kinds of Kernel Structures are also allowed, to permit use of Structures from the Kernel + /// Library. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565471361757_649736_20796", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IItemUsage.ItemDefinition")] + public List itemDefinition { get; internal set; } + + /// + /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its + /// owningType, rather than being featured by the owningType itself). However, if isConstant is also + /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance + /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary + /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is + /// inherited from Feature. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] + [Implements(implementation: "IUsage.MayTimeVary")] + public bool mayTimeVary { get; internal set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ActionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedAction")] + public List nestedAction { get; internal set; } + + /// + /// The AllocationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedAllocation")] + public List nestedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedAnalysisCase")] + public List nestedAnalysisCase { get; internal set; } + + /// + /// The code>AttributeUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedAttribute")] + public List nestedAttribute { get; internal set; } + + /// + /// The CalculationUsage that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedCalculation")] + public List nestedCalculation { get; internal set; } + + /// + /// The CaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] + [Implements(implementation: "IUsage.NestedCase")] + public List nestedCase { get; internal set; } + + /// + /// The ConcernUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedConcern")] + public List nestedConcern { get; internal set; } + + /// + /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are + /// ConnectorAsUsages even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedConnection")] + public List nestedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedConstraint")] + public List nestedConstraint { get; internal set; } + + /// + /// The code>EnumerationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] + [Implements(implementation: "IUsage.NestedEnumeration")] + public List nestedEnumeration { get; internal set; } + + /// + /// The code>FlowUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedFlow")] + public List nestedFlow { get; internal set; } + + /// + /// The InterfaceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedInterface")] + public List nestedInterface { get; internal set; } + + /// + /// The ItemUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedItem")] + public List nestedItem { get; internal set; } + + /// + /// The MetadataUsages that are nestedUsages of this of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedMetadata")] + public List nestedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedOccurrence")] + public List nestedOccurrence { get; internal set; } + + /// + /// The PartUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedPart")] + public List nestedPart { get; internal set; } + + /// + /// The PortUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedPort")] + public List nestedPort { get; internal set; } + + /// + /// The ReferenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedReference")] + public List nestedReference { get; internal set; } + + /// + /// The RenderingUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedRendering")] + public List nestedRendering { get; internal set; } + + /// + /// The RequirementUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] + [Implements(implementation: "IUsage.NestedRequirement")] + public List nestedRequirement { get; internal set; } + + /// + /// The StateUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedState")] + public List nestedState { get; internal set; } + + /// + /// The TransitionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedTransition")] + public List nestedTransition { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.NestedUsage")] + public List nestedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedUseCase")] + public List nestedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedVerificationCase")] + public List nestedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedView")] + public List nestedView { get; internal set; } + + /// + /// The ViewpointUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedViewpoint")] + public List nestedViewpoint { get; internal set; } + + /// + /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, + /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] + [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] + public List occurrenceDefinition { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The Definition that owns this Usage (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] + [Implements(implementation: "IUsage.OwningDefinition")] + public Guid? owningDefinition { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The Usage in which this Usage is nested (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IUsage.OwningUsage")] + public Guid? owningUsage { get; internal set; } + + /// + /// The itemDefinitions of this PartUsage that are PartDefinitions. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591475180488_929065_121", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565471361757_649736_20796")] + [Implements(implementation: "IPartUsage.PartDefinition")] + public List partDefinition { get; internal set; } + + /// + /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If + /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the + /// OccurrenceUsage represents portions of the featuring instance of the owningType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IOccurrenceUsage.PortionKind")] + public PortionKind? PortionKind { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IUsage.Definition")] + [Implements(implementation: "IFeature.Type")] + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Usage (not necessarily owned). + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IUsage.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = + /// true. If isVariation = false, then there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IUsage.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this + /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IUsage.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/PayloadFeature.cs b/SysML2.NET/Core/AutoGenDto/PayloadFeature.cs index 1f28f2b9..f3b67c06 100644 --- a/SysML2.NET/Core/AutoGenDto/PayloadFeature.cs +++ b/SysML2.NET/Core/AutoGenDto/PayloadFeature.cs @@ -64,7 +64,7 @@ public partial class PayloadFeature : IPayloadFeature ///
[Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } + public List chainingFeature { get; internal set; } /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -74,7 +74,7 @@ public partial class PayloadFeature : IPayloadFeature /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } + public Guid? crossFeature { get; internal set; } /// /// The declared name of this Element. @@ -104,7 +104,7 @@ public partial class PayloadFeature : IPayloadFeature /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } + public List differencingType { get; internal set; } /// /// The features of this Type that have a non-null direction. @@ -112,7 +112,7 @@ public partial class PayloadFeature : IPayloadFeature [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } + public List directedFeature { get; internal set; } /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -129,7 +129,7 @@ public partial class PayloadFeature : IPayloadFeature [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } + public List documentation { get; internal set; } /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -145,7 +145,7 @@ public partial class PayloadFeature : IPayloadFeature [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } + public List endFeature { get; internal set; } /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -155,7 +155,7 @@ public partial class PayloadFeature : IPayloadFeature [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } + public Guid? endOwningType { get; internal set; } /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -163,7 +163,7 @@ public partial class PayloadFeature : IPayloadFeature [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } + public List feature { get; internal set; } /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -172,14 +172,14 @@ public partial class PayloadFeature : IPayloadFeature /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } + public List featureMembership { get; internal set; } /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } + public Guid featureTarget { get; internal set; } /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -189,7 +189,7 @@ public partial class PayloadFeature : IPayloadFeature /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } + public List featuringType { get; internal set; } /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -197,7 +197,7 @@ public partial class PayloadFeature : IPayloadFeature [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } + public List importedMembership { get; internal set; } /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -205,7 +205,7 @@ public partial class PayloadFeature : IPayloadFeature [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } + public List inheritedFeature { get; internal set; } /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -214,7 +214,7 @@ public partial class PayloadFeature : IPayloadFeature [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } + public List inheritedMembership { get; internal set; } /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -222,7 +222,7 @@ public partial class PayloadFeature : IPayloadFeature [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } + public List input { get; internal set; } /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -235,7 +235,7 @@ public partial class PayloadFeature : IPayloadFeature /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } + public List intersectingType { get; internal set; } /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -259,7 +259,7 @@ public partial class PayloadFeature : IPayloadFeature /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } + public bool isConjugated { get; internal set; } /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -306,7 +306,7 @@ public partial class PayloadFeature : IPayloadFeature /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } + public bool isLibraryElement { get; internal set; } /// /// Whether an order exists for the values of this Feature or not. @@ -356,7 +356,7 @@ public partial class PayloadFeature : IPayloadFeature /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } + public List member { get; internal set; } /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -364,7 +364,7 @@ public partial class PayloadFeature : IPayloadFeature /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } + public List membership { get; internal set; } /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -374,7 +374,7 @@ public partial class PayloadFeature : IPayloadFeature [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } + public Guid? multiplicity { get; internal set; } /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -384,7 +384,7 @@ public partial class PayloadFeature : IPayloadFeature /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } + public string name { get; internal set; } /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -392,7 +392,7 @@ public partial class PayloadFeature : IPayloadFeature [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } + public List output { get; internal set; } /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -402,7 +402,7 @@ public partial class PayloadFeature : IPayloadFeature [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } + public List ownedAnnotation { get; internal set; } /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -411,7 +411,7 @@ public partial class PayloadFeature : IPayloadFeature [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } + public Guid? ownedConjugator { get; internal set; } /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -420,7 +420,7 @@ public partial class PayloadFeature : IPayloadFeature [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } + public Guid? ownedCrossSubsetting { get; internal set; } /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -430,7 +430,7 @@ public partial class PayloadFeature : IPayloadFeature [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } + public List ownedDifferencing { get; internal set; } /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -440,7 +440,7 @@ public partial class PayloadFeature : IPayloadFeature [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } + public List ownedDisjoining { get; internal set; } /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -448,7 +448,7 @@ public partial class PayloadFeature : IPayloadFeature /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } + public List ownedElement { get; internal set; } /// /// All endFeatures of this Type that are ownedFeatures. @@ -457,7 +457,7 @@ public partial class PayloadFeature : IPayloadFeature [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } + public List ownedEndFeature { get; internal set; } /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -465,7 +465,7 @@ public partial class PayloadFeature : IPayloadFeature [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } + public List ownedFeature { get; internal set; } /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -475,7 +475,7 @@ public partial class PayloadFeature : IPayloadFeature [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } + public List ownedFeatureChaining { get; internal set; } /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -485,7 +485,7 @@ public partial class PayloadFeature : IPayloadFeature [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } + public List ownedFeatureInverting { get; internal set; } /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -495,7 +495,7 @@ public partial class PayloadFeature : IPayloadFeature [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } + public List ownedFeatureMembership { get; internal set; } /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -505,7 +505,7 @@ public partial class PayloadFeature : IPayloadFeature [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } + public List ownedImport { get; internal set; } /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -514,7 +514,7 @@ public partial class PayloadFeature : IPayloadFeature [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } + public List ownedIntersecting { get; internal set; } /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -523,7 +523,7 @@ public partial class PayloadFeature : IPayloadFeature [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } + public List ownedMember { get; internal set; } /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -534,7 +534,7 @@ public partial class PayloadFeature : IPayloadFeature [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } + public List ownedMembership { get; internal set; } /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -543,7 +543,7 @@ public partial class PayloadFeature : IPayloadFeature [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } + public List ownedRedefinition { get; internal set; } /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -552,7 +552,7 @@ public partial class PayloadFeature : IPayloadFeature [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } + public Guid? ownedReferenceSubsetting { get; internal set; } /// /// The Relationships for which this Element is the owningRelatedElement. @@ -570,7 +570,7 @@ public partial class PayloadFeature : IPayloadFeature [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } + public List ownedSpecialization { get; internal set; } /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -580,7 +580,7 @@ public partial class PayloadFeature : IPayloadFeature [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } + public List ownedSubsetting { get; internal set; } /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -590,7 +590,7 @@ public partial class PayloadFeature : IPayloadFeature [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } + public List ownedTypeFeaturing { get; internal set; } /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -600,7 +600,7 @@ public partial class PayloadFeature : IPayloadFeature [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } + public List ownedTyping { get; internal set; } /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -609,7 +609,7 @@ public partial class PayloadFeature : IPayloadFeature [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } + public List ownedUnioning { get; internal set; } /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -617,7 +617,7 @@ public partial class PayloadFeature : IPayloadFeature /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } + public Guid? owner { get; internal set; } /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -625,7 +625,7 @@ public partial class PayloadFeature : IPayloadFeature [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } + public Guid? owningFeatureMembership { get; internal set; } /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -634,7 +634,7 @@ public partial class PayloadFeature : IPayloadFeature [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } + public Guid? owningMembership { get; internal set; } /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -643,7 +643,7 @@ public partial class PayloadFeature : IPayloadFeature [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } + public Guid? owningNamespace { get; internal set; } /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -661,7 +661,7 @@ public partial class PayloadFeature : IPayloadFeature [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } + public Guid? owningType { get; internal set; } /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -673,7 +673,7 @@ public partial class PayloadFeature : IPayloadFeature /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } + public string qualifiedName { get; internal set; } /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -683,7 +683,7 @@ public partial class PayloadFeature : IPayloadFeature /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } + public string shortName { get; internal set; } /// /// The TextualRepresentations that annotate this Element. @@ -692,7 +692,7 @@ public partial class PayloadFeature : IPayloadFeature [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } + public List textualRepresentation { get; internal set; } /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -702,7 +702,7 @@ public partial class PayloadFeature : IPayloadFeature /// [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } + public List type { get; internal set; } /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -713,7 +713,7 @@ public partial class PayloadFeature : IPayloadFeature /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } + public List unioningType { get; internal set; } } } diff --git a/SysML2.NET/Core/AutoGenDto/PerformActionUsage.cs b/SysML2.NET/Core/AutoGenDto/PerformActionUsage.cs index 2bdc631a..59da2aaa 100644 --- a/SysML2.NET/Core/AutoGenDto/PerformActionUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/PerformActionUsage.cs @@ -1,1132 +1,1136 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Actions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Core.DTO.Systems.Occurrences; - using SysML2.NET.Decorators; - - /// - /// A PerformActionUsage is an ActionUsage that represents the performance of an ActionUsage. Unless it - /// is the PerformActionUsage itself, the ActionUsage to be performed is related to the - /// PerformActionUsage by a ReferenceSubsetting relationship. A PerformActionUsage is also an - /// EventOccurrenceUsage, with its performedAction as the eventOccurrence. - /// - [Class(xmiId: "_18_5_3_12e503d9_1565503273042_472885_33822", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class PerformActionUsage : IPerformActionUsage - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// The Behaviors that are the types of this ActionUsage. Nominally, these would be ActionDefinitions, - /// but other kinds of Kernel Behaviors are also allowed, to permit use of Behaviors from the Kernel - /// Model Libraries. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565500905804_589845_30779", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IActionUsage.ActionDefinition")] - public List ActionDefinition { get; internal set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Behaviors that type this Step. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IActionUsage.ActionDefinition")] - [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds - /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] - [Implements(implementation: "IUsage.Definition")] - public List Definition { get; internal set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IStep.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Usage that are directedFeatures. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The OccurrenceUsage referenced as an event by this EventOccurrenceUsage. It is the referenceFeature - /// of the ownedReferenceSubsetting for the EventOccurrenceUsage, if there is one, and, otherwise, the - /// EventOccurrenceUsage itself. - /// - [Property(xmiId: "_19_0_4_12e503d9_1622831790393_676695_195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IPerformActionUsage.PerformedAction")] - [Implements(implementation: "IEventOccurrenceUsage.EventOccurrence")] - public Guid EventOccurrence { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// The at most one occurrenceDefinition that has isIndividual = true. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public Guid? IndividualDefinition { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its - /// individualDefinition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceUsage.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - public bool IsPortion { get; set; } - - /// - /// Whether this Usage is a referential Usage, that is, it has isComposite = false. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IEventOccurrenceUsage.IsReference")] - [Implements(implementation: "IUsage.IsReference")] - bool Systems.DefinitionAndUsage.IUsage.IsReference { get; } - - /// - /// Always true for an EventOccurrenceUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1672526906017_786343_306", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1624035114787_488767_41423")] - [Implements(implementation: "IEventOccurrenceUsage.IsReference")] - bool Systems.Occurrences.IEventOccurrenceUsage.IsReference { get; } - - /// - /// 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [RedefinedByProperty("IUsage.MayTimeVary")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage - /// must be VariantMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its - /// owningType, rather than being featured by the owningType itself). However, if isConstant is also - /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance - /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary - /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is - /// inherited from Feature. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] - [Implements(implementation: "IUsage.MayTimeVary")] - public bool MayTimeVary { get; internal set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ActionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedAction")] - public List NestedAction { get; internal set; } - - /// - /// The AllocationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedAllocation")] - public List NestedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List NestedAnalysisCase { get; internal set; } - - /// - /// The code>AttributeUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedAttribute")] - public List NestedAttribute { get; internal set; } - - /// - /// The CalculationUsage that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedCalculation")] - public List NestedCalculation { get; internal set; } - - /// - /// The CaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] - [Implements(implementation: "IUsage.NestedCase")] - public List NestedCase { get; internal set; } - - /// - /// The ConcernUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedConcern")] - public List NestedConcern { get; internal set; } - - /// - /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are - /// ConnectorAsUsages even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedConnection")] - public List NestedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedConstraint")] - public List NestedConstraint { get; internal set; } - - /// - /// The code>EnumerationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] - [Implements(implementation: "IUsage.NestedEnumeration")] - public List NestedEnumeration { get; internal set; } - - /// - /// The code>FlowUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedFlow")] - public List NestedFlow { get; internal set; } - - /// - /// The InterfaceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedInterface")] - public List NestedInterface { get; internal set; } - - /// - /// The ItemUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedItem")] - public List NestedItem { get; internal set; } - - /// - /// The MetadataUsages that are nestedUsages of this of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedMetadata")] - public List NestedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedOccurrence")] - public List NestedOccurrence { get; internal set; } - - /// - /// The PartUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedPart")] - public List NestedPart { get; internal set; } - - /// - /// The PortUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedPort")] - public List NestedPort { get; internal set; } - - /// - /// The ReferenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedReference")] - public List NestedReference { get; internal set; } - - /// - /// The RenderingUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedRendering")] - public List NestedRendering { get; internal set; } - - /// - /// The RequirementUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] - [Implements(implementation: "IUsage.NestedRequirement")] - public List NestedRequirement { get; internal set; } - - /// - /// The StateUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedState")] - public List NestedState { get; internal set; } - - /// - /// The TransitionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedTransition")] - public List NestedTransition { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.NestedUsage")] - public List NestedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedUseCase")] - public List NestedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedVerificationCase")] - public List NestedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedView")] - public List NestedView { get; internal set; } - - /// - /// The ViewpointUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedViewpoint")] - public List NestedViewpoint { get; internal set; } - - /// - /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, - /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] - [RedefinedByProperty("IActionUsage.ActionDefinition")] - [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List OccurrenceDefinition { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The Definition that owns this Usage (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] - [Implements(implementation: "IUsage.OwningDefinition")] - public Guid? OwningDefinition { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The Usage in which this Usage is nested (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IUsage.OwningUsage")] - public Guid? OwningUsage { get; internal set; } - - /// - /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into - /// and/or out of a performance of the Step. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The ActionUsage to be performed by this PerformedActionUsage. It is the eventOccurrence of the - /// PerformActionUsage considered as an EventOccurrenceUsage, which must be an ActionUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1567740791820_867719_18017", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1622831790393_676695_195")] - [Implements(implementation: "IPerformActionUsage.PerformedAction")] - public Guid PerformedAction { get; internal set; } - - /// - /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If - /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the - /// OccurrenceUsage represents portions of the featuring instance of the owningType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IOccurrenceUsage.PortionKind")] - public PortionKind? PortionKind { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IUsage.Definition")] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Usage (not necessarily owned). - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IUsage.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = - /// true. If isVariation = false, then there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IUsage.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this - /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IUsage.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Actions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Core.DTO.Systems.Occurrences; + using SysML2.NET.Decorators; + + /// + /// A PerformActionUsage is an ActionUsage that represents the performance of an ActionUsage. Unless it + /// is the PerformActionUsage itself, the ActionUsage to be performed is related to the + /// PerformActionUsage by a ReferenceSubsetting relationship. A PerformActionUsage is also an + /// EventOccurrenceUsage, with its performedAction as the eventOccurrence. + /// + [Class(xmiId: "_18_5_3_12e503d9_1565503273042_472885_33822", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class PerformActionUsage : IPerformActionUsage + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// The Behaviors that are the types of this ActionUsage. Nominally, these would be ActionDefinitions, + /// but other kinds of Kernel Behaviors are also allowed, to permit use of Behaviors from the Kernel + /// Model Libraries. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565500905804_589845_30779", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IActionUsage.ActionDefinition")] + public List actionDefinition { get; internal set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Behaviors that type this Step. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IActionUsage.ActionDefinition")] + [Implements(implementation: "IStep.Behavior")] + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds + /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] + [Implements(implementation: "IUsage.Definition")] + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IStep.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); + + /// + /// The usages of this Usage that are directedFeatures. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The OccurrenceUsage referenced as an event by this EventOccurrenceUsage. It is the referenceFeature + /// of the ownedReferenceSubsetting for the EventOccurrenceUsage, if there is one, and, otherwise, the + /// EventOccurrenceUsage itself. + /// + [Property(xmiId: "_19_0_4_12e503d9_1622831790393_676695_195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IPerformActionUsage.PerformedAction")] + [Implements(implementation: "IEventOccurrenceUsage.EventOccurrence")] + Guid Systems.Occurrences.IEventOccurrenceUsage.eventOccurrence => throw new InvalidOperationException("Redefined by property IPerformActionUsage.PerformedAction"); + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// The at most one occurrenceDefinition that has isIndividual = true. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] + public Guid? individualDefinition { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its + /// individualDefinition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceUsage.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + public bool IsPortion { get; set; } + + /// + /// Whether this Usage is a referential Usage, that is, it has isComposite = false. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IEventOccurrenceUsage.IsReference")] + [Implements(implementation: "IUsage.IsReference")] + bool Systems.DefinitionAndUsage.IUsage.isReference => throw new InvalidOperationException("Redefined by property IEventOccurrenceUsage.IsReference"); + + /// + /// Always true for an EventOccurrenceUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1672526906017_786343_306", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1624035114787_488767_41423")] + [Implements(implementation: "IEventOccurrenceUsage.IsReference")] + public bool isReference { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [RedefinedByProperty("IUsage.MayTimeVary")] + [Implements(implementation: "IFeature.IsVariable")] + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } + + /// + /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage + /// must be VariantMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its + /// owningType, rather than being featured by the owningType itself). However, if isConstant is also + /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance + /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary + /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is + /// inherited from Feature. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] + [Implements(implementation: "IUsage.MayTimeVary")] + public bool mayTimeVary { get; internal set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ActionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedAction")] + public List nestedAction { get; internal set; } + + /// + /// The AllocationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedAllocation")] + public List nestedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedAnalysisCase")] + public List nestedAnalysisCase { get; internal set; } + + /// + /// The code>AttributeUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedAttribute")] + public List nestedAttribute { get; internal set; } + + /// + /// The CalculationUsage that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedCalculation")] + public List nestedCalculation { get; internal set; } + + /// + /// The CaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] + [Implements(implementation: "IUsage.NestedCase")] + public List nestedCase { get; internal set; } + + /// + /// The ConcernUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedConcern")] + public List nestedConcern { get; internal set; } + + /// + /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are + /// ConnectorAsUsages even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedConnection")] + public List nestedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedConstraint")] + public List nestedConstraint { get; internal set; } + + /// + /// The code>EnumerationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] + [Implements(implementation: "IUsage.NestedEnumeration")] + public List nestedEnumeration { get; internal set; } + + /// + /// The code>FlowUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedFlow")] + public List nestedFlow { get; internal set; } + + /// + /// The InterfaceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedInterface")] + public List nestedInterface { get; internal set; } + + /// + /// The ItemUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedItem")] + public List nestedItem { get; internal set; } + + /// + /// The MetadataUsages that are nestedUsages of this of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedMetadata")] + public List nestedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedOccurrence")] + public List nestedOccurrence { get; internal set; } + + /// + /// The PartUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedPart")] + public List nestedPart { get; internal set; } + + /// + /// The PortUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedPort")] + public List nestedPort { get; internal set; } + + /// + /// The ReferenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedReference")] + public List nestedReference { get; internal set; } + + /// + /// The RenderingUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedRendering")] + public List nestedRendering { get; internal set; } + + /// + /// The RequirementUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] + [Implements(implementation: "IUsage.NestedRequirement")] + public List nestedRequirement { get; internal set; } + + /// + /// The StateUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedState")] + public List nestedState { get; internal set; } + + /// + /// The TransitionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedTransition")] + public List nestedTransition { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.NestedUsage")] + public List nestedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedUseCase")] + public List nestedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedVerificationCase")] + public List nestedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedView")] + public List nestedView { get; internal set; } + + /// + /// The ViewpointUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedViewpoint")] + public List nestedViewpoint { get; internal set; } + + /// + /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, + /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] + [RedefinedByProperty("IActionUsage.ActionDefinition")] + [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] + List Systems.Occurrences.IOccurrenceUsage.occurrenceDefinition => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The Definition that owns this Usage (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] + [Implements(implementation: "IUsage.OwningDefinition")] + public Guid? owningDefinition { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The Usage in which this Usage is nested (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IUsage.OwningUsage")] + public Guid? owningUsage { get; internal set; } + + /// + /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into + /// and/or out of a performance of the Step. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IStep.Parameter")] + public List parameter { get; internal set; } + + /// + /// The ActionUsage to be performed by this PerformedActionUsage. It is the eventOccurrence of the + /// PerformActionUsage considered as an EventOccurrenceUsage, which must be an ActionUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1567740791820_867719_18017", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1622831790393_676695_195")] + [Implements(implementation: "IPerformActionUsage.PerformedAction")] + public Guid performedAction { get; internal set; } + + /// + /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If + /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the + /// OccurrenceUsage represents portions of the featuring instance of the owningType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IOccurrenceUsage.PortionKind")] + public PortionKind? PortionKind { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IUsage.Definition")] + [Implements(implementation: "IFeature.Type")] + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Usage (not necessarily owned). + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IUsage.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = + /// true. If isVariation = false, then there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IUsage.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this + /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IUsage.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/PortConjugation.cs b/SysML2.NET/Core/AutoGenDto/PortConjugation.cs index 819c4d5b..be00628f 100644 --- a/SysML2.NET/Core/AutoGenDto/PortConjugation.cs +++ b/SysML2.NET/Core/AutoGenDto/PortConjugation.cs @@ -1,310 +1,322 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Ports -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Core.Types; - using SysML2.NET.Decorators; - - /// - /// A PortConjugation is a Conjugation Relationship between a PortDefinition and its corresponding - /// ConjugatedPortDefinition. As a result of this Relationship, the ConjugatedPortDefinition inherits - /// all the features of the original PortDefinition, but input flows of the original PortDefinition - /// become outputs on the ConjugatedPortDefinition and output flows of the original PortDefinition - /// become inputs on the ConjugatedPortDefinition. - /// - [Class(xmiId: "_19_0_2_12e503d9_1575484318404_705000_871", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class PortConjugation : IPortConjugation - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The ConjugatedPortDefinition that is conjugate to the originalPortDefinition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575484344899_880331_946", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1575482646809_778895_441")] - [Implements(implementation: "IPortConjugation.ConjugatedPortDefinition")] - public Guid ConjugatedPortDefinition { get; internal set; } - - /// - /// The Type that is the result of applying Conjugation to the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482490143_721644_299", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [Implements(implementation: "IConjugation.ConjugatedType")] - public Guid ConjugatedType { get; set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The PortDefinition being conjugated. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575484331999_998721_917", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1575482354187_108424_237")] - [Implements(implementation: "IPortConjugation.OriginalPortDefinition")] - public Guid OriginalPortDefinition { get; set; } - - /// - /// The Type to be conjugated. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482354187_108424_237", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [RedefinedByProperty("IPortConjugation.OriginalPortDefinition")] - [Implements(implementation: "IConjugation.OriginalType")] - public Guid OriginalType { get; set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The conjugatedType of this Conjugation that is also its owningRelatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_778895_441", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490143_721644_299")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - [RedefinedByProperty("IPortConjugation.ConjugatedPortDefinition")] - [Implements(implementation: "IConjugation.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IConjugation.ConjugatedType")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IConjugation.OriginalType")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Ports +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Core.Types; + using SysML2.NET.Decorators; + + /// + /// A PortConjugation is a Conjugation Relationship between a PortDefinition and its corresponding + /// ConjugatedPortDefinition. As a result of this Relationship, the ConjugatedPortDefinition inherits + /// all the features of the original PortDefinition, but input flows of the original PortDefinition + /// become outputs on the ConjugatedPortDefinition and output flows of the original PortDefinition + /// become inputs on the ConjugatedPortDefinition. + /// + [Class(xmiId: "_19_0_2_12e503d9_1575484318404_705000_871", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class PortConjugation : IPortConjugation + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The ConjugatedPortDefinition that is conjugate to the originalPortDefinition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575484344899_880331_946", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1575482646809_778895_441")] + [Implements(implementation: "IPortConjugation.ConjugatedPortDefinition")] + public Guid conjugatedPortDefinition { get; internal set; } + + /// + /// The Type that is the result of applying Conjugation to the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482490143_721644_299", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [Implements(implementation: "IConjugation.ConjugatedType")] + public Guid ConjugatedType { get; set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The PortDefinition being conjugated. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575484331999_998721_917", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1575482354187_108424_237")] + [Implements(implementation: "IPortConjugation.OriginalPortDefinition")] + public Guid OriginalPortDefinition { get; set; } + + /// + /// The Type to be conjugated. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482354187_108424_237", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [RedefinedByProperty("IPortConjugation.OriginalPortDefinition")] + [Implements(implementation: "IConjugation.OriginalType")] + Guid Core.Types.IConjugation.OriginalType + { + get => throw new InvalidOperationException("Redefined by property IPortConjugation.OriginalPortDefinition"); + set => throw new InvalidOperationException("Redefined by property IPortConjugation.OriginalPortDefinition"); + } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The conjugatedType of this Conjugation that is also its owningRelatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_778895_441", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490143_721644_299")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + [RedefinedByProperty("IPortConjugation.ConjugatedPortDefinition")] + [Implements(implementation: "IConjugation.OwningType")] + Guid? Core.Types.IConjugation.owningType => throw new InvalidOperationException("Redefined by property IPortConjugation.ConjugatedPortDefinition"); + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IRelationship.RelatedElement")] + public List relatedElement { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IConjugation.ConjugatedType")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IConjugation.ConjugatedType"); + set => throw new InvalidOperationException("Redefined by property IConjugation.ConjugatedType"); + } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IConjugation.OriginalType")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IConjugation.OriginalType"); + set => throw new InvalidOperationException("Redefined by property IConjugation.OriginalType"); + } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/PortDefinition.cs b/SysML2.NET/Core/AutoGenDto/PortDefinition.cs index 661489de..0f2115f8 100644 --- a/SysML2.NET/Core/AutoGenDto/PortDefinition.cs +++ b/SysML2.NET/Core/AutoGenDto/PortDefinition.cs @@ -1,781 +1,781 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Ports -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Kernel.Structures; - using SysML2.NET.Core.DTO.Systems.Occurrences; - using SysML2.NET.Decorators; - - /// - /// A PortDefinition defines a point at which external entities can connect to and interact with a - /// system or part of a system. Any ownedUsages of a PortDefinition, other than PortUsages, must not be - /// composite. - /// - [Class(xmiId: "_18_5_3_12e503d9_1565478005829_611481_22375", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class PortDefinition : IPortDefinition - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The <> that is conjugate to this PortDefinition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575484364015_206236_989", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IPortDefinition.ConjugatedPortDefinition")] - public Guid? ConjugatedPortDefinition { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Definition that are directedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565495064714_974634_26150", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IDefinition.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - public bool IsAbstract { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceDefinition is constrained to represent at most one thing. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618955405499_394357_6740", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceDefinition.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IDefinition.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ActionUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedAction")] - public List OwnedAction { get; internal set; } - - /// - /// The AllocationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedAllocation")] - public List OwnedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List OwnedAnalysisCase { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The AttributeUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedAttribute")] - public List OwnedAttribute { get; internal set; } - - /// - /// The CalculationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - [Implements(implementation: "IDefinition.OwnedCalculation")] - public List OwnedCalculation { get; internal set; } - - /// - /// The code>CaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] - [Implements(implementation: "IDefinition.OwnedCase")] - public List OwnedCase { get; internal set; } - - /// - /// The ConcernUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - [Implements(implementation: "IDefinition.OwnedConcern")] - public List OwnedConcern { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowUsages because these are ConnectorAsUsages - /// even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedConnection")] - public List OwnedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedConstraint")] - public List OwnedConstraint { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The EnumerationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] - [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List OwnedEnumeration { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The FlowUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedFlow")] - public List OwnedFlow { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The InterfaceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedInterface")] - public List OwnedInterface { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The ItemUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedItem")] - public List OwnedItem { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The MetadataUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - [Implements(implementation: "IDefinition.OwnedMetadata")] - public List OwnedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List OwnedOccurrence { get; internal set; } - - /// - /// The PartUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - [Implements(implementation: "IDefinition.OwnedPart")] - public List OwnedPart { get; internal set; } - - /// - /// The PortUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedPort")] - public List OwnedPort { get; internal set; } - - /// - /// The ReferenceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedReference")] - public List OwnedReference { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The RenderingUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - [Implements(implementation: "IDefinition.OwnedRendering")] - public List OwnedRendering { get; internal set; } - - /// - /// The RequirementUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] - [Implements(implementation: "IDefinition.OwnedRequirement")] - public List OwnedRequirement { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The StateUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - [Implements(implementation: "IDefinition.OwnedState")] - public List OwnedState { get; internal set; } - - /// - /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier - /// is the subclassifier. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List OwnedSubclassification { get; internal set; } - - /// - /// The TransitionUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedTransition")] - public List OwnedTransition { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Definition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686637_967933_23236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IDefinition.OwnedUsage")] - public List OwnedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedUseCase")] - public List OwnedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List OwnedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - [Implements(implementation: "IDefinition.OwnedView")] - public List OwnedView { get; internal set; } - - /// - /// The ViewpointUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List OwnedViewpoint { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Definition (not necessarily owned). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IDefinition.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Definition as a variation point Definition, if - /// isVariation = true. If isVariation = false, the there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IDefinition.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then - /// this must be all ownedMemberships of the Definition. If isVariation = false, then - /// variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IDefinition.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Ports +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Kernel.Structures; + using SysML2.NET.Core.DTO.Systems.Occurrences; + using SysML2.NET.Decorators; + + /// + /// A PortDefinition defines a point at which external entities can connect to and interact with a + /// system or part of a system. Any ownedUsages of a PortDefinition, other than PortUsages, must not be + /// composite. + /// + [Class(xmiId: "_18_5_3_12e503d9_1565478005829_611481_22375", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class PortDefinition : IPortDefinition + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The <> that is conjugate to this PortDefinition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575484364015_206236_989", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IPortDefinition.ConjugatedPortDefinition")] + public Guid? conjugatedPortDefinition { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.DirectedFeature")] + public List directedFeature { get; internal set; } + + /// + /// The usages of this Definition that are directedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565495064714_974634_26150", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IDefinition.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + public bool IsAbstract { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceDefinition is constrained to represent at most one thing. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618955405499_394357_6740", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceDefinition.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IDefinition.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ActionUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedAction")] + public List ownedAction { get; internal set; } + + /// + /// The AllocationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedAllocation")] + public List ownedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedAnalysisCase")] + public List ownedAnalysisCase { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The AttributeUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedAttribute")] + public List ownedAttribute { get; internal set; } + + /// + /// The CalculationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] + [Implements(implementation: "IDefinition.OwnedCalculation")] + public List ownedCalculation { get; internal set; } + + /// + /// The code>CaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] + [Implements(implementation: "IDefinition.OwnedCase")] + public List ownedCase { get; internal set; } + + /// + /// The ConcernUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + [Implements(implementation: "IDefinition.OwnedConcern")] + public List ownedConcern { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowUsages because these are ConnectorAsUsages + /// even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedConnection")] + public List ownedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedConstraint")] + public List ownedConstraint { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The EnumerationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] + [Implements(implementation: "IDefinition.OwnedEnumeration")] + public List ownedEnumeration { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The FlowUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedFlow")] + public List ownedFlow { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The InterfaceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedInterface")] + public List ownedInterface { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The ItemUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedItem")] + public List ownedItem { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The MetadataUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] + [Implements(implementation: "IDefinition.OwnedMetadata")] + public List ownedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedOccurrence")] + public List ownedOccurrence { get; internal set; } + + /// + /// The PartUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] + [Implements(implementation: "IDefinition.OwnedPart")] + public List ownedPart { get; internal set; } + + /// + /// The PortUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedPort")] + public List ownedPort { get; internal set; } + + /// + /// The ReferenceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedReference")] + public List ownedReference { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The RenderingUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] + [Implements(implementation: "IDefinition.OwnedRendering")] + public List ownedRendering { get; internal set; } + + /// + /// The RequirementUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] + [Implements(implementation: "IDefinition.OwnedRequirement")] + public List ownedRequirement { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The StateUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] + [Implements(implementation: "IDefinition.OwnedState")] + public List ownedState { get; internal set; } + + /// + /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier + /// is the subclassifier. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [Implements(implementation: "IClassifier.OwnedSubclassification")] + public List ownedSubclassification { get; internal set; } + + /// + /// The TransitionUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedTransition")] + public List ownedTransition { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Definition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686637_967933_23236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IDefinition.OwnedUsage")] + public List ownedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedUseCase")] + public List ownedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedVerificationCase")] + public List ownedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] + [Implements(implementation: "IDefinition.OwnedView")] + public List ownedView { get; internal set; } + + /// + /// The ViewpointUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + [Implements(implementation: "IDefinition.OwnedViewpoint")] + public List ownedViewpoint { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Definition (not necessarily owned). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IDefinition.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Definition as a variation point Definition, if + /// isVariation = true. If isVariation = false, the there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IDefinition.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then + /// this must be all ownedMemberships of the Definition. If isVariation = false, then + /// variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IDefinition.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/PortUsage.cs b/SysML2.NET/Core/AutoGenDto/PortUsage.cs index 8367e542..eaef80ee 100644 --- a/SysML2.NET/Core/AutoGenDto/PortUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/PortUsage.cs @@ -1,1080 +1,1084 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Ports -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Core.DTO.Systems.Occurrences; - using SysML2.NET.Decorators; - - /// - /// A PortUsage is a usage of a PortDefinition. A PortUsage itself as well as all its nestedUsages must - /// be referential (non-composite). - /// - [Class(xmiId: "_18_5_3_12e503d9_1565492704639_896080_24992", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class PortUsage : IPortUsage - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds - /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] - [Implements(implementation: "IUsage.Definition")] - public List Definition { get; internal set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Usage that are directedFeatures. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// The at most one occurrenceDefinition that has isIndividual = true. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public Guid? IndividualDefinition { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its - /// individualDefinition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceUsage.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - public bool IsPortion { get; set; } - - /// - /// Whether this Usage is a referential Usage, that is, it has isComposite = false. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsReference")] - public bool IsReference { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [RedefinedByProperty("IUsage.MayTimeVary")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage - /// must be VariantMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its - /// owningType, rather than being featured by the owningType itself). However, if isConstant is also - /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance - /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary - /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is - /// inherited from Feature. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] - [Implements(implementation: "IUsage.MayTimeVary")] - public bool MayTimeVary { get; internal set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ActionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedAction")] - public List NestedAction { get; internal set; } - - /// - /// The AllocationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedAllocation")] - public List NestedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List NestedAnalysisCase { get; internal set; } - - /// - /// The code>AttributeUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedAttribute")] - public List NestedAttribute { get; internal set; } - - /// - /// The CalculationUsage that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedCalculation")] - public List NestedCalculation { get; internal set; } - - /// - /// The CaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] - [Implements(implementation: "IUsage.NestedCase")] - public List NestedCase { get; internal set; } - - /// - /// The ConcernUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedConcern")] - public List NestedConcern { get; internal set; } - - /// - /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are - /// ConnectorAsUsages even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedConnection")] - public List NestedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedConstraint")] - public List NestedConstraint { get; internal set; } - - /// - /// The code>EnumerationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] - [Implements(implementation: "IUsage.NestedEnumeration")] - public List NestedEnumeration { get; internal set; } - - /// - /// The code>FlowUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedFlow")] - public List NestedFlow { get; internal set; } - - /// - /// The InterfaceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedInterface")] - public List NestedInterface { get; internal set; } - - /// - /// The ItemUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedItem")] - public List NestedItem { get; internal set; } - - /// - /// The MetadataUsages that are nestedUsages of this of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedMetadata")] - public List NestedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedOccurrence")] - public List NestedOccurrence { get; internal set; } - - /// - /// The PartUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedPart")] - public List NestedPart { get; internal set; } - - /// - /// The PortUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedPort")] - public List NestedPort { get; internal set; } - - /// - /// The ReferenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedReference")] - public List NestedReference { get; internal set; } - - /// - /// The RenderingUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedRendering")] - public List NestedRendering { get; internal set; } - - /// - /// The RequirementUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] - [Implements(implementation: "IUsage.NestedRequirement")] - public List NestedRequirement { get; internal set; } - - /// - /// The StateUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedState")] - public List NestedState { get; internal set; } - - /// - /// The TransitionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedTransition")] - public List NestedTransition { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.NestedUsage")] - public List NestedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedUseCase")] - public List NestedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedVerificationCase")] - public List NestedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedView")] - public List NestedView { get; internal set; } - - /// - /// The ViewpointUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedViewpoint")] - public List NestedViewpoint { get; internal set; } - - /// - /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, - /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] - [RedefinedByProperty("IPortUsage.PortDefinition")] - [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List OccurrenceDefinition { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The Definition that owns this Usage (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] - [Implements(implementation: "IUsage.OwningDefinition")] - public Guid? OwningDefinition { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The Usage in which this Usage is nested (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IUsage.OwningUsage")] - public Guid? OwningUsage { get; internal set; } - - /// - /// The occurrenceDefinitions of this PortUsage, which must all be PortDefinitions. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565492740124_880100_25026", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IPortUsage.PortDefinition")] - public List PortDefinition { get; internal set; } - - /// - /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If - /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the - /// OccurrenceUsage represents portions of the featuring instance of the owningType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IOccurrenceUsage.PortionKind")] - public PortionKind? PortionKind { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IUsage.Definition")] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Usage (not necessarily owned). - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IUsage.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = - /// true. If isVariation = false, then there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IUsage.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this - /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IUsage.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Ports +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Core.DTO.Systems.Occurrences; + using SysML2.NET.Decorators; + + /// + /// A PortUsage is a usage of a PortDefinition. A PortUsage itself as well as all its nestedUsages must + /// be referential (non-composite). + /// + [Class(xmiId: "_18_5_3_12e503d9_1565492704639_896080_24992", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class PortUsage : IPortUsage + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds + /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] + [Implements(implementation: "IUsage.Definition")] + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.DirectedFeature")] + public List directedFeature { get; internal set; } + + /// + /// The usages of this Usage that are directedFeatures. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// The at most one occurrenceDefinition that has isIndividual = true. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] + public Guid? individualDefinition { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its + /// individualDefinition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceUsage.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + public bool IsPortion { get; set; } + + /// + /// Whether this Usage is a referential Usage, that is, it has isComposite = false. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsReference")] + public bool isReference { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [RedefinedByProperty("IUsage.MayTimeVary")] + [Implements(implementation: "IFeature.IsVariable")] + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } + + /// + /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage + /// must be VariantMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its + /// owningType, rather than being featured by the owningType itself). However, if isConstant is also + /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance + /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary + /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is + /// inherited from Feature. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] + [Implements(implementation: "IUsage.MayTimeVary")] + public bool mayTimeVary { get; internal set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ActionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedAction")] + public List nestedAction { get; internal set; } + + /// + /// The AllocationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedAllocation")] + public List nestedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedAnalysisCase")] + public List nestedAnalysisCase { get; internal set; } + + /// + /// The code>AttributeUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedAttribute")] + public List nestedAttribute { get; internal set; } + + /// + /// The CalculationUsage that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedCalculation")] + public List nestedCalculation { get; internal set; } + + /// + /// The CaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] + [Implements(implementation: "IUsage.NestedCase")] + public List nestedCase { get; internal set; } + + /// + /// The ConcernUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedConcern")] + public List nestedConcern { get; internal set; } + + /// + /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are + /// ConnectorAsUsages even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedConnection")] + public List nestedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedConstraint")] + public List nestedConstraint { get; internal set; } + + /// + /// The code>EnumerationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] + [Implements(implementation: "IUsage.NestedEnumeration")] + public List nestedEnumeration { get; internal set; } + + /// + /// The code>FlowUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedFlow")] + public List nestedFlow { get; internal set; } + + /// + /// The InterfaceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedInterface")] + public List nestedInterface { get; internal set; } + + /// + /// The ItemUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedItem")] + public List nestedItem { get; internal set; } + + /// + /// The MetadataUsages that are nestedUsages of this of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedMetadata")] + public List nestedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedOccurrence")] + public List nestedOccurrence { get; internal set; } + + /// + /// The PartUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedPart")] + public List nestedPart { get; internal set; } + + /// + /// The PortUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedPort")] + public List nestedPort { get; internal set; } + + /// + /// The ReferenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedReference")] + public List nestedReference { get; internal set; } + + /// + /// The RenderingUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedRendering")] + public List nestedRendering { get; internal set; } + + /// + /// The RequirementUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] + [Implements(implementation: "IUsage.NestedRequirement")] + public List nestedRequirement { get; internal set; } + + /// + /// The StateUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedState")] + public List nestedState { get; internal set; } + + /// + /// The TransitionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedTransition")] + public List nestedTransition { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.NestedUsage")] + public List nestedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedUseCase")] + public List nestedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedVerificationCase")] + public List nestedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedView")] + public List nestedView { get; internal set; } + + /// + /// The ViewpointUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedViewpoint")] + public List nestedViewpoint { get; internal set; } + + /// + /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, + /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] + [RedefinedByProperty("IPortUsage.PortDefinition")] + [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] + List Systems.Occurrences.IOccurrenceUsage.occurrenceDefinition => throw new InvalidOperationException("Redefined by property IPortUsage.PortDefinition"); + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The Definition that owns this Usage (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] + [Implements(implementation: "IUsage.OwningDefinition")] + public Guid? owningDefinition { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The Usage in which this Usage is nested (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IUsage.OwningUsage")] + public Guid? owningUsage { get; internal set; } + + /// + /// The occurrenceDefinitions of this PortUsage, which must all be PortDefinitions. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565492740124_880100_25026", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IPortUsage.PortDefinition")] + public List portDefinition { get; internal set; } + + /// + /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If + /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the + /// OccurrenceUsage represents portions of the featuring instance of the owningType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IOccurrenceUsage.PortionKind")] + public PortionKind? PortionKind { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IUsage.Definition")] + [Implements(implementation: "IFeature.Type")] + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Usage (not necessarily owned). + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IUsage.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = + /// true. If isVariation = false, then there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IUsage.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this + /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IUsage.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/Predicate.cs b/SysML2.NET/Core/AutoGenDto/Predicate.cs index f99e53f7..e0370d5b 100644 --- a/SysML2.NET/Core/AutoGenDto/Predicate.cs +++ b/SysML2.NET/Core/AutoGenDto/Predicate.cs @@ -1,545 +1,545 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Functions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Decorators; - - /// - /// A Predicate is a Function whose result parameter has type Boolean and multiplicity 1..1. - /// - [Class(xmiId: "_18_5_3_12e503d9_1533160651691_194569_42171", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class Predicate : IPredicate - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IBehavior.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Expressions that are steps in the calculation of the result of this Function. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948400639_301251_20841", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] - [Implements(implementation: "IFunction.Expression")] - public List Expression { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - public bool IsAbstract { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether this Function can be used as the function of a model-level evaluable InvocationExpression. - /// Certain Functions from the Kernel Functions Library are considered to have isModelLevelEvaluable = - /// true. For all other Functions it is false.Note: See the specification of the KerML - /// concrete syntax notation for Expressions for an identification of which library Functions are - /// model-level evaluable. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617395221463_139517_26381", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFunction.IsModelLevelEvaluable")] - public bool IsModelLevelEvaluable { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier - /// is the subclassifier. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List OwnedSubclassification { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The parameters of this Behavior, which are defined as its directedFeatures, whose values are passed - /// into and/or out of a performance of the Behavior. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948010065_362066_20413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IBehavior.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The object or value that is the result of evaluating the Function. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948912268_88159_21323", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] - [Implements(implementation: "IFunction.Result")] - public Guid Result { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The Steps that make up this Behavior. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346067212_587255_17343", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IBehavior.Step")] - public List Step { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Functions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Decorators; + + /// + /// A Predicate is a Function whose result parameter has type Boolean and multiplicity 1..1. + /// + [Class(xmiId: "_18_5_3_12e503d9_1533160651691_194569_42171", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class Predicate : IPredicate + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IBehavior.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IBehavior.Parameter"); + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Expressions that are steps in the calculation of the result of this Function. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948400639_301251_20841", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] + [Implements(implementation: "IFunction.Expression")] + public List expression { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + public bool IsAbstract { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether this Function can be used as the function of a model-level evaluable InvocationExpression. + /// Certain Functions from the Kernel Functions Library are considered to have isModelLevelEvaluable = + /// true. For all other Functions it is false.Note: See the specification of the KerML + /// concrete syntax notation for Expressions for an identification of which library Functions are + /// model-level evaluable. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617395221463_139517_26381", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFunction.IsModelLevelEvaluable")] + public bool isModelLevelEvaluable { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier + /// is the subclassifier. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [Implements(implementation: "IClassifier.OwnedSubclassification")] + public List ownedSubclassification { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The parameters of this Behavior, which are defined as its directedFeatures, whose values are passed + /// into and/or out of a performance of the Behavior. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948010065_362066_20413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IBehavior.Parameter")] + public List parameter { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The object or value that is the result of evaluating the Function. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948912268_88159_21323", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] + [Implements(implementation: "IFunction.Result")] + public Guid result { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The Steps that make up this Behavior. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346067212_587255_17343", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IBehavior.Step")] + public List step { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/Redefinition.cs b/SysML2.NET/Core/AutoGenDto/Redefinition.cs index 6160ca54..8a83e697 100644 --- a/SysML2.NET/Core/AutoGenDto/Redefinition.cs +++ b/SysML2.NET/Core/AutoGenDto/Redefinition.cs @@ -1,344 +1,368 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Core.Features -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Decorators; - - /// - /// Redefinition is a kind of Subsetting that requires the redefinedFeature and the redefiningFeature to - /// have the same values (on each instance of the domain of the redefiningFeature). This means any - /// restrictions on the redefiningFeature, such as type or multiplicity, also apply to the - /// redefinedFeature (on each instance of the domain of the redefiningFeature), and vice versa. The - /// redefinedFeature might have values for instances of the domain of the redefiningFeature, but only as - /// instances of the domain of the redefinedFeature that happen to also be instances of the domain of - /// the redefiningFeature. This is supported by the constraints inherited from Subsetting on the domains - /// of the redefiningFeature and redefinedFeature. However, these constraints are narrowed for - /// Redefinition to require the owningTypes of the redefiningFeature and redefinedFeature to be - /// different and the redefinedFeature to not be inherited into the owningNamespace of the - /// redefiningFeature.This enables the redefiningFeature to have the same name as the redefinedFeature, - /// if desired. - /// - [Class(xmiId: "_18_5_3_12e503d9_1533160651690_251835_42168", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class Redefinition : IRedefinition - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// A Type with a superset of all instances of the specific Type, which might be the same set. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674980_563969_43273", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [RedefinedByProperty("ISubsetting.SubsettedFeature")] - [Implements(implementation: "ISpecialization.General")] - public Guid General { get; set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// A subsettingFeature that is also the owningRelatedElement of this Subsetting. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_236250_43311", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674967_140305_43206")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_573157_43226")] - [Implements(implementation: "ISubsetting.OwningFeature")] - public Guid? OwningFeature { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the specific Type of this Specialization and owns it as its owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_573157_43226", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] - [RedefinedByProperty("ISubsetting.OwningFeature")] - [Implements(implementation: "ISpecialization.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Feature that is redefined by the redefiningFeature of this Redefinition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674973_199798_43245", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_393191_43181")] - [Implements(implementation: "IRedefinition.RedefinedFeature")] - public Guid RedefinedFeature { get; set; } - - /// - /// The Feature that is redefining the redefinedFeature of this Redefinition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674958_414216_43160", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674967_140305_43206")] - [Implements(implementation: "IRedefinition.RedefiningFeature")] - public Guid RedefiningFeature { get; set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("ISpecialization.Specific")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// A Type with a subset of all instances of the general Type, which might be the same set. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674982_253967_43281", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [RedefinedByProperty("ISubsetting.SubsettingFeature")] - [Implements(implementation: "ISpecialization.Specific")] - public Guid Specific { get; set; } - - /// - /// The Feature that is subsetted by the subsettingFeature of this Subsetting. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_393191_43181", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_563969_43273")] - [RedefinedByProperty("IRedefinition.RedefinedFeature")] - [Implements(implementation: "ISubsetting.SubsettedFeature")] - public Guid SubsettedFeature { get; set; } - - /// - /// The Feature that is a subset of the subsettedFeature of this Subsetting. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674967_140305_43206", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] - [RedefinedByProperty("IRedefinition.RedefiningFeature")] - [Implements(implementation: "ISubsetting.SubsettingFeature")] - public Guid SubsettingFeature { get; set; } - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("ISpecialization.General")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Core.Features +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Decorators; + + /// + /// Redefinition is a kind of Subsetting that requires the redefinedFeature and the redefiningFeature to + /// have the same values (on each instance of the domain of the redefiningFeature). This means any + /// restrictions on the redefiningFeature, such as type or multiplicity, also apply to the + /// redefinedFeature (on each instance of the domain of the redefiningFeature), and vice versa. The + /// redefinedFeature might have values for instances of the domain of the redefiningFeature, but only as + /// instances of the domain of the redefinedFeature that happen to also be instances of the domain of + /// the redefiningFeature. This is supported by the constraints inherited from Subsetting on the domains + /// of the redefiningFeature and redefinedFeature. However, these constraints are narrowed for + /// Redefinition to require the owningTypes of the redefiningFeature and redefinedFeature to be + /// different and the redefinedFeature to not be inherited into the owningNamespace of the + /// redefiningFeature.This enables the redefiningFeature to have the same name as the redefinedFeature, + /// if desired. + /// + [Class(xmiId: "_18_5_3_12e503d9_1533160651690_251835_42168", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class Redefinition : IRedefinition + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// A Type with a superset of all instances of the specific Type, which might be the same set. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674980_563969_43273", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [RedefinedByProperty("ISubsetting.SubsettedFeature")] + [Implements(implementation: "ISpecialization.General")] + Guid Core.Types.ISpecialization.General + { + get => throw new InvalidOperationException("Redefined by property ISubsetting.SubsettedFeature"); + set => throw new InvalidOperationException("Redefined by property ISubsetting.SubsettedFeature"); + } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// A subsettingFeature that is also the owningRelatedElement of this Subsetting. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_236250_43311", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674967_140305_43206")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_573157_43226")] + [Implements(implementation: "ISubsetting.OwningFeature")] + public Guid? owningFeature { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the specific Type of this Specialization and owns it as its owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_573157_43226", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] + [RedefinedByProperty("ISubsetting.OwningFeature")] + [Implements(implementation: "ISpecialization.OwningType")] + Guid? Core.Types.ISpecialization.owningType => throw new InvalidOperationException("Redefined by property ISubsetting.OwningFeature"); + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Feature that is redefined by the redefiningFeature of this Redefinition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674973_199798_43245", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_393191_43181")] + [Implements(implementation: "IRedefinition.RedefinedFeature")] + public Guid RedefinedFeature { get; set; } + + /// + /// The Feature that is redefining the redefinedFeature of this Redefinition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674958_414216_43160", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674967_140305_43206")] + [Implements(implementation: "IRedefinition.RedefiningFeature")] + public Guid RedefiningFeature { get; set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IRelationship.RelatedElement")] + public List relatedElement { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("ISpecialization.Specific")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property ISpecialization.Specific"); + set => throw new InvalidOperationException("Redefined by property ISpecialization.Specific"); + } + + /// + /// A Type with a subset of all instances of the general Type, which might be the same set. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674982_253967_43281", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [RedefinedByProperty("ISubsetting.SubsettingFeature")] + [Implements(implementation: "ISpecialization.Specific")] + Guid Core.Types.ISpecialization.Specific + { + get => throw new InvalidOperationException("Redefined by property ISubsetting.SubsettingFeature"); + set => throw new InvalidOperationException("Redefined by property ISubsetting.SubsettingFeature"); + } + + /// + /// The Feature that is subsetted by the subsettingFeature of this Subsetting. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_393191_43181", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_563969_43273")] + [RedefinedByProperty("IRedefinition.RedefinedFeature")] + [Implements(implementation: "ISubsetting.SubsettedFeature")] + Guid ISubsetting.SubsettedFeature + { + get => throw new InvalidOperationException("Redefined by property IRedefinition.RedefinedFeature"); + set => throw new InvalidOperationException("Redefined by property IRedefinition.RedefinedFeature"); + } + + /// + /// The Feature that is a subset of the subsettedFeature of this Subsetting. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674967_140305_43206", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] + [RedefinedByProperty("IRedefinition.RedefiningFeature")] + [Implements(implementation: "ISubsetting.SubsettingFeature")] + Guid ISubsetting.SubsettingFeature + { + get => throw new InvalidOperationException("Redefined by property IRedefinition.RedefiningFeature"); + set => throw new InvalidOperationException("Redefined by property IRedefinition.RedefiningFeature"); + } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("ISpecialization.General")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property ISpecialization.General"); + set => throw new InvalidOperationException("Redefined by property ISpecialization.General"); + } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ReferenceSubsetting.cs b/SysML2.NET/Core/AutoGenDto/ReferenceSubsetting.cs index 3cbca780..cafc494b 100644 --- a/SysML2.NET/Core/AutoGenDto/ReferenceSubsetting.cs +++ b/SysML2.NET/Core/AutoGenDto/ReferenceSubsetting.cs @@ -1,340 +1,364 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Core.Features -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Decorators; - - /// - /// ReferenceSubsetting is a kind of Subsetting in which the referencedFeature is syntactically - /// distinguished from other Features subsetted by the referencingFeature. ReferenceSubsetting has the - /// same semantics as Subsetting, but the referencedFeature may have a special purpose relative to the - /// referencingFeature. For instance, ReferenceSubsetting is used to identify the relatedFeatures of a - /// Connector.ReferenceSubsetting is always an ownedRelationship of its referencingFeature. A Feature - /// can have at most one ownedReferenceSubsetting. - /// - [Class(xmiId: "_19_0_4_12e503d9_1661554793960_500657_60", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class ReferenceSubsetting : IReferenceSubsetting - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// A Type with a superset of all instances of the specific Type, which might be the same set. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674980_563969_43273", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [RedefinedByProperty("ISubsetting.SubsettedFeature")] - [Implements(implementation: "ISpecialization.General")] - public Guid General { get; set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// A subsettingFeature that is also the owningRelatedElement of this Subsetting. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_236250_43311", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674967_140305_43206")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_573157_43226")] - [RedefinedByProperty("IReferenceSubsetting.ReferencingFeature")] - [Implements(implementation: "ISubsetting.OwningFeature")] - public Guid? OwningFeature { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the specific Type of this Specialization and owns it as its owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_573157_43226", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] - [RedefinedByProperty("ISubsetting.OwningFeature")] - [Implements(implementation: "ISpecialization.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Feature that is referenced by the referencingFeature of this ReferenceSubsetting. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555055089_291547_207", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_393191_43181")] - [Implements(implementation: "IReferenceSubsetting.ReferencedFeature")] - public Guid ReferencedFeature { get; set; } - - /// - /// The Feature that owns this ReferenceSubsetting relationship, which is also its subsettingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161575_539076_256", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_236250_43311")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674967_140305_43206")] - [Implements(implementation: "IReferenceSubsetting.ReferencingFeature")] - public Guid ReferencingFeature { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("ISpecialization.Specific")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// A Type with a subset of all instances of the general Type, which might be the same set. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674982_253967_43281", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [RedefinedByProperty("ISubsetting.SubsettingFeature")] - [Implements(implementation: "ISpecialization.Specific")] - public Guid Specific { get; set; } - - /// - /// The Feature that is subsetted by the subsettingFeature of this Subsetting. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_393191_43181", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_563969_43273")] - [RedefinedByProperty("IReferenceSubsetting.ReferencedFeature")] - [Implements(implementation: "ISubsetting.SubsettedFeature")] - public Guid SubsettedFeature { get; set; } - - /// - /// The Feature that is a subset of the subsettedFeature of this Subsetting. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674967_140305_43206", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] - [RedefinedByProperty("IReferenceSubsetting.ReferencingFeature")] - [Implements(implementation: "ISubsetting.SubsettingFeature")] - public Guid SubsettingFeature { get; set; } - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("ISpecialization.General")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Core.Features +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Decorators; + + /// + /// ReferenceSubsetting is a kind of Subsetting in which the referencedFeature is syntactically + /// distinguished from other Features subsetted by the referencingFeature. ReferenceSubsetting has the + /// same semantics as Subsetting, but the referencedFeature may have a special purpose relative to the + /// referencingFeature. For instance, ReferenceSubsetting is used to identify the relatedFeatures of a + /// Connector.ReferenceSubsetting is always an ownedRelationship of its referencingFeature. A Feature + /// can have at most one ownedReferenceSubsetting. + /// + [Class(xmiId: "_19_0_4_12e503d9_1661554793960_500657_60", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class ReferenceSubsetting : IReferenceSubsetting + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// A Type with a superset of all instances of the specific Type, which might be the same set. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674980_563969_43273", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [RedefinedByProperty("ISubsetting.SubsettedFeature")] + [Implements(implementation: "ISpecialization.General")] + Guid Core.Types.ISpecialization.General + { + get => throw new InvalidOperationException("Redefined by property ISubsetting.SubsettedFeature"); + set => throw new InvalidOperationException("Redefined by property ISubsetting.SubsettedFeature"); + } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// A subsettingFeature that is also the owningRelatedElement of this Subsetting. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_236250_43311", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674967_140305_43206")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_573157_43226")] + [RedefinedByProperty("IReferenceSubsetting.ReferencingFeature")] + [Implements(implementation: "ISubsetting.OwningFeature")] + Guid? ISubsetting.owningFeature => throw new InvalidOperationException("Redefined by property IReferenceSubsetting.ReferencingFeature"); + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the specific Type of this Specialization and owns it as its owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_573157_43226", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] + [RedefinedByProperty("ISubsetting.OwningFeature")] + [Implements(implementation: "ISpecialization.OwningType")] + Guid? Core.Types.ISpecialization.owningType => throw new InvalidOperationException("Redefined by property ISubsetting.OwningFeature"); + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Feature that is referenced by the referencingFeature of this ReferenceSubsetting. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555055089_291547_207", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_393191_43181")] + [Implements(implementation: "IReferenceSubsetting.ReferencedFeature")] + public Guid ReferencedFeature { get; set; } + + /// + /// The Feature that owns this ReferenceSubsetting relationship, which is also its subsettingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161575_539076_256", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_236250_43311")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674967_140305_43206")] + [Implements(implementation: "IReferenceSubsetting.ReferencingFeature")] + public Guid referencingFeature { get; internal set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IRelationship.RelatedElement")] + public List relatedElement { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("ISpecialization.Specific")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property ISpecialization.Specific"); + set => throw new InvalidOperationException("Redefined by property ISpecialization.Specific"); + } + + /// + /// A Type with a subset of all instances of the general Type, which might be the same set. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674982_253967_43281", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [RedefinedByProperty("ISubsetting.SubsettingFeature")] + [Implements(implementation: "ISpecialization.Specific")] + Guid Core.Types.ISpecialization.Specific + { + get => throw new InvalidOperationException("Redefined by property ISubsetting.SubsettingFeature"); + set => throw new InvalidOperationException("Redefined by property ISubsetting.SubsettingFeature"); + } + + /// + /// The Feature that is subsetted by the subsettingFeature of this Subsetting. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_393191_43181", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_563969_43273")] + [RedefinedByProperty("IReferenceSubsetting.ReferencedFeature")] + [Implements(implementation: "ISubsetting.SubsettedFeature")] + Guid ISubsetting.SubsettedFeature + { + get => throw new InvalidOperationException("Redefined by property IReferenceSubsetting.ReferencedFeature"); + set => throw new InvalidOperationException("Redefined by property IReferenceSubsetting.ReferencedFeature"); + } + + /// + /// The Feature that is a subset of the subsettedFeature of this Subsetting. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674967_140305_43206", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] + [RedefinedByProperty("IReferenceSubsetting.ReferencingFeature")] + [Implements(implementation: "ISubsetting.SubsettingFeature")] + Guid ISubsetting.SubsettingFeature + { + get => throw new InvalidOperationException("Redefined by property IReferenceSubsetting.ReferencingFeature"); + set => throw new InvalidOperationException("Redefined by property IReferenceSubsetting.ReferencingFeature"); + } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("ISpecialization.General")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property ISpecialization.General"); + set => throw new InvalidOperationException("Redefined by property ISpecialization.General"); + } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ReferenceUsage.cs b/SysML2.NET/Core/AutoGenDto/ReferenceUsage.cs index 0aaa48a2..0a9a4b15 100644 --- a/SysML2.NET/Core/AutoGenDto/ReferenceUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/ReferenceUsage.cs @@ -1,1045 +1,1049 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.DefinitionAndUsage -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Decorators; - - /// - /// A ReferenceUsage is a Usage that specifies a non-compositional (isComposite = false) reference to - /// something. The definition of a ReferenceUsage can be any kind of Classifier, with the default being - /// the top-level Classifier Base::Anything from the Kernel Semantic Library. This allows the - /// specification of a generic reference without distinguishing if the thing referenced is an attribute - /// value, item, action, etc. - /// - [Class(xmiId: "_19_0_2_12e503d9_1591477377905_618531_857", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class ReferenceUsage : IReferenceUsage - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds - /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [Implements(implementation: "IUsage.Definition")] - public List Definition { get; internal set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Usage that are directedFeatures. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - public bool IsPortion { get; set; } - - /// - /// Always true for a ReferenceUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624035133434_200283_41434", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1624035114787_488767_41423")] - [Implements(implementation: "IReferenceUsage.IsReference")] - bool IReferenceUsage.IsReference { get; } - - /// - /// Whether this Usage is a referential Usage, that is, it has isComposite = false. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IReferenceUsage.IsReference")] - [Implements(implementation: "IUsage.IsReference")] - bool IUsage.IsReference { get; } - - /// - /// 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [RedefinedByProperty("IUsage.MayTimeVary")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage - /// must be VariantMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its - /// owningType, rather than being featured by the owningType itself). However, if isConstant is also - /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance - /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary - /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is - /// inherited from Feature. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] - [Implements(implementation: "IUsage.MayTimeVary")] - public bool MayTimeVary { get; internal set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ActionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedAction")] - public List NestedAction { get; internal set; } - - /// - /// The AllocationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedAllocation")] - public List NestedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List NestedAnalysisCase { get; internal set; } - - /// - /// The code>AttributeUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedAttribute")] - public List NestedAttribute { get; internal set; } - - /// - /// The CalculationUsage that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedCalculation")] - public List NestedCalculation { get; internal set; } - - /// - /// The CaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] - [Implements(implementation: "IUsage.NestedCase")] - public List NestedCase { get; internal set; } - - /// - /// The ConcernUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedConcern")] - public List NestedConcern { get; internal set; } - - /// - /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are - /// ConnectorAsUsages even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedConnection")] - public List NestedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedConstraint")] - public List NestedConstraint { get; internal set; } - - /// - /// The code>EnumerationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] - [Implements(implementation: "IUsage.NestedEnumeration")] - public List NestedEnumeration { get; internal set; } - - /// - /// The code>FlowUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedFlow")] - public List NestedFlow { get; internal set; } - - /// - /// The InterfaceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedInterface")] - public List NestedInterface { get; internal set; } - - /// - /// The ItemUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedItem")] - public List NestedItem { get; internal set; } - - /// - /// The MetadataUsages that are nestedUsages of this of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedMetadata")] - public List NestedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedOccurrence")] - public List NestedOccurrence { get; internal set; } - - /// - /// The PartUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedPart")] - public List NestedPart { get; internal set; } - - /// - /// The PortUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedPort")] - public List NestedPort { get; internal set; } - - /// - /// The ReferenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedReference")] - public List NestedReference { get; internal set; } - - /// - /// The RenderingUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedRendering")] - public List NestedRendering { get; internal set; } - - /// - /// The RequirementUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] - [Implements(implementation: "IUsage.NestedRequirement")] - public List NestedRequirement { get; internal set; } - - /// - /// The StateUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedState")] - public List NestedState { get; internal set; } - - /// - /// The TransitionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedTransition")] - public List NestedTransition { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.NestedUsage")] - public List NestedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedUseCase")] - public List NestedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedVerificationCase")] - public List NestedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedView")] - public List NestedView { get; internal set; } - - /// - /// The ViewpointUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedViewpoint")] - public List NestedViewpoint { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The Definition that owns this Usage (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] - [Implements(implementation: "IUsage.OwningDefinition")] - public Guid? OwningDefinition { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The Usage in which this Usage is nested (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IUsage.OwningUsage")] - public Guid? OwningUsage { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IUsage.Definition")] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Usage (not necessarily owned). - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IUsage.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = - /// true. If isVariation = false, then there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IUsage.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this - /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IUsage.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.DefinitionAndUsage +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Decorators; + + /// + /// A ReferenceUsage is a Usage that specifies a non-compositional (isComposite = false) reference to + /// something. The definition of a ReferenceUsage can be any kind of Classifier, with the default being + /// the top-level Classifier Base::Anything from the Kernel Semantic Library. This allows the + /// specification of a generic reference without distinguishing if the thing referenced is an attribute + /// value, item, action, etc. + /// + [Class(xmiId: "_19_0_2_12e503d9_1591477377905_618531_857", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class ReferenceUsage : IReferenceUsage + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds + /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [Implements(implementation: "IUsage.Definition")] + public List definition { get; internal set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.DirectedFeature")] + public List directedFeature { get; internal set; } + + /// + /// The usages of this Usage that are directedFeatures. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + public bool IsPortion { get; set; } + + /// + /// Always true for a ReferenceUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624035133434_200283_41434", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1624035114787_488767_41423")] + [Implements(implementation: "IReferenceUsage.IsReference")] + public bool isReference { get; internal set; } + + /// + /// Whether this Usage is a referential Usage, that is, it has isComposite = false. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IReferenceUsage.IsReference")] + [Implements(implementation: "IUsage.IsReference")] + bool IUsage.isReference => throw new InvalidOperationException("Redefined by property IReferenceUsage.IsReference"); + + /// + /// 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [RedefinedByProperty("IUsage.MayTimeVary")] + [Implements(implementation: "IFeature.IsVariable")] + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } + + /// + /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage + /// must be VariantMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its + /// owningType, rather than being featured by the owningType itself). However, if isConstant is also + /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance + /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary + /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is + /// inherited from Feature. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] + [Implements(implementation: "IUsage.MayTimeVary")] + public bool mayTimeVary { get; internal set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ActionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedAction")] + public List nestedAction { get; internal set; } + + /// + /// The AllocationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedAllocation")] + public List nestedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedAnalysisCase")] + public List nestedAnalysisCase { get; internal set; } + + /// + /// The code>AttributeUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedAttribute")] + public List nestedAttribute { get; internal set; } + + /// + /// The CalculationUsage that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedCalculation")] + public List nestedCalculation { get; internal set; } + + /// + /// The CaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] + [Implements(implementation: "IUsage.NestedCase")] + public List nestedCase { get; internal set; } + + /// + /// The ConcernUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedConcern")] + public List nestedConcern { get; internal set; } + + /// + /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are + /// ConnectorAsUsages even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedConnection")] + public List nestedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedConstraint")] + public List nestedConstraint { get; internal set; } + + /// + /// The code>EnumerationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] + [Implements(implementation: "IUsage.NestedEnumeration")] + public List nestedEnumeration { get; internal set; } + + /// + /// The code>FlowUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedFlow")] + public List nestedFlow { get; internal set; } + + /// + /// The InterfaceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedInterface")] + public List nestedInterface { get; internal set; } + + /// + /// The ItemUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedItem")] + public List nestedItem { get; internal set; } + + /// + /// The MetadataUsages that are nestedUsages of this of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedMetadata")] + public List nestedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedOccurrence")] + public List nestedOccurrence { get; internal set; } + + /// + /// The PartUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedPart")] + public List nestedPart { get; internal set; } + + /// + /// The PortUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedPort")] + public List nestedPort { get; internal set; } + + /// + /// The ReferenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedReference")] + public List nestedReference { get; internal set; } + + /// + /// The RenderingUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedRendering")] + public List nestedRendering { get; internal set; } + + /// + /// The RequirementUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] + [Implements(implementation: "IUsage.NestedRequirement")] + public List nestedRequirement { get; internal set; } + + /// + /// The StateUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedState")] + public List nestedState { get; internal set; } + + /// + /// The TransitionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedTransition")] + public List nestedTransition { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.NestedUsage")] + public List nestedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedUseCase")] + public List nestedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedVerificationCase")] + public List nestedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedView")] + public List nestedView { get; internal set; } + + /// + /// The ViewpointUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedViewpoint")] + public List nestedViewpoint { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The Definition that owns this Usage (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] + [Implements(implementation: "IUsage.OwningDefinition")] + public Guid? owningDefinition { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The Usage in which this Usage is nested (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IUsage.OwningUsage")] + public Guid? owningUsage { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IUsage.Definition")] + [Implements(implementation: "IFeature.Type")] + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Usage (not necessarily owned). + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IUsage.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = + /// true. If isVariation = false, then there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IUsage.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this + /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IUsage.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/RenderingDefinition.cs b/SysML2.NET/Core/AutoGenDto/RenderingDefinition.cs index 20ad34cc..d4e21447 100644 --- a/SysML2.NET/Core/AutoGenDto/RenderingDefinition.cs +++ b/SysML2.NET/Core/AutoGenDto/RenderingDefinition.cs @@ -1,779 +1,779 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Views -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Systems.Parts; - using SysML2.NET.Decorators; - - /// - /// A RenderingDefinition is a PartDefinition that defines a specific rendering of the content of a - /// model view (e.g., symbols, style, layout, etc.). - /// - [Class(xmiId: "_19_0_2_12e503d9_1596657122569_397556_4766", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class RenderingDefinition : IRenderingDefinition - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Definition that are directedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565495064714_974634_26150", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IDefinition.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - public bool IsAbstract { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceDefinition is constrained to represent at most one thing. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618955405499_394357_6740", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceDefinition.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IDefinition.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ActionUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedAction")] - public List OwnedAction { get; internal set; } - - /// - /// The AllocationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedAllocation")] - public List OwnedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List OwnedAnalysisCase { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The AttributeUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedAttribute")] - public List OwnedAttribute { get; internal set; } - - /// - /// The CalculationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - [Implements(implementation: "IDefinition.OwnedCalculation")] - public List OwnedCalculation { get; internal set; } - - /// - /// The code>CaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] - [Implements(implementation: "IDefinition.OwnedCase")] - public List OwnedCase { get; internal set; } - - /// - /// The ConcernUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - [Implements(implementation: "IDefinition.OwnedConcern")] - public List OwnedConcern { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowUsages because these are ConnectorAsUsages - /// even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedConnection")] - public List OwnedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedConstraint")] - public List OwnedConstraint { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The EnumerationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] - [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List OwnedEnumeration { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The FlowUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedFlow")] - public List OwnedFlow { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The InterfaceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedInterface")] - public List OwnedInterface { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The ItemUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedItem")] - public List OwnedItem { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The MetadataUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - [Implements(implementation: "IDefinition.OwnedMetadata")] - public List OwnedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List OwnedOccurrence { get; internal set; } - - /// - /// The PartUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - [Implements(implementation: "IDefinition.OwnedPart")] - public List OwnedPart { get; internal set; } - - /// - /// The PortUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedPort")] - public List OwnedPort { get; internal set; } - - /// - /// The ReferenceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedReference")] - public List OwnedReference { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The RenderingUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - [Implements(implementation: "IDefinition.OwnedRendering")] - public List OwnedRendering { get; internal set; } - - /// - /// The RequirementUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] - [Implements(implementation: "IDefinition.OwnedRequirement")] - public List OwnedRequirement { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The StateUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - [Implements(implementation: "IDefinition.OwnedState")] - public List OwnedState { get; internal set; } - - /// - /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier - /// is the subclassifier. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List OwnedSubclassification { get; internal set; } - - /// - /// The TransitionUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedTransition")] - public List OwnedTransition { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Definition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686637_967933_23236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IDefinition.OwnedUsage")] - public List OwnedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedUseCase")] - public List OwnedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List OwnedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - [Implements(implementation: "IDefinition.OwnedView")] - public List OwnedView { get; internal set; } - - /// - /// The ViewpointUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List OwnedViewpoint { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The usages of a RenderingDefinition that are RenderingUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741367270_249607_6373", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IRenderingDefinition.Rendering")] - public List Rendering { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Definition (not necessarily owned). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IDefinition.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Definition as a variation point Definition, if - /// isVariation = true. If isVariation = false, the there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IDefinition.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then - /// this must be all ownedMemberships of the Definition. If isVariation = false, then - /// variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IDefinition.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Views +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Systems.Parts; + using SysML2.NET.Decorators; + + /// + /// A RenderingDefinition is a PartDefinition that defines a specific rendering of the content of a + /// model view (e.g., symbols, style, layout, etc.). + /// + [Class(xmiId: "_19_0_2_12e503d9_1596657122569_397556_4766", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class RenderingDefinition : IRenderingDefinition + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.DirectedFeature")] + public List directedFeature { get; internal set; } + + /// + /// The usages of this Definition that are directedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565495064714_974634_26150", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IDefinition.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + public bool IsAbstract { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceDefinition is constrained to represent at most one thing. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618955405499_394357_6740", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceDefinition.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IDefinition.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ActionUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedAction")] + public List ownedAction { get; internal set; } + + /// + /// The AllocationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedAllocation")] + public List ownedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedAnalysisCase")] + public List ownedAnalysisCase { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The AttributeUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedAttribute")] + public List ownedAttribute { get; internal set; } + + /// + /// The CalculationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] + [Implements(implementation: "IDefinition.OwnedCalculation")] + public List ownedCalculation { get; internal set; } + + /// + /// The code>CaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] + [Implements(implementation: "IDefinition.OwnedCase")] + public List ownedCase { get; internal set; } + + /// + /// The ConcernUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + [Implements(implementation: "IDefinition.OwnedConcern")] + public List ownedConcern { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowUsages because these are ConnectorAsUsages + /// even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedConnection")] + public List ownedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedConstraint")] + public List ownedConstraint { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The EnumerationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] + [Implements(implementation: "IDefinition.OwnedEnumeration")] + public List ownedEnumeration { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The FlowUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedFlow")] + public List ownedFlow { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The InterfaceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedInterface")] + public List ownedInterface { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The ItemUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedItem")] + public List ownedItem { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The MetadataUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] + [Implements(implementation: "IDefinition.OwnedMetadata")] + public List ownedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedOccurrence")] + public List ownedOccurrence { get; internal set; } + + /// + /// The PartUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] + [Implements(implementation: "IDefinition.OwnedPart")] + public List ownedPart { get; internal set; } + + /// + /// The PortUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedPort")] + public List ownedPort { get; internal set; } + + /// + /// The ReferenceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedReference")] + public List ownedReference { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The RenderingUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] + [Implements(implementation: "IDefinition.OwnedRendering")] + public List ownedRendering { get; internal set; } + + /// + /// The RequirementUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] + [Implements(implementation: "IDefinition.OwnedRequirement")] + public List ownedRequirement { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The StateUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] + [Implements(implementation: "IDefinition.OwnedState")] + public List ownedState { get; internal set; } + + /// + /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier + /// is the subclassifier. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [Implements(implementation: "IClassifier.OwnedSubclassification")] + public List ownedSubclassification { get; internal set; } + + /// + /// The TransitionUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedTransition")] + public List ownedTransition { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Definition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686637_967933_23236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IDefinition.OwnedUsage")] + public List ownedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedUseCase")] + public List ownedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedVerificationCase")] + public List ownedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] + [Implements(implementation: "IDefinition.OwnedView")] + public List ownedView { get; internal set; } + + /// + /// The ViewpointUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + [Implements(implementation: "IDefinition.OwnedViewpoint")] + public List ownedViewpoint { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The usages of a RenderingDefinition that are RenderingUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741367270_249607_6373", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IRenderingDefinition.Rendering")] + public List rendering { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Definition (not necessarily owned). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IDefinition.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Definition as a variation point Definition, if + /// isVariation = true. If isVariation = false, the there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IDefinition.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then + /// this must be all ownedMemberships of the Definition. If isVariation = false, then + /// variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IDefinition.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/RenderingUsage.cs b/SysML2.NET/Core/AutoGenDto/RenderingUsage.cs index 03fcf8ee..0777cef6 100644 --- a/SysML2.NET/Core/AutoGenDto/RenderingUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/RenderingUsage.cs @@ -1,1098 +1,1102 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Views -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Core.DTO.Systems.Parts; - using SysML2.NET.Decorators; - - /// - /// A RenderingUsage is the usage of a RenderingDefinition to specify the rendering of a specific model - /// view to produce a physical view artifact. - /// - [Class(xmiId: "_19_0_2_12e503d9_1596657138882_432286_4810", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class RenderingUsage : IRenderingUsage - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds - /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] - [Implements(implementation: "IUsage.Definition")] - public List Definition { get; internal set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Usage that are directedFeatures. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// The at most one occurrenceDefinition that has isIndividual = true. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public Guid? IndividualDefinition { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its - /// individualDefinition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceUsage.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - public bool IsPortion { get; set; } - - /// - /// Whether this Usage is a referential Usage, that is, it has isComposite = false. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsReference")] - public bool IsReference { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [RedefinedByProperty("IUsage.MayTimeVary")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage - /// must be VariantMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// The Structures that are the definitions of this ItemUsage. Nominally, these are ItemDefinitions, but - /// other kinds of Kernel Structures are also allowed, to permit use of Structures from the Kernel - /// Library. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565471361757_649736_20796", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IItemUsage.ItemDefinition")] - public List ItemDefinition { get; internal set; } - - /// - /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its - /// owningType, rather than being featured by the owningType itself). However, if isConstant is also - /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance - /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary - /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is - /// inherited from Feature. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] - [Implements(implementation: "IUsage.MayTimeVary")] - public bool MayTimeVary { get; internal set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ActionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedAction")] - public List NestedAction { get; internal set; } - - /// - /// The AllocationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedAllocation")] - public List NestedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List NestedAnalysisCase { get; internal set; } - - /// - /// The code>AttributeUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedAttribute")] - public List NestedAttribute { get; internal set; } - - /// - /// The CalculationUsage that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedCalculation")] - public List NestedCalculation { get; internal set; } - - /// - /// The CaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] - [Implements(implementation: "IUsage.NestedCase")] - public List NestedCase { get; internal set; } - - /// - /// The ConcernUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedConcern")] - public List NestedConcern { get; internal set; } - - /// - /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are - /// ConnectorAsUsages even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedConnection")] - public List NestedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedConstraint")] - public List NestedConstraint { get; internal set; } - - /// - /// The code>EnumerationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] - [Implements(implementation: "IUsage.NestedEnumeration")] - public List NestedEnumeration { get; internal set; } - - /// - /// The code>FlowUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedFlow")] - public List NestedFlow { get; internal set; } - - /// - /// The InterfaceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedInterface")] - public List NestedInterface { get; internal set; } - - /// - /// The ItemUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedItem")] - public List NestedItem { get; internal set; } - - /// - /// The MetadataUsages that are nestedUsages of this of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedMetadata")] - public List NestedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedOccurrence")] - public List NestedOccurrence { get; internal set; } - - /// - /// The PartUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedPart")] - public List NestedPart { get; internal set; } - - /// - /// The PortUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedPort")] - public List NestedPort { get; internal set; } - - /// - /// The ReferenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedReference")] - public List NestedReference { get; internal set; } - - /// - /// The RenderingUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedRendering")] - public List NestedRendering { get; internal set; } - - /// - /// The RequirementUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] - [Implements(implementation: "IUsage.NestedRequirement")] - public List NestedRequirement { get; internal set; } - - /// - /// The StateUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedState")] - public List NestedState { get; internal set; } - - /// - /// The TransitionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedTransition")] - public List NestedTransition { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.NestedUsage")] - public List NestedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedUseCase")] - public List NestedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedVerificationCase")] - public List NestedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedView")] - public List NestedView { get; internal set; } - - /// - /// The ViewpointUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedViewpoint")] - public List NestedViewpoint { get; internal set; } - - /// - /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, - /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] - [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List OccurrenceDefinition { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The Definition that owns this Usage (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] - [Implements(implementation: "IUsage.OwningDefinition")] - public Guid? OwningDefinition { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The Usage in which this Usage is nested (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IUsage.OwningUsage")] - public Guid? OwningUsage { get; internal set; } - - /// - /// The itemDefinitions of this PartUsage that are PartDefinitions. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591475180488_929065_121", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565471361757_649736_20796")] - [RedefinedByProperty("IRenderingUsage.RenderingDefinition")] - [Implements(implementation: "IPartUsage.PartDefinition")] - public List PartDefinition { get; internal set; } - - /// - /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If - /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the - /// OccurrenceUsage represents portions of the featuring instance of the owningType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IOccurrenceUsage.PortionKind")] - public PortionKind? PortionKind { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The RenderingDefinition that is the definition of this RenderingUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741320785_268295_6306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591475180488_929065_121")] - [Implements(implementation: "IRenderingUsage.RenderingDefinition")] - public Guid? RenderingDefinition { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IUsage.Definition")] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Usage (not necessarily owned). - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IUsage.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = - /// true. If isVariation = false, then there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IUsage.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this - /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IUsage.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Views +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Core.DTO.Systems.Parts; + using SysML2.NET.Decorators; + + /// + /// A RenderingUsage is the usage of a RenderingDefinition to specify the rendering of a specific model + /// view to produce a physical view artifact. + /// + [Class(xmiId: "_19_0_2_12e503d9_1596657138882_432286_4810", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class RenderingUsage : IRenderingUsage + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds + /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] + [Implements(implementation: "IUsage.Definition")] + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.DirectedFeature")] + public List directedFeature { get; internal set; } + + /// + /// The usages of this Usage that are directedFeatures. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// The at most one occurrenceDefinition that has isIndividual = true. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] + public Guid? individualDefinition { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its + /// individualDefinition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceUsage.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + public bool IsPortion { get; set; } + + /// + /// Whether this Usage is a referential Usage, that is, it has isComposite = false. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsReference")] + public bool isReference { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [RedefinedByProperty("IUsage.MayTimeVary")] + [Implements(implementation: "IFeature.IsVariable")] + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } + + /// + /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage + /// must be VariantMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// The Structures that are the definitions of this ItemUsage. Nominally, these are ItemDefinitions, but + /// other kinds of Kernel Structures are also allowed, to permit use of Structures from the Kernel + /// Library. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565471361757_649736_20796", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IItemUsage.ItemDefinition")] + public List itemDefinition { get; internal set; } + + /// + /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its + /// owningType, rather than being featured by the owningType itself). However, if isConstant is also + /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance + /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary + /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is + /// inherited from Feature. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] + [Implements(implementation: "IUsage.MayTimeVary")] + public bool mayTimeVary { get; internal set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ActionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedAction")] + public List nestedAction { get; internal set; } + + /// + /// The AllocationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedAllocation")] + public List nestedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedAnalysisCase")] + public List nestedAnalysisCase { get; internal set; } + + /// + /// The code>AttributeUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedAttribute")] + public List nestedAttribute { get; internal set; } + + /// + /// The CalculationUsage that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedCalculation")] + public List nestedCalculation { get; internal set; } + + /// + /// The CaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] + [Implements(implementation: "IUsage.NestedCase")] + public List nestedCase { get; internal set; } + + /// + /// The ConcernUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedConcern")] + public List nestedConcern { get; internal set; } + + /// + /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are + /// ConnectorAsUsages even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedConnection")] + public List nestedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedConstraint")] + public List nestedConstraint { get; internal set; } + + /// + /// The code>EnumerationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] + [Implements(implementation: "IUsage.NestedEnumeration")] + public List nestedEnumeration { get; internal set; } + + /// + /// The code>FlowUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedFlow")] + public List nestedFlow { get; internal set; } + + /// + /// The InterfaceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedInterface")] + public List nestedInterface { get; internal set; } + + /// + /// The ItemUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedItem")] + public List nestedItem { get; internal set; } + + /// + /// The MetadataUsages that are nestedUsages of this of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedMetadata")] + public List nestedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedOccurrence")] + public List nestedOccurrence { get; internal set; } + + /// + /// The PartUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedPart")] + public List nestedPart { get; internal set; } + + /// + /// The PortUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedPort")] + public List nestedPort { get; internal set; } + + /// + /// The ReferenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedReference")] + public List nestedReference { get; internal set; } + + /// + /// The RenderingUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedRendering")] + public List nestedRendering { get; internal set; } + + /// + /// The RequirementUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] + [Implements(implementation: "IUsage.NestedRequirement")] + public List nestedRequirement { get; internal set; } + + /// + /// The StateUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedState")] + public List nestedState { get; internal set; } + + /// + /// The TransitionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedTransition")] + public List nestedTransition { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.NestedUsage")] + public List nestedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedUseCase")] + public List nestedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedVerificationCase")] + public List nestedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedView")] + public List nestedView { get; internal set; } + + /// + /// The ViewpointUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedViewpoint")] + public List nestedViewpoint { get; internal set; } + + /// + /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, + /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] + [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] + public List occurrenceDefinition { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The Definition that owns this Usage (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] + [Implements(implementation: "IUsage.OwningDefinition")] + public Guid? owningDefinition { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The Usage in which this Usage is nested (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IUsage.OwningUsage")] + public Guid? owningUsage { get; internal set; } + + /// + /// The itemDefinitions of this PartUsage that are PartDefinitions. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591475180488_929065_121", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565471361757_649736_20796")] + [RedefinedByProperty("IRenderingUsage.RenderingDefinition")] + [Implements(implementation: "IPartUsage.PartDefinition")] + List Systems.Parts.IPartUsage.partDefinition => throw new InvalidOperationException("Redefined by property IRenderingUsage.RenderingDefinition"); + + /// + /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If + /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the + /// OccurrenceUsage represents portions of the featuring instance of the owningType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IOccurrenceUsage.PortionKind")] + public PortionKind? PortionKind { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The RenderingDefinition that is the definition of this RenderingUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741320785_268295_6306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591475180488_929065_121")] + [Implements(implementation: "IRenderingUsage.RenderingDefinition")] + public Guid? renderingDefinition { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IUsage.Definition")] + [Implements(implementation: "IFeature.Type")] + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Usage (not necessarily owned). + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IUsage.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = + /// true. If isVariation = false, then there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IUsage.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this + /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IUsage.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/RequirementConstraintMembership.cs b/SysML2.NET/Core/AutoGenDto/RequirementConstraintMembership.cs index e95c6dde..cfffbe69 100644 --- a/SysML2.NET/Core/AutoGenDto/RequirementConstraintMembership.cs +++ b/SysML2.NET/Core/AutoGenDto/RequirementConstraintMembership.cs @@ -1,396 +1,416 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Requirements -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Root.Namespaces; - using SysML2.NET.Core.Systems.Requirements; - using SysML2.NET.Core.DTO.Core.Types; - using SysML2.NET.Decorators; - - /// - /// A RequirementConstraintMembership is a FeatureMembership for an assumed or required ConstraintUsage - /// of a RequirementDefinition or RequirementUsage. - /// - [Class(xmiId: "_19_0_2_12e503d9_1584048032876_657748_336", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class RequirementConstraintMembership : IRequirementConstraintMembership - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether the RequirementConstraintMembership is for an assumed or required ConstraintUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1584048161309_821854_390", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IRequirementConstraintMembership.Kind")] - public RequirementConstraintKind Kind { get; set; } - - /// - /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_819490_43195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] - [Implements(implementation: "IMembership.MemberElement")] - public Guid MemberElement { get; set; } - - /// - /// The elementId of the memberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] - [Implements(implementation: "IMembership.MemberElementId")] - public string MemberElementId { get; internal set; } - - /// - /// The name of the memberElement relative to the membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberName")] - [Implements(implementation: "IMembership.MemberName")] - public string MemberName { get; set; } - - /// - /// The Namespace of which the memberElement becomes a member due to this Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_193857_43197", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_531296_43182")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [RedefinedByProperty("IFeatureMembership.OwningType")] - [Implements(implementation: "IMembership.MembershipOwningNamespace")] - public Guid MembershipOwningNamespace { get; internal set; } - - /// - /// The short name of the memberElement relative to the membershipOwningNamespace. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] - [Implements(implementation: "IMembership.MemberShortName")] - public string MemberShortName { get; set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The ConstraintUsage that is the ownedMemberFeature of this RequirementConstraintMembership. - /// - [Property(xmiId: "_19_0_2_12e503d9_1584048366950_985767_426", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] - [Implements(implementation: "IRequirementConstraintMembership.OwnedConstraint")] - public Guid OwnedConstraint { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this - /// OwningMembership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_501750_43196", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_59873_43302")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] - [RedefinedByProperty("IFeatureMembership.OwnedMemberFeature")] - [Implements(implementation: "IOwningMembership.OwnedMemberElement")] - public Guid OwnedMemberElement { get; internal set; } - - /// - /// The elementId of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] - [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] - public string OwnedMemberElementId { get; internal set; } - - /// - /// The Feature that this FeatureMembership relates to its owningType, making it an ownedFeature of the - /// owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_898044_43344", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] - [RedefinedByProperty("IRequirementConstraintMembership.OwnedConstraint")] - [Implements(implementation: "IFeatureMembership.OwnedMemberFeature")] - public Guid OwnedMemberFeature { get; internal set; } - - /// - /// The name of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] - [Implements(implementation: "IOwningMembership.OwnedMemberName")] - public string OwnedMemberName { get; internal set; } - - /// - /// The shortName of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] - [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] - public string OwnedMemberShortName { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that owns this FeatureMembership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_418504_43339", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866524_738482_486")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] - [Implements(implementation: "IFeatureMembership.OwningType")] - public Guid OwningType { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The ConstraintUsage that is referenced through this RequirementConstraintMembership. It is the - /// referencedFeature of the ownedReferenceSubsetting of the ownedConstraint, if there is one, and, - /// otherwise, the ownedConstraint itself. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617118807597_77864_3544", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IRequirementConstraintMembership.ReferencedConstraint")] - public Guid ReferencedConstraint { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IMembership.MembershipOwningNamespace")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IMembership.MemberElement")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly - /// visible outside that Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_42975_43193", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "public")] - [Implements(implementation: "IMembership.Visibility")] - public VisibilityKind Visibility { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Requirements +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Root.Namespaces; + using SysML2.NET.Core.Systems.Requirements; + using SysML2.NET.Core.DTO.Core.Types; + using SysML2.NET.Decorators; + + /// + /// A RequirementConstraintMembership is a FeatureMembership for an assumed or required ConstraintUsage + /// of a RequirementDefinition or RequirementUsage. + /// + [Class(xmiId: "_19_0_2_12e503d9_1584048032876_657748_336", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class RequirementConstraintMembership : IRequirementConstraintMembership + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether the RequirementConstraintMembership is for an assumed or required ConstraintUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1584048161309_821854_390", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IRequirementConstraintMembership.Kind")] + public RequirementConstraintKind Kind { get; set; } + + /// + /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_819490_43195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] + [Implements(implementation: "IMembership.MemberElement")] + Guid Root.Namespaces.IMembership.MemberElement + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + } + + /// + /// The elementId of the memberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] + [Implements(implementation: "IMembership.MemberElementId")] + string Root.Namespaces.IMembership.memberElementId => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElementId"); + + /// + /// The name of the memberElement relative to the membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberName")] + [Implements(implementation: "IMembership.MemberName")] + string Root.Namespaces.IMembership.MemberName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + } + + /// + /// The Namespace of which the memberElement becomes a member due to this Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_193857_43197", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_531296_43182")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [RedefinedByProperty("IFeatureMembership.OwningType")] + [Implements(implementation: "IMembership.MembershipOwningNamespace")] + Guid Root.Namespaces.IMembership.membershipOwningNamespace => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwningType"); + + /// + /// The short name of the memberElement relative to the membershipOwningNamespace. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] + [Implements(implementation: "IMembership.MemberShortName")] + string Root.Namespaces.IMembership.MemberShortName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The ConstraintUsage that is the ownedMemberFeature of this RequirementConstraintMembership. + /// + [Property(xmiId: "_19_0_2_12e503d9_1584048366950_985767_426", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] + [Implements(implementation: "IRequirementConstraintMembership.OwnedConstraint")] + public Guid ownedConstraint { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this + /// OwningMembership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_501750_43196", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_59873_43302")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] + [RedefinedByProperty("IFeatureMembership.OwnedMemberFeature")] + [Implements(implementation: "IOwningMembership.OwnedMemberElement")] + Guid Root.Namespaces.IOwningMembership.ownedMemberElement => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwnedMemberFeature"); + + /// + /// The elementId of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] + [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] + public string ownedMemberElementId { get; internal set; } + + /// + /// The Feature that this FeatureMembership relates to its owningType, making it an ownedFeature of the + /// owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_898044_43344", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] + [RedefinedByProperty("IRequirementConstraintMembership.OwnedConstraint")] + [Implements(implementation: "IFeatureMembership.OwnedMemberFeature")] + Guid Core.Types.IFeatureMembership.ownedMemberFeature => throw new InvalidOperationException("Redefined by property IRequirementConstraintMembership.OwnedConstraint"); + + /// + /// The name of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] + [Implements(implementation: "IOwningMembership.OwnedMemberName")] + public string ownedMemberName { get; internal set; } + + /// + /// The shortName of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] + [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] + public string ownedMemberShortName { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that owns this FeatureMembership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_418504_43339", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866524_738482_486")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] + [Implements(implementation: "IFeatureMembership.OwningType")] + public Guid owningType { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The ConstraintUsage that is referenced through this RequirementConstraintMembership. It is the + /// referencedFeature of the ownedReferenceSubsetting of the ownedConstraint, if there is one, and, + /// otherwise, the ownedConstraint itself. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617118807597_77864_3544", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IRequirementConstraintMembership.ReferencedConstraint")] + public Guid referencedConstraint { get; internal set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IRelationship.RelatedElement")] + public List relatedElement { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IMembership.MembershipOwningNamespace")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IMembership.MemberElement")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + set => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly + /// visible outside that Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_42975_43193", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "public")] + [Implements(implementation: "IMembership.Visibility")] + public VisibilityKind Visibility { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/RequirementDefinition.cs b/SysML2.NET/Core/AutoGenDto/RequirementDefinition.cs index d662057e..904edb9e 100644 --- a/SysML2.NET/Core/AutoGenDto/RequirementDefinition.cs +++ b/SysML2.NET/Core/AutoGenDto/RequirementDefinition.cs @@ -1,893 +1,897 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Requirements -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Systems.Constraints; - using SysML2.NET.Decorators; - - /// - /// A RequirementDefinition is a ConstraintDefinition that defines a requirement used in the context of - /// a specification as a constraint that a valid solution must satisfy. The specification is relative to - /// a specified subject, possibly in collaboration with one or more external actors. - /// - [Class(xmiId: "_19_0_2_12e503d9_1582990729262_130404_898", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class RequirementDefinition : IRequirementDefinition - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// The parameters of this RequirementDefinition that represent actors involved in the requirement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621564041941_652319_2722", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IRequirementDefinition.ActorParameter")] - public List ActorParameter { get; internal set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The owned ConstraintUsages that represent assumptions of this RequirementDefinition, which are the - /// ownedConstraints of the RequirementConstraintMemberships of the RequirementDefinition with kind = - /// assumption. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583376806647_629021_133", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IRequirementDefinition.AssumedConstraint")] - public List AssumedConstraint { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IRequirementDefinition.ReqId")] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IBehavior.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Definition that are directedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565495064714_974634_26150", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IDefinition.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Expressions that are steps in the calculation of the result of this Function. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948400639_301251_20841", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] - [Implements(implementation: "IFunction.Expression")] - public List Expression { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The ConcernUsages framed by this RequirementDefinition, which are the ownedConcerns of all - /// FramedConcernMemberships of the RequirementDefinition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617116733499_587735_3242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583376932997_792124_158")] - [Implements(implementation: "IRequirementDefinition.FramedConcern")] - public List FramedConcern { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - public bool IsAbstract { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceDefinition is constrained to represent at most one thing. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618955405499_394357_6740", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceDefinition.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether this Function can be used as the function of a model-level evaluable InvocationExpression. - /// Certain Functions from the Kernel Functions Library are considered to have isModelLevelEvaluable = - /// true. For all other Functions it is false.Note: See the specification of the KerML - /// concrete syntax notation for Expressions for an identification of which library Functions are - /// model-level evaluable. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617395221463_139517_26381", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFunction.IsModelLevelEvaluable")] - public bool IsModelLevelEvaluable { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IDefinition.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ActionUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedAction")] - public List OwnedAction { get; internal set; } - - /// - /// The AllocationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedAllocation")] - public List OwnedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List OwnedAnalysisCase { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The AttributeUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedAttribute")] - public List OwnedAttribute { get; internal set; } - - /// - /// The CalculationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - [Implements(implementation: "IDefinition.OwnedCalculation")] - public List OwnedCalculation { get; internal set; } - - /// - /// The code>CaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] - [Implements(implementation: "IDefinition.OwnedCase")] - public List OwnedCase { get; internal set; } - - /// - /// The ConcernUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - [Implements(implementation: "IDefinition.OwnedConcern")] - public List OwnedConcern { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowUsages because these are ConnectorAsUsages - /// even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedConnection")] - public List OwnedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedConstraint")] - public List OwnedConstraint { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The EnumerationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] - [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List OwnedEnumeration { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The FlowUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedFlow")] - public List OwnedFlow { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The InterfaceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedInterface")] - public List OwnedInterface { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The ItemUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedItem")] - public List OwnedItem { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The MetadataUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - [Implements(implementation: "IDefinition.OwnedMetadata")] - public List OwnedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List OwnedOccurrence { get; internal set; } - - /// - /// The PartUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - [Implements(implementation: "IDefinition.OwnedPart")] - public List OwnedPart { get; internal set; } - - /// - /// The PortUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedPort")] - public List OwnedPort { get; internal set; } - - /// - /// The ReferenceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedReference")] - public List OwnedReference { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The RenderingUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - [Implements(implementation: "IDefinition.OwnedRendering")] - public List OwnedRendering { get; internal set; } - - /// - /// The RequirementUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] - [Implements(implementation: "IDefinition.OwnedRequirement")] - public List OwnedRequirement { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The StateUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - [Implements(implementation: "IDefinition.OwnedState")] - public List OwnedState { get; internal set; } - - /// - /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier - /// is the subclassifier. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List OwnedSubclassification { get; internal set; } - - /// - /// The TransitionUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedTransition")] - public List OwnedTransition { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Definition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686637_967933_23236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IDefinition.OwnedUsage")] - public List OwnedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedUseCase")] - public List OwnedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List OwnedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - [Implements(implementation: "IDefinition.OwnedView")] - public List OwnedView { get; internal set; } - - /// - /// The ViewpointUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List OwnedViewpoint { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The parameters of this Behavior, which are defined as its directedFeatures, whose values are passed - /// into and/or out of a performance of the Behavior. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948010065_362066_20413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IBehavior.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// An optional modeler-specified identifier for this RequirementDefinition (used, e.g., to link it to - /// an original requirement text in some source document), which is the declaredShortName for the - /// RequirementDefinition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583376411386_270321_92", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1594160442439_915308_4153")] - [Implements(implementation: "IRequirementDefinition.ReqId")] - public string ReqId { get; set; } - - /// - /// The owned ConstraintUsages that represent requirements of this RequirementDefinition, derived as the - /// ownedConstraints of the RequirementConstraintMemberships of the RequirementDefinition with kind = - /// requirement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583376932997_792124_158", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IRequirementDefinition.RequiredConstraint")] - public List RequiredConstraint { get; internal set; } - - /// - /// The object or value that is the result of evaluating the Function. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948912268_88159_21323", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] - [Implements(implementation: "IFunction.Result")] - public Guid Result { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The parameters of this RequirementDefinition that represent stakeholders for th requirement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624033010374_29375_40166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IRequirementDefinition.StakeholderParameter")] - public List StakeholderParameter { get; internal set; } - - /// - /// The Steps that make up this Behavior. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346067212_587255_17343", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IBehavior.Step")] - public List Step { get; internal set; } - - /// - /// The parameter of this RequirementDefinition that represents its subject. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189007408_784255_586", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IRequirementDefinition.SubjectParameter")] - public Guid SubjectParameter { get; internal set; } - - /// - /// An optional textual statement of the requirement represented by this RequirementDefinition, derived - /// from the bodies of the documentation of the RequirementDefinition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583376433122_189839_94", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IRequirementDefinition.Text")] - public List Text { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Definition (not necessarily owned). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IDefinition.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Definition as a variation point Definition, if - /// isVariation = true. If isVariation = false, the there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IDefinition.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then - /// this must be all ownedMemberships of the Definition. If isVariation = false, then - /// variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IDefinition.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Requirements +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Systems.Constraints; + using SysML2.NET.Decorators; + + /// + /// A RequirementDefinition is a ConstraintDefinition that defines a requirement used in the context of + /// a specification as a constraint that a valid solution must satisfy. The specification is relative to + /// a specified subject, possibly in collaboration with one or more external actors. + /// + [Class(xmiId: "_19_0_2_12e503d9_1582990729262_130404_898", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class RequirementDefinition : IRequirementDefinition + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// The parameters of this RequirementDefinition that represent actors involved in the requirement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621564041941_652319_2722", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IRequirementDefinition.ActorParameter")] + public List actorParameter { get; internal set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The owned ConstraintUsages that represent assumptions of this RequirementDefinition, which are the + /// ownedConstraints of the RequirementConstraintMemberships of the RequirementDefinition with kind = + /// assumption. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583376806647_629021_133", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IRequirementDefinition.AssumedConstraint")] + public List assumedConstraint { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IRequirementDefinition.ReqId")] + [Implements(implementation: "IElement.DeclaredShortName")] + string Root.Elements.IElement.DeclaredShortName + { + get => throw new InvalidOperationException("Redefined by property IRequirementDefinition.ReqId"); + set => throw new InvalidOperationException("Redefined by property IRequirementDefinition.ReqId"); + } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IBehavior.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IBehavior.Parameter"); + + /// + /// The usages of this Definition that are directedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565495064714_974634_26150", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IDefinition.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Expressions that are steps in the calculation of the result of this Function. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948400639_301251_20841", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] + [Implements(implementation: "IFunction.Expression")] + public List expression { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The ConcernUsages framed by this RequirementDefinition, which are the ownedConcerns of all + /// FramedConcernMemberships of the RequirementDefinition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617116733499_587735_3242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583376932997_792124_158")] + [Implements(implementation: "IRequirementDefinition.FramedConcern")] + public List framedConcern { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + public bool IsAbstract { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceDefinition is constrained to represent at most one thing. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618955405499_394357_6740", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceDefinition.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether this Function can be used as the function of a model-level evaluable InvocationExpression. + /// Certain Functions from the Kernel Functions Library are considered to have isModelLevelEvaluable = + /// true. For all other Functions it is false.Note: See the specification of the KerML + /// concrete syntax notation for Expressions for an identification of which library Functions are + /// model-level evaluable. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617395221463_139517_26381", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFunction.IsModelLevelEvaluable")] + public bool isModelLevelEvaluable { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IDefinition.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ActionUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedAction")] + public List ownedAction { get; internal set; } + + /// + /// The AllocationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedAllocation")] + public List ownedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedAnalysisCase")] + public List ownedAnalysisCase { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The AttributeUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedAttribute")] + public List ownedAttribute { get; internal set; } + + /// + /// The CalculationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] + [Implements(implementation: "IDefinition.OwnedCalculation")] + public List ownedCalculation { get; internal set; } + + /// + /// The code>CaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] + [Implements(implementation: "IDefinition.OwnedCase")] + public List ownedCase { get; internal set; } + + /// + /// The ConcernUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + [Implements(implementation: "IDefinition.OwnedConcern")] + public List ownedConcern { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowUsages because these are ConnectorAsUsages + /// even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedConnection")] + public List ownedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedConstraint")] + public List ownedConstraint { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The EnumerationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] + [Implements(implementation: "IDefinition.OwnedEnumeration")] + public List ownedEnumeration { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The FlowUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedFlow")] + public List ownedFlow { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The InterfaceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedInterface")] + public List ownedInterface { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The ItemUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedItem")] + public List ownedItem { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The MetadataUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] + [Implements(implementation: "IDefinition.OwnedMetadata")] + public List ownedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedOccurrence")] + public List ownedOccurrence { get; internal set; } + + /// + /// The PartUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] + [Implements(implementation: "IDefinition.OwnedPart")] + public List ownedPart { get; internal set; } + + /// + /// The PortUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedPort")] + public List ownedPort { get; internal set; } + + /// + /// The ReferenceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedReference")] + public List ownedReference { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The RenderingUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] + [Implements(implementation: "IDefinition.OwnedRendering")] + public List ownedRendering { get; internal set; } + + /// + /// The RequirementUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] + [Implements(implementation: "IDefinition.OwnedRequirement")] + public List ownedRequirement { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The StateUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] + [Implements(implementation: "IDefinition.OwnedState")] + public List ownedState { get; internal set; } + + /// + /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier + /// is the subclassifier. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [Implements(implementation: "IClassifier.OwnedSubclassification")] + public List ownedSubclassification { get; internal set; } + + /// + /// The TransitionUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedTransition")] + public List ownedTransition { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Definition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686637_967933_23236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IDefinition.OwnedUsage")] + public List ownedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedUseCase")] + public List ownedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedVerificationCase")] + public List ownedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] + [Implements(implementation: "IDefinition.OwnedView")] + public List ownedView { get; internal set; } + + /// + /// The ViewpointUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + [Implements(implementation: "IDefinition.OwnedViewpoint")] + public List ownedViewpoint { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The parameters of this Behavior, which are defined as its directedFeatures, whose values are passed + /// into and/or out of a performance of the Behavior. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948010065_362066_20413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IBehavior.Parameter")] + public List parameter { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// An optional modeler-specified identifier for this RequirementDefinition (used, e.g., to link it to + /// an original requirement text in some source document), which is the declaredShortName for the + /// RequirementDefinition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583376411386_270321_92", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1594160442439_915308_4153")] + [Implements(implementation: "IRequirementDefinition.ReqId")] + public string ReqId { get; set; } + + /// + /// The owned ConstraintUsages that represent requirements of this RequirementDefinition, derived as the + /// ownedConstraints of the RequirementConstraintMemberships of the RequirementDefinition with kind = + /// requirement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583376932997_792124_158", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IRequirementDefinition.RequiredConstraint")] + public List requiredConstraint { get; internal set; } + + /// + /// The object or value that is the result of evaluating the Function. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948912268_88159_21323", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] + [Implements(implementation: "IFunction.Result")] + public Guid result { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The parameters of this RequirementDefinition that represent stakeholders for th requirement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624033010374_29375_40166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IRequirementDefinition.StakeholderParameter")] + public List stakeholderParameter { get; internal set; } + + /// + /// The Steps that make up this Behavior. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346067212_587255_17343", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IBehavior.Step")] + public List step { get; internal set; } + + /// + /// The parameter of this RequirementDefinition that represents its subject. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189007408_784255_586", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IRequirementDefinition.SubjectParameter")] + public Guid subjectParameter { get; internal set; } + + /// + /// An optional textual statement of the requirement represented by this RequirementDefinition, derived + /// from the bodies of the documentation of the RequirementDefinition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583376433122_189839_94", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IRequirementDefinition.Text")] + public List text { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Definition (not necessarily owned). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IDefinition.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Definition as a variation point Definition, if + /// isVariation = true. If isVariation = false, the there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IDefinition.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then + /// this must be all ownedMemberships of the Definition. If isVariation = false, then + /// variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IDefinition.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/RequirementUsage.cs b/SysML2.NET/Core/AutoGenDto/RequirementUsage.cs index 76d48040..80d87414 100644 --- a/SysML2.NET/Core/AutoGenDto/RequirementUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/RequirementUsage.cs @@ -1,1220 +1,1228 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Requirements -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Core.DTO.Systems.Constraints; - using SysML2.NET.Decorators; - - /// - /// A RequirementUsage is a Usage of a RequirementDefinition. - /// - [Class(xmiId: "_19_0_2_12e503d9_1582991078230_41497_1143", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class RequirementUsage : IRequirementUsage - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// The parameters of this RequirementUsage that represent actors involved in the requirement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621564075474_350859_2735", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IRequirementUsage.ActorParameter")] - public List ActorParameter { get; internal set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The owned ConstraintUsages that represent assumptions of this RequirementUsage, derived as the - /// ownedConstraints of the RequirementConstraintMemberships of the RequirementUsage with kind = - /// assumption. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583377612865_991722_535", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IRequirementUsage.AssumedConstraint")] - public List AssumedConstraint { get; internal set; } - - /// - /// The Behaviors that type this Step. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IExpression.Function")] - [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The (single) Predicate that is the type of this ConstraintUsage. Nominally, this will be a - /// ConstraintDefinition, but other kinds of Predicates are also allowed, to permit use of Predicates - /// from the Kernel Model Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578067546711_751168_1745", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1578025035149_386_969")] - [RedefinedByProperty("IRequirementUsage.RequirementDefinition")] - [Implements(implementation: "IConstraintUsage.ConstraintDefinition")] - public Guid? ConstraintDefinition { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IRequirementUsage.ReqId")] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds - /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] - [Implements(implementation: "IUsage.Definition")] - public List Definition { get; internal set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IStep.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Usage that are directedFeatures. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The ConcernUsages framed by this RequirementUsage, which are the ownedConcerns of all - /// FramedConcernMemberships of the RequirementUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617116922864_514612_3264", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583377448339_252740_390")] - [Implements(implementation: "IRequirementUsage.FramedConcern")] - public List FramedConcern { get; internal set; } - - /// - /// The Function that types this Expression. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - [RedefinedByProperty("IBooleanExpression.Predicate")] - [Implements(implementation: "IExpression.Function")] - public Guid? Function { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// The at most one occurrenceDefinition that has isIndividual = true. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public Guid? IndividualDefinition { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its - /// individualDefinition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceUsage.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, - /// using metadata within the model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool IsModelLevelEvaluable { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - public bool IsPortion { get; set; } - - /// - /// Whether this Usage is a referential Usage, that is, it has isComposite = false. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsReference")] - public bool IsReference { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [RedefinedByProperty("IUsage.MayTimeVary")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage - /// must be VariantMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its - /// owningType, rather than being featured by the owningType itself). However, if isConstant is also - /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance - /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary - /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is - /// inherited from Feature. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] - [Implements(implementation: "IUsage.MayTimeVary")] - public bool MayTimeVary { get; internal set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ActionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedAction")] - public List NestedAction { get; internal set; } - - /// - /// The AllocationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedAllocation")] - public List NestedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List NestedAnalysisCase { get; internal set; } - - /// - /// The code>AttributeUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedAttribute")] - public List NestedAttribute { get; internal set; } - - /// - /// The CalculationUsage that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedCalculation")] - public List NestedCalculation { get; internal set; } - - /// - /// The CaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] - [Implements(implementation: "IUsage.NestedCase")] - public List NestedCase { get; internal set; } - - /// - /// The ConcernUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedConcern")] - public List NestedConcern { get; internal set; } - - /// - /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are - /// ConnectorAsUsages even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedConnection")] - public List NestedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedConstraint")] - public List NestedConstraint { get; internal set; } - - /// - /// The code>EnumerationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] - [Implements(implementation: "IUsage.NestedEnumeration")] - public List NestedEnumeration { get; internal set; } - - /// - /// The code>FlowUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedFlow")] - public List NestedFlow { get; internal set; } - - /// - /// The InterfaceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedInterface")] - public List NestedInterface { get; internal set; } - - /// - /// The ItemUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedItem")] - public List NestedItem { get; internal set; } - - /// - /// The MetadataUsages that are nestedUsages of this of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedMetadata")] - public List NestedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedOccurrence")] - public List NestedOccurrence { get; internal set; } - - /// - /// The PartUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedPart")] - public List NestedPart { get; internal set; } - - /// - /// The PortUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedPort")] - public List NestedPort { get; internal set; } - - /// - /// The ReferenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedReference")] - public List NestedReference { get; internal set; } - - /// - /// The RenderingUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedRendering")] - public List NestedRendering { get; internal set; } - - /// - /// The RequirementUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] - [Implements(implementation: "IUsage.NestedRequirement")] - public List NestedRequirement { get; internal set; } - - /// - /// The StateUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedState")] - public List NestedState { get; internal set; } - - /// - /// The TransitionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedTransition")] - public List NestedTransition { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.NestedUsage")] - public List NestedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedUseCase")] - public List NestedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedVerificationCase")] - public List NestedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedView")] - public List NestedView { get; internal set; } - - /// - /// The ViewpointUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedViewpoint")] - public List NestedViewpoint { get; internal set; } - - /// - /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, - /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] - [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List OccurrenceDefinition { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The Definition that owns this Usage (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] - [Implements(implementation: "IUsage.OwningDefinition")] - public Guid? OwningDefinition { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The Usage in which this Usage is nested (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IUsage.OwningUsage")] - public Guid? OwningUsage { get; internal set; } - - /// - /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into - /// and/or out of a performance of the Step. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If - /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the - /// OccurrenceUsage represents portions of the featuring instance of the owningType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IOccurrenceUsage.PortionKind")] - public PortionKind? PortionKind { get; set; } - - /// - /// The Predicate that types the Expression. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578025035149_386_969", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1543948477241_299049_20934")] - [RedefinedByProperty("IConstraintUsage.ConstraintDefinition")] - [Implements(implementation: "IBooleanExpression.Predicate")] - public Guid? Predicate { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// An optional modeler-specified identifier for this RequirementUsage (used, e.g., to link it to an - /// original requirement text in some source document), which is the declaredShortName for the - /// RequirementUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583376474630_975784_96", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1594160442439_915308_4153")] - [Implements(implementation: "IRequirementUsage.ReqId")] - public string ReqId { get; set; } - - /// - /// The owned ConstraintUsages that represent requirements of this RequirementUsage, which are the - /// ownedConstraints of the RequirementConstraintMemberships of the RequirementUsage with kind = - /// requirement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583377448339_252740_390", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IRequirementUsage.RequiredConstraint")] - public List RequiredConstraint { get; internal set; } - - /// - /// The RequirementDefinition that is the single definition of this RequirementUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000408905_769743_1223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1578067546711_751168_1745")] - [Implements(implementation: "IRequirementUsage.RequirementDefinition")] - public Guid? RequirementDefinition { get; internal set; } - - /// - /// An output parameter of the Expression whose value is the result of the Expression. The result of an - /// Expression is either inherited from its function or it is related to the Expression via a - /// ReturnParameterMembership, in which case it redefines the result parameter of its function. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [Implements(implementation: "IExpression.Result")] - public Guid Result { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The parameters of this RequirementUsage that represent stakeholders for the requirement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624032823963_328647_40107", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IRequirementUsage.StakeholderParameter")] - public List StakeholderParameter { get; internal set; } - - /// - /// The parameter of this RequirementUsage that represents its subject. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189397261_941898_844", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IRequirementUsage.SubjectParameter")] - public Guid SubjectParameter { get; internal set; } - - /// - /// An optional textual statement of the requirement represented by this RequirementUsage, derived from - /// the bodies of the documentation of the RequirementUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583376480942_745679_99", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IRequirementUsage.Text")] - public List Text { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IUsage.Definition")] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Usage (not necessarily owned). - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IUsage.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = - /// true. If isVariation = false, then there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IUsage.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this - /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IUsage.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Requirements +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Core.DTO.Systems.Constraints; + using SysML2.NET.Decorators; + + /// + /// A RequirementUsage is a Usage of a RequirementDefinition. + /// + [Class(xmiId: "_19_0_2_12e503d9_1582991078230_41497_1143", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class RequirementUsage : IRequirementUsage + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// The parameters of this RequirementUsage that represent actors involved in the requirement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621564075474_350859_2735", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IRequirementUsage.ActorParameter")] + public List actorParameter { get; internal set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The owned ConstraintUsages that represent assumptions of this RequirementUsage, derived as the + /// ownedConstraints of the RequirementConstraintMemberships of the RequirementUsage with kind = + /// assumption. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583377612865_991722_535", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IRequirementUsage.AssumedConstraint")] + public List assumedConstraint { get; internal set; } + + /// + /// The Behaviors that type this Step. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IExpression.Function")] + [Implements(implementation: "IStep.Behavior")] + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The (single) Predicate that is the type of this ConstraintUsage. Nominally, this will be a + /// ConstraintDefinition, but other kinds of Predicates are also allowed, to permit use of Predicates + /// from the Kernel Model Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578067546711_751168_1745", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1578025035149_386_969")] + [RedefinedByProperty("IRequirementUsage.RequirementDefinition")] + [Implements(implementation: "IConstraintUsage.ConstraintDefinition")] + Guid? Systems.Constraints.IConstraintUsage.constraintDefinition => throw new InvalidOperationException("Redefined by property IRequirementUsage.RequirementDefinition"); + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IRequirementUsage.ReqId")] + [Implements(implementation: "IElement.DeclaredShortName")] + string Root.Elements.IElement.DeclaredShortName + { + get => throw new InvalidOperationException("Redefined by property IRequirementUsage.ReqId"); + set => throw new InvalidOperationException("Redefined by property IRequirementUsage.ReqId"); + } + + /// + /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds + /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] + [Implements(implementation: "IUsage.Definition")] + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IStep.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); + + /// + /// The usages of this Usage that are directedFeatures. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The ConcernUsages framed by this RequirementUsage, which are the ownedConcerns of all + /// FramedConcernMemberships of the RequirementUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617116922864_514612_3264", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583377448339_252740_390")] + [Implements(implementation: "IRequirementUsage.FramedConcern")] + public List framedConcern { get; internal set; } + + /// + /// The Function that types this Expression. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] + [RedefinedByProperty("IBooleanExpression.Predicate")] + [Implements(implementation: "IExpression.Function")] + Guid? Kernel.Functions.IExpression.function => throw new InvalidOperationException("Redefined by property IBooleanExpression.Predicate"); + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// The at most one occurrenceDefinition that has isIndividual = true. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] + public Guid? individualDefinition { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its + /// individualDefinition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceUsage.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, + /// using metadata within the model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IExpression.IsModelLevelEvaluable")] + public bool isModelLevelEvaluable { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + public bool IsPortion { get; set; } + + /// + /// Whether this Usage is a referential Usage, that is, it has isComposite = false. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsReference")] + public bool isReference { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [RedefinedByProperty("IUsage.MayTimeVary")] + [Implements(implementation: "IFeature.IsVariable")] + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } + + /// + /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage + /// must be VariantMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its + /// owningType, rather than being featured by the owningType itself). However, if isConstant is also + /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance + /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary + /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is + /// inherited from Feature. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] + [Implements(implementation: "IUsage.MayTimeVary")] + public bool mayTimeVary { get; internal set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ActionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedAction")] + public List nestedAction { get; internal set; } + + /// + /// The AllocationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedAllocation")] + public List nestedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedAnalysisCase")] + public List nestedAnalysisCase { get; internal set; } + + /// + /// The code>AttributeUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedAttribute")] + public List nestedAttribute { get; internal set; } + + /// + /// The CalculationUsage that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedCalculation")] + public List nestedCalculation { get; internal set; } + + /// + /// The CaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] + [Implements(implementation: "IUsage.NestedCase")] + public List nestedCase { get; internal set; } + + /// + /// The ConcernUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedConcern")] + public List nestedConcern { get; internal set; } + + /// + /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are + /// ConnectorAsUsages even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedConnection")] + public List nestedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedConstraint")] + public List nestedConstraint { get; internal set; } + + /// + /// The code>EnumerationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] + [Implements(implementation: "IUsage.NestedEnumeration")] + public List nestedEnumeration { get; internal set; } + + /// + /// The code>FlowUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedFlow")] + public List nestedFlow { get; internal set; } + + /// + /// The InterfaceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedInterface")] + public List nestedInterface { get; internal set; } + + /// + /// The ItemUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedItem")] + public List nestedItem { get; internal set; } + + /// + /// The MetadataUsages that are nestedUsages of this of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedMetadata")] + public List nestedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedOccurrence")] + public List nestedOccurrence { get; internal set; } + + /// + /// The PartUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedPart")] + public List nestedPart { get; internal set; } + + /// + /// The PortUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedPort")] + public List nestedPort { get; internal set; } + + /// + /// The ReferenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedReference")] + public List nestedReference { get; internal set; } + + /// + /// The RenderingUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedRendering")] + public List nestedRendering { get; internal set; } + + /// + /// The RequirementUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] + [Implements(implementation: "IUsage.NestedRequirement")] + public List nestedRequirement { get; internal set; } + + /// + /// The StateUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedState")] + public List nestedState { get; internal set; } + + /// + /// The TransitionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedTransition")] + public List nestedTransition { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.NestedUsage")] + public List nestedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedUseCase")] + public List nestedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedVerificationCase")] + public List nestedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedView")] + public List nestedView { get; internal set; } + + /// + /// The ViewpointUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedViewpoint")] + public List nestedViewpoint { get; internal set; } + + /// + /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, + /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] + [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] + public List occurrenceDefinition { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The Definition that owns this Usage (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] + [Implements(implementation: "IUsage.OwningDefinition")] + public Guid? owningDefinition { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The Usage in which this Usage is nested (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IUsage.OwningUsage")] + public Guid? owningUsage { get; internal set; } + + /// + /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into + /// and/or out of a performance of the Step. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IStep.Parameter")] + public List parameter { get; internal set; } + + /// + /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If + /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the + /// OccurrenceUsage represents portions of the featuring instance of the owningType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IOccurrenceUsage.PortionKind")] + public PortionKind? PortionKind { get; set; } + + /// + /// The Predicate that types the Expression. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578025035149_386_969", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1543948477241_299049_20934")] + [RedefinedByProperty("IConstraintUsage.ConstraintDefinition")] + [Implements(implementation: "IBooleanExpression.Predicate")] + Guid? Kernel.Functions.IBooleanExpression.predicate => throw new InvalidOperationException("Redefined by property IConstraintUsage.ConstraintDefinition"); + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// An optional modeler-specified identifier for this RequirementUsage (used, e.g., to link it to an + /// original requirement text in some source document), which is the declaredShortName for the + /// RequirementUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583376474630_975784_96", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1594160442439_915308_4153")] + [Implements(implementation: "IRequirementUsage.ReqId")] + public string ReqId { get; set; } + + /// + /// The owned ConstraintUsages that represent requirements of this RequirementUsage, which are the + /// ownedConstraints of the RequirementConstraintMemberships of the RequirementUsage with kind = + /// requirement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583377448339_252740_390", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IRequirementUsage.RequiredConstraint")] + public List requiredConstraint { get; internal set; } + + /// + /// The RequirementDefinition that is the single definition of this RequirementUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000408905_769743_1223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1578067546711_751168_1745")] + [Implements(implementation: "IRequirementUsage.RequirementDefinition")] + public Guid? requirementDefinition { get; internal set; } + + /// + /// An output parameter of the Expression whose value is the result of the Expression. The result of an + /// Expression is either inherited from its function or it is related to the Expression via a + /// ReturnParameterMembership, in which case it redefines the result parameter of its function. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [Implements(implementation: "IExpression.Result")] + public Guid result { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The parameters of this RequirementUsage that represent stakeholders for the requirement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624032823963_328647_40107", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IRequirementUsage.StakeholderParameter")] + public List stakeholderParameter { get; internal set; } + + /// + /// The parameter of this RequirementUsage that represents its subject. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189397261_941898_844", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IRequirementUsage.SubjectParameter")] + public Guid subjectParameter { get; internal set; } + + /// + /// An optional textual statement of the requirement represented by this RequirementUsage, derived from + /// the bodies of the documentation of the RequirementUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583376480942_745679_99", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IRequirementUsage.Text")] + public List text { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IUsage.Definition")] + [Implements(implementation: "IFeature.Type")] + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Usage (not necessarily owned). + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IUsage.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = + /// true. If isVariation = false, then there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IUsage.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this + /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IUsage.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/RequirementVerificationMembership.cs b/SysML2.NET/Core/AutoGenDto/RequirementVerificationMembership.cs index 61d718ba..6efe7c13 100644 --- a/SysML2.NET/Core/AutoGenDto/RequirementVerificationMembership.cs +++ b/SysML2.NET/Core/AutoGenDto/RequirementVerificationMembership.cs @@ -1,427 +1,451 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.VerificationCases -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Root.Namespaces; - using SysML2.NET.Core.Systems.Requirements; - using SysML2.NET.Core.DTO.Systems.Requirements; - using SysML2.NET.Decorators; - - /// - /// A RequirementVerificationMembership is a RequirementConstraintMembership used in the objective of a - /// VerificationCase to identify a RequirementUsage that is verified by the VerificationCase. - /// - [Class(xmiId: "_19_0_4_12e503d9_1603921138449_428307_72", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class RequirementVerificationMembership : IRequirementVerificationMembership - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// The kind of a RequirementVerificationMembership must be requirement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603921465292_637146_187", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "requirement")] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1584048161309_821854_390")] - [Implements(implementation: "IRequirementVerificationMembership.Kind")] - RequirementConstraintKind IRequirementVerificationMembership.Kind { get; set; } - - /// - /// Whether the RequirementConstraintMembership is for an assumed or required ConstraintUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1584048161309_821854_390", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IRequirementVerificationMembership.Kind")] - [Implements(implementation: "IRequirementConstraintMembership.Kind")] - RequirementConstraintKind Systems.Requirements.IRequirementConstraintMembership.Kind { get; set; } - - /// - /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_819490_43195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] - [Implements(implementation: "IMembership.MemberElement")] - public Guid MemberElement { get; set; } - - /// - /// The elementId of the memberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] - [Implements(implementation: "IMembership.MemberElementId")] - public string MemberElementId { get; internal set; } - - /// - /// The name of the memberElement relative to the membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberName")] - [Implements(implementation: "IMembership.MemberName")] - public string MemberName { get; set; } - - /// - /// The Namespace of which the memberElement becomes a member due to this Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_193857_43197", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_531296_43182")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [RedefinedByProperty("IFeatureMembership.OwningType")] - [Implements(implementation: "IMembership.MembershipOwningNamespace")] - public Guid MembershipOwningNamespace { get; internal set; } - - /// - /// The short name of the memberElement relative to the membershipOwningNamespace. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] - [Implements(implementation: "IMembership.MemberShortName")] - public string MemberShortName { get; set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The ConstraintUsage that is the ownedMemberFeature of this RequirementConstraintMembership. - /// - [Property(xmiId: "_19_0_2_12e503d9_1584048366950_985767_426", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] - [RedefinedByProperty("IRequirementVerificationMembership.OwnedRequirement")] - [Implements(implementation: "IRequirementConstraintMembership.OwnedConstraint")] - public Guid OwnedConstraint { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this - /// OwningMembership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_501750_43196", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_59873_43302")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] - [RedefinedByProperty("IFeatureMembership.OwnedMemberFeature")] - [Implements(implementation: "IOwningMembership.OwnedMemberElement")] - public Guid OwnedMemberElement { get; internal set; } - - /// - /// The elementId of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] - [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] - public string OwnedMemberElementId { get; internal set; } - - /// - /// The Feature that this FeatureMembership relates to its owningType, making it an ownedFeature of the - /// owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_898044_43344", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] - [RedefinedByProperty("IRequirementConstraintMembership.OwnedConstraint")] - [Implements(implementation: "IFeatureMembership.OwnedMemberFeature")] - public Guid OwnedMemberFeature { get; internal set; } - - /// - /// The name of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] - [Implements(implementation: "IOwningMembership.OwnedMemberName")] - public string OwnedMemberName { get; internal set; } - - /// - /// The shortName of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] - [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] - public string OwnedMemberShortName { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The owned RequirementUsage that acts as the ownedConstraint for this - /// RequirementVerificationMembership. This will either be the verifiedRequirement, or it will subset - /// the verifiedRequirement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603921329650_612380_147", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1584048366950_985767_426")] - [Implements(implementation: "IRequirementVerificationMembership.OwnedRequirement")] - public Guid OwnedRequirement { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that owns this FeatureMembership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_418504_43339", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866524_738482_486")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] - [Implements(implementation: "IFeatureMembership.OwningType")] - public Guid OwningType { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The ConstraintUsage that is referenced through this RequirementConstraintMembership. It is the - /// referencedFeature of the ownedReferenceSubsetting of the ownedConstraint, if there is one, and, - /// otherwise, the ownedConstraint itself. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617118807597_77864_3544", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IRequirementVerificationMembership.VerifiedRequirement")] - [Implements(implementation: "IRequirementConstraintMembership.ReferencedConstraint")] - public Guid ReferencedConstraint { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IMembership.MembershipOwningNamespace")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IMembership.MemberElement")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// The RequirementUsage that is identified as being verified. It is the referencedConstraint of the - /// RequirementVerificationMembership considered as a RequirementConstraintMembership, which must be a - /// RequirementUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603921870169_98378_309", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1617118807597_77864_3544")] - [Implements(implementation: "IRequirementVerificationMembership.VerifiedRequirement")] - public Guid VerifiedRequirement { get; internal set; } - - /// - /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly - /// visible outside that Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_42975_43193", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "public")] - [Implements(implementation: "IMembership.Visibility")] - public VisibilityKind Visibility { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.VerificationCases +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Root.Namespaces; + using SysML2.NET.Core.Systems.Requirements; + using SysML2.NET.Core.DTO.Systems.Requirements; + using SysML2.NET.Decorators; + + /// + /// A RequirementVerificationMembership is a RequirementConstraintMembership used in the objective of a + /// VerificationCase to identify a RequirementUsage that is verified by the VerificationCase. + /// + [Class(xmiId: "_19_0_4_12e503d9_1603921138449_428307_72", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class RequirementVerificationMembership : IRequirementVerificationMembership + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// The kind of a RequirementVerificationMembership must be requirement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603921465292_637146_187", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "requirement")] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1584048161309_821854_390")] + [Implements(implementation: "IRequirementVerificationMembership.Kind")] + public RequirementConstraintKind Kind { get; set; } + + /// + /// Whether the RequirementConstraintMembership is for an assumed or required ConstraintUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1584048161309_821854_390", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IRequirementVerificationMembership.Kind")] + [Implements(implementation: "IRequirementConstraintMembership.Kind")] + RequirementConstraintKind Systems.Requirements.IRequirementConstraintMembership.Kind + { + get => throw new InvalidOperationException("Redefined by property IRequirementVerificationMembership.Kind"); + set => throw new InvalidOperationException("Redefined by property IRequirementVerificationMembership.Kind"); + } + + /// + /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_819490_43195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] + [Implements(implementation: "IMembership.MemberElement")] + Guid Root.Namespaces.IMembership.MemberElement + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + } + + /// + /// The elementId of the memberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] + [Implements(implementation: "IMembership.MemberElementId")] + string Root.Namespaces.IMembership.memberElementId => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElementId"); + + /// + /// The name of the memberElement relative to the membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberName")] + [Implements(implementation: "IMembership.MemberName")] + string Root.Namespaces.IMembership.MemberName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + } + + /// + /// The Namespace of which the memberElement becomes a member due to this Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_193857_43197", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_531296_43182")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [RedefinedByProperty("IFeatureMembership.OwningType")] + [Implements(implementation: "IMembership.MembershipOwningNamespace")] + Guid Root.Namespaces.IMembership.membershipOwningNamespace => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwningType"); + + /// + /// The short name of the memberElement relative to the membershipOwningNamespace. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] + [Implements(implementation: "IMembership.MemberShortName")] + string Root.Namespaces.IMembership.MemberShortName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The ConstraintUsage that is the ownedMemberFeature of this RequirementConstraintMembership. + /// + [Property(xmiId: "_19_0_2_12e503d9_1584048366950_985767_426", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] + [RedefinedByProperty("IRequirementVerificationMembership.OwnedRequirement")] + [Implements(implementation: "IRequirementConstraintMembership.OwnedConstraint")] + Guid Systems.Requirements.IRequirementConstraintMembership.ownedConstraint => throw new InvalidOperationException("Redefined by property IRequirementVerificationMembership.OwnedRequirement"); + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this + /// OwningMembership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_501750_43196", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_59873_43302")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] + [RedefinedByProperty("IFeatureMembership.OwnedMemberFeature")] + [Implements(implementation: "IOwningMembership.OwnedMemberElement")] + Guid Root.Namespaces.IOwningMembership.ownedMemberElement => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwnedMemberFeature"); + + /// + /// The elementId of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] + [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] + public string ownedMemberElementId { get; internal set; } + + /// + /// The Feature that this FeatureMembership relates to its owningType, making it an ownedFeature of the + /// owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_898044_43344", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] + [RedefinedByProperty("IRequirementConstraintMembership.OwnedConstraint")] + [Implements(implementation: "IFeatureMembership.OwnedMemberFeature")] + Guid Core.Types.IFeatureMembership.ownedMemberFeature => throw new InvalidOperationException("Redefined by property IRequirementConstraintMembership.OwnedConstraint"); + + /// + /// The name of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] + [Implements(implementation: "IOwningMembership.OwnedMemberName")] + public string ownedMemberName { get; internal set; } + + /// + /// The shortName of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] + [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] + public string ownedMemberShortName { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The owned RequirementUsage that acts as the ownedConstraint for this + /// RequirementVerificationMembership. This will either be the verifiedRequirement, or it will subset + /// the verifiedRequirement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603921329650_612380_147", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1584048366950_985767_426")] + [Implements(implementation: "IRequirementVerificationMembership.OwnedRequirement")] + public Guid ownedRequirement { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that owns this FeatureMembership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_418504_43339", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866524_738482_486")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] + [Implements(implementation: "IFeatureMembership.OwningType")] + public Guid owningType { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The ConstraintUsage that is referenced through this RequirementConstraintMembership. It is the + /// referencedFeature of the ownedReferenceSubsetting of the ownedConstraint, if there is one, and, + /// otherwise, the ownedConstraint itself. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617118807597_77864_3544", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IRequirementVerificationMembership.VerifiedRequirement")] + [Implements(implementation: "IRequirementConstraintMembership.ReferencedConstraint")] + Guid Systems.Requirements.IRequirementConstraintMembership.referencedConstraint => throw new InvalidOperationException("Redefined by property IRequirementVerificationMembership.VerifiedRequirement"); + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IRelationship.RelatedElement")] + public List relatedElement { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IMembership.MembershipOwningNamespace")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IMembership.MemberElement")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + set => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// The RequirementUsage that is identified as being verified. It is the referencedConstraint of the + /// RequirementVerificationMembership considered as a RequirementConstraintMembership, which must be a + /// RequirementUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603921870169_98378_309", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1617118807597_77864_3544")] + [Implements(implementation: "IRequirementVerificationMembership.VerifiedRequirement")] + public Guid verifiedRequirement { get; internal set; } + + /// + /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly + /// visible outside that Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_42975_43193", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "public")] + [Implements(implementation: "IMembership.Visibility")] + public VisibilityKind Visibility { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ResultExpressionMembership.cs b/SysML2.NET/Core/AutoGenDto/ResultExpressionMembership.cs index 1c2a9c26..5ab4aee0 100644 --- a/SysML2.NET/Core/AutoGenDto/ResultExpressionMembership.cs +++ b/SysML2.NET/Core/AutoGenDto/ResultExpressionMembership.cs @@ -1,381 +1,401 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Functions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Root.Namespaces; - using SysML2.NET.Core.DTO.Core.Types; - using SysML2.NET.Decorators; - - /// - /// A ResultExpressionMembership is a FeatureMembership that indicates that the ownedResultExpression - /// provides the result values for the Function or Expression that owns it. The owning Function or - /// Expression must contain a BindingConnector between the result parameter of the ownedResultExpression - /// and the result parameter of the owning Function or Expression. - /// - [Class(xmiId: "_19_0_2_12e503d9_1594868887258_973573_2461", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class ResultExpressionMembership : IResultExpressionMembership - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_819490_43195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] - [Implements(implementation: "IMembership.MemberElement")] - public Guid MemberElement { get; set; } - - /// - /// The elementId of the memberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] - [Implements(implementation: "IMembership.MemberElementId")] - public string MemberElementId { get; internal set; } - - /// - /// The name of the memberElement relative to the membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberName")] - [Implements(implementation: "IMembership.MemberName")] - public string MemberName { get; set; } - - /// - /// The Namespace of which the memberElement becomes a member due to this Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_193857_43197", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_531296_43182")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [RedefinedByProperty("IFeatureMembership.OwningType")] - [Implements(implementation: "IMembership.MembershipOwningNamespace")] - public Guid MembershipOwningNamespace { get; internal set; } - - /// - /// The short name of the memberElement relative to the membershipOwningNamespace. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] - [Implements(implementation: "IMembership.MemberShortName")] - public string MemberShortName { get; set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this - /// OwningMembership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_501750_43196", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_59873_43302")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] - [RedefinedByProperty("IFeatureMembership.OwnedMemberFeature")] - [Implements(implementation: "IOwningMembership.OwnedMemberElement")] - public Guid OwnedMemberElement { get; internal set; } - - /// - /// The elementId of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] - [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] - public string OwnedMemberElementId { get; internal set; } - - /// - /// The Feature that this FeatureMembership relates to its owningType, making it an ownedFeature of the - /// owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_898044_43344", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] - [RedefinedByProperty("IResultExpressionMembership.OwnedResultExpression")] - [Implements(implementation: "IFeatureMembership.OwnedMemberFeature")] - public Guid OwnedMemberFeature { get; internal set; } - - /// - /// The name of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] - [Implements(implementation: "IOwningMembership.OwnedMemberName")] - public string OwnedMemberName { get; internal set; } - - /// - /// The shortName of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] - [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] - public string OwnedMemberShortName { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The Expression that provides the result for the owner of the ResultExpressionMembership. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594868945944_989058_2545", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] - [Implements(implementation: "IResultExpressionMembership.OwnedResultExpression")] - public Guid OwnedResultExpression { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that owns this FeatureMembership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_418504_43339", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866524_738482_486")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] - [Implements(implementation: "IFeatureMembership.OwningType")] - public Guid OwningType { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IMembership.MembershipOwningNamespace")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IMembership.MemberElement")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly - /// visible outside that Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_42975_43193", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "public")] - [Implements(implementation: "IMembership.Visibility")] - public VisibilityKind Visibility { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Functions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Root.Namespaces; + using SysML2.NET.Core.DTO.Core.Types; + using SysML2.NET.Decorators; + + /// + /// A ResultExpressionMembership is a FeatureMembership that indicates that the ownedResultExpression + /// provides the result values for the Function or Expression that owns it. The owning Function or + /// Expression must contain a BindingConnector between the result parameter of the ownedResultExpression + /// and the result parameter of the owning Function or Expression. + /// + [Class(xmiId: "_19_0_2_12e503d9_1594868887258_973573_2461", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class ResultExpressionMembership : IResultExpressionMembership + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_819490_43195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] + [Implements(implementation: "IMembership.MemberElement")] + Guid Root.Namespaces.IMembership.MemberElement + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + } + + /// + /// The elementId of the memberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] + [Implements(implementation: "IMembership.MemberElementId")] + string Root.Namespaces.IMembership.memberElementId => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElementId"); + + /// + /// The name of the memberElement relative to the membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberName")] + [Implements(implementation: "IMembership.MemberName")] + string Root.Namespaces.IMembership.MemberName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + } + + /// + /// The Namespace of which the memberElement becomes a member due to this Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_193857_43197", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_531296_43182")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [RedefinedByProperty("IFeatureMembership.OwningType")] + [Implements(implementation: "IMembership.MembershipOwningNamespace")] + Guid Root.Namespaces.IMembership.membershipOwningNamespace => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwningType"); + + /// + /// The short name of the memberElement relative to the membershipOwningNamespace. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] + [Implements(implementation: "IMembership.MemberShortName")] + string Root.Namespaces.IMembership.MemberShortName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this + /// OwningMembership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_501750_43196", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_59873_43302")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] + [RedefinedByProperty("IFeatureMembership.OwnedMemberFeature")] + [Implements(implementation: "IOwningMembership.OwnedMemberElement")] + Guid Root.Namespaces.IOwningMembership.ownedMemberElement => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwnedMemberFeature"); + + /// + /// The elementId of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] + [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] + public string ownedMemberElementId { get; internal set; } + + /// + /// The Feature that this FeatureMembership relates to its owningType, making it an ownedFeature of the + /// owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_898044_43344", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] + [RedefinedByProperty("IResultExpressionMembership.OwnedResultExpression")] + [Implements(implementation: "IFeatureMembership.OwnedMemberFeature")] + Guid Core.Types.IFeatureMembership.ownedMemberFeature => throw new InvalidOperationException("Redefined by property IResultExpressionMembership.OwnedResultExpression"); + + /// + /// The name of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] + [Implements(implementation: "IOwningMembership.OwnedMemberName")] + public string ownedMemberName { get; internal set; } + + /// + /// The shortName of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] + [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] + public string ownedMemberShortName { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The Expression that provides the result for the owner of the ResultExpressionMembership. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594868945944_989058_2545", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] + [Implements(implementation: "IResultExpressionMembership.OwnedResultExpression")] + public Guid ownedResultExpression { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that owns this FeatureMembership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_418504_43339", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866524_738482_486")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] + [Implements(implementation: "IFeatureMembership.OwningType")] + public Guid owningType { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IRelationship.RelatedElement")] + public List relatedElement { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IMembership.MembershipOwningNamespace")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IMembership.MemberElement")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + set => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly + /// visible outside that Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_42975_43193", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "public")] + [Implements(implementation: "IMembership.Visibility")] + public VisibilityKind Visibility { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ReturnParameterMembership.cs b/SysML2.NET/Core/AutoGenDto/ReturnParameterMembership.cs index 8360aeae..2b41ecf0 100644 --- a/SysML2.NET/Core/AutoGenDto/ReturnParameterMembership.cs +++ b/SysML2.NET/Core/AutoGenDto/ReturnParameterMembership.cs @@ -1,380 +1,400 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Functions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Root.Namespaces; - using SysML2.NET.Core.DTO.Kernel.Behaviors; - using SysML2.NET.Decorators; - - /// - /// A ReturnParameterMembership is a ParameterMembership that indicates that the ownedMemberParameter is - /// the result parameter of a Function or Expression. The direction of the ownedMemberParameter must be - /// out. - /// - [Class(xmiId: "_18_5_3_12e503d9_1557528148740_240982_111109", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class ReturnParameterMembership : IReturnParameterMembership - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_819490_43195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] - [Implements(implementation: "IMembership.MemberElement")] - public Guid MemberElement { get; set; } - - /// - /// The elementId of the memberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] - [Implements(implementation: "IMembership.MemberElementId")] - public string MemberElementId { get; internal set; } - - /// - /// The name of the memberElement relative to the membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberName")] - [Implements(implementation: "IMembership.MemberName")] - public string MemberName { get; set; } - - /// - /// The Namespace of which the memberElement becomes a member due to this Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_193857_43197", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_531296_43182")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [RedefinedByProperty("IFeatureMembership.OwningType")] - [Implements(implementation: "IMembership.MembershipOwningNamespace")] - public Guid MembershipOwningNamespace { get; internal set; } - - /// - /// The short name of the memberElement relative to the membershipOwningNamespace. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] - [Implements(implementation: "IMembership.MemberShortName")] - public string MemberShortName { get; set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this - /// OwningMembership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_501750_43196", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_59873_43302")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] - [RedefinedByProperty("IFeatureMembership.OwnedMemberFeature")] - [Implements(implementation: "IOwningMembership.OwnedMemberElement")] - public Guid OwnedMemberElement { get; internal set; } - - /// - /// The elementId of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] - [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] - public string OwnedMemberElementId { get; internal set; } - - /// - /// The Feature that this FeatureMembership relates to its owningType, making it an ownedFeature of the - /// owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_898044_43344", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] - [RedefinedByProperty("IParameterMembership.OwnedMemberParameter")] - [Implements(implementation: "IFeatureMembership.OwnedMemberFeature")] - public Guid OwnedMemberFeature { get; internal set; } - - /// - /// The name of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] - [Implements(implementation: "IOwningMembership.OwnedMemberName")] - public string OwnedMemberName { get; internal set; } - - /// - /// The Feature that is identified as a parameter by this ParameterMembership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1557528016548_548098_110830", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] - [Implements(implementation: "IParameterMembership.OwnedMemberParameter")] - public Guid OwnedMemberParameter { get; internal set; } - - /// - /// The shortName of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] - [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] - public string OwnedMemberShortName { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that owns this FeatureMembership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_418504_43339", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866524_738482_486")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] - [Implements(implementation: "IFeatureMembership.OwningType")] - public Guid OwningType { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IMembership.MembershipOwningNamespace")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IMembership.MemberElement")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly - /// visible outside that Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_42975_43193", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "public")] - [Implements(implementation: "IMembership.Visibility")] - public VisibilityKind Visibility { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Functions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Root.Namespaces; + using SysML2.NET.Core.DTO.Kernel.Behaviors; + using SysML2.NET.Decorators; + + /// + /// A ReturnParameterMembership is a ParameterMembership that indicates that the ownedMemberParameter is + /// the result parameter of a Function or Expression. The direction of the ownedMemberParameter must be + /// out. + /// + [Class(xmiId: "_18_5_3_12e503d9_1557528148740_240982_111109", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class ReturnParameterMembership : IReturnParameterMembership + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_819490_43195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] + [Implements(implementation: "IMembership.MemberElement")] + Guid Root.Namespaces.IMembership.MemberElement + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + } + + /// + /// The elementId of the memberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] + [Implements(implementation: "IMembership.MemberElementId")] + string Root.Namespaces.IMembership.memberElementId => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElementId"); + + /// + /// The name of the memberElement relative to the membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberName")] + [Implements(implementation: "IMembership.MemberName")] + string Root.Namespaces.IMembership.MemberName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + } + + /// + /// The Namespace of which the memberElement becomes a member due to this Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_193857_43197", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_531296_43182")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [RedefinedByProperty("IFeatureMembership.OwningType")] + [Implements(implementation: "IMembership.MembershipOwningNamespace")] + Guid Root.Namespaces.IMembership.membershipOwningNamespace => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwningType"); + + /// + /// The short name of the memberElement relative to the membershipOwningNamespace. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] + [Implements(implementation: "IMembership.MemberShortName")] + string Root.Namespaces.IMembership.MemberShortName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this + /// OwningMembership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_501750_43196", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_59873_43302")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] + [RedefinedByProperty("IFeatureMembership.OwnedMemberFeature")] + [Implements(implementation: "IOwningMembership.OwnedMemberElement")] + Guid Root.Namespaces.IOwningMembership.ownedMemberElement => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwnedMemberFeature"); + + /// + /// The elementId of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] + [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] + public string ownedMemberElementId { get; internal set; } + + /// + /// The Feature that this FeatureMembership relates to its owningType, making it an ownedFeature of the + /// owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_898044_43344", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] + [RedefinedByProperty("IParameterMembership.OwnedMemberParameter")] + [Implements(implementation: "IFeatureMembership.OwnedMemberFeature")] + Guid Core.Types.IFeatureMembership.ownedMemberFeature => throw new InvalidOperationException("Redefined by property IParameterMembership.OwnedMemberParameter"); + + /// + /// The name of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] + [Implements(implementation: "IOwningMembership.OwnedMemberName")] + public string ownedMemberName { get; internal set; } + + /// + /// The Feature that is identified as a parameter by this ParameterMembership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1557528016548_548098_110830", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] + [Implements(implementation: "IParameterMembership.OwnedMemberParameter")] + public Guid ownedMemberParameter { get; internal set; } + + /// + /// The shortName of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] + [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] + public string ownedMemberShortName { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that owns this FeatureMembership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_418504_43339", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866524_738482_486")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] + [Implements(implementation: "IFeatureMembership.OwningType")] + public Guid owningType { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IRelationship.RelatedElement")] + public List relatedElement { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IMembership.MembershipOwningNamespace")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IMembership.MemberElement")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + set => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly + /// visible outside that Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_42975_43193", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "public")] + [Implements(implementation: "IMembership.Visibility")] + public VisibilityKind Visibility { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/SatisfyRequirementUsage.cs b/SysML2.NET/Core/AutoGenDto/SatisfyRequirementUsage.cs index d35870cb..086a1f3d 100644 --- a/SysML2.NET/Core/AutoGenDto/SatisfyRequirementUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/SatisfyRequirementUsage.cs @@ -1,1258 +1,1266 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Requirements -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Core.DTO.Systems.Constraints; - using SysML2.NET.Decorators; - - /// - /// A SatisfyRequirementUsage is an AssertConstraintUsage that asserts, by default, that a satisfied - /// RequirementUsage is true for a specific satisfyingFeature, or, if isNegated = true, that the - /// RequirementUsage is false. The satisfied RequirementUsage is related to the SatisfyRequirementUsage - /// by a ReferenceSubsetting Relationship. - /// - [Class(xmiId: "_19_0_2_12e503d9_1583184587272_448420_2009", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class SatisfyRequirementUsage : ISatisfyRequirementUsage - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// The parameters of this RequirementUsage that represent actors involved in the requirement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621564075474_350859_2735", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IRequirementUsage.ActorParameter")] - public List ActorParameter { get; internal set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The ConstraintUsage to be performed by the AssertConstraintUsage. It is the referenceFeature of the - /// ownedReferenceSubsetting for the AssertConstraintUsage, if there is one, and, otherwise, the - /// AssertConstraintUsage itself. - /// - [Property(xmiId: "_19_0_2_12e503d9_1581045158665_239617_9458", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("ISatisfyRequirementUsage.SatisfiedRequirement")] - [Implements(implementation: "IAssertConstraintUsage.AssertedConstraint")] - public Guid AssertedConstraint { get; internal set; } - - /// - /// The owned ConstraintUsages that represent assumptions of this RequirementUsage, derived as the - /// ownedConstraints of the RequirementConstraintMemberships of the RequirementUsage with kind = - /// assumption. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583377612865_991722_535", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IRequirementUsage.AssumedConstraint")] - public List AssumedConstraint { get; internal set; } - - /// - /// The Behaviors that type this Step. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IExpression.Function")] - [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The (single) Predicate that is the type of this ConstraintUsage. Nominally, this will be a - /// ConstraintDefinition, but other kinds of Predicates are also allowed, to permit use of Predicates - /// from the Kernel Model Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578067546711_751168_1745", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1578025035149_386_969")] - [RedefinedByProperty("IRequirementUsage.RequirementDefinition")] - [Implements(implementation: "IConstraintUsage.ConstraintDefinition")] - public Guid? ConstraintDefinition { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IRequirementUsage.ReqId")] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds - /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] - [Implements(implementation: "IUsage.Definition")] - public List Definition { get; internal set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IStep.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Usage that are directedFeatures. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The ConcernUsages framed by this RequirementUsage, which are the ownedConcerns of all - /// FramedConcernMemberships of the RequirementUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617116922864_514612_3264", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583377448339_252740_390")] - [Implements(implementation: "IRequirementUsage.FramedConcern")] - public List FramedConcern { get; internal set; } - - /// - /// The Function that types this Expression. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - [RedefinedByProperty("IBooleanExpression.Predicate")] - [Implements(implementation: "IExpression.Function")] - public Guid? Function { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// The at most one occurrenceDefinition that has isIndividual = true. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public Guid? IndividualDefinition { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its - /// individualDefinition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceUsage.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, - /// using metadata within the model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool IsModelLevelEvaluable { get; internal set; } - - /// - /// Whether this Invariant is asserted to be false rather than true. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623945815201_648891_36531", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IInvariant.IsNegated")] - public bool IsNegated { get; set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - public bool IsPortion { get; set; } - - /// - /// Whether this Usage is a referential Usage, that is, it has isComposite = false. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsReference")] - public bool IsReference { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [RedefinedByProperty("IUsage.MayTimeVary")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage - /// must be VariantMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its - /// owningType, rather than being featured by the owningType itself). However, if isConstant is also - /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance - /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary - /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is - /// inherited from Feature. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] - [Implements(implementation: "IUsage.MayTimeVary")] - public bool MayTimeVary { get; internal set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ActionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedAction")] - public List NestedAction { get; internal set; } - - /// - /// The AllocationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedAllocation")] - public List NestedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List NestedAnalysisCase { get; internal set; } - - /// - /// The code>AttributeUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedAttribute")] - public List NestedAttribute { get; internal set; } - - /// - /// The CalculationUsage that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedCalculation")] - public List NestedCalculation { get; internal set; } - - /// - /// The CaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] - [Implements(implementation: "IUsage.NestedCase")] - public List NestedCase { get; internal set; } - - /// - /// The ConcernUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedConcern")] - public List NestedConcern { get; internal set; } - - /// - /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are - /// ConnectorAsUsages even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedConnection")] - public List NestedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedConstraint")] - public List NestedConstraint { get; internal set; } - - /// - /// The code>EnumerationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] - [Implements(implementation: "IUsage.NestedEnumeration")] - public List NestedEnumeration { get; internal set; } - - /// - /// The code>FlowUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedFlow")] - public List NestedFlow { get; internal set; } - - /// - /// The InterfaceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedInterface")] - public List NestedInterface { get; internal set; } - - /// - /// The ItemUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedItem")] - public List NestedItem { get; internal set; } - - /// - /// The MetadataUsages that are nestedUsages of this of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedMetadata")] - public List NestedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedOccurrence")] - public List NestedOccurrence { get; internal set; } - - /// - /// The PartUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedPart")] - public List NestedPart { get; internal set; } - - /// - /// The PortUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedPort")] - public List NestedPort { get; internal set; } - - /// - /// The ReferenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedReference")] - public List NestedReference { get; internal set; } - - /// - /// The RenderingUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedRendering")] - public List NestedRendering { get; internal set; } - - /// - /// The RequirementUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] - [Implements(implementation: "IUsage.NestedRequirement")] - public List NestedRequirement { get; internal set; } - - /// - /// The StateUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedState")] - public List NestedState { get; internal set; } - - /// - /// The TransitionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedTransition")] - public List NestedTransition { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.NestedUsage")] - public List NestedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedUseCase")] - public List NestedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedVerificationCase")] - public List NestedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedView")] - public List NestedView { get; internal set; } - - /// - /// The ViewpointUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedViewpoint")] - public List NestedViewpoint { get; internal set; } - - /// - /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, - /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] - [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List OccurrenceDefinition { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The Definition that owns this Usage (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] - [Implements(implementation: "IUsage.OwningDefinition")] - public Guid? OwningDefinition { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The Usage in which this Usage is nested (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IUsage.OwningUsage")] - public Guid? OwningUsage { get; internal set; } - - /// - /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into - /// and/or out of a performance of the Step. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If - /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the - /// OccurrenceUsage represents portions of the featuring instance of the owningType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IOccurrenceUsage.PortionKind")] - public PortionKind? PortionKind { get; set; } - - /// - /// The Predicate that types the Expression. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578025035149_386_969", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1543948477241_299049_20934")] - [RedefinedByProperty("IConstraintUsage.ConstraintDefinition")] - [Implements(implementation: "IBooleanExpression.Predicate")] - public Guid? Predicate { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// An optional modeler-specified identifier for this RequirementUsage (used, e.g., to link it to an - /// original requirement text in some source document), which is the declaredShortName for the - /// RequirementUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583376474630_975784_96", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1594160442439_915308_4153")] - [Implements(implementation: "IRequirementUsage.ReqId")] - public string ReqId { get; set; } - - /// - /// The owned ConstraintUsages that represent requirements of this RequirementUsage, which are the - /// ownedConstraints of the RequirementConstraintMemberships of the RequirementUsage with kind = - /// requirement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583377448339_252740_390", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IRequirementUsage.RequiredConstraint")] - public List RequiredConstraint { get; internal set; } - - /// - /// The RequirementDefinition that is the single definition of this RequirementUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000408905_769743_1223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1578067546711_751168_1745")] - [Implements(implementation: "IRequirementUsage.RequirementDefinition")] - public Guid? RequirementDefinition { get; internal set; } - - /// - /// An output parameter of the Expression whose value is the result of the Expression. The result of an - /// Expression is either inherited from its function or it is related to the Expression via a - /// ReturnParameterMembership, in which case it redefines the result parameter of its function. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [Implements(implementation: "IExpression.Result")] - public Guid Result { get; internal set; } - - /// - /// The RequirementUsage that is satisfied by the satisfyingSubject of this SatisfyRequirementUsage. It - /// is the assertedConstraint of the SatisfyRequirementUsage considered as an AssertConstraintUsage, - /// which must be a RequirementUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583185037725_699150_2332", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1581045158665_239617_9458")] - [Implements(implementation: "ISatisfyRequirementUsage.SatisfiedRequirement")] - public Guid SatisfiedRequirement { get; internal set; } - - /// - /// The Feature that represents the actual subject that is asserted to satisfy the satisfiedRequirement. - /// The satisfyingFeature is bound to the subjectParameter of the SatisfyRequirementUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583378847285_929988_1396", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "ISatisfyRequirementUsage.SatisfyingFeature")] - public Guid SatisfyingFeature { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The parameters of this RequirementUsage that represent stakeholders for the requirement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624032823963_328647_40107", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IRequirementUsage.StakeholderParameter")] - public List StakeholderParameter { get; internal set; } - - /// - /// The parameter of this RequirementUsage that represents its subject. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189397261_941898_844", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IRequirementUsage.SubjectParameter")] - public Guid SubjectParameter { get; internal set; } - - /// - /// An optional textual statement of the requirement represented by this RequirementUsage, derived from - /// the bodies of the documentation of the RequirementUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583376480942_745679_99", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IRequirementUsage.Text")] - public List Text { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IUsage.Definition")] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Usage (not necessarily owned). - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IUsage.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = - /// true. If isVariation = false, then there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IUsage.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this - /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IUsage.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Requirements +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Core.DTO.Systems.Constraints; + using SysML2.NET.Decorators; + + /// + /// A SatisfyRequirementUsage is an AssertConstraintUsage that asserts, by default, that a satisfied + /// RequirementUsage is true for a specific satisfyingFeature, or, if isNegated = true, that the + /// RequirementUsage is false. The satisfied RequirementUsage is related to the SatisfyRequirementUsage + /// by a ReferenceSubsetting Relationship. + /// + [Class(xmiId: "_19_0_2_12e503d9_1583184587272_448420_2009", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class SatisfyRequirementUsage : ISatisfyRequirementUsage + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// The parameters of this RequirementUsage that represent actors involved in the requirement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621564075474_350859_2735", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IRequirementUsage.ActorParameter")] + public List actorParameter { get; internal set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The ConstraintUsage to be performed by the AssertConstraintUsage. It is the referenceFeature of the + /// ownedReferenceSubsetting for the AssertConstraintUsage, if there is one, and, otherwise, the + /// AssertConstraintUsage itself. + /// + [Property(xmiId: "_19_0_2_12e503d9_1581045158665_239617_9458", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("ISatisfyRequirementUsage.SatisfiedRequirement")] + [Implements(implementation: "IAssertConstraintUsage.AssertedConstraint")] + Guid Systems.Constraints.IAssertConstraintUsage.assertedConstraint => throw new InvalidOperationException("Redefined by property ISatisfyRequirementUsage.SatisfiedRequirement"); + + /// + /// The owned ConstraintUsages that represent assumptions of this RequirementUsage, derived as the + /// ownedConstraints of the RequirementConstraintMemberships of the RequirementUsage with kind = + /// assumption. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583377612865_991722_535", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IRequirementUsage.AssumedConstraint")] + public List assumedConstraint { get; internal set; } + + /// + /// The Behaviors that type this Step. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IExpression.Function")] + [Implements(implementation: "IStep.Behavior")] + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The (single) Predicate that is the type of this ConstraintUsage. Nominally, this will be a + /// ConstraintDefinition, but other kinds of Predicates are also allowed, to permit use of Predicates + /// from the Kernel Model Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578067546711_751168_1745", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1578025035149_386_969")] + [RedefinedByProperty("IRequirementUsage.RequirementDefinition")] + [Implements(implementation: "IConstraintUsage.ConstraintDefinition")] + Guid? Systems.Constraints.IConstraintUsage.constraintDefinition => throw new InvalidOperationException("Redefined by property IRequirementUsage.RequirementDefinition"); + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IRequirementUsage.ReqId")] + [Implements(implementation: "IElement.DeclaredShortName")] + string Root.Elements.IElement.DeclaredShortName + { + get => throw new InvalidOperationException("Redefined by property IRequirementUsage.ReqId"); + set => throw new InvalidOperationException("Redefined by property IRequirementUsage.ReqId"); + } + + /// + /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds + /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] + [Implements(implementation: "IUsage.Definition")] + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IStep.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); + + /// + /// The usages of this Usage that are directedFeatures. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The ConcernUsages framed by this RequirementUsage, which are the ownedConcerns of all + /// FramedConcernMemberships of the RequirementUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617116922864_514612_3264", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583377448339_252740_390")] + [Implements(implementation: "IRequirementUsage.FramedConcern")] + public List framedConcern { get; internal set; } + + /// + /// The Function that types this Expression. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] + [RedefinedByProperty("IBooleanExpression.Predicate")] + [Implements(implementation: "IExpression.Function")] + Guid? Kernel.Functions.IExpression.function => throw new InvalidOperationException("Redefined by property IBooleanExpression.Predicate"); + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// The at most one occurrenceDefinition that has isIndividual = true. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] + public Guid? individualDefinition { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its + /// individualDefinition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceUsage.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, + /// using metadata within the model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IExpression.IsModelLevelEvaluable")] + public bool isModelLevelEvaluable { get; internal set; } + + /// + /// Whether this Invariant is asserted to be false rather than true. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623945815201_648891_36531", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IInvariant.IsNegated")] + public bool IsNegated { get; set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + public bool IsPortion { get; set; } + + /// + /// Whether this Usage is a referential Usage, that is, it has isComposite = false. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsReference")] + public bool isReference { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [RedefinedByProperty("IUsage.MayTimeVary")] + [Implements(implementation: "IFeature.IsVariable")] + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } + + /// + /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage + /// must be VariantMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its + /// owningType, rather than being featured by the owningType itself). However, if isConstant is also + /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance + /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary + /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is + /// inherited from Feature. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] + [Implements(implementation: "IUsage.MayTimeVary")] + public bool mayTimeVary { get; internal set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ActionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedAction")] + public List nestedAction { get; internal set; } + + /// + /// The AllocationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedAllocation")] + public List nestedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedAnalysisCase")] + public List nestedAnalysisCase { get; internal set; } + + /// + /// The code>AttributeUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedAttribute")] + public List nestedAttribute { get; internal set; } + + /// + /// The CalculationUsage that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedCalculation")] + public List nestedCalculation { get; internal set; } + + /// + /// The CaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] + [Implements(implementation: "IUsage.NestedCase")] + public List nestedCase { get; internal set; } + + /// + /// The ConcernUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedConcern")] + public List nestedConcern { get; internal set; } + + /// + /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are + /// ConnectorAsUsages even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedConnection")] + public List nestedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedConstraint")] + public List nestedConstraint { get; internal set; } + + /// + /// The code>EnumerationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] + [Implements(implementation: "IUsage.NestedEnumeration")] + public List nestedEnumeration { get; internal set; } + + /// + /// The code>FlowUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedFlow")] + public List nestedFlow { get; internal set; } + + /// + /// The InterfaceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedInterface")] + public List nestedInterface { get; internal set; } + + /// + /// The ItemUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedItem")] + public List nestedItem { get; internal set; } + + /// + /// The MetadataUsages that are nestedUsages of this of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedMetadata")] + public List nestedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedOccurrence")] + public List nestedOccurrence { get; internal set; } + + /// + /// The PartUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedPart")] + public List nestedPart { get; internal set; } + + /// + /// The PortUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedPort")] + public List nestedPort { get; internal set; } + + /// + /// The ReferenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedReference")] + public List nestedReference { get; internal set; } + + /// + /// The RenderingUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedRendering")] + public List nestedRendering { get; internal set; } + + /// + /// The RequirementUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] + [Implements(implementation: "IUsage.NestedRequirement")] + public List nestedRequirement { get; internal set; } + + /// + /// The StateUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedState")] + public List nestedState { get; internal set; } + + /// + /// The TransitionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedTransition")] + public List nestedTransition { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.NestedUsage")] + public List nestedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedUseCase")] + public List nestedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedVerificationCase")] + public List nestedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedView")] + public List nestedView { get; internal set; } + + /// + /// The ViewpointUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedViewpoint")] + public List nestedViewpoint { get; internal set; } + + /// + /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, + /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] + [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] + public List occurrenceDefinition { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The Definition that owns this Usage (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] + [Implements(implementation: "IUsage.OwningDefinition")] + public Guid? owningDefinition { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The Usage in which this Usage is nested (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IUsage.OwningUsage")] + public Guid? owningUsage { get; internal set; } + + /// + /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into + /// and/or out of a performance of the Step. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IStep.Parameter")] + public List parameter { get; internal set; } + + /// + /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If + /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the + /// OccurrenceUsage represents portions of the featuring instance of the owningType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IOccurrenceUsage.PortionKind")] + public PortionKind? PortionKind { get; set; } + + /// + /// The Predicate that types the Expression. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578025035149_386_969", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1543948477241_299049_20934")] + [RedefinedByProperty("IConstraintUsage.ConstraintDefinition")] + [Implements(implementation: "IBooleanExpression.Predicate")] + Guid? Kernel.Functions.IBooleanExpression.predicate => throw new InvalidOperationException("Redefined by property IConstraintUsage.ConstraintDefinition"); + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// An optional modeler-specified identifier for this RequirementUsage (used, e.g., to link it to an + /// original requirement text in some source document), which is the declaredShortName for the + /// RequirementUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583376474630_975784_96", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1594160442439_915308_4153")] + [Implements(implementation: "IRequirementUsage.ReqId")] + public string ReqId { get; set; } + + /// + /// The owned ConstraintUsages that represent requirements of this RequirementUsage, which are the + /// ownedConstraints of the RequirementConstraintMemberships of the RequirementUsage with kind = + /// requirement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583377448339_252740_390", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IRequirementUsage.RequiredConstraint")] + public List requiredConstraint { get; internal set; } + + /// + /// The RequirementDefinition that is the single definition of this RequirementUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000408905_769743_1223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1578067546711_751168_1745")] + [Implements(implementation: "IRequirementUsage.RequirementDefinition")] + public Guid? requirementDefinition { get; internal set; } + + /// + /// An output parameter of the Expression whose value is the result of the Expression. The result of an + /// Expression is either inherited from its function or it is related to the Expression via a + /// ReturnParameterMembership, in which case it redefines the result parameter of its function. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [Implements(implementation: "IExpression.Result")] + public Guid result { get; internal set; } + + /// + /// The RequirementUsage that is satisfied by the satisfyingSubject of this SatisfyRequirementUsage. It + /// is the assertedConstraint of the SatisfyRequirementUsage considered as an AssertConstraintUsage, + /// which must be a RequirementUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583185037725_699150_2332", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1581045158665_239617_9458")] + [Implements(implementation: "ISatisfyRequirementUsage.SatisfiedRequirement")] + public Guid satisfiedRequirement { get; internal set; } + + /// + /// The Feature that represents the actual subject that is asserted to satisfy the satisfiedRequirement. + /// The satisfyingFeature is bound to the subjectParameter of the SatisfyRequirementUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583378847285_929988_1396", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "ISatisfyRequirementUsage.SatisfyingFeature")] + public Guid satisfyingFeature { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The parameters of this RequirementUsage that represent stakeholders for the requirement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624032823963_328647_40107", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IRequirementUsage.StakeholderParameter")] + public List stakeholderParameter { get; internal set; } + + /// + /// The parameter of this RequirementUsage that represents its subject. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189397261_941898_844", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IRequirementUsage.SubjectParameter")] + public Guid subjectParameter { get; internal set; } + + /// + /// An optional textual statement of the requirement represented by this RequirementUsage, derived from + /// the bodies of the documentation of the RequirementUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583376480942_745679_99", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IRequirementUsage.Text")] + public List text { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IUsage.Definition")] + [Implements(implementation: "IFeature.Type")] + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Usage (not necessarily owned). + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IUsage.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = + /// true. If isVariation = false, then there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IUsage.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this + /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IUsage.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/SelectExpression.cs b/SysML2.NET/Core/AutoGenDto/SelectExpression.cs index beaccb5d..3168b9c3 100644 --- a/SysML2.NET/Core/AutoGenDto/SelectExpression.cs +++ b/SysML2.NET/Core/AutoGenDto/SelectExpression.cs @@ -1,802 +1,806 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Expressions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Decorators; - - /// - /// A SelectExpression is an OperatorExpression whose operator is "select", which resolves to the - /// Function ControlFunctions::select from the Kernel Functions Library. - /// - [Class(xmiId: "_18_5_3_12e503d9_1559596717567_82711_29088", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class SelectExpression : ISelectExpression - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Expressions whose results are bound to features of the instantiatedType. The arguments are - /// ordered consistent with the order of the features, though they may not be one-to-one with all the - /// features.Note. The derivation of argument is given in the concrete subclasses of - /// InstantiationExpression. - /// - [Property(xmiId: "_2022x_2_12e503d9_1739134437590_328753_108", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IInstantiationExpression.Argument")] - public List Argument { get; internal set; } - - /// - /// The Behaviors that type this Step. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IExpression.Function")] - [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IStep.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Function that types this Expression. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - [Implements(implementation: "IExpression.Function")] - public Guid? Function { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The Type that is being instantiated. - /// - [Property(xmiId: "_2022x_2_12e503d9_1739134352572_416088_80", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IInstantiationExpression.InstantiatedType")] - public Guid InstantiatedType { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, - /// using metadata within the model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool IsModelLevelEvaluable { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// - [Property(xmiId: "_18_5_3_12e503d9_1559596728932_861031_29126", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "select")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1557528808100_646606_111674")] - [Implements(implementation: "ISelectExpression.Operator")] - string ISelectExpression.Operator { get; set; } = "select"; - - /// - /// An operator symbol that names a corresponding Function from one of the standard packages from the - /// Kernel Function Library . - /// - [Property(xmiId: "_18_5_3_12e503d9_1557528808100_646606_111674", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("ISelectExpression.Operator")] - [Implements(implementation: "IOperatorExpression.Operator")] - string IOperatorExpression.Operator { get; set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into - /// and/or out of a performance of the Step. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// An output parameter of the Expression whose value is the result of the Expression. The result of an - /// Expression is either inherited from its function or it is related to the Expression via a - /// ReturnParameterMembership, in which case it redefines the result parameter of its function. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [Implements(implementation: "IExpression.Result")] - public Guid Result { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Expressions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Decorators; + + /// + /// A SelectExpression is an OperatorExpression whose operator is "select", which resolves to the + /// Function ControlFunctions::select from the Kernel Functions Library. + /// + [Class(xmiId: "_18_5_3_12e503d9_1559596717567_82711_29088", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class SelectExpression : ISelectExpression + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Expressions whose results are bound to features of the instantiatedType. The arguments are + /// ordered consistent with the order of the features, though they may not be one-to-one with all the + /// features.Note. The derivation of argument is given in the concrete subclasses of + /// InstantiationExpression. + /// + [Property(xmiId: "_2022x_2_12e503d9_1739134437590_328753_108", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IInstantiationExpression.Argument")] + public List argument { get; internal set; } + + /// + /// The Behaviors that type this Step. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IExpression.Function")] + [Implements(implementation: "IStep.Behavior")] + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IStep.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Function that types this Expression. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] + [Implements(implementation: "IExpression.Function")] + public Guid? function { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The Type that is being instantiated. + /// + [Property(xmiId: "_2022x_2_12e503d9_1739134352572_416088_80", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IInstantiationExpression.InstantiatedType")] + public Guid instantiatedType { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, + /// using metadata within the model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IExpression.IsModelLevelEvaluable")] + public bool isModelLevelEvaluable { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsVariable")] + public bool IsVariable { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// + [Property(xmiId: "_18_5_3_12e503d9_1559596728932_861031_29126", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "select")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1557528808100_646606_111674")] + [Implements(implementation: "ISelectExpression.Operator")] + public string Operator { get; set; } = "select"; + + /// + /// An operator symbol that names a corresponding Function from one of the standard packages from the + /// Kernel Function Library . + /// + [Property(xmiId: "_18_5_3_12e503d9_1557528808100_646606_111674", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("ISelectExpression.Operator")] + [Implements(implementation: "IOperatorExpression.Operator")] + string IOperatorExpression.Operator + { + get => throw new InvalidOperationException("Redefined by property ISelectExpression.Operator"); + set => throw new InvalidOperationException("Redefined by property ISelectExpression.Operator"); + } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into + /// and/or out of a performance of the Step. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IStep.Parameter")] + public List parameter { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// An output parameter of the Expression whose value is the result of the Expression. The result of an + /// Expression is either inherited from its function or it is related to the Expression via a + /// ReturnParameterMembership, in which case it redefines the result parameter of its function. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [Implements(implementation: "IExpression.Result")] + public Guid result { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Type")] + public List type { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/SendActionUsage.cs b/SysML2.NET/Core/AutoGenDto/SendActionUsage.cs index 4ea97ddb..c5951fe4 100644 --- a/SysML2.NET/Core/AutoGenDto/SendActionUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/SendActionUsage.cs @@ -1,1126 +1,1130 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Actions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Decorators; - - /// - /// A SendActionUsage is an ActionUsage that specifies the sending of a payload given by the result of - /// its payloadArgument Expression via a MessageTransfer whose source is given by the result of the - /// senderArgument Expression and whose target is given by the result of the receiverArgument - /// Expression. If no senderArgument is provided, the default is the this context for the action. If no - /// receiverArgument is given, then the receiver is to be determined by, e.g., outgoing Connections from - /// the sender. - /// - [Class(xmiId: "_18_5_3_12e503d9_1565505727349_597544_34143", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class SendActionUsage : ISendActionUsage - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// The Behaviors that are the types of this ActionUsage. Nominally, these would be ActionDefinitions, - /// but other kinds of Kernel Behaviors are also allowed, to permit use of Behaviors from the Kernel - /// Model Libraries. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565500905804_589845_30779", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IActionUsage.ActionDefinition")] - public List ActionDefinition { get; internal set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Behaviors that type this Step. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IActionUsage.ActionDefinition")] - [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds - /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] - [Implements(implementation: "IUsage.Definition")] - public List Definition { get; internal set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IStep.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Usage that are directedFeatures. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// The at most one occurrenceDefinition that has isIndividual = true. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public Guid? IndividualDefinition { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its - /// individualDefinition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceUsage.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - public bool IsPortion { get; set; } - - /// - /// Whether this Usage is a referential Usage, that is, it has isComposite = false. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsReference")] - public bool IsReference { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [RedefinedByProperty("IUsage.MayTimeVary")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage - /// must be VariantMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its - /// owningType, rather than being featured by the owningType itself). However, if isConstant is also - /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance - /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary - /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is - /// inherited from Feature. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] - [Implements(implementation: "IUsage.MayTimeVary")] - public bool MayTimeVary { get; internal set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ActionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedAction")] - public List NestedAction { get; internal set; } - - /// - /// The AllocationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedAllocation")] - public List NestedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List NestedAnalysisCase { get; internal set; } - - /// - /// The code>AttributeUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedAttribute")] - public List NestedAttribute { get; internal set; } - - /// - /// The CalculationUsage that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedCalculation")] - public List NestedCalculation { get; internal set; } - - /// - /// The CaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] - [Implements(implementation: "IUsage.NestedCase")] - public List NestedCase { get; internal set; } - - /// - /// The ConcernUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedConcern")] - public List NestedConcern { get; internal set; } - - /// - /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are - /// ConnectorAsUsages even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedConnection")] - public List NestedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedConstraint")] - public List NestedConstraint { get; internal set; } - - /// - /// The code>EnumerationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] - [Implements(implementation: "IUsage.NestedEnumeration")] - public List NestedEnumeration { get; internal set; } - - /// - /// The code>FlowUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedFlow")] - public List NestedFlow { get; internal set; } - - /// - /// The InterfaceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedInterface")] - public List NestedInterface { get; internal set; } - - /// - /// The ItemUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedItem")] - public List NestedItem { get; internal set; } - - /// - /// The MetadataUsages that are nestedUsages of this of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedMetadata")] - public List NestedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedOccurrence")] - public List NestedOccurrence { get; internal set; } - - /// - /// The PartUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedPart")] - public List NestedPart { get; internal set; } - - /// - /// The PortUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedPort")] - public List NestedPort { get; internal set; } - - /// - /// The ReferenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedReference")] - public List NestedReference { get; internal set; } - - /// - /// The RenderingUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedRendering")] - public List NestedRendering { get; internal set; } - - /// - /// The RequirementUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] - [Implements(implementation: "IUsage.NestedRequirement")] - public List NestedRequirement { get; internal set; } - - /// - /// The StateUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedState")] - public List NestedState { get; internal set; } - - /// - /// The TransitionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedTransition")] - public List NestedTransition { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.NestedUsage")] - public List NestedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedUseCase")] - public List NestedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedVerificationCase")] - public List NestedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedView")] - public List NestedView { get; internal set; } - - /// - /// The ViewpointUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedViewpoint")] - public List NestedViewpoint { get; internal set; } - - /// - /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, - /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] - [RedefinedByProperty("IActionUsage.ActionDefinition")] - [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List OccurrenceDefinition { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The Definition that owns this Usage (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] - [Implements(implementation: "IUsage.OwningDefinition")] - public Guid? OwningDefinition { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The Usage in which this Usage is nested (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IUsage.OwningUsage")] - public Guid? OwningUsage { get; internal set; } - - /// - /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into - /// and/or out of a performance of the Step. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } - - /// - /// An Expression whose result is bound to the payload input parameter of this SendActionUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1612814399422_336683_143", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "ISendActionUsage.PayloadArgument")] - public Guid PayloadArgument { get; internal set; } - - /// - /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If - /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the - /// OccurrenceUsage represents portions of the featuring instance of the owningType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IOccurrenceUsage.PortionKind")] - public PortionKind? PortionKind { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// An Expression whose result is bound to the receiver input parameter of this SendActionUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1567742374932_10504_18141", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "ISendActionUsage.ReceiverArgument")] - public Guid? ReceiverArgument { get; internal set; } - - /// - /// An Expression whose result is bound to the sender input parameter of this SendActionUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665504224536_894018_944", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "ISendActionUsage.SenderArgument")] - public Guid? SenderArgument { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IUsage.Definition")] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Usage (not necessarily owned). - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IUsage.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = - /// true. If isVariation = false, then there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IUsage.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this - /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IUsage.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Actions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Decorators; + + /// + /// A SendActionUsage is an ActionUsage that specifies the sending of a payload given by the result of + /// its payloadArgument Expression via a MessageTransfer whose source is given by the result of the + /// senderArgument Expression and whose target is given by the result of the receiverArgument + /// Expression. If no senderArgument is provided, the default is the this context for the action. If no + /// receiverArgument is given, then the receiver is to be determined by, e.g., outgoing Connections from + /// the sender. + /// + [Class(xmiId: "_18_5_3_12e503d9_1565505727349_597544_34143", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class SendActionUsage : ISendActionUsage + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// The Behaviors that are the types of this ActionUsage. Nominally, these would be ActionDefinitions, + /// but other kinds of Kernel Behaviors are also allowed, to permit use of Behaviors from the Kernel + /// Model Libraries. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565500905804_589845_30779", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IActionUsage.ActionDefinition")] + public List actionDefinition { get; internal set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Behaviors that type this Step. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IActionUsage.ActionDefinition")] + [Implements(implementation: "IStep.Behavior")] + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds + /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] + [Implements(implementation: "IUsage.Definition")] + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IStep.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); + + /// + /// The usages of this Usage that are directedFeatures. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// The at most one occurrenceDefinition that has isIndividual = true. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] + public Guid? individualDefinition { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its + /// individualDefinition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceUsage.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + public bool IsPortion { get; set; } + + /// + /// Whether this Usage is a referential Usage, that is, it has isComposite = false. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsReference")] + public bool isReference { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [RedefinedByProperty("IUsage.MayTimeVary")] + [Implements(implementation: "IFeature.IsVariable")] + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } + + /// + /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage + /// must be VariantMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its + /// owningType, rather than being featured by the owningType itself). However, if isConstant is also + /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance + /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary + /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is + /// inherited from Feature. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] + [Implements(implementation: "IUsage.MayTimeVary")] + public bool mayTimeVary { get; internal set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ActionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedAction")] + public List nestedAction { get; internal set; } + + /// + /// The AllocationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedAllocation")] + public List nestedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedAnalysisCase")] + public List nestedAnalysisCase { get; internal set; } + + /// + /// The code>AttributeUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedAttribute")] + public List nestedAttribute { get; internal set; } + + /// + /// The CalculationUsage that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedCalculation")] + public List nestedCalculation { get; internal set; } + + /// + /// The CaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] + [Implements(implementation: "IUsage.NestedCase")] + public List nestedCase { get; internal set; } + + /// + /// The ConcernUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedConcern")] + public List nestedConcern { get; internal set; } + + /// + /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are + /// ConnectorAsUsages even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedConnection")] + public List nestedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedConstraint")] + public List nestedConstraint { get; internal set; } + + /// + /// The code>EnumerationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] + [Implements(implementation: "IUsage.NestedEnumeration")] + public List nestedEnumeration { get; internal set; } + + /// + /// The code>FlowUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedFlow")] + public List nestedFlow { get; internal set; } + + /// + /// The InterfaceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedInterface")] + public List nestedInterface { get; internal set; } + + /// + /// The ItemUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedItem")] + public List nestedItem { get; internal set; } + + /// + /// The MetadataUsages that are nestedUsages of this of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedMetadata")] + public List nestedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedOccurrence")] + public List nestedOccurrence { get; internal set; } + + /// + /// The PartUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedPart")] + public List nestedPart { get; internal set; } + + /// + /// The PortUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedPort")] + public List nestedPort { get; internal set; } + + /// + /// The ReferenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedReference")] + public List nestedReference { get; internal set; } + + /// + /// The RenderingUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedRendering")] + public List nestedRendering { get; internal set; } + + /// + /// The RequirementUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] + [Implements(implementation: "IUsage.NestedRequirement")] + public List nestedRequirement { get; internal set; } + + /// + /// The StateUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedState")] + public List nestedState { get; internal set; } + + /// + /// The TransitionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedTransition")] + public List nestedTransition { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.NestedUsage")] + public List nestedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedUseCase")] + public List nestedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedVerificationCase")] + public List nestedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedView")] + public List nestedView { get; internal set; } + + /// + /// The ViewpointUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedViewpoint")] + public List nestedViewpoint { get; internal set; } + + /// + /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, + /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] + [RedefinedByProperty("IActionUsage.ActionDefinition")] + [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] + List Systems.Occurrences.IOccurrenceUsage.occurrenceDefinition => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The Definition that owns this Usage (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] + [Implements(implementation: "IUsage.OwningDefinition")] + public Guid? owningDefinition { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The Usage in which this Usage is nested (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IUsage.OwningUsage")] + public Guid? owningUsage { get; internal set; } + + /// + /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into + /// and/or out of a performance of the Step. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IStep.Parameter")] + public List parameter { get; internal set; } + + /// + /// An Expression whose result is bound to the payload input parameter of this SendActionUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1612814399422_336683_143", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "ISendActionUsage.PayloadArgument")] + public Guid payloadArgument { get; internal set; } + + /// + /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If + /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the + /// OccurrenceUsage represents portions of the featuring instance of the owningType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IOccurrenceUsage.PortionKind")] + public PortionKind? PortionKind { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// An Expression whose result is bound to the receiver input parameter of this SendActionUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1567742374932_10504_18141", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "ISendActionUsage.ReceiverArgument")] + public Guid? receiverArgument { get; internal set; } + + /// + /// An Expression whose result is bound to the sender input parameter of this SendActionUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665504224536_894018_944", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "ISendActionUsage.SenderArgument")] + public Guid? senderArgument { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IUsage.Definition")] + [Implements(implementation: "IFeature.Type")] + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Usage (not necessarily owned). + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IUsage.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = + /// true. If isVariation = false, then there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IUsage.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this + /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IUsage.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/Specialization.cs b/SysML2.NET/Core/AutoGenDto/Specialization.cs index bd7f052a..19e493b3 100644 --- a/SysML2.NET/Core/AutoGenDto/Specialization.cs +++ b/SysML2.NET/Core/AutoGenDto/Specialization.cs @@ -1,290 +1,298 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Core.Types -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Root.Elements; - using SysML2.NET.Decorators; - - /// - /// Specialization is a Relationship between two Types that requires all instances of the specific type - /// to also be instances of the general Type (i.e., the set of instances of the specific Type is a - /// subset of those of the general Type, which might be the same set). - /// - [Class(xmiId: "_18_5_3_12e503d9_1533160651696_992729_42182", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class Specialization : ISpecialization - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// A Type with a superset of all instances of the specific Type, which might be the same set. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674980_563969_43273", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [Implements(implementation: "ISpecialization.General")] - public Guid General { get; set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the specific Type of this Specialization and owns it as its owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_573157_43226", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] - [Implements(implementation: "ISpecialization.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("ISpecialization.Specific")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// A Type with a subset of all instances of the general Type, which might be the same set. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674982_253967_43281", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [Implements(implementation: "ISpecialization.Specific")] - public Guid Specific { get; set; } - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("ISpecialization.General")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Core.Types +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Root.Elements; + using SysML2.NET.Decorators; + + /// + /// Specialization is a Relationship between two Types that requires all instances of the specific type + /// to also be instances of the general Type (i.e., the set of instances of the specific Type is a + /// subset of those of the general Type, which might be the same set). + /// + [Class(xmiId: "_18_5_3_12e503d9_1533160651696_992729_42182", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class Specialization : ISpecialization + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// A Type with a superset of all instances of the specific Type, which might be the same set. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674980_563969_43273", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [Implements(implementation: "ISpecialization.General")] + public Guid General { get; set; } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the specific Type of this Specialization and owns it as its owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_573157_43226", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] + [Implements(implementation: "ISpecialization.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IRelationship.RelatedElement")] + public List relatedElement { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("ISpecialization.Specific")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property ISpecialization.Specific"); + set => throw new InvalidOperationException("Redefined by property ISpecialization.Specific"); + } + + /// + /// A Type with a subset of all instances of the general Type, which might be the same set. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674982_253967_43281", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [Implements(implementation: "ISpecialization.Specific")] + public Guid Specific { get; set; } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("ISpecialization.General")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property ISpecialization.General"); + set => throw new InvalidOperationException("Redefined by property ISpecialization.General"); + } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/StakeholderMembership.cs b/SysML2.NET/Core/AutoGenDto/StakeholderMembership.cs index a9fe51ca..eda46291 100644 --- a/SysML2.NET/Core/AutoGenDto/StakeholderMembership.cs +++ b/SysML2.NET/Core/AutoGenDto/StakeholderMembership.cs @@ -1,389 +1,409 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Requirements -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Root.Namespaces; - using SysML2.NET.Core.DTO.Kernel.Behaviors; - using SysML2.NET.Decorators; - - /// - /// A StakeholderMembership is a ParameterMembership that identifies a PartUsage as a - /// stakeholderParameter of a RequirementDefinition or RequirementUsage, which specifies a role played - /// by an entity with concerns framed by the owningType. - /// - [Class(xmiId: "_19_0_4_12e503d9_1624034341711_188515_40791", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class StakeholderMembership : IStakeholderMembership - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_819490_43195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] - [Implements(implementation: "IMembership.MemberElement")] - public Guid MemberElement { get; set; } - - /// - /// The elementId of the memberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] - [Implements(implementation: "IMembership.MemberElementId")] - public string MemberElementId { get; internal set; } - - /// - /// The name of the memberElement relative to the membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberName")] - [Implements(implementation: "IMembership.MemberName")] - public string MemberName { get; set; } - - /// - /// The Namespace of which the memberElement becomes a member due to this Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_193857_43197", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_531296_43182")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [RedefinedByProperty("IFeatureMembership.OwningType")] - [Implements(implementation: "IMembership.MembershipOwningNamespace")] - public Guid MembershipOwningNamespace { get; internal set; } - - /// - /// The short name of the memberElement relative to the membershipOwningNamespace. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] - [Implements(implementation: "IMembership.MemberShortName")] - public string MemberShortName { get; set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this - /// OwningMembership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_501750_43196", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_59873_43302")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] - [RedefinedByProperty("IFeatureMembership.OwnedMemberFeature")] - [Implements(implementation: "IOwningMembership.OwnedMemberElement")] - public Guid OwnedMemberElement { get; internal set; } - - /// - /// The elementId of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] - [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] - public string OwnedMemberElementId { get; internal set; } - - /// - /// The Feature that this FeatureMembership relates to its owningType, making it an ownedFeature of the - /// owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_898044_43344", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] - [RedefinedByProperty("IParameterMembership.OwnedMemberParameter")] - [Implements(implementation: "IFeatureMembership.OwnedMemberFeature")] - public Guid OwnedMemberFeature { get; internal set; } - - /// - /// The name of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] - [Implements(implementation: "IOwningMembership.OwnedMemberName")] - public string OwnedMemberName { get; internal set; } - - /// - /// The Feature that is identified as a parameter by this ParameterMembership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1557528016548_548098_110830", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] - [RedefinedByProperty("IStakeholderMembership.OwnedStakeholderParameter")] - [Implements(implementation: "IParameterMembership.OwnedMemberParameter")] - public Guid OwnedMemberParameter { get; internal set; } - - /// - /// The shortName of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] - [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] - public string OwnedMemberShortName { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The PartUsage specifying the stakeholder. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624034451301_6622_40822", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1557528016548_548098_110830")] - [Implements(implementation: "IStakeholderMembership.OwnedStakeholderParameter")] - public Guid OwnedStakeholderParameter { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that owns this FeatureMembership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_418504_43339", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866524_738482_486")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] - [Implements(implementation: "IFeatureMembership.OwningType")] - public Guid OwningType { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IMembership.MembershipOwningNamespace")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IMembership.MemberElement")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly - /// visible outside that Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_42975_43193", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "public")] - [Implements(implementation: "IMembership.Visibility")] - public VisibilityKind Visibility { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Requirements +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Root.Namespaces; + using SysML2.NET.Core.DTO.Kernel.Behaviors; + using SysML2.NET.Decorators; + + /// + /// A StakeholderMembership is a ParameterMembership that identifies a PartUsage as a + /// stakeholderParameter of a RequirementDefinition or RequirementUsage, which specifies a role played + /// by an entity with concerns framed by the owningType. + /// + [Class(xmiId: "_19_0_4_12e503d9_1624034341711_188515_40791", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class StakeholderMembership : IStakeholderMembership + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_819490_43195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] + [Implements(implementation: "IMembership.MemberElement")] + Guid Root.Namespaces.IMembership.MemberElement + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + } + + /// + /// The elementId of the memberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] + [Implements(implementation: "IMembership.MemberElementId")] + string Root.Namespaces.IMembership.memberElementId => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElementId"); + + /// + /// The name of the memberElement relative to the membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberName")] + [Implements(implementation: "IMembership.MemberName")] + string Root.Namespaces.IMembership.MemberName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + } + + /// + /// The Namespace of which the memberElement becomes a member due to this Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_193857_43197", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_531296_43182")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [RedefinedByProperty("IFeatureMembership.OwningType")] + [Implements(implementation: "IMembership.MembershipOwningNamespace")] + Guid Root.Namespaces.IMembership.membershipOwningNamespace => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwningType"); + + /// + /// The short name of the memberElement relative to the membershipOwningNamespace. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] + [Implements(implementation: "IMembership.MemberShortName")] + string Root.Namespaces.IMembership.MemberShortName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this + /// OwningMembership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_501750_43196", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_59873_43302")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] + [RedefinedByProperty("IFeatureMembership.OwnedMemberFeature")] + [Implements(implementation: "IOwningMembership.OwnedMemberElement")] + Guid Root.Namespaces.IOwningMembership.ownedMemberElement => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwnedMemberFeature"); + + /// + /// The elementId of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] + [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] + public string ownedMemberElementId { get; internal set; } + + /// + /// The Feature that this FeatureMembership relates to its owningType, making it an ownedFeature of the + /// owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_898044_43344", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] + [RedefinedByProperty("IParameterMembership.OwnedMemberParameter")] + [Implements(implementation: "IFeatureMembership.OwnedMemberFeature")] + Guid Core.Types.IFeatureMembership.ownedMemberFeature => throw new InvalidOperationException("Redefined by property IParameterMembership.OwnedMemberParameter"); + + /// + /// The name of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] + [Implements(implementation: "IOwningMembership.OwnedMemberName")] + public string ownedMemberName { get; internal set; } + + /// + /// The Feature that is identified as a parameter by this ParameterMembership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1557528016548_548098_110830", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] + [RedefinedByProperty("IStakeholderMembership.OwnedStakeholderParameter")] + [Implements(implementation: "IParameterMembership.OwnedMemberParameter")] + Guid Kernel.Behaviors.IParameterMembership.ownedMemberParameter => throw new InvalidOperationException("Redefined by property IStakeholderMembership.OwnedStakeholderParameter"); + + /// + /// The shortName of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] + [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] + public string ownedMemberShortName { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The PartUsage specifying the stakeholder. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624034451301_6622_40822", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1557528016548_548098_110830")] + [Implements(implementation: "IStakeholderMembership.OwnedStakeholderParameter")] + public Guid ownedStakeholderParameter { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that owns this FeatureMembership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_418504_43339", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866524_738482_486")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] + [Implements(implementation: "IFeatureMembership.OwningType")] + public Guid owningType { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IRelationship.RelatedElement")] + public List relatedElement { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IMembership.MembershipOwningNamespace")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IMembership.MemberElement")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + set => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly + /// visible outside that Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_42975_43193", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "public")] + [Implements(implementation: "IMembership.Visibility")] + public VisibilityKind Visibility { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/StateDefinition.cs b/SysML2.NET/Core/AutoGenDto/StateDefinition.cs index cae54bae..2ce545e6 100644 --- a/SysML2.NET/Core/AutoGenDto/StateDefinition.cs +++ b/SysML2.NET/Core/AutoGenDto/StateDefinition.cs @@ -1,846 +1,846 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.States -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Systems.Actions; - using SysML2.NET.Decorators; - - /// - /// A StateDefinition is the Definition of the Behavior of a system or part of a system in a certain - /// state condition.A StateDefinition may be related to up to three of its ownedFeatures by - /// StateBehaviorMembership Relationships, all of different kinds, corresponding to the entry, do and - /// exit actions of the StateDefinition. - /// - [Class(xmiId: "_19_0_2_12e503d9_1575587534200_898246_600", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class StateDefinition : IStateDefinition - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// The ActionUsages that are steps in this ActionDefinition, which define the actions that specify the - /// behavior of the ActionDefinition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565500809065_170841_30688", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IActionDefinition.Action")] - public List Action { get; internal set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IBehavior.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Definition that are directedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565495064714_974634_26150", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IDefinition.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// The ActionUsage of this StateDefinition to be performed while in the state defined by the - /// StateDefinition. It is the owned ActionUsage related to the StateDefinition by a - /// StateSubactionMembership with kind = do. - /// - [Property(xmiId: "_19_0_2_12e503d9_1582975916386_388324_339", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IStateDefinition.DoAction")] - public Guid? DoAction { get; internal set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The ActionUsage of this StateDefinition to be performed on entry to the state defined by the - /// StateDefinition. It is the owned ActionUsage related to the StateDefinition by a - /// StateSubactionMembership with kind = entry. - /// - [Property(xmiId: "_19_0_2_12e503d9_1582975902339_513804_312", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IStateDefinition.EntryAction")] - public Guid? EntryAction { get; internal set; } - - /// - /// The ActionUsage of this StateDefinition to be performed on exit to the state defined by the - /// StateDefinition. It is the owned ActionUsage related to the StateDefinition by a - /// StateSubactionMembership with kind = exit. - /// - [Property(xmiId: "_19_0_2_12e503d9_1582975927011_696894_352", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IStateDefinition.ExitAction")] - public Guid? ExitAction { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - public bool IsAbstract { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceDefinition is constrained to represent at most one thing. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618955405499_394357_6740", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceDefinition.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether the ownedStates of this StateDefinition are to all be performed in parallel. If true, none - /// of the ownedActions (which includes ownedStates) may have any incoming or outgoing Transitions. If - /// false, only one ownedState may be performed at a time. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624025670323_266174_37704", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IStateDefinition.IsParallel")] - public bool IsParallel { 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IDefinition.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ActionUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedAction")] - public List OwnedAction { get; internal set; } - - /// - /// The AllocationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedAllocation")] - public List OwnedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List OwnedAnalysisCase { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The AttributeUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedAttribute")] - public List OwnedAttribute { get; internal set; } - - /// - /// The CalculationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - [Implements(implementation: "IDefinition.OwnedCalculation")] - public List OwnedCalculation { get; internal set; } - - /// - /// The code>CaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] - [Implements(implementation: "IDefinition.OwnedCase")] - public List OwnedCase { get; internal set; } - - /// - /// The ConcernUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - [Implements(implementation: "IDefinition.OwnedConcern")] - public List OwnedConcern { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowUsages because these are ConnectorAsUsages - /// even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedConnection")] - public List OwnedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedConstraint")] - public List OwnedConstraint { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The EnumerationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] - [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List OwnedEnumeration { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The FlowUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedFlow")] - public List OwnedFlow { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The InterfaceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedInterface")] - public List OwnedInterface { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The ItemUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedItem")] - public List OwnedItem { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The MetadataUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - [Implements(implementation: "IDefinition.OwnedMetadata")] - public List OwnedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List OwnedOccurrence { get; internal set; } - - /// - /// The PartUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - [Implements(implementation: "IDefinition.OwnedPart")] - public List OwnedPart { get; internal set; } - - /// - /// The PortUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedPort")] - public List OwnedPort { get; internal set; } - - /// - /// The ReferenceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedReference")] - public List OwnedReference { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The RenderingUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - [Implements(implementation: "IDefinition.OwnedRendering")] - public List OwnedRendering { get; internal set; } - - /// - /// The RequirementUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] - [Implements(implementation: "IDefinition.OwnedRequirement")] - public List OwnedRequirement { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The StateUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - [Implements(implementation: "IDefinition.OwnedState")] - public List OwnedState { get; internal set; } - - /// - /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier - /// is the subclassifier. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List OwnedSubclassification { get; internal set; } - - /// - /// The TransitionUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedTransition")] - public List OwnedTransition { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Definition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686637_967933_23236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IDefinition.OwnedUsage")] - public List OwnedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedUseCase")] - public List OwnedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List OwnedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - [Implements(implementation: "IDefinition.OwnedView")] - public List OwnedView { get; internal set; } - - /// - /// The ViewpointUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List OwnedViewpoint { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The parameters of this Behavior, which are defined as its directedFeatures, whose values are passed - /// into and/or out of a performance of the Behavior. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948010065_362066_20413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IBehavior.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The StateUsages, which are actions in the StateDefinition, that specify the discrete states in the - /// behavior defined by the StateDefinition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575588190693_949879_1156", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565500809065_170841_30688")] - [Implements(implementation: "IStateDefinition.State")] - public List State { get; internal set; } - - /// - /// The Steps that make up this Behavior. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346067212_587255_17343", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IBehavior.Step")] - public List Step { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Definition (not necessarily owned). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IDefinition.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Definition as a variation point Definition, if - /// isVariation = true. If isVariation = false, the there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IDefinition.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then - /// this must be all ownedMemberships of the Definition. If isVariation = false, then - /// variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IDefinition.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.States +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Systems.Actions; + using SysML2.NET.Decorators; + + /// + /// A StateDefinition is the Definition of the Behavior of a system or part of a system in a certain + /// state condition.A StateDefinition may be related to up to three of its ownedFeatures by + /// StateBehaviorMembership Relationships, all of different kinds, corresponding to the entry, do and + /// exit actions of the StateDefinition. + /// + [Class(xmiId: "_19_0_2_12e503d9_1575587534200_898246_600", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class StateDefinition : IStateDefinition + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// The ActionUsages that are steps in this ActionDefinition, which define the actions that specify the + /// behavior of the ActionDefinition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565500809065_170841_30688", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IActionDefinition.Action")] + public List action { get; internal set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IBehavior.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IBehavior.Parameter"); + + /// + /// The usages of this Definition that are directedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565495064714_974634_26150", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IDefinition.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// The ActionUsage of this StateDefinition to be performed while in the state defined by the + /// StateDefinition. It is the owned ActionUsage related to the StateDefinition by a + /// StateSubactionMembership with kind = do. + /// + [Property(xmiId: "_19_0_2_12e503d9_1582975916386_388324_339", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IStateDefinition.DoAction")] + public Guid? doAction { get; internal set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The ActionUsage of this StateDefinition to be performed on entry to the state defined by the + /// StateDefinition. It is the owned ActionUsage related to the StateDefinition by a + /// StateSubactionMembership with kind = entry. + /// + [Property(xmiId: "_19_0_2_12e503d9_1582975902339_513804_312", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IStateDefinition.EntryAction")] + public Guid? entryAction { get; internal set; } + + /// + /// The ActionUsage of this StateDefinition to be performed on exit to the state defined by the + /// StateDefinition. It is the owned ActionUsage related to the StateDefinition by a + /// StateSubactionMembership with kind = exit. + /// + [Property(xmiId: "_19_0_2_12e503d9_1582975927011_696894_352", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IStateDefinition.ExitAction")] + public Guid? exitAction { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + public bool IsAbstract { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceDefinition is constrained to represent at most one thing. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618955405499_394357_6740", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceDefinition.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether the ownedStates of this StateDefinition are to all be performed in parallel. If true, none + /// of the ownedActions (which includes ownedStates) may have any incoming or outgoing Transitions. If + /// false, only one ownedState may be performed at a time. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624025670323_266174_37704", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IStateDefinition.IsParallel")] + public bool IsParallel { 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IDefinition.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ActionUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedAction")] + public List ownedAction { get; internal set; } + + /// + /// The AllocationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedAllocation")] + public List ownedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedAnalysisCase")] + public List ownedAnalysisCase { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The AttributeUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedAttribute")] + public List ownedAttribute { get; internal set; } + + /// + /// The CalculationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] + [Implements(implementation: "IDefinition.OwnedCalculation")] + public List ownedCalculation { get; internal set; } + + /// + /// The code>CaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] + [Implements(implementation: "IDefinition.OwnedCase")] + public List ownedCase { get; internal set; } + + /// + /// The ConcernUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + [Implements(implementation: "IDefinition.OwnedConcern")] + public List ownedConcern { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowUsages because these are ConnectorAsUsages + /// even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedConnection")] + public List ownedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedConstraint")] + public List ownedConstraint { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The EnumerationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] + [Implements(implementation: "IDefinition.OwnedEnumeration")] + public List ownedEnumeration { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The FlowUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedFlow")] + public List ownedFlow { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The InterfaceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedInterface")] + public List ownedInterface { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The ItemUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedItem")] + public List ownedItem { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The MetadataUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] + [Implements(implementation: "IDefinition.OwnedMetadata")] + public List ownedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedOccurrence")] + public List ownedOccurrence { get; internal set; } + + /// + /// The PartUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] + [Implements(implementation: "IDefinition.OwnedPart")] + public List ownedPart { get; internal set; } + + /// + /// The PortUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedPort")] + public List ownedPort { get; internal set; } + + /// + /// The ReferenceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedReference")] + public List ownedReference { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The RenderingUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] + [Implements(implementation: "IDefinition.OwnedRendering")] + public List ownedRendering { get; internal set; } + + /// + /// The RequirementUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] + [Implements(implementation: "IDefinition.OwnedRequirement")] + public List ownedRequirement { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The StateUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] + [Implements(implementation: "IDefinition.OwnedState")] + public List ownedState { get; internal set; } + + /// + /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier + /// is the subclassifier. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [Implements(implementation: "IClassifier.OwnedSubclassification")] + public List ownedSubclassification { get; internal set; } + + /// + /// The TransitionUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedTransition")] + public List ownedTransition { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Definition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686637_967933_23236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IDefinition.OwnedUsage")] + public List ownedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedUseCase")] + public List ownedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedVerificationCase")] + public List ownedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] + [Implements(implementation: "IDefinition.OwnedView")] + public List ownedView { get; internal set; } + + /// + /// The ViewpointUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + [Implements(implementation: "IDefinition.OwnedViewpoint")] + public List ownedViewpoint { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The parameters of this Behavior, which are defined as its directedFeatures, whose values are passed + /// into and/or out of a performance of the Behavior. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948010065_362066_20413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IBehavior.Parameter")] + public List parameter { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The StateUsages, which are actions in the StateDefinition, that specify the discrete states in the + /// behavior defined by the StateDefinition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575588190693_949879_1156", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565500809065_170841_30688")] + [Implements(implementation: "IStateDefinition.State")] + public List state { get; internal set; } + + /// + /// The Steps that make up this Behavior. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346067212_587255_17343", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IBehavior.Step")] + public List step { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Definition (not necessarily owned). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IDefinition.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Definition as a variation point Definition, if + /// isVariation = true. If isVariation = false, the there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IDefinition.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then + /// this must be all ownedMemberships of the Definition. If isVariation = false, then + /// variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IDefinition.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/StateSubactionMembership.cs b/SysML2.NET/Core/AutoGenDto/StateSubactionMembership.cs index 8a35e2c0..5df461db 100644 --- a/SysML2.NET/Core/AutoGenDto/StateSubactionMembership.cs +++ b/SysML2.NET/Core/AutoGenDto/StateSubactionMembership.cs @@ -1,387 +1,407 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.States -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Root.Namespaces; - using SysML2.NET.Core.Systems.States; - using SysML2.NET.Core.DTO.Core.Types; - using SysML2.NET.Decorators; - - /// - /// A StateSubactionMembership is a FeatureMembership for an entry, do or exit ActionUsage of a - /// StateDefinition or StateUsage. - /// - [Class(xmiId: "_19_0_2_12e503d9_1575671792204_632048_203", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class StateSubactionMembership : IStateSubactionMembership - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// The ActionUsage that is the ownedMemberFeature of this StateSubactionMembership. - /// - [Property(xmiId: "_19_0_2_12e503d9_1582974847979_606181_96", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] - [Implements(implementation: "IStateSubactionMembership.Action")] - public Guid Action { get; internal set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether this StateSubactionMembership is for an entry, do or exit ActionUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575671861308_70894_325", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IStateSubactionMembership.Kind")] - public StateSubactionKind Kind { get; set; } - - /// - /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_819490_43195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] - [Implements(implementation: "IMembership.MemberElement")] - public Guid MemberElement { get; set; } - - /// - /// The elementId of the memberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] - [Implements(implementation: "IMembership.MemberElementId")] - public string MemberElementId { get; internal set; } - - /// - /// The name of the memberElement relative to the membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberName")] - [Implements(implementation: "IMembership.MemberName")] - public string MemberName { get; set; } - - /// - /// The Namespace of which the memberElement becomes a member due to this Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_193857_43197", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_531296_43182")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [RedefinedByProperty("IFeatureMembership.OwningType")] - [Implements(implementation: "IMembership.MembershipOwningNamespace")] - public Guid MembershipOwningNamespace { get; internal set; } - - /// - /// The short name of the memberElement relative to the membershipOwningNamespace. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] - [Implements(implementation: "IMembership.MemberShortName")] - public string MemberShortName { get; set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this - /// OwningMembership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_501750_43196", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_59873_43302")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] - [RedefinedByProperty("IFeatureMembership.OwnedMemberFeature")] - [Implements(implementation: "IOwningMembership.OwnedMemberElement")] - public Guid OwnedMemberElement { get; internal set; } - - /// - /// The elementId of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] - [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] - public string OwnedMemberElementId { get; internal set; } - - /// - /// The Feature that this FeatureMembership relates to its owningType, making it an ownedFeature of the - /// owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_898044_43344", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] - [RedefinedByProperty("IStateSubactionMembership.Action")] - [Implements(implementation: "IFeatureMembership.OwnedMemberFeature")] - public Guid OwnedMemberFeature { get; internal set; } - - /// - /// The name of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] - [Implements(implementation: "IOwningMembership.OwnedMemberName")] - public string OwnedMemberName { get; internal set; } - - /// - /// The shortName of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] - [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] - public string OwnedMemberShortName { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that owns this FeatureMembership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_418504_43339", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866524_738482_486")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] - [Implements(implementation: "IFeatureMembership.OwningType")] - public Guid OwningType { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IMembership.MembershipOwningNamespace")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IMembership.MemberElement")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly - /// visible outside that Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_42975_43193", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "public")] - [Implements(implementation: "IMembership.Visibility")] - public VisibilityKind Visibility { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.States +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Root.Namespaces; + using SysML2.NET.Core.Systems.States; + using SysML2.NET.Core.DTO.Core.Types; + using SysML2.NET.Decorators; + + /// + /// A StateSubactionMembership is a FeatureMembership for an entry, do or exit ActionUsage of a + /// StateDefinition or StateUsage. + /// + [Class(xmiId: "_19_0_2_12e503d9_1575671792204_632048_203", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class StateSubactionMembership : IStateSubactionMembership + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// The ActionUsage that is the ownedMemberFeature of this StateSubactionMembership. + /// + [Property(xmiId: "_19_0_2_12e503d9_1582974847979_606181_96", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] + [Implements(implementation: "IStateSubactionMembership.Action")] + public Guid action { get; internal set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether this StateSubactionMembership is for an entry, do or exit ActionUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575671861308_70894_325", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IStateSubactionMembership.Kind")] + public StateSubactionKind Kind { get; set; } + + /// + /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_819490_43195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] + [Implements(implementation: "IMembership.MemberElement")] + Guid Root.Namespaces.IMembership.MemberElement + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + } + + /// + /// The elementId of the memberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] + [Implements(implementation: "IMembership.MemberElementId")] + string Root.Namespaces.IMembership.memberElementId => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElementId"); + + /// + /// The name of the memberElement relative to the membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberName")] + [Implements(implementation: "IMembership.MemberName")] + string Root.Namespaces.IMembership.MemberName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + } + + /// + /// The Namespace of which the memberElement becomes a member due to this Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_193857_43197", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_531296_43182")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [RedefinedByProperty("IFeatureMembership.OwningType")] + [Implements(implementation: "IMembership.MembershipOwningNamespace")] + Guid Root.Namespaces.IMembership.membershipOwningNamespace => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwningType"); + + /// + /// The short name of the memberElement relative to the membershipOwningNamespace. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] + [Implements(implementation: "IMembership.MemberShortName")] + string Root.Namespaces.IMembership.MemberShortName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this + /// OwningMembership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_501750_43196", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_59873_43302")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] + [RedefinedByProperty("IFeatureMembership.OwnedMemberFeature")] + [Implements(implementation: "IOwningMembership.OwnedMemberElement")] + Guid Root.Namespaces.IOwningMembership.ownedMemberElement => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwnedMemberFeature"); + + /// + /// The elementId of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] + [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] + public string ownedMemberElementId { get; internal set; } + + /// + /// The Feature that this FeatureMembership relates to its owningType, making it an ownedFeature of the + /// owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_898044_43344", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] + [RedefinedByProperty("IStateSubactionMembership.Action")] + [Implements(implementation: "IFeatureMembership.OwnedMemberFeature")] + Guid Core.Types.IFeatureMembership.ownedMemberFeature => throw new InvalidOperationException("Redefined by property IStateSubactionMembership.Action"); + + /// + /// The name of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] + [Implements(implementation: "IOwningMembership.OwnedMemberName")] + public string ownedMemberName { get; internal set; } + + /// + /// The shortName of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] + [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] + public string ownedMemberShortName { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that owns this FeatureMembership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_418504_43339", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866524_738482_486")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] + [Implements(implementation: "IFeatureMembership.OwningType")] + public Guid owningType { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IRelationship.RelatedElement")] + public List relatedElement { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IMembership.MembershipOwningNamespace")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IMembership.MemberElement")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + set => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly + /// visible outside that Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_42975_43193", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "public")] + [Implements(implementation: "IMembership.Visibility")] + public VisibilityKind Visibility { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/StateUsage.cs b/SysML2.NET/Core/AutoGenDto/StateUsage.cs index e78fcf75..5ee97ed0 100644 --- a/SysML2.NET/Core/AutoGenDto/StateUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/StateUsage.cs @@ -1,1150 +1,1154 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.States -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Core.DTO.Systems.Actions; - using SysML2.NET.Decorators; - - /// - /// A StateUsage is an ActionUsage that is nominally the Usage of a StateDefinition. However, other - /// kinds of kernel Behaviors are also allowed as types, to permit use of BehaviorsA StateUsage may be - /// related to up to three of its ownedFeatures by StateSubactionMembership Relationships, all of - /// different kinds, corresponding to the entry, do and exit actions of the StateUsage. - /// - [Class(xmiId: "_19_0_2_12e503d9_1575587557729_586912_651", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class StateUsage : IStateUsage - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// The Behaviors that are the types of this ActionUsage. Nominally, these would be ActionDefinitions, - /// but other kinds of Kernel Behaviors are also allowed, to permit use of Behaviors from the Kernel - /// Model Libraries. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565500905804_589845_30779", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [RedefinedByProperty("IStateUsage.StateDefinition")] - [Implements(implementation: "IActionUsage.ActionDefinition")] - public List ActionDefinition { get; internal set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Behaviors that type this Step. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IActionUsage.ActionDefinition")] - [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds - /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] - [Implements(implementation: "IUsage.Definition")] - public List Definition { get; internal set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IStep.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Usage that are directedFeatures. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The ActionUsage of this StateUsage to be performed while in the state defined by the - /// StateDefinition. It is the owned ActionUsage related to the StateUsage by a StateSubactionMembership - /// with kind = do. - /// - [Property(xmiId: "_19_0_2_12e503d9_1582976255473_203238_644", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IStateUsage.DoAction")] - public Guid? DoAction { get; internal set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ActionUsage of this StateUsage to be performed on entry to the state defined by the - /// StateDefinition. It is the owned ActionUsage related to the StateUsage by a StateSubactionMembership - /// with kind = entry. - /// - [Property(xmiId: "_19_0_2_12e503d9_1582976239200_979652_605", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IStateUsage.EntryAction")] - public Guid? EntryAction { get; internal set; } - - /// - /// The ActionUsage of this StateUsage to be performed on exit to the state defined by the - /// StateDefinition. It is the owned ActionUsage related to the StateUsage by a StateSubactionMembership - /// with kind = exit. - /// - [Property(xmiId: "_19_0_2_12e503d9_1582976283940_998741_691", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IStateUsage.ExitAction")] - public Guid? ExitAction { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// The at most one occurrenceDefinition that has isIndividual = true. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public Guid? IndividualDefinition { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its - /// individualDefinition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceUsage.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - public bool IsOrdered { get; set; } - - /// - /// Whether the nestedStates of this StateUsage are to all be performed in parallel. If true, none of - /// the nestedActions (which include nestedStates) may have any incoming or outgoing Transitions. If - /// false, only one nestedState may be performed at a time. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624025713025_548712_37708", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IStateUsage.IsParallel")] - public bool IsParallel { 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - public bool IsPortion { get; set; } - - /// - /// Whether this Usage is a referential Usage, that is, it has isComposite = false. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsReference")] - public bool IsReference { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [RedefinedByProperty("IUsage.MayTimeVary")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage - /// must be VariantMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its - /// owningType, rather than being featured by the owningType itself). However, if isConstant is also - /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance - /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary - /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is - /// inherited from Feature. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] - [Implements(implementation: "IUsage.MayTimeVary")] - public bool MayTimeVary { get; internal set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ActionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedAction")] - public List NestedAction { get; internal set; } - - /// - /// The AllocationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedAllocation")] - public List NestedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List NestedAnalysisCase { get; internal set; } - - /// - /// The code>AttributeUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedAttribute")] - public List NestedAttribute { get; internal set; } - - /// - /// The CalculationUsage that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedCalculation")] - public List NestedCalculation { get; internal set; } - - /// - /// The CaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] - [Implements(implementation: "IUsage.NestedCase")] - public List NestedCase { get; internal set; } - - /// - /// The ConcernUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedConcern")] - public List NestedConcern { get; internal set; } - - /// - /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are - /// ConnectorAsUsages even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedConnection")] - public List NestedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedConstraint")] - public List NestedConstraint { get; internal set; } - - /// - /// The code>EnumerationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] - [Implements(implementation: "IUsage.NestedEnumeration")] - public List NestedEnumeration { get; internal set; } - - /// - /// The code>FlowUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedFlow")] - public List NestedFlow { get; internal set; } - - /// - /// The InterfaceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedInterface")] - public List NestedInterface { get; internal set; } - - /// - /// The ItemUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedItem")] - public List NestedItem { get; internal set; } - - /// - /// The MetadataUsages that are nestedUsages of this of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedMetadata")] - public List NestedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedOccurrence")] - public List NestedOccurrence { get; internal set; } - - /// - /// The PartUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedPart")] - public List NestedPart { get; internal set; } - - /// - /// The PortUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedPort")] - public List NestedPort { get; internal set; } - - /// - /// The ReferenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedReference")] - public List NestedReference { get; internal set; } - - /// - /// The RenderingUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedRendering")] - public List NestedRendering { get; internal set; } - - /// - /// The RequirementUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] - [Implements(implementation: "IUsage.NestedRequirement")] - public List NestedRequirement { get; internal set; } - - /// - /// The StateUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedState")] - public List NestedState { get; internal set; } - - /// - /// The TransitionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedTransition")] - public List NestedTransition { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.NestedUsage")] - public List NestedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedUseCase")] - public List NestedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedVerificationCase")] - public List NestedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedView")] - public List NestedView { get; internal set; } - - /// - /// The ViewpointUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedViewpoint")] - public List NestedViewpoint { get; internal set; } - - /// - /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, - /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] - [RedefinedByProperty("IActionUsage.ActionDefinition")] - [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List OccurrenceDefinition { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The Definition that owns this Usage (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] - [Implements(implementation: "IUsage.OwningDefinition")] - public Guid? OwningDefinition { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The Usage in which this Usage is nested (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IUsage.OwningUsage")] - public Guid? OwningUsage { get; internal set; } - - /// - /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into - /// and/or out of a performance of the Step. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If - /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the - /// OccurrenceUsage represents portions of the featuring instance of the owningType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IOccurrenceUsage.PortionKind")] - public PortionKind? PortionKind { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The Behaviors that are the types of this StateUsage. Nominally, these would be StateDefinitions, but - /// kernel Behaviors are also allowed, to permit use of Behaviors from the Kernel Model Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575588456737_49200_1438", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1565500905804_589845_30779")] - [Implements(implementation: "IStateUsage.StateDefinition")] - public List StateDefinition { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IUsage.Definition")] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Usage (not necessarily owned). - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IUsage.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = - /// true. If isVariation = false, then there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IUsage.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this - /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IUsage.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.States +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Core.DTO.Systems.Actions; + using SysML2.NET.Decorators; + + /// + /// A StateUsage is an ActionUsage that is nominally the Usage of a StateDefinition. However, other + /// kinds of kernel Behaviors are also allowed as types, to permit use of BehaviorsA StateUsage may be + /// related to up to three of its ownedFeatures by StateSubactionMembership Relationships, all of + /// different kinds, corresponding to the entry, do and exit actions of the StateUsage. + /// + [Class(xmiId: "_19_0_2_12e503d9_1575587557729_586912_651", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class StateUsage : IStateUsage + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// The Behaviors that are the types of this ActionUsage. Nominally, these would be ActionDefinitions, + /// but other kinds of Kernel Behaviors are also allowed, to permit use of Behaviors from the Kernel + /// Model Libraries. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565500905804_589845_30779", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [RedefinedByProperty("IStateUsage.StateDefinition")] + [Implements(implementation: "IActionUsage.ActionDefinition")] + List Systems.Actions.IActionUsage.actionDefinition => throw new InvalidOperationException("Redefined by property IStateUsage.StateDefinition"); + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Behaviors that type this Step. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IActionUsage.ActionDefinition")] + [Implements(implementation: "IStep.Behavior")] + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds + /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] + [Implements(implementation: "IUsage.Definition")] + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IStep.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); + + /// + /// The usages of this Usage that are directedFeatures. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The ActionUsage of this StateUsage to be performed while in the state defined by the + /// StateDefinition. It is the owned ActionUsage related to the StateUsage by a StateSubactionMembership + /// with kind = do. + /// + [Property(xmiId: "_19_0_2_12e503d9_1582976255473_203238_644", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IStateUsage.DoAction")] + public Guid? doAction { get; internal set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ActionUsage of this StateUsage to be performed on entry to the state defined by the + /// StateDefinition. It is the owned ActionUsage related to the StateUsage by a StateSubactionMembership + /// with kind = entry. + /// + [Property(xmiId: "_19_0_2_12e503d9_1582976239200_979652_605", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IStateUsage.EntryAction")] + public Guid? entryAction { get; internal set; } + + /// + /// The ActionUsage of this StateUsage to be performed on exit to the state defined by the + /// StateDefinition. It is the owned ActionUsage related to the StateUsage by a StateSubactionMembership + /// with kind = exit. + /// + [Property(xmiId: "_19_0_2_12e503d9_1582976283940_998741_691", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IStateUsage.ExitAction")] + public Guid? exitAction { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// The at most one occurrenceDefinition that has isIndividual = true. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] + public Guid? individualDefinition { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its + /// individualDefinition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceUsage.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + public bool IsOrdered { get; set; } + + /// + /// Whether the nestedStates of this StateUsage are to all be performed in parallel. If true, none of + /// the nestedActions (which include nestedStates) may have any incoming or outgoing Transitions. If + /// false, only one nestedState may be performed at a time. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624025713025_548712_37708", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IStateUsage.IsParallel")] + public bool IsParallel { 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + public bool IsPortion { get; set; } + + /// + /// Whether this Usage is a referential Usage, that is, it has isComposite = false. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsReference")] + public bool isReference { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [RedefinedByProperty("IUsage.MayTimeVary")] + [Implements(implementation: "IFeature.IsVariable")] + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } + + /// + /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage + /// must be VariantMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its + /// owningType, rather than being featured by the owningType itself). However, if isConstant is also + /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance + /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary + /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is + /// inherited from Feature. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] + [Implements(implementation: "IUsage.MayTimeVary")] + public bool mayTimeVary { get; internal set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ActionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedAction")] + public List nestedAction { get; internal set; } + + /// + /// The AllocationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedAllocation")] + public List nestedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedAnalysisCase")] + public List nestedAnalysisCase { get; internal set; } + + /// + /// The code>AttributeUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedAttribute")] + public List nestedAttribute { get; internal set; } + + /// + /// The CalculationUsage that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedCalculation")] + public List nestedCalculation { get; internal set; } + + /// + /// The CaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] + [Implements(implementation: "IUsage.NestedCase")] + public List nestedCase { get; internal set; } + + /// + /// The ConcernUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedConcern")] + public List nestedConcern { get; internal set; } + + /// + /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are + /// ConnectorAsUsages even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedConnection")] + public List nestedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedConstraint")] + public List nestedConstraint { get; internal set; } + + /// + /// The code>EnumerationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] + [Implements(implementation: "IUsage.NestedEnumeration")] + public List nestedEnumeration { get; internal set; } + + /// + /// The code>FlowUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedFlow")] + public List nestedFlow { get; internal set; } + + /// + /// The InterfaceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedInterface")] + public List nestedInterface { get; internal set; } + + /// + /// The ItemUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedItem")] + public List nestedItem { get; internal set; } + + /// + /// The MetadataUsages that are nestedUsages of this of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedMetadata")] + public List nestedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedOccurrence")] + public List nestedOccurrence { get; internal set; } + + /// + /// The PartUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedPart")] + public List nestedPart { get; internal set; } + + /// + /// The PortUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedPort")] + public List nestedPort { get; internal set; } + + /// + /// The ReferenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedReference")] + public List nestedReference { get; internal set; } + + /// + /// The RenderingUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedRendering")] + public List nestedRendering { get; internal set; } + + /// + /// The RequirementUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] + [Implements(implementation: "IUsage.NestedRequirement")] + public List nestedRequirement { get; internal set; } + + /// + /// The StateUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedState")] + public List nestedState { get; internal set; } + + /// + /// The TransitionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedTransition")] + public List nestedTransition { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.NestedUsage")] + public List nestedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedUseCase")] + public List nestedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedVerificationCase")] + public List nestedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedView")] + public List nestedView { get; internal set; } + + /// + /// The ViewpointUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedViewpoint")] + public List nestedViewpoint { get; internal set; } + + /// + /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, + /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] + [RedefinedByProperty("IActionUsage.ActionDefinition")] + [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] + List Systems.Occurrences.IOccurrenceUsage.occurrenceDefinition => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The Definition that owns this Usage (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] + [Implements(implementation: "IUsage.OwningDefinition")] + public Guid? owningDefinition { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The Usage in which this Usage is nested (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IUsage.OwningUsage")] + public Guid? owningUsage { get; internal set; } + + /// + /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into + /// and/or out of a performance of the Step. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IStep.Parameter")] + public List parameter { get; internal set; } + + /// + /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If + /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the + /// OccurrenceUsage represents portions of the featuring instance of the owningType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IOccurrenceUsage.PortionKind")] + public PortionKind? PortionKind { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The Behaviors that are the types of this StateUsage. Nominally, these would be StateDefinitions, but + /// kernel Behaviors are also allowed, to permit use of Behaviors from the Kernel Model Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575588456737_49200_1438", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1565500905804_589845_30779")] + [Implements(implementation: "IStateUsage.StateDefinition")] + public List stateDefinition { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IUsage.Definition")] + [Implements(implementation: "IFeature.Type")] + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Usage (not necessarily owned). + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IUsage.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = + /// true. If isVariation = false, then there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IUsage.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this + /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IUsage.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/Step.cs b/SysML2.NET/Core/AutoGenDto/Step.cs index 4abb8f3e..749ff1d9 100644 --- a/SysML2.NET/Core/AutoGenDto/Step.cs +++ b/SysML2.NET/Core/AutoGenDto/Step.cs @@ -1,743 +1,743 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Behaviors -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.DTO.Core.Features; - using SysML2.NET.Decorators; - - /// - /// A Step is a Feature that is typed by one or more Behaviors. Steps may be used by one Behavior to - /// coordinate the performance of other Behaviors, supporting a steady refinement of behavioral - /// descriptions. Steps can be ordered in time and can be connected using Flows to specify things - /// flowing between their parameters. - /// - [Class(xmiId: "_18_5_3_b9102da_1536345916995_711141_17306", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class Step : IStep - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Behaviors that type this Step. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IStep.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into - /// and/or out of a performance of the Step. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Behaviors +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.DTO.Core.Features; + using SysML2.NET.Decorators; + + /// + /// A Step is a Feature that is typed by one or more Behaviors. Steps may be used by one Behavior to + /// coordinate the performance of other Behaviors, supporting a steady refinement of behavioral + /// descriptions. Steps can be ordered in time and can be connected using Flows to specify things + /// flowing between their parameters. + /// + [Class(xmiId: "_18_5_3_b9102da_1536345916995_711141_17306", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class Step : IStep + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Behaviors that type this Step. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [Implements(implementation: "IStep.Behavior")] + public List behavior { get; internal set; } + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IStep.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsVariable")] + public bool IsVariable { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into + /// and/or out of a performance of the Step. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IStep.Parameter")] + public List parameter { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Type")] + public List type { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/Structure.cs b/SysML2.NET/Core/AutoGenDto/Structure.cs index c224c76b..ffd3db33 100644 --- a/SysML2.NET/Core/AutoGenDto/Structure.cs +++ b/SysML2.NET/Core/AutoGenDto/Structure.cs @@ -1,502 +1,502 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Structures -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Kernel.Classes; - using SysML2.NET.Decorators; - - /// - /// A Structure is a Class of objects in the modeled universe that are primarily structural in nature. - /// While such an object is not itself behavioral, it may be involved in and acted on by Behaviors, and - /// it may be the performer of some of them. - /// - [Class(xmiId: "_19_0_4_b9102da_1609606051359_625961_451", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class Structure : IStructure - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - public bool IsAbstract { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier - /// is the subclassifier. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List OwnedSubclassification { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Structures +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Kernel.Classes; + using SysML2.NET.Decorators; + + /// + /// A Structure is a Class of objects in the modeled universe that are primarily structural in nature. + /// While such an object is not itself behavioral, it may be involved in and acted on by Behaviors, and + /// it may be the performer of some of them. + /// + [Class(xmiId: "_19_0_4_b9102da_1609606051359_625961_451", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class Structure : IStructure + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.DirectedFeature")] + public List directedFeature { get; internal set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + public bool IsAbstract { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier + /// is the subclassifier. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [Implements(implementation: "IClassifier.OwnedSubclassification")] + public List ownedSubclassification { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/Subclassification.cs b/SysML2.NET/Core/AutoGenDto/Subclassification.cs index 7af64d61..a411a2e6 100644 --- a/SysML2.NET/Core/AutoGenDto/Subclassification.cs +++ b/SysML2.NET/Core/AutoGenDto/Subclassification.cs @@ -1,316 +1,332 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Core.Classifiers -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Core.Types; - using SysML2.NET.Decorators; - - /// - /// Subclassification is Specialization in which both the specific and general Types are Classifier. - /// This means all instances of the specific Classifier are also instances of the general Classifier. - /// - [Class(xmiId: "_18_5_3_12e503d9_1543188778639_872842_24973", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class Subclassification : ISubclassification - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// A Type with a superset of all instances of the specific Type, which might be the same set. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674980_563969_43273", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [RedefinedByProperty("ISubclassification.Superclassifier")] - [Implements(implementation: "ISpecialization.General")] - public Guid General { get; set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The Classifier that owns this Subclassification relationship, which must also be its subclassifier. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543189170642_857401_25506", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_573157_43226")] - [Implements(implementation: "ISubclassification.OwningClassifier")] - public Guid? OwningClassifier { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the specific Type of this Specialization and owns it as its owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_573157_43226", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] - [RedefinedByProperty("ISubclassification.OwningClassifier")] - [Implements(implementation: "ISpecialization.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("ISpecialization.Specific")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// A Type with a subset of all instances of the general Type, which might be the same set. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674982_253967_43281", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [RedefinedByProperty("ISubclassification.Subclassifier")] - [Implements(implementation: "ISpecialization.Specific")] - public Guid Specific { get; set; } - - /// - /// The more specific Classifier in this Subclassification. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543189084042_772698_25407", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] - [Implements(implementation: "ISubclassification.Subclassifier")] - public Guid Subclassifier { get; set; } - - /// - /// The more general Classifier in this Subclassification. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543188934635_627507_25283", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_563969_43273")] - [Implements(implementation: "ISubclassification.Superclassifier")] - public Guid Superclassifier { get; set; } - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("ISpecialization.General")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Core.Classifiers +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Core.Types; + using SysML2.NET.Decorators; + + /// + /// Subclassification is Specialization in which both the specific and general Types are Classifier. + /// This means all instances of the specific Classifier are also instances of the general Classifier. + /// + [Class(xmiId: "_18_5_3_12e503d9_1543188778639_872842_24973", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class Subclassification : ISubclassification + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// A Type with a superset of all instances of the specific Type, which might be the same set. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674980_563969_43273", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [RedefinedByProperty("ISubclassification.Superclassifier")] + [Implements(implementation: "ISpecialization.General")] + Guid Core.Types.ISpecialization.General + { + get => throw new InvalidOperationException("Redefined by property ISubclassification.Superclassifier"); + set => throw new InvalidOperationException("Redefined by property ISubclassification.Superclassifier"); + } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The Classifier that owns this Subclassification relationship, which must also be its subclassifier. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543189170642_857401_25506", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_573157_43226")] + [Implements(implementation: "ISubclassification.OwningClassifier")] + public Guid? owningClassifier { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the specific Type of this Specialization and owns it as its owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_573157_43226", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] + [RedefinedByProperty("ISubclassification.OwningClassifier")] + [Implements(implementation: "ISpecialization.OwningType")] + Guid? Core.Types.ISpecialization.owningType => throw new InvalidOperationException("Redefined by property ISubclassification.OwningClassifier"); + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IRelationship.RelatedElement")] + public List relatedElement { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("ISpecialization.Specific")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property ISpecialization.Specific"); + set => throw new InvalidOperationException("Redefined by property ISpecialization.Specific"); + } + + /// + /// A Type with a subset of all instances of the general Type, which might be the same set. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674982_253967_43281", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [RedefinedByProperty("ISubclassification.Subclassifier")] + [Implements(implementation: "ISpecialization.Specific")] + Guid Core.Types.ISpecialization.Specific + { + get => throw new InvalidOperationException("Redefined by property ISubclassification.Subclassifier"); + set => throw new InvalidOperationException("Redefined by property ISubclassification.Subclassifier"); + } + + /// + /// The more specific Classifier in this Subclassification. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543189084042_772698_25407", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] + [Implements(implementation: "ISubclassification.Subclassifier")] + public Guid Subclassifier { get; set; } + + /// + /// The more general Classifier in this Subclassification. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543188934635_627507_25283", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_563969_43273")] + [Implements(implementation: "ISubclassification.Superclassifier")] + public Guid Superclassifier { get; set; } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("ISpecialization.General")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property ISpecialization.General"); + set => throw new InvalidOperationException("Redefined by property ISpecialization.General"); + } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/SubjectMembership.cs b/SysML2.NET/Core/AutoGenDto/SubjectMembership.cs index 23018c56..7c9a90e9 100644 --- a/SysML2.NET/Core/AutoGenDto/SubjectMembership.cs +++ b/SysML2.NET/Core/AutoGenDto/SubjectMembership.cs @@ -1,389 +1,409 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Requirements -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Root.Namespaces; - using SysML2.NET.Core.DTO.Kernel.Behaviors; - using SysML2.NET.Decorators; - - /// - /// A SubjectMembership is a ParameterMembership that indicates that its ownedSubjectParameter is the - /// subject of its owningType. The owningType of a SubjectMembership must be a RequirementDefinition, - /// RequirementUsage, CaseDefinition, or CaseUsage. - /// - [Class(xmiId: "_19_0_2_59601fc_1590256833607_99707_374", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class SubjectMembership : ISubjectMembership - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_819490_43195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] - [Implements(implementation: "IMembership.MemberElement")] - public Guid MemberElement { get; set; } - - /// - /// The elementId of the memberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] - [Implements(implementation: "IMembership.MemberElementId")] - public string MemberElementId { get; internal set; } - - /// - /// The name of the memberElement relative to the membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberName")] - [Implements(implementation: "IMembership.MemberName")] - public string MemberName { get; set; } - - /// - /// The Namespace of which the memberElement becomes a member due to this Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_193857_43197", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_531296_43182")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [RedefinedByProperty("IFeatureMembership.OwningType")] - [Implements(implementation: "IMembership.MembershipOwningNamespace")] - public Guid MembershipOwningNamespace { get; internal set; } - - /// - /// The short name of the memberElement relative to the membershipOwningNamespace. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] - [Implements(implementation: "IMembership.MemberShortName")] - public string MemberShortName { get; set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this - /// OwningMembership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_501750_43196", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_59873_43302")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] - [RedefinedByProperty("IFeatureMembership.OwnedMemberFeature")] - [Implements(implementation: "IOwningMembership.OwnedMemberElement")] - public Guid OwnedMemberElement { get; internal set; } - - /// - /// The elementId of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] - [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] - public string OwnedMemberElementId { get; internal set; } - - /// - /// The Feature that this FeatureMembership relates to its owningType, making it an ownedFeature of the - /// owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_898044_43344", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] - [RedefinedByProperty("IParameterMembership.OwnedMemberParameter")] - [Implements(implementation: "IFeatureMembership.OwnedMemberFeature")] - public Guid OwnedMemberFeature { get; internal set; } - - /// - /// The name of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] - [Implements(implementation: "IOwningMembership.OwnedMemberName")] - public string OwnedMemberName { get; internal set; } - - /// - /// The Feature that is identified as a parameter by this ParameterMembership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1557528016548_548098_110830", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] - [RedefinedByProperty("ISubjectMembership.OwnedSubjectParameter")] - [Implements(implementation: "IParameterMembership.OwnedMemberParameter")] - public Guid OwnedMemberParameter { get; internal set; } - - /// - /// The shortName of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] - [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] - public string OwnedMemberShortName { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The UsageownedMemberParameter of this SubjectMembership. - /// - [Property(xmiId: "_19_0_2_59601fc_1590258781117_655788_845", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1557528016548_548098_110830")] - [Implements(implementation: "ISubjectMembership.OwnedSubjectParameter")] - public Guid OwnedSubjectParameter { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that owns this FeatureMembership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_418504_43339", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866524_738482_486")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] - [Implements(implementation: "IFeatureMembership.OwningType")] - public Guid OwningType { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IMembership.MembershipOwningNamespace")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IMembership.MemberElement")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly - /// visible outside that Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_42975_43193", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "public")] - [Implements(implementation: "IMembership.Visibility")] - public VisibilityKind Visibility { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Requirements +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Root.Namespaces; + using SysML2.NET.Core.DTO.Kernel.Behaviors; + using SysML2.NET.Decorators; + + /// + /// A SubjectMembership is a ParameterMembership that indicates that its ownedSubjectParameter is the + /// subject of its owningType. The owningType of a SubjectMembership must be a RequirementDefinition, + /// RequirementUsage, CaseDefinition, or CaseUsage. + /// + [Class(xmiId: "_19_0_2_59601fc_1590256833607_99707_374", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class SubjectMembership : ISubjectMembership + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_819490_43195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] + [Implements(implementation: "IMembership.MemberElement")] + Guid Root.Namespaces.IMembership.MemberElement + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + } + + /// + /// The elementId of the memberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] + [Implements(implementation: "IMembership.MemberElementId")] + string Root.Namespaces.IMembership.memberElementId => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElementId"); + + /// + /// The name of the memberElement relative to the membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberName")] + [Implements(implementation: "IMembership.MemberName")] + string Root.Namespaces.IMembership.MemberName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + } + + /// + /// The Namespace of which the memberElement becomes a member due to this Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_193857_43197", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_531296_43182")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [RedefinedByProperty("IFeatureMembership.OwningType")] + [Implements(implementation: "IMembership.MembershipOwningNamespace")] + Guid Root.Namespaces.IMembership.membershipOwningNamespace => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwningType"); + + /// + /// The short name of the memberElement relative to the membershipOwningNamespace. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] + [Implements(implementation: "IMembership.MemberShortName")] + string Root.Namespaces.IMembership.MemberShortName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this + /// OwningMembership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_501750_43196", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_59873_43302")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] + [RedefinedByProperty("IFeatureMembership.OwnedMemberFeature")] + [Implements(implementation: "IOwningMembership.OwnedMemberElement")] + Guid Root.Namespaces.IOwningMembership.ownedMemberElement => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwnedMemberFeature"); + + /// + /// The elementId of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] + [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] + public string ownedMemberElementId { get; internal set; } + + /// + /// The Feature that this FeatureMembership relates to its owningType, making it an ownedFeature of the + /// owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_898044_43344", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] + [RedefinedByProperty("IParameterMembership.OwnedMemberParameter")] + [Implements(implementation: "IFeatureMembership.OwnedMemberFeature")] + Guid Core.Types.IFeatureMembership.ownedMemberFeature => throw new InvalidOperationException("Redefined by property IParameterMembership.OwnedMemberParameter"); + + /// + /// The name of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] + [Implements(implementation: "IOwningMembership.OwnedMemberName")] + public string ownedMemberName { get; internal set; } + + /// + /// The Feature that is identified as a parameter by this ParameterMembership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1557528016548_548098_110830", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] + [RedefinedByProperty("ISubjectMembership.OwnedSubjectParameter")] + [Implements(implementation: "IParameterMembership.OwnedMemberParameter")] + Guid Kernel.Behaviors.IParameterMembership.ownedMemberParameter => throw new InvalidOperationException("Redefined by property ISubjectMembership.OwnedSubjectParameter"); + + /// + /// The shortName of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] + [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] + public string ownedMemberShortName { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The UsageownedMemberParameter of this SubjectMembership. + /// + [Property(xmiId: "_19_0_2_59601fc_1590258781117_655788_845", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1557528016548_548098_110830")] + [Implements(implementation: "ISubjectMembership.OwnedSubjectParameter")] + public Guid ownedSubjectParameter { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that owns this FeatureMembership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_418504_43339", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866524_738482_486")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] + [Implements(implementation: "IFeatureMembership.OwningType")] + public Guid owningType { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IRelationship.RelatedElement")] + public List relatedElement { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IMembership.MembershipOwningNamespace")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IMembership.MemberElement")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + set => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly + /// visible outside that Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_42975_43193", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "public")] + [Implements(implementation: "IMembership.Visibility")] + public VisibilityKind Visibility { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/Subsetting.cs b/SysML2.NET/Core/AutoGenDto/Subsetting.cs index de6d005e..2b013cae 100644 --- a/SysML2.NET/Core/AutoGenDto/Subsetting.cs +++ b/SysML2.NET/Core/AutoGenDto/Subsetting.cs @@ -1,321 +1,337 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Core.Features -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Core.Types; - using SysML2.NET.Decorators; - - /// - /// Subsetting is Specialization in which the specific and general Types are Features. This means all - /// values of the subsettingFeature (on instances of its domain, i.e., the intersection of its - /// featuringTypes) are values of the subsettedFeature on instances of its domain. To support this the - /// domain of the subsettingFeature must be the same or specialize (at least indirectly) the domain of - /// the subsettedFeature (via Specialization), and the co-domain (intersection of the types) of the - /// subsettingFeature must specialize the co-domain of the subsettedFeature. - /// - [Class(xmiId: "_18_5_3_12e503d9_1533160651710_980688_42209", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class Subsetting : ISubsetting - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// A Type with a superset of all instances of the specific Type, which might be the same set. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674980_563969_43273", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [RedefinedByProperty("ISubsetting.SubsettedFeature")] - [Implements(implementation: "ISpecialization.General")] - public Guid General { get; set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// A subsettingFeature that is also the owningRelatedElement of this Subsetting. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_236250_43311", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674967_140305_43206")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_573157_43226")] - [Implements(implementation: "ISubsetting.OwningFeature")] - public Guid? OwningFeature { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the specific Type of this Specialization and owns it as its owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_573157_43226", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] - [RedefinedByProperty("ISubsetting.OwningFeature")] - [Implements(implementation: "ISpecialization.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("ISpecialization.Specific")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// A Type with a subset of all instances of the general Type, which might be the same set. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674982_253967_43281", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [RedefinedByProperty("ISubsetting.SubsettingFeature")] - [Implements(implementation: "ISpecialization.Specific")] - public Guid Specific { get; set; } - - /// - /// The Feature that is subsetted by the subsettingFeature of this Subsetting. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_393191_43181", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_563969_43273")] - [Implements(implementation: "ISubsetting.SubsettedFeature")] - public Guid SubsettedFeature { get; set; } - - /// - /// The Feature that is a subset of the subsettedFeature of this Subsetting. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674967_140305_43206", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] - [Implements(implementation: "ISubsetting.SubsettingFeature")] - public Guid SubsettingFeature { get; set; } - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("ISpecialization.General")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Core.Features +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Core.Types; + using SysML2.NET.Decorators; + + /// + /// Subsetting is Specialization in which the specific and general Types are Features. This means all + /// values of the subsettingFeature (on instances of its domain, i.e., the intersection of its + /// featuringTypes) are values of the subsettedFeature on instances of its domain. To support this the + /// domain of the subsettingFeature must be the same or specialize (at least indirectly) the domain of + /// the subsettedFeature (via Specialization), and the co-domain (intersection of the types) of the + /// subsettingFeature must specialize the co-domain of the subsettedFeature. + /// + [Class(xmiId: "_18_5_3_12e503d9_1533160651710_980688_42209", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class Subsetting : ISubsetting + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// A Type with a superset of all instances of the specific Type, which might be the same set. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674980_563969_43273", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [RedefinedByProperty("ISubsetting.SubsettedFeature")] + [Implements(implementation: "ISpecialization.General")] + Guid Core.Types.ISpecialization.General + { + get => throw new InvalidOperationException("Redefined by property ISubsetting.SubsettedFeature"); + set => throw new InvalidOperationException("Redefined by property ISubsetting.SubsettedFeature"); + } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// A subsettingFeature that is also the owningRelatedElement of this Subsetting. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_236250_43311", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674967_140305_43206")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_573157_43226")] + [Implements(implementation: "ISubsetting.OwningFeature")] + public Guid? owningFeature { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the specific Type of this Specialization and owns it as its owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_573157_43226", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] + [RedefinedByProperty("ISubsetting.OwningFeature")] + [Implements(implementation: "ISpecialization.OwningType")] + Guid? Core.Types.ISpecialization.owningType => throw new InvalidOperationException("Redefined by property ISubsetting.OwningFeature"); + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IRelationship.RelatedElement")] + public List relatedElement { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("ISpecialization.Specific")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property ISpecialization.Specific"); + set => throw new InvalidOperationException("Redefined by property ISpecialization.Specific"); + } + + /// + /// A Type with a subset of all instances of the general Type, which might be the same set. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674982_253967_43281", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [RedefinedByProperty("ISubsetting.SubsettingFeature")] + [Implements(implementation: "ISpecialization.Specific")] + Guid Core.Types.ISpecialization.Specific + { + get => throw new InvalidOperationException("Redefined by property ISubsetting.SubsettingFeature"); + set => throw new InvalidOperationException("Redefined by property ISubsetting.SubsettingFeature"); + } + + /// + /// The Feature that is subsetted by the subsettingFeature of this Subsetting. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_393191_43181", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_563969_43273")] + [Implements(implementation: "ISubsetting.SubsettedFeature")] + public Guid SubsettedFeature { get; set; } + + /// + /// The Feature that is a subset of the subsettedFeature of this Subsetting. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674967_140305_43206", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] + [Implements(implementation: "ISubsetting.SubsettingFeature")] + public Guid SubsettingFeature { get; set; } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("ISpecialization.General")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property ISpecialization.General"); + set => throw new InvalidOperationException("Redefined by property ISpecialization.General"); + } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/Succession.cs b/SysML2.NET/Core/AutoGenDto/Succession.cs index b69c6967..3944e9f9 100644 --- a/SysML2.NET/Core/AutoGenDto/Succession.cs +++ b/SysML2.NET/Core/AutoGenDto/Succession.cs @@ -1,829 +1,837 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Kernel.Connectors -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Decorators; - - /// - /// A Succession is a binary Connector that requires its relatedFeatures to happen separately in time. - /// - [Class(xmiId: "_18_5_3_71301a1_1536100248189_622183_16479", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class Succession : ISuccession - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Associations that type the Connector. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674983_471497_43284", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [Implements(implementation: "IConnector.Association")] - public List Association { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The endFeatures of a Connector, which redefine the endFeatures of the associations of the Connector. - /// The connectorEnds determine via ReferenceSubsetting Relationships which Features are related by the - /// Connector. - /// - [Property(xmiId: "_18_5_3_12e503d9_1556735067666_827798_21922", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [Implements(implementation: "IConnector.ConnectorEnd")] - public List ConnectorEnd { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The innermost Type that is a common direct or indirect featuringType of the relatedFeatures, such - /// that, if it exists and was the featuringType of this Connector, the Connector would satisfy the - /// checkConnectorTypeFeaturing constraint. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737751598145_444042_71", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IConnector.DefaultFeaturingType")] - public Guid? DefaultFeaturingType { get; internal set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IConnector.ConnectorEnd")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - public bool IsEnd { get; set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [RedefinedByProperty("IConnector.RelatedFeature")] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The Features that are related by this Connector considered as a Relationship and that restrict the - /// links it identifies, given by the referenced Features of the connectorEnds of the Connector. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_916334_43210", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IConnector.RelatedFeature")] - public List RelatedFeature { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IConnector.SourceFeature")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// The source relatedFeature for this Connector. It is the first relatedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594953058873_558253_3897", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [Implements(implementation: "IConnector.SourceFeature")] - public Guid? SourceFeature { get; internal set; } - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IConnector.TargetFeature")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The target relatedFeatures for this Connector. This includes all the relatedFeatures other than the - /// sourceFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594953128207_991867_3946", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [Implements(implementation: "IConnector.TargetFeature")] - public List TargetFeature { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IConnector.Association")] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Kernel.Connectors +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Decorators; + + /// + /// A Succession is a binary Connector that requires its relatedFeatures to happen separately in time. + /// + [Class(xmiId: "_18_5_3_71301a1_1536100248189_622183_16479", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class Succession : ISuccession + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Associations that type the Connector. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674983_471497_43284", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [Implements(implementation: "IConnector.Association")] + public List association { get; internal set; } + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The endFeatures of a Connector, which redefine the endFeatures of the associations of the Connector. + /// The connectorEnds determine via ReferenceSubsetting Relationships which Features are related by the + /// Connector. + /// + [Property(xmiId: "_18_5_3_12e503d9_1556735067666_827798_21922", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [Implements(implementation: "IConnector.ConnectorEnd")] + public List connectorEnd { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The innermost Type that is a common direct or indirect featuringType of the relatedFeatures, such + /// that, if it exists and was the featuringType of this Connector, the Connector would satisfy the + /// checkConnectorTypeFeaturing constraint. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737751598145_444042_71", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IConnector.DefaultFeaturingType")] + public Guid? defaultFeaturingType { get; internal set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.DirectedFeature")] + public List directedFeature { get; internal set; } + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IConnector.ConnectorEnd")] + [Implements(implementation: "IType.EndFeature")] + List Core.Types.IType.endFeature => throw new InvalidOperationException("Redefined by property IConnector.ConnectorEnd"); + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + public bool IsEnd { get; set; } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsVariable")] + public bool IsVariable { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [RedefinedByProperty("IConnector.RelatedFeature")] + [Implements(implementation: "IRelationship.RelatedElement")] + List Root.Elements.IRelationship.relatedElement => throw new InvalidOperationException("Redefined by property IConnector.RelatedFeature"); + + /// + /// The Features that are related by this Connector considered as a Relationship and that restrict the + /// links it identifies, given by the referenced Features of the connectorEnds of the Connector. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_916334_43210", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IConnector.RelatedFeature")] + public List relatedFeature { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IConnector.SourceFeature")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + } + + /// + /// The source relatedFeature for this Connector. It is the first relatedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594953058873_558253_3897", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [Implements(implementation: "IConnector.SourceFeature")] + public Guid? sourceFeature { get; internal set; } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IConnector.TargetFeature")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + } + + /// + /// The target relatedFeatures for this Connector. This includes all the relatedFeatures other than the + /// sourceFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594953128207_991867_3946", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [Implements(implementation: "IConnector.TargetFeature")] + public List targetFeature { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IConnector.Association")] + [Implements(implementation: "IFeature.Type")] + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IConnector.Association"); + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/SuccessionAsUsage.cs b/SysML2.NET/Core/AutoGenDto/SuccessionAsUsage.cs index 7c0535c7..46f76b5a 100644 --- a/SysML2.NET/Core/AutoGenDto/SuccessionAsUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/SuccessionAsUsage.cs @@ -1,1140 +1,1152 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Connections -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.DTO.Kernel.Connectors; - using SysML2.NET.Decorators; - - /// - /// A SuccessionAsUsage is both a ConnectorAsUsage and a Succession. - /// - [Class(xmiId: "_19_0_4_12e503d9_1624053404424_842165_528", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class SuccessionAsUsage : ISuccessionAsUsage - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Associations that type the Connector. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674983_471497_43284", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [Implements(implementation: "IConnector.Association")] - public List Association { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The endFeatures of a Connector, which redefine the endFeatures of the associations of the Connector. - /// The connectorEnds determine via ReferenceSubsetting Relationships which Features are related by the - /// Connector. - /// - [Property(xmiId: "_18_5_3_12e503d9_1556735067666_827798_21922", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [Implements(implementation: "IConnector.ConnectorEnd")] - public List ConnectorEnd { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The innermost Type that is a common direct or indirect featuringType of the relatedFeatures, such - /// that, if it exists and was the featuringType of this Connector, the Connector would satisfy the - /// checkConnectorTypeFeaturing constraint. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737751598145_444042_71", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IConnector.DefaultFeaturingType")] - public Guid? DefaultFeaturingType { get; internal set; } - - /// - /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds - /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [Implements(implementation: "IUsage.Definition")] - public List Definition { get; internal set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Usage that are directedFeatures. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IConnector.ConnectorEnd")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - public bool IsEnd { get; set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - public bool IsPortion { get; set; } - - /// - /// Whether this Usage is a referential Usage, that is, it has isComposite = false. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsReference")] - public bool IsReference { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [RedefinedByProperty("IUsage.MayTimeVary")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage - /// must be VariantMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its - /// owningType, rather than being featured by the owningType itself). However, if isConstant is also - /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance - /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary - /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is - /// inherited from Feature. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] - [Implements(implementation: "IUsage.MayTimeVary")] - public bool MayTimeVary { get; internal set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ActionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedAction")] - public List NestedAction { get; internal set; } - - /// - /// The AllocationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedAllocation")] - public List NestedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List NestedAnalysisCase { get; internal set; } - - /// - /// The code>AttributeUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedAttribute")] - public List NestedAttribute { get; internal set; } - - /// - /// The CalculationUsage that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedCalculation")] - public List NestedCalculation { get; internal set; } - - /// - /// The CaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] - [Implements(implementation: "IUsage.NestedCase")] - public List NestedCase { get; internal set; } - - /// - /// The ConcernUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedConcern")] - public List NestedConcern { get; internal set; } - - /// - /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are - /// ConnectorAsUsages even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedConnection")] - public List NestedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedConstraint")] - public List NestedConstraint { get; internal set; } - - /// - /// The code>EnumerationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] - [Implements(implementation: "IUsage.NestedEnumeration")] - public List NestedEnumeration { get; internal set; } - - /// - /// The code>FlowUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedFlow")] - public List NestedFlow { get; internal set; } - - /// - /// The InterfaceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedInterface")] - public List NestedInterface { get; internal set; } - - /// - /// The ItemUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedItem")] - public List NestedItem { get; internal set; } - - /// - /// The MetadataUsages that are nestedUsages of this of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedMetadata")] - public List NestedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedOccurrence")] - public List NestedOccurrence { get; internal set; } - - /// - /// The PartUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedPart")] - public List NestedPart { get; internal set; } - - /// - /// The PortUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedPort")] - public List NestedPort { get; internal set; } - - /// - /// The ReferenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedReference")] - public List NestedReference { get; internal set; } - - /// - /// The RenderingUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedRendering")] - public List NestedRendering { get; internal set; } - - /// - /// The RequirementUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] - [Implements(implementation: "IUsage.NestedRequirement")] - public List NestedRequirement { get; internal set; } - - /// - /// The StateUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedState")] - public List NestedState { get; internal set; } - - /// - /// The TransitionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedTransition")] - public List NestedTransition { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.NestedUsage")] - public List NestedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedUseCase")] - public List NestedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedVerificationCase")] - public List NestedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedView")] - public List NestedView { get; internal set; } - - /// - /// The ViewpointUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedViewpoint")] - public List NestedViewpoint { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The Definition that owns this Usage (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] - [Implements(implementation: "IUsage.OwningDefinition")] - public Guid? OwningDefinition { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The Usage in which this Usage is nested (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IUsage.OwningUsage")] - public Guid? OwningUsage { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [RedefinedByProperty("IConnector.RelatedFeature")] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The Features that are related by this Connector considered as a Relationship and that restrict the - /// links it identifies, given by the referenced Features of the connectorEnds of the Connector. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_916334_43210", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IConnector.RelatedFeature")] - public List RelatedFeature { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IConnector.SourceFeature")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// The source relatedFeature for this Connector. It is the first relatedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594953058873_558253_3897", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [Implements(implementation: "IConnector.SourceFeature")] - public Guid? SourceFeature { get; internal set; } - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IConnector.TargetFeature")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The target relatedFeatures for this Connector. This includes all the relatedFeatures other than the - /// sourceFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594953128207_991867_3946", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [Implements(implementation: "IConnector.TargetFeature")] - public List TargetFeature { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IUsage.Definition")] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Usage (not necessarily owned). - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IUsage.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = - /// true. If isVariation = false, then there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IUsage.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this - /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IUsage.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Connections +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.DTO.Kernel.Connectors; + using SysML2.NET.Decorators; + + /// + /// A SuccessionAsUsage is both a ConnectorAsUsage and a Succession. + /// + [Class(xmiId: "_19_0_4_12e503d9_1624053404424_842165_528", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class SuccessionAsUsage : ISuccessionAsUsage + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Associations that type the Connector. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674983_471497_43284", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [Implements(implementation: "IConnector.Association")] + public List association { get; internal set; } + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The endFeatures of a Connector, which redefine the endFeatures of the associations of the Connector. + /// The connectorEnds determine via ReferenceSubsetting Relationships which Features are related by the + /// Connector. + /// + [Property(xmiId: "_18_5_3_12e503d9_1556735067666_827798_21922", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [Implements(implementation: "IConnector.ConnectorEnd")] + public List connectorEnd { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The innermost Type that is a common direct or indirect featuringType of the relatedFeatures, such + /// that, if it exists and was the featuringType of this Connector, the Connector would satisfy the + /// checkConnectorTypeFeaturing constraint. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737751598145_444042_71", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IConnector.DefaultFeaturingType")] + public Guid? defaultFeaturingType { get; internal set; } + + /// + /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds + /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [Implements(implementation: "IUsage.Definition")] + public List definition { get; internal set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.DirectedFeature")] + public List directedFeature { get; internal set; } + + /// + /// The usages of this Usage that are directedFeatures. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IConnector.ConnectorEnd")] + [Implements(implementation: "IType.EndFeature")] + List Core.Types.IType.endFeature => throw new InvalidOperationException("Redefined by property IConnector.ConnectorEnd"); + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + public bool IsEnd { get; set; } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + public bool IsPortion { get; set; } + + /// + /// Whether this Usage is a referential Usage, that is, it has isComposite = false. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsReference")] + public bool isReference { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [RedefinedByProperty("IUsage.MayTimeVary")] + [Implements(implementation: "IFeature.IsVariable")] + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } + + /// + /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage + /// must be VariantMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its + /// owningType, rather than being featured by the owningType itself). However, if isConstant is also + /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance + /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary + /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is + /// inherited from Feature. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] + [Implements(implementation: "IUsage.MayTimeVary")] + public bool mayTimeVary { get; internal set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ActionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedAction")] + public List nestedAction { get; internal set; } + + /// + /// The AllocationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedAllocation")] + public List nestedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedAnalysisCase")] + public List nestedAnalysisCase { get; internal set; } + + /// + /// The code>AttributeUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedAttribute")] + public List nestedAttribute { get; internal set; } + + /// + /// The CalculationUsage that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedCalculation")] + public List nestedCalculation { get; internal set; } + + /// + /// The CaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] + [Implements(implementation: "IUsage.NestedCase")] + public List nestedCase { get; internal set; } + + /// + /// The ConcernUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedConcern")] + public List nestedConcern { get; internal set; } + + /// + /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are + /// ConnectorAsUsages even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedConnection")] + public List nestedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedConstraint")] + public List nestedConstraint { get; internal set; } + + /// + /// The code>EnumerationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] + [Implements(implementation: "IUsage.NestedEnumeration")] + public List nestedEnumeration { get; internal set; } + + /// + /// The code>FlowUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedFlow")] + public List nestedFlow { get; internal set; } + + /// + /// The InterfaceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedInterface")] + public List nestedInterface { get; internal set; } + + /// + /// The ItemUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedItem")] + public List nestedItem { get; internal set; } + + /// + /// The MetadataUsages that are nestedUsages of this of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedMetadata")] + public List nestedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedOccurrence")] + public List nestedOccurrence { get; internal set; } + + /// + /// The PartUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedPart")] + public List nestedPart { get; internal set; } + + /// + /// The PortUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedPort")] + public List nestedPort { get; internal set; } + + /// + /// The ReferenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedReference")] + public List nestedReference { get; internal set; } + + /// + /// The RenderingUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedRendering")] + public List nestedRendering { get; internal set; } + + /// + /// The RequirementUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] + [Implements(implementation: "IUsage.NestedRequirement")] + public List nestedRequirement { get; internal set; } + + /// + /// The StateUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedState")] + public List nestedState { get; internal set; } + + /// + /// The TransitionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedTransition")] + public List nestedTransition { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.NestedUsage")] + public List nestedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedUseCase")] + public List nestedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedVerificationCase")] + public List nestedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedView")] + public List nestedView { get; internal set; } + + /// + /// The ViewpointUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedViewpoint")] + public List nestedViewpoint { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The Definition that owns this Usage (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] + [Implements(implementation: "IUsage.OwningDefinition")] + public Guid? owningDefinition { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The Usage in which this Usage is nested (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IUsage.OwningUsage")] + public Guid? owningUsage { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [RedefinedByProperty("IConnector.RelatedFeature")] + [Implements(implementation: "IRelationship.RelatedElement")] + List Root.Elements.IRelationship.relatedElement => throw new InvalidOperationException("Redefined by property IConnector.RelatedFeature"); + + /// + /// The Features that are related by this Connector considered as a Relationship and that restrict the + /// links it identifies, given by the referenced Features of the connectorEnds of the Connector. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_916334_43210", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IConnector.RelatedFeature")] + public List relatedFeature { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IConnector.SourceFeature")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + } + + /// + /// The source relatedFeature for this Connector. It is the first relatedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594953058873_558253_3897", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [Implements(implementation: "IConnector.SourceFeature")] + public Guid? sourceFeature { get; internal set; } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IConnector.TargetFeature")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + } + + /// + /// The target relatedFeatures for this Connector. This includes all the relatedFeatures other than the + /// sourceFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594953128207_991867_3946", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [Implements(implementation: "IConnector.TargetFeature")] + public List targetFeature { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IUsage.Definition")] + [Implements(implementation: "IFeature.Type")] + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Usage (not necessarily owned). + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IUsage.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = + /// true. If isVariation = false, then there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IUsage.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this + /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IUsage.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/SuccessionFlow.cs b/SysML2.NET/Core/AutoGenDto/SuccessionFlow.cs index ccf0bc46..72a53284 100644 --- a/SysML2.NET/Core/AutoGenDto/SuccessionFlow.cs +++ b/SysML2.NET/Core/AutoGenDto/SuccessionFlow.cs @@ -62,7 +62,7 @@ public partial class SuccessionFlow : ISuccessionFlow [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IFlow.Interaction")] [Implements(implementation: "IConnector.Association")] - public List Association { get; internal set; } + List Kernel.Connectors.IConnector.association => throw new InvalidOperationException("Redefined by property IFlow.Interaction"); /// /// The Behaviors that type this Step. @@ -71,7 +71,7 @@ public partial class SuccessionFlow : ISuccessionFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IFlow.Interaction")] [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IFlow.Interaction"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -83,7 +83,7 @@ public partial class SuccessionFlow : ISuccessionFlow /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } + public List chainingFeature { get; internal set; } /// /// The endFeatures of a Connector, which redefine the endFeatures of the associations of the Connector. @@ -93,7 +93,7 @@ public partial class SuccessionFlow : ISuccessionFlow [Property(xmiId: "_18_5_3_12e503d9_1556735067666_827798_21922", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [Implements(implementation: "IConnector.ConnectorEnd")] - public List ConnectorEnd { get; internal set; } + public List connectorEnd { get; internal set; } /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -103,7 +103,7 @@ public partial class SuccessionFlow : ISuccessionFlow /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } + public Guid? crossFeature { get; internal set; } /// /// The declared name of this Element. @@ -129,7 +129,7 @@ public partial class SuccessionFlow : ISuccessionFlow /// [Property(xmiId: "_2022x_2_12e503d9_1737751598145_444042_71", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IConnector.DefaultFeaturingType")] - public Guid? DefaultFeaturingType { get; internal set; } + public Guid? defaultFeaturingType { get; internal set; } /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -142,7 +142,7 @@ public partial class SuccessionFlow : ISuccessionFlow /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } + public List differencingType { get; internal set; } /// /// The features of this Type that have a non-null direction. @@ -151,7 +151,7 @@ public partial class SuccessionFlow : ISuccessionFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -168,7 +168,7 @@ public partial class SuccessionFlow : ISuccessionFlow [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } + public List documentation { get; internal set; } /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -185,7 +185,7 @@ public partial class SuccessionFlow : ISuccessionFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IConnector.ConnectorEnd")] [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } + List Core.Types.IType.endFeature => throw new InvalidOperationException("Redefined by property IConnector.ConnectorEnd"); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -195,7 +195,7 @@ public partial class SuccessionFlow : ISuccessionFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } + public Guid? endOwningType { get; internal set; } /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -203,7 +203,7 @@ public partial class SuccessionFlow : ISuccessionFlow [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } + public List feature { get; internal set; } /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -212,14 +212,14 @@ public partial class SuccessionFlow : ISuccessionFlow /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } + public List featureMembership { get; internal set; } /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } + public Guid featureTarget { get; internal set; } /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -229,7 +229,7 @@ public partial class SuccessionFlow : ISuccessionFlow /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } + public List featuringType { get; internal set; } /// /// The connectorEnds of this Flow that are FlowEnds. @@ -237,7 +237,7 @@ public partial class SuccessionFlow : ISuccessionFlow [Property(xmiId: "_18_5_3_12e503d9_1563219311176_506548_20966", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 2, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1556735067666_827798_21922")] [Implements(implementation: "IFlow.FlowEnd")] - public List FlowEnd { get; internal set; } + public List flowEnd { get; internal set; } /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -245,7 +245,7 @@ public partial class SuccessionFlow : ISuccessionFlow [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } + public List importedMembership { get; internal set; } /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -253,7 +253,7 @@ public partial class SuccessionFlow : ISuccessionFlow [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } + public List inheritedFeature { get; internal set; } /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -262,7 +262,7 @@ public partial class SuccessionFlow : ISuccessionFlow [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } + public List inheritedMembership { get; internal set; } /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -270,7 +270,7 @@ public partial class SuccessionFlow : ISuccessionFlow [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } + public List input { get; internal set; } /// /// The Interactions that type this Flow. Interactions are both Associations and Behaviors, which can @@ -280,7 +280,7 @@ public partial class SuccessionFlow : ISuccessionFlow [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674983_471497_43284")] [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [Implements(implementation: "IFlow.Interaction")] - public List Interaction { get; internal set; } + public List interaction { get; internal set; } /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -293,7 +293,7 @@ public partial class SuccessionFlow : ISuccessionFlow /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } + public List intersectingType { get; internal set; } /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -317,7 +317,7 @@ public partial class SuccessionFlow : ISuccessionFlow /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } + public bool isConjugated { get; internal set; } /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -372,7 +372,7 @@ public partial class SuccessionFlow : ISuccessionFlow /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } + public bool isLibraryElement { get; internal set; } /// /// Whether an order exists for the values of this Feature or not. @@ -422,7 +422,7 @@ public partial class SuccessionFlow : ISuccessionFlow /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } + public List member { get; internal set; } /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -430,7 +430,7 @@ public partial class SuccessionFlow : ISuccessionFlow /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } + public List membership { get; internal set; } /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -440,7 +440,7 @@ public partial class SuccessionFlow : ISuccessionFlow [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } + public Guid? multiplicity { get; internal set; } /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -450,7 +450,7 @@ public partial class SuccessionFlow : ISuccessionFlow /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } + public string name { get; internal set; } /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -458,7 +458,7 @@ public partial class SuccessionFlow : ISuccessionFlow [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } + public List output { get; internal set; } /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -468,7 +468,7 @@ public partial class SuccessionFlow : ISuccessionFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } + public List ownedAnnotation { get; internal set; } /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -477,7 +477,7 @@ public partial class SuccessionFlow : ISuccessionFlow [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } + public Guid? ownedConjugator { get; internal set; } /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -486,7 +486,7 @@ public partial class SuccessionFlow : ISuccessionFlow [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } + public Guid? ownedCrossSubsetting { get; internal set; } /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -496,7 +496,7 @@ public partial class SuccessionFlow : ISuccessionFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } + public List ownedDifferencing { get; internal set; } /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -506,7 +506,7 @@ public partial class SuccessionFlow : ISuccessionFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } + public List ownedDisjoining { get; internal set; } /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -514,7 +514,7 @@ public partial class SuccessionFlow : ISuccessionFlow /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } + public List ownedElement { get; internal set; } /// /// All endFeatures of this Type that are ownedFeatures. @@ -523,7 +523,7 @@ public partial class SuccessionFlow : ISuccessionFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } + public List ownedEndFeature { get; internal set; } /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -531,7 +531,7 @@ public partial class SuccessionFlow : ISuccessionFlow [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } + public List ownedFeature { get; internal set; } /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -541,7 +541,7 @@ public partial class SuccessionFlow : ISuccessionFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } + public List ownedFeatureChaining { get; internal set; } /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -551,7 +551,7 @@ public partial class SuccessionFlow : ISuccessionFlow [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } + public List ownedFeatureInverting { get; internal set; } /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -561,7 +561,7 @@ public partial class SuccessionFlow : ISuccessionFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } + public List ownedFeatureMembership { get; internal set; } /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -571,7 +571,7 @@ public partial class SuccessionFlow : ISuccessionFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } + public List ownedImport { get; internal set; } /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -580,7 +580,7 @@ public partial class SuccessionFlow : ISuccessionFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } + public List ownedIntersecting { get; internal set; } /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -589,7 +589,7 @@ public partial class SuccessionFlow : ISuccessionFlow [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } + public List ownedMember { get; internal set; } /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -600,7 +600,7 @@ public partial class SuccessionFlow : ISuccessionFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } + public List ownedMembership { get; internal set; } /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -609,7 +609,7 @@ public partial class SuccessionFlow : ISuccessionFlow [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } + public List ownedRedefinition { get; internal set; } /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -618,7 +618,7 @@ public partial class SuccessionFlow : ISuccessionFlow [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } + public Guid? ownedReferenceSubsetting { get; internal set; } /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -644,7 +644,7 @@ public partial class SuccessionFlow : ISuccessionFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } + public List ownedSpecialization { get; internal set; } /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -654,7 +654,7 @@ public partial class SuccessionFlow : ISuccessionFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } + public List ownedSubsetting { get; internal set; } /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -664,7 +664,7 @@ public partial class SuccessionFlow : ISuccessionFlow [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } + public List ownedTypeFeaturing { get; internal set; } /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -674,7 +674,7 @@ public partial class SuccessionFlow : ISuccessionFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } + public List ownedTyping { get; internal set; } /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -683,7 +683,7 @@ public partial class SuccessionFlow : ISuccessionFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } + public List ownedUnioning { get; internal set; } /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -691,7 +691,7 @@ public partial class SuccessionFlow : ISuccessionFlow /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } + public Guid? owner { get; internal set; } /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -699,7 +699,7 @@ public partial class SuccessionFlow : ISuccessionFlow [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } + public Guid? owningFeatureMembership { get; internal set; } /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -708,7 +708,7 @@ public partial class SuccessionFlow : ISuccessionFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } + public Guid? owningMembership { get; internal set; } /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -717,7 +717,7 @@ public partial class SuccessionFlow : ISuccessionFlow [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } + public Guid? owningNamespace { get; internal set; } /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -743,7 +743,7 @@ public partial class SuccessionFlow : ISuccessionFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } + public Guid? owningType { get; internal set; } /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -752,7 +752,7 @@ public partial class SuccessionFlow : ISuccessionFlow [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } + public List parameter { get; internal set; } /// /// The ownedFeature of the Flow that is a PayloadFeature (if any). @@ -760,14 +760,14 @@ public partial class SuccessionFlow : ISuccessionFlow [Property(xmiId: "_18_5_3_12e503d9_1563219424870_347345_21142", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IFlow.PayloadFeature")] - public Guid? PayloadFeature { get; internal set; } + public Guid? payloadFeature { get; internal set; } /// /// The type of values transferred, which is the type of the payloadFeature of the Flow. /// [Property(xmiId: "_18_5_3_b9102da_1536870569046_1672_18020", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFlow.PayloadType")] - public List PayloadType { get; internal set; } + public List payloadType { get; internal set; } /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -779,7 +779,7 @@ public partial class SuccessionFlow : ISuccessionFlow /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } + public string qualifiedName { get; internal set; } /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -788,7 +788,7 @@ public partial class SuccessionFlow : ISuccessionFlow [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedByProperty("IConnector.RelatedFeature")] [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } + List Root.Elements.IRelationship.relatedElement => throw new InvalidOperationException("Redefined by property IConnector.RelatedFeature"); /// /// The Features that are related by this Connector considered as a Relationship and that restrict the @@ -797,7 +797,7 @@ public partial class SuccessionFlow : ISuccessionFlow [Property(xmiId: "_18_5_3_12e503d9_1533160674968_916334_43210", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [Implements(implementation: "IConnector.RelatedFeature")] - public List RelatedFeature { get; internal set; } + public List relatedFeature { get; internal set; } /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -807,7 +807,7 @@ public partial class SuccessionFlow : ISuccessionFlow /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } + public string shortName { get; internal set; } /// /// The relatedElements from which this Relationship is considered to be directed. @@ -816,7 +816,11 @@ public partial class SuccessionFlow : ISuccessionFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IConnector.SourceFeature")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + } /// /// The source relatedFeature for this Connector. It is the first relatedFeature. @@ -825,7 +829,7 @@ public partial class SuccessionFlow : ISuccessionFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [Implements(implementation: "IConnector.SourceFeature")] - public Guid? SourceFeature { get; internal set; } + public Guid? sourceFeature { get; internal set; } /// /// The Feature that provides the items carried by the Flow. It must be a feature of the source of the @@ -833,7 +837,7 @@ public partial class SuccessionFlow : ISuccessionFlow /// [Property(xmiId: "_18_5_3_b9102da_1536870707078_57525_18088", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFlow.SourceOutputFeature")] - public Guid? SourceOutputFeature { get; internal set; } + public Guid? sourceOutputFeature { get; internal set; } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -842,7 +846,11 @@ public partial class SuccessionFlow : ISuccessionFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IConnector.TargetFeature")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + } /// /// The target relatedFeatures for this Connector. This includes all the relatedFeatures other than the @@ -852,7 +860,7 @@ public partial class SuccessionFlow : ISuccessionFlow [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [Implements(implementation: "IConnector.TargetFeature")] - public List TargetFeature { get; internal set; } + public List targetFeature { get; internal set; } /// /// The Feature that receives the values carried by the Flow. It must be a feature of the target of the @@ -860,7 +868,7 @@ public partial class SuccessionFlow : ISuccessionFlow /// [Property(xmiId: "_18_5_3_b9102da_1536870573474_966268_18041", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFlow.TargetInputFeature")] - public Guid? TargetInputFeature { get; internal set; } + public Guid? targetInputFeature { get; internal set; } /// /// The TextualRepresentations that annotate this Element. @@ -869,7 +877,7 @@ public partial class SuccessionFlow : ISuccessionFlow [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } + public List textualRepresentation { get; internal set; } /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -880,7 +888,7 @@ public partial class SuccessionFlow : ISuccessionFlow [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IConnector.Association")] [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IConnector.Association"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -891,7 +899,7 @@ public partial class SuccessionFlow : ISuccessionFlow /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } + public List unioningType { get; internal set; } } } diff --git a/SysML2.NET/Core/AutoGenDto/SuccessionFlowUsage.cs b/SysML2.NET/Core/AutoGenDto/SuccessionFlowUsage.cs index e3fd18a6..cb89f4f0 100644 --- a/SysML2.NET/Core/AutoGenDto/SuccessionFlowUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/SuccessionFlowUsage.cs @@ -57,7 +57,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [RedefinedByProperty("IFlowUsage.FlowDefinition")] [Implements(implementation: "IActionUsage.ActionDefinition")] - public List ActionDefinition { get; internal set; } + List Systems.Actions.IActionUsage.actionDefinition => throw new InvalidOperationException("Redefined by property IFlowUsage.FlowDefinition"); /// /// Various alternative identifiers for this Element. Generally, these will be set by tools. @@ -73,7 +73,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IFlow.Interaction")] [Implements(implementation: "IConnector.Association")] - public List Association { get; internal set; } + List Kernel.Connectors.IConnector.association => throw new InvalidOperationException("Redefined by property IFlow.Interaction"); /// /// The Behaviors that type this Step. @@ -82,7 +82,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IFlow.Interaction")] [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IFlow.Interaction"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -94,7 +94,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } + public List chainingFeature { get; internal set; } /// /// The endFeatures of a Connector, which redefine the endFeatures of the associations of the Connector. @@ -104,7 +104,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_18_5_3_12e503d9_1556735067666_827798_21922", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [Implements(implementation: "IConnector.ConnectorEnd")] - public List ConnectorEnd { get; internal set; } + public List connectorEnd { get; internal set; } /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -114,7 +114,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } + public Guid? crossFeature { get; internal set; } /// /// The declared name of this Element. @@ -140,7 +140,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage /// [Property(xmiId: "_2022x_2_12e503d9_1737751598145_444042_71", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IConnector.DefaultFeaturingType")] - public Guid? DefaultFeaturingType { get; internal set; } + public Guid? defaultFeaturingType { get; internal set; } /// /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds @@ -151,7 +151,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] [Implements(implementation: "IUsage.Definition")] - public List Definition { get; internal set; } + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -164,7 +164,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } + public List differencingType { get; internal set; } /// /// The features of this Type that have a non-null direction. @@ -173,7 +173,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// The usages of this Usage that are directedFeatures. @@ -182,7 +182,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List DirectedUsage { get; internal set; } + public List directedUsage { get; internal set; } /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -199,7 +199,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } + public List documentation { get; internal set; } /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -216,7 +216,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IConnector.ConnectorEnd")] [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } + List Core.Types.IType.endFeature => throw new InvalidOperationException("Redefined by property IConnector.ConnectorEnd"); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -226,7 +226,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } + public Guid? endOwningType { get; internal set; } /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -234,7 +234,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } + public List feature { get; internal set; } /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -243,14 +243,14 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } + public List featureMembership { get; internal set; } /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } + public Guid featureTarget { get; internal set; } /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -260,7 +260,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } + public List featuringType { get; internal set; } /// /// The Interactions that are the types of this FlowUsage. Nominally, these are FlowDefinitions, but @@ -271,7 +271,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1565500905804_589845_30779")] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1661900477937_518125_727")] [Implements(implementation: "IFlowUsage.FlowDefinition")] - public List FlowDefinition { get; internal set; } + public List flowDefinition { get; internal set; } /// /// The connectorEnds of this Flow that are FlowEnds. @@ -279,7 +279,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_18_5_3_12e503d9_1563219311176_506548_20966", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 2, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1556735067666_827798_21922")] [Implements(implementation: "IFlow.FlowEnd")] - public List FlowEnd { get; internal set; } + public List flowEnd { get; internal set; } /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -287,7 +287,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } + public List importedMembership { get; internal set; } /// /// The at most one occurrenceDefinition that has isIndividual = true. @@ -295,7 +295,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public Guid? IndividualDefinition { get; internal set; } + public Guid? individualDefinition { get; internal set; } /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -303,7 +303,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } + public List inheritedFeature { get; internal set; } /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -312,7 +312,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } + public List inheritedMembership { get; internal set; } /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -320,7 +320,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } + public List input { get; internal set; } /// /// The Interactions that type this Flow. Interactions are both Associations and Behaviors, which can @@ -331,7 +331,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [RedefinedByProperty("IFlowUsage.FlowDefinition")] [Implements(implementation: "IFlow.Interaction")] - public List Interaction { get; internal set; } + List Kernel.Interactions.IFlow.interaction => throw new InvalidOperationException("Redefined by property IFlowUsage.FlowDefinition"); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -344,7 +344,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } + public List intersectingType { get; internal set; } /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -368,7 +368,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } + public bool isConjugated { get; internal set; } /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -431,7 +431,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } + public bool isLibraryElement { get; internal set; } /// /// Whether an order exists for the values of this Feature or not. @@ -453,7 +453,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage /// [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IUsage.IsReference")] - public bool IsReference { get; internal set; } + public bool isReference { get; internal set; } /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -481,7 +481,11 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -502,7 +506,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool MayTimeVary { get; internal set; } + public bool mayTimeVary { get; internal set; } /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -510,7 +514,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } + public List member { get; internal set; } /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -518,7 +522,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } + public List membership { get; internal set; } /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -528,7 +532,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } + public Guid? multiplicity { get; internal set; } /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -538,7 +542,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } + public string name { get; internal set; } /// /// The ActionUsages that are nestedUsages of this Usage. @@ -546,7 +550,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List NestedAction { get; internal set; } + public List nestedAction { get; internal set; } /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -554,7 +558,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List NestedAllocation { get; internal set; } + public List nestedAllocation { get; internal set; } /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -562,7 +566,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List NestedAnalysisCase { get; internal set; } + public List nestedAnalysisCase { get; internal set; } /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -570,7 +574,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List NestedAttribute { get; internal set; } + public List nestedAttribute { get; internal set; } /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -578,7 +582,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List NestedCalculation { get; internal set; } + public List nestedCalculation { get; internal set; } /// /// The CaseUsages that are nestedUsages of this Usage. @@ -586,7 +590,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List NestedCase { get; internal set; } + public List nestedCase { get; internal set; } /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -594,7 +598,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List NestedConcern { get; internal set; } + public List nestedConcern { get; internal set; } /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -604,7 +608,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List NestedConnection { get; internal set; } + public List nestedConnection { get; internal set; } /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -612,7 +616,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List NestedConstraint { get; internal set; } + public List nestedConstraint { get; internal set; } /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -620,7 +624,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List NestedEnumeration { get; internal set; } + public List nestedEnumeration { get; internal set; } /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -628,7 +632,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List NestedFlow { get; internal set; } + public List nestedFlow { get; internal set; } /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -636,7 +640,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List NestedInterface { get; internal set; } + public List nestedInterface { get; internal set; } /// /// The ItemUsages that are nestedUsages of this Usage. @@ -644,7 +648,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List NestedItem { get; internal set; } + public List nestedItem { get; internal set; } /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -652,7 +656,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List NestedMetadata { get; internal set; } + public List nestedMetadata { get; internal set; } /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -660,7 +664,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List NestedOccurrence { get; internal set; } + public List nestedOccurrence { get; internal set; } /// /// The PartUsages that are nestedUsages of this Usage. @@ -668,7 +672,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List NestedPart { get; internal set; } + public List nestedPart { get; internal set; } /// /// The PortUsages that are nestedUsages of this Usage. @@ -676,7 +680,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List NestedPort { get; internal set; } + public List nestedPort { get; internal set; } /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -684,7 +688,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List NestedReference { get; internal set; } + public List nestedReference { get; internal set; } /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -692,7 +696,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List NestedRendering { get; internal set; } + public List nestedRendering { get; internal set; } /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -700,7 +704,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List NestedRequirement { get; internal set; } + public List nestedRequirement { get; internal set; } /// /// The StateUsages that are nestedUsages of this Usage. @@ -708,7 +712,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List NestedState { get; internal set; } + public List nestedState { get; internal set; } /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -716,7 +720,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List NestedTransition { get; internal set; } + public List nestedTransition { get; internal set; } /// /// The Usages that are ownedFeatures of this Usage. @@ -725,7 +729,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List NestedUsage { get; internal set; } + public List nestedUsage { get; internal set; } /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -733,7 +737,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List NestedUseCase { get; internal set; } + public List nestedUseCase { get; internal set; } /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -741,7 +745,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List NestedVerificationCase { get; internal set; } + public List nestedVerificationCase { get; internal set; } /// /// The ViewUsages that are nestedUsages of this Usage. @@ -749,7 +753,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List NestedView { get; internal set; } + public List nestedView { get; internal set; } /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -757,7 +761,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List NestedViewpoint { get; internal set; } + public List nestedViewpoint { get; internal set; } /// /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, @@ -768,7 +772,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] [RedefinedByProperty("IActionUsage.ActionDefinition")] [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List OccurrenceDefinition { get; internal set; } + List Systems.Occurrences.IOccurrenceUsage.occurrenceDefinition => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -776,7 +780,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } + public List output { get; internal set; } /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -786,7 +790,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } + public List ownedAnnotation { get; internal set; } /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -795,7 +799,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } + public Guid? ownedConjugator { get; internal set; } /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -804,7 +808,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } + public Guid? ownedCrossSubsetting { get; internal set; } /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -814,7 +818,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } + public List ownedDifferencing { get; internal set; } /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -824,7 +828,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } + public List ownedDisjoining { get; internal set; } /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -832,7 +836,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } + public List ownedElement { get; internal set; } /// /// All endFeatures of this Type that are ownedFeatures. @@ -841,7 +845,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } + public List ownedEndFeature { get; internal set; } /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -849,7 +853,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } + public List ownedFeature { get; internal set; } /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -859,7 +863,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } + public List ownedFeatureChaining { get; internal set; } /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -869,7 +873,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } + public List ownedFeatureInverting { get; internal set; } /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -879,7 +883,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } + public List ownedFeatureMembership { get; internal set; } /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -889,7 +893,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } + public List ownedImport { get; internal set; } /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -898,7 +902,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } + public List ownedIntersecting { get; internal set; } /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -907,7 +911,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } + public List ownedMember { get; internal set; } /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -918,7 +922,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } + public List ownedMembership { get; internal set; } /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -927,7 +931,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } + public List ownedRedefinition { get; internal set; } /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -936,7 +940,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } + public Guid? ownedReferenceSubsetting { get; internal set; } /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -962,7 +966,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } + public List ownedSpecialization { get; internal set; } /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -972,7 +976,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } + public List ownedSubsetting { get; internal set; } /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -982,7 +986,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } + public List ownedTypeFeaturing { get; internal set; } /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -992,7 +996,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } + public List ownedTyping { get; internal set; } /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1001,7 +1005,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } + public List ownedUnioning { get; internal set; } /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1009,7 +1013,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } + public Guid? owner { get; internal set; } /// /// The Definition that owns this Usage (if any). @@ -1018,7 +1022,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public Guid? OwningDefinition { get; internal set; } + public Guid? owningDefinition { get; internal set; } /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1026,7 +1030,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } + public Guid? owningFeatureMembership { get; internal set; } /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1035,7 +1039,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } + public Guid? owningMembership { get; internal set; } /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1044,7 +1048,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } + public Guid? owningNamespace { get; internal set; } /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -1070,7 +1074,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } + public Guid? owningType { get; internal set; } /// /// The Usage in which this Usage is nested (if any). @@ -1078,7 +1082,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public Guid? OwningUsage { get; internal set; } + public Guid? owningUsage { get; internal set; } /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -1087,7 +1091,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } + public List parameter { get; internal set; } /// /// The ownedFeature of the Flow that is a PayloadFeature (if any). @@ -1095,14 +1099,14 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_18_5_3_12e503d9_1563219424870_347345_21142", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IFlow.PayloadFeature")] - public Guid? PayloadFeature { get; internal set; } + public Guid? payloadFeature { get; internal set; } /// /// The type of values transferred, which is the type of the payloadFeature of the Flow. /// [Property(xmiId: "_18_5_3_b9102da_1536870569046_1672_18020", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFlow.PayloadType")] - public List PayloadType { get; internal set; } + public List payloadType { get; internal set; } /// /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If @@ -1123,7 +1127,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } + public string qualifiedName { get; internal set; } /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -1132,7 +1136,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedByProperty("IConnector.RelatedFeature")] [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } + List Root.Elements.IRelationship.relatedElement => throw new InvalidOperationException("Redefined by property IConnector.RelatedFeature"); /// /// The Features that are related by this Connector considered as a Relationship and that restrict the @@ -1141,7 +1145,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674968_916334_43210", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [Implements(implementation: "IConnector.RelatedFeature")] - public List RelatedFeature { get; internal set; } + public List relatedFeature { get; internal set; } /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1151,7 +1155,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } + public string shortName { get; internal set; } /// /// The relatedElements from which this Relationship is considered to be directed. @@ -1160,7 +1164,11 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IConnector.SourceFeature")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + } /// /// The source relatedFeature for this Connector. It is the first relatedFeature. @@ -1169,7 +1177,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [Implements(implementation: "IConnector.SourceFeature")] - public Guid? SourceFeature { get; internal set; } + public Guid? sourceFeature { get; internal set; } /// /// The Feature that provides the items carried by the Flow. It must be a feature of the source of the @@ -1177,7 +1185,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage /// [Property(xmiId: "_18_5_3_b9102da_1536870707078_57525_18088", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFlow.SourceOutputFeature")] - public Guid? SourceOutputFeature { get; internal set; } + public Guid? sourceOutputFeature { get; internal set; } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -1186,7 +1194,11 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IConnector.TargetFeature")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + } /// /// The target relatedFeatures for this Connector. This includes all the relatedFeatures other than the @@ -1196,7 +1208,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [Implements(implementation: "IConnector.TargetFeature")] - public List TargetFeature { get; internal set; } + public List targetFeature { get; internal set; } /// /// The Feature that receives the values carried by the Flow. It must be a feature of the target of the @@ -1204,7 +1216,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage /// [Property(xmiId: "_18_5_3_b9102da_1536870573474_966268_18041", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFlow.TargetInputFeature")] - public Guid? TargetInputFeature { get; internal set; } + public Guid? targetInputFeature { get; internal set; } /// /// The TextualRepresentations that annotate this Element. @@ -1213,7 +1225,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } + public List textualRepresentation { get; internal set; } /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1224,7 +1236,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IConnector.Association")] [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IConnector.Association"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1235,7 +1247,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } + public List unioningType { get; internal set; } /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1243,7 +1255,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List Usage { get; internal set; } + public List usage { get; internal set; } /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1252,7 +1264,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List Variant { get; internal set; } + public List variant { get; internal set; } /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1261,7 +1273,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List VariantMembership { get; internal set; } + public List variantMembership { get; internal set; } } } diff --git a/SysML2.NET/Core/AutoGenDto/TerminateActionUsage.cs b/SysML2.NET/Core/AutoGenDto/TerminateActionUsage.cs index 908e9dee..91837805 100644 --- a/SysML2.NET/Core/AutoGenDto/TerminateActionUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/TerminateActionUsage.cs @@ -59,7 +59,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IActionUsage.ActionDefinition")] - public List ActionDefinition { get; internal set; } + public List actionDefinition { get; internal set; } /// /// Various alternative identifiers for this Element. Generally, these will be set by tools. @@ -75,7 +75,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IActionUsage.ActionDefinition")] [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -87,7 +87,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } + public List chainingFeature { get; internal set; } /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -97,7 +97,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } + public Guid? crossFeature { get; internal set; } /// /// The declared name of this Element. @@ -125,7 +125,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] [Implements(implementation: "IUsage.Definition")] - public List Definition { get; internal set; } + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -138,7 +138,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } + public List differencingType { get; internal set; } /// /// The features of this Type that have a non-null direction. @@ -147,7 +147,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// The usages of this Usage that are directedFeatures. @@ -156,7 +156,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List DirectedUsage { get; internal set; } + public List directedUsage { get; internal set; } /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -173,7 +173,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } + public List documentation { get; internal set; } /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -189,7 +189,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } + public List endFeature { get; internal set; } /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -199,7 +199,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } + public Guid? endOwningType { get; internal set; } /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -207,7 +207,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } + public List feature { get; internal set; } /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -216,14 +216,14 @@ public partial class TerminateActionUsage : ITerminateActionUsage /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } + public List featureMembership { get; internal set; } /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } + public Guid featureTarget { get; internal set; } /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -233,7 +233,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } + public List featuringType { get; internal set; } /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -241,7 +241,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } + public List importedMembership { get; internal set; } /// /// The at most one occurrenceDefinition that has isIndividual = true. @@ -249,7 +249,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public Guid? IndividualDefinition { get; internal set; } + public Guid? individualDefinition { get; internal set; } /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -257,7 +257,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } + public List inheritedFeature { get; internal set; } /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -266,7 +266,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } + public List inheritedMembership { get; internal set; } /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -274,7 +274,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } + public List input { get; internal set; } /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -287,7 +287,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } + public List intersectingType { get; internal set; } /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -311,7 +311,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } + public bool isConjugated { get; internal set; } /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -366,7 +366,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } + public bool isLibraryElement { get; internal set; } /// /// Whether an order exists for the values of this Feature or not. @@ -388,7 +388,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage /// [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IUsage.IsReference")] - public bool IsReference { get; internal set; } + public bool isReference { get; internal set; } /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -416,7 +416,11 @@ public partial class TerminateActionUsage : ITerminateActionUsage [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -437,7 +441,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool MayTimeVary { get; internal set; } + public bool mayTimeVary { get; internal set; } /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -445,7 +449,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } + public List member { get; internal set; } /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -453,7 +457,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } + public List membership { get; internal set; } /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -463,7 +467,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } + public Guid? multiplicity { get; internal set; } /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -473,7 +477,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } + public string name { get; internal set; } /// /// The ActionUsages that are nestedUsages of this Usage. @@ -481,7 +485,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List NestedAction { get; internal set; } + public List nestedAction { get; internal set; } /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -489,7 +493,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List NestedAllocation { get; internal set; } + public List nestedAllocation { get; internal set; } /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -497,7 +501,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List NestedAnalysisCase { get; internal set; } + public List nestedAnalysisCase { get; internal set; } /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -505,7 +509,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List NestedAttribute { get; internal set; } + public List nestedAttribute { get; internal set; } /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -513,7 +517,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List NestedCalculation { get; internal set; } + public List nestedCalculation { get; internal set; } /// /// The CaseUsages that are nestedUsages of this Usage. @@ -521,7 +525,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List NestedCase { get; internal set; } + public List nestedCase { get; internal set; } /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -529,7 +533,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List NestedConcern { get; internal set; } + public List nestedConcern { get; internal set; } /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -539,7 +543,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List NestedConnection { get; internal set; } + public List nestedConnection { get; internal set; } /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -547,7 +551,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List NestedConstraint { get; internal set; } + public List nestedConstraint { get; internal set; } /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -555,7 +559,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List NestedEnumeration { get; internal set; } + public List nestedEnumeration { get; internal set; } /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -563,7 +567,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List NestedFlow { get; internal set; } + public List nestedFlow { get; internal set; } /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -571,7 +575,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List NestedInterface { get; internal set; } + public List nestedInterface { get; internal set; } /// /// The ItemUsages that are nestedUsages of this Usage. @@ -579,7 +583,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List NestedItem { get; internal set; } + public List nestedItem { get; internal set; } /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -587,7 +591,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List NestedMetadata { get; internal set; } + public List nestedMetadata { get; internal set; } /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -595,7 +599,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List NestedOccurrence { get; internal set; } + public List nestedOccurrence { get; internal set; } /// /// The PartUsages that are nestedUsages of this Usage. @@ -603,7 +607,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List NestedPart { get; internal set; } + public List nestedPart { get; internal set; } /// /// The PortUsages that are nestedUsages of this Usage. @@ -611,7 +615,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List NestedPort { get; internal set; } + public List nestedPort { get; internal set; } /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -619,7 +623,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List NestedReference { get; internal set; } + public List nestedReference { get; internal set; } /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -627,7 +631,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List NestedRendering { get; internal set; } + public List nestedRendering { get; internal set; } /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -635,7 +639,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List NestedRequirement { get; internal set; } + public List nestedRequirement { get; internal set; } /// /// The StateUsages that are nestedUsages of this Usage. @@ -643,7 +647,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List NestedState { get; internal set; } + public List nestedState { get; internal set; } /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -651,7 +655,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List NestedTransition { get; internal set; } + public List nestedTransition { get; internal set; } /// /// The Usages that are ownedFeatures of this Usage. @@ -660,7 +664,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List NestedUsage { get; internal set; } + public List nestedUsage { get; internal set; } /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -668,7 +672,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List NestedUseCase { get; internal set; } + public List nestedUseCase { get; internal set; } /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -676,7 +680,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List NestedVerificationCase { get; internal set; } + public List nestedVerificationCase { get; internal set; } /// /// The ViewUsages that are nestedUsages of this Usage. @@ -684,7 +688,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List NestedView { get; internal set; } + public List nestedView { get; internal set; } /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -692,7 +696,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List NestedViewpoint { get; internal set; } + public List nestedViewpoint { get; internal set; } /// /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, @@ -703,7 +707,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] [RedefinedByProperty("IActionUsage.ActionDefinition")] [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List OccurrenceDefinition { get; internal set; } + List Systems.Occurrences.IOccurrenceUsage.occurrenceDefinition => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -711,7 +715,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } + public List output { get; internal set; } /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -721,7 +725,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } + public List ownedAnnotation { get; internal set; } /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -730,7 +734,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } + public Guid? ownedConjugator { get; internal set; } /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -739,7 +743,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } + public Guid? ownedCrossSubsetting { get; internal set; } /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -749,7 +753,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } + public List ownedDifferencing { get; internal set; } /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -759,7 +763,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } + public List ownedDisjoining { get; internal set; } /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -767,7 +771,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } + public List ownedElement { get; internal set; } /// /// All endFeatures of this Type that are ownedFeatures. @@ -776,7 +780,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } + public List ownedEndFeature { get; internal set; } /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -784,7 +788,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } + public List ownedFeature { get; internal set; } /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -794,7 +798,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } + public List ownedFeatureChaining { get; internal set; } /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -804,7 +808,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } + public List ownedFeatureInverting { get; internal set; } /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -814,7 +818,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } + public List ownedFeatureMembership { get; internal set; } /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -824,7 +828,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } + public List ownedImport { get; internal set; } /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -833,7 +837,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } + public List ownedIntersecting { get; internal set; } /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -842,7 +846,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } + public List ownedMember { get; internal set; } /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -853,7 +857,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } + public List ownedMembership { get; internal set; } /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -862,7 +866,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } + public List ownedRedefinition { get; internal set; } /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -871,7 +875,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } + public Guid? ownedReferenceSubsetting { get; internal set; } /// /// The Relationships for which this Element is the owningRelatedElement. @@ -889,7 +893,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } + public List ownedSpecialization { get; internal set; } /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -899,7 +903,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } + public List ownedSubsetting { get; internal set; } /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -909,7 +913,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } + public List ownedTypeFeaturing { get; internal set; } /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -919,7 +923,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } + public List ownedTyping { get; internal set; } /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -928,7 +932,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } + public List ownedUnioning { get; internal set; } /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -936,7 +940,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } + public Guid? owner { get; internal set; } /// /// The Definition that owns this Usage (if any). @@ -945,7 +949,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public Guid? OwningDefinition { get; internal set; } + public Guid? owningDefinition { get; internal set; } /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -953,7 +957,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } + public Guid? owningFeatureMembership { get; internal set; } /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -962,7 +966,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } + public Guid? owningMembership { get; internal set; } /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -971,7 +975,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } + public Guid? owningNamespace { get; internal set; } /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -989,7 +993,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } + public Guid? owningType { get; internal set; } /// /// The Usage in which this Usage is nested (if any). @@ -997,7 +1001,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public Guid? OwningUsage { get; internal set; } + public Guid? owningUsage { get; internal set; } /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -1006,7 +1010,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } + public List parameter { get; internal set; } /// /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If @@ -1027,7 +1031,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } + public string qualifiedName { get; internal set; } /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1037,7 +1041,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } + public string shortName { get; internal set; } /// /// The Expression that is the featureValue of the terminateOccurrence parameter of this @@ -1045,7 +1049,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage /// [Property(xmiId: "_2022x_2_12e503d9_1724451750939_948290_107", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "ITerminateActionUsage.TerminatedOccurrenceArgument")] - public Guid? TerminatedOccurrenceArgument { get; internal set; } + public Guid? terminatedOccurrenceArgument { get; internal set; } /// /// The TextualRepresentations that annotate this Element. @@ -1054,7 +1058,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } + public List textualRepresentation { get; internal set; } /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1065,7 +1069,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1076,7 +1080,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } + public List unioningType { get; internal set; } /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1084,7 +1088,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List Usage { get; internal set; } + public List usage { get; internal set; } /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1093,7 +1097,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List Variant { get; internal set; } + public List variant { get; internal set; } /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1102,7 +1106,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List VariantMembership { get; internal set; } + public List variantMembership { get; internal set; } } } diff --git a/SysML2.NET/Core/AutoGenDto/TextualRepresentation.cs b/SysML2.NET/Core/AutoGenDto/TextualRepresentation.cs index fabac8d2..323c9f2f 100644 --- a/SysML2.NET/Core/AutoGenDto/TextualRepresentation.cs +++ b/SysML2.NET/Core/AutoGenDto/TextualRepresentation.cs @@ -1,296 +1,296 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Root.Annotations -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Decorators; - - /// - /// A TextualRepresentation is an AnnotatingElement whose body represents the representedElement in a - /// given language. The representedElement must be the owner of the TextualRepresentation. The named - /// language can be a natural language, in which case the body is an informal representation, or an - /// artificial language, in which case the body is expected to be a formal, machine-parsable - /// representation.If the named language of a TextualRepresentation is machine-parsable, then the body - /// text should be legal input text as defined for that language. The interpretation of the named - /// language string shall be case insensitive. The following language names are defined to correspond to - /// the given standard languages:
kerml Kernel Modeling Language
ocl Object Constraint - /// Language
alf Action Language for fUML
Other specifications may - /// define specific language strings, other than those shown above, to be used to indicate the use of - /// languages from those specifications in KerML TextualRepresentation.If the language of a - /// TextualRepresentation is "kerml", then the body text shall be a legal representation of - /// the representedElement in the KerML textual concrete syntax. A conforming tool can use such a - /// TextualRepresentation Annotation to record the original KerML concrete syntax text from which an - /// Element was parsed. In this case, it is a tool responsibility to ensure that the body of the - /// TextualRepresentation remains correct (or the Annotation is removed) if the annotated Element - /// changes other than by re-parsing the body text.An Element with a TextualRepresentation in a language - /// other than KerML is essentially a semantically "opaque" Element specified in the other - /// language. However, a conforming KerML tool may interpret such an element consistently with the - /// specification of the named language. - ///
- [Class(xmiId: "_19_0_2_12e503d9_1594152214531_455349_2448", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class TextualRepresentation : ITextualRepresentation - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Elements that are annotated by this AnnotatingElement. If annotation is not empty, these are the - /// annotatedElements of the annotations. If annotation is empty, then it is the owningNamespace of the - /// AnnotatingElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594145755058_99428_86", aggregation: AggregationKind.None, lowerValue: 1, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("ITextualRepresentation.RepresentedElement")] - [Implements(implementation: "IAnnotatingElement.AnnotatedElement")] - public List AnnotatedElement { get; internal set; } - - /// - /// The Annotations that relate this AnnotatingElement to its annotatedElements. This includes the - /// owningAnnotatingRelationship (if any) followed by all the ownedAnnotatingRelationshps. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543094212714_953084_18407", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IAnnotatingElement.Annotation")] - public List Annotation { get; internal set; } - - /// - /// The textual representation of the representedElement in the given language. - /// - [Property(xmiId: "_19_0_4_12e503d9_1647817353412_339800_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "ITextualRepresentation.Body")] - public string Body { get; set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// The natural or artifical language in which the body text is written. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152270061_927814_2479", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "ITextualRepresentation.Language")] - public string Language { get; set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ownedRelationships of this AnnotatingElement that are Annotations, for which this - /// AnnotatingElement is the annotatingElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1703019570915_375100_18", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IAnnotatingElement.OwnedAnnotatingRelationship")] - public List OwnedAnnotatingRelationship { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this AnnotatingRelationship, if it is an Annotation - /// - [Property(xmiId: "_2022x_2_12e503d9_1735188506571_308678_376", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] - [Implements(implementation: "IAnnotatingElement.OwningAnnotatingRelationship")] - public Guid? OwningAnnotatingRelationship { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Element that is represented by this TextualRepresentation. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758494_414887_3389", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_744477_17277")] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1594145755058_99428_86")] - [Implements(implementation: "ITextualRepresentation.RepresentedElement")] - public Guid RepresentedElement { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - List Root.Elements.IElement.TextualRepresentation { get; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Root.Annotations +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Decorators; + + /// + /// A TextualRepresentation is an AnnotatingElement whose body represents the representedElement in a + /// given language. The representedElement must be the owner of the TextualRepresentation. The named + /// language can be a natural language, in which case the body is an informal representation, or an + /// artificial language, in which case the body is expected to be a formal, machine-parsable + /// representation.If the named language of a TextualRepresentation is machine-parsable, then the body + /// text should be legal input text as defined for that language. The interpretation of the named + /// language string shall be case insensitive. The following language names are defined to correspond to + /// the given standard languages:
kerml Kernel Modeling Language
ocl Object Constraint + /// Language
alf Action Language for fUML
Other specifications may + /// define specific language strings, other than those shown above, to be used to indicate the use of + /// languages from those specifications in KerML TextualRepresentation.If the language of a + /// TextualRepresentation is "kerml", then the body text shall be a legal representation of + /// the representedElement in the KerML textual concrete syntax. A conforming tool can use such a + /// TextualRepresentation Annotation to record the original KerML concrete syntax text from which an + /// Element was parsed. In this case, it is a tool responsibility to ensure that the body of the + /// TextualRepresentation remains correct (or the Annotation is removed) if the annotated Element + /// changes other than by re-parsing the body text.An Element with a TextualRepresentation in a language + /// other than KerML is essentially a semantically "opaque" Element specified in the other + /// language. However, a conforming KerML tool may interpret such an element consistently with the + /// specification of the named language. + ///
+ [Class(xmiId: "_19_0_2_12e503d9_1594152214531_455349_2448", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class TextualRepresentation : ITextualRepresentation + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Elements that are annotated by this AnnotatingElement. If annotation is not empty, these are the + /// annotatedElements of the annotations. If annotation is empty, then it is the owningNamespace of the + /// AnnotatingElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594145755058_99428_86", aggregation: AggregationKind.None, lowerValue: 1, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("ITextualRepresentation.RepresentedElement")] + [Implements(implementation: "IAnnotatingElement.AnnotatedElement")] + List IAnnotatingElement.annotatedElement => throw new InvalidOperationException("Redefined by property ITextualRepresentation.RepresentedElement"); + + /// + /// The Annotations that relate this AnnotatingElement to its annotatedElements. This includes the + /// owningAnnotatingRelationship (if any) followed by all the ownedAnnotatingRelationshps. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543094212714_953084_18407", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IAnnotatingElement.Annotation")] + public List annotation { get; internal set; } + + /// + /// The textual representation of the representedElement in the given language. + /// + [Property(xmiId: "_19_0_4_12e503d9_1647817353412_339800_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "ITextualRepresentation.Body")] + public string Body { get; set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// The natural or artifical language in which the body text is written. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152270061_927814_2479", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "ITextualRepresentation.Language")] + public string Language { get; set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ownedRelationships of this AnnotatingElement that are Annotations, for which this + /// AnnotatingElement is the annotatingElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1703019570915_375100_18", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IAnnotatingElement.OwnedAnnotatingRelationship")] + public List ownedAnnotatingRelationship { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this AnnotatingRelationship, if it is an Annotation + /// + [Property(xmiId: "_2022x_2_12e503d9_1735188506571_308678_376", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] + [Implements(implementation: "IAnnotatingElement.OwningAnnotatingRelationship")] + public Guid? owningAnnotatingRelationship { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Element that is represented by this TextualRepresentation. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758494_414887_3389", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_744477_17277")] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1594145755058_99428_86")] + [Implements(implementation: "ITextualRepresentation.RepresentedElement")] + public Guid representedElement { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/TransitionFeatureMembership.cs b/SysML2.NET/Core/AutoGenDto/TransitionFeatureMembership.cs index c7404dbf..a3e7e28e 100644 --- a/SysML2.NET/Core/AutoGenDto/TransitionFeatureMembership.cs +++ b/SysML2.NET/Core/AutoGenDto/TransitionFeatureMembership.cs @@ -1,388 +1,408 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.States -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Root.Namespaces; - using SysML2.NET.Core.Systems.States; - using SysML2.NET.Core.DTO.Core.Types; - using SysML2.NET.Decorators; - - /// - /// A TransitionFeatureMembership is a FeatureMembership for a trigger, guard or effect of a - /// TransitionUsage, whose transitionFeature is a AcceptActionUsage, Boolean-valued Expression or - /// ActionUsage, depending on its kind. - /// - [Class(xmiId: "_19_0_2_12e503d9_1575672033669_188530_395", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class TransitionFeatureMembership : ITransitionFeatureMembership - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether this TransitionFeatureMembership is for a trigger, guard or effect. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575672142396_129864_506", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "ITransitionFeatureMembership.Kind")] - public TransitionFeatureKind Kind { get; set; } - - /// - /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_819490_43195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] - [Implements(implementation: "IMembership.MemberElement")] - public Guid MemberElement { get; set; } - - /// - /// The elementId of the memberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] - [Implements(implementation: "IMembership.MemberElementId")] - public string MemberElementId { get; internal set; } - - /// - /// The name of the memberElement relative to the membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberName")] - [Implements(implementation: "IMembership.MemberName")] - public string MemberName { get; set; } - - /// - /// The Namespace of which the memberElement becomes a member due to this Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_193857_43197", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_531296_43182")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [RedefinedByProperty("IFeatureMembership.OwningType")] - [Implements(implementation: "IMembership.MembershipOwningNamespace")] - public Guid MembershipOwningNamespace { get; internal set; } - - /// - /// The short name of the memberElement relative to the membershipOwningNamespace. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] - [Implements(implementation: "IMembership.MemberShortName")] - public string MemberShortName { get; set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this - /// OwningMembership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_501750_43196", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_59873_43302")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] - [RedefinedByProperty("IFeatureMembership.OwnedMemberFeature")] - [Implements(implementation: "IOwningMembership.OwnedMemberElement")] - public Guid OwnedMemberElement { get; internal set; } - - /// - /// The elementId of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] - [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] - public string OwnedMemberElementId { get; internal set; } - - /// - /// The Feature that this FeatureMembership relates to its owningType, making it an ownedFeature of the - /// owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_898044_43344", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] - [RedefinedByProperty("ITransitionFeatureMembership.TransitionFeature")] - [Implements(implementation: "IFeatureMembership.OwnedMemberFeature")] - public Guid OwnedMemberFeature { get; internal set; } - - /// - /// The name of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] - [Implements(implementation: "IOwningMembership.OwnedMemberName")] - public string OwnedMemberName { get; internal set; } - - /// - /// The shortName of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] - [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] - public string OwnedMemberShortName { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that owns this FeatureMembership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_418504_43339", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866524_738482_486")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] - [Implements(implementation: "IFeatureMembership.OwningType")] - public Guid OwningType { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IMembership.MembershipOwningNamespace")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IMembership.MemberElement")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// The Step that is the ownedMemberFeature of this TransitionFeatureMembership. - /// - [Property(xmiId: "_19_0_2_12e503d9_1582975046568_736161_148", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] - [Implements(implementation: "ITransitionFeatureMembership.TransitionFeature")] - public Guid TransitionFeature { get; internal set; } - - /// - /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly - /// visible outside that Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_42975_43193", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "public")] - [Implements(implementation: "IMembership.Visibility")] - public VisibilityKind Visibility { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.States +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Root.Namespaces; + using SysML2.NET.Core.Systems.States; + using SysML2.NET.Core.DTO.Core.Types; + using SysML2.NET.Decorators; + + /// + /// A TransitionFeatureMembership is a FeatureMembership for a trigger, guard or effect of a + /// TransitionUsage, whose transitionFeature is a AcceptActionUsage, Boolean-valued Expression or + /// ActionUsage, depending on its kind. + /// + [Class(xmiId: "_19_0_2_12e503d9_1575672033669_188530_395", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class TransitionFeatureMembership : ITransitionFeatureMembership + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether this TransitionFeatureMembership is for a trigger, guard or effect. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575672142396_129864_506", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "ITransitionFeatureMembership.Kind")] + public TransitionFeatureKind Kind { get; set; } + + /// + /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_819490_43195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] + [Implements(implementation: "IMembership.MemberElement")] + Guid Root.Namespaces.IMembership.MemberElement + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + } + + /// + /// The elementId of the memberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] + [Implements(implementation: "IMembership.MemberElementId")] + string Root.Namespaces.IMembership.memberElementId => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElementId"); + + /// + /// The name of the memberElement relative to the membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberName")] + [Implements(implementation: "IMembership.MemberName")] + string Root.Namespaces.IMembership.MemberName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + } + + /// + /// The Namespace of which the memberElement becomes a member due to this Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_193857_43197", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_531296_43182")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [RedefinedByProperty("IFeatureMembership.OwningType")] + [Implements(implementation: "IMembership.MembershipOwningNamespace")] + Guid Root.Namespaces.IMembership.membershipOwningNamespace => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwningType"); + + /// + /// The short name of the memberElement relative to the membershipOwningNamespace. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] + [Implements(implementation: "IMembership.MemberShortName")] + string Root.Namespaces.IMembership.MemberShortName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this + /// OwningMembership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_501750_43196", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_59873_43302")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] + [RedefinedByProperty("IFeatureMembership.OwnedMemberFeature")] + [Implements(implementation: "IOwningMembership.OwnedMemberElement")] + Guid Root.Namespaces.IOwningMembership.ownedMemberElement => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwnedMemberFeature"); + + /// + /// The elementId of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] + [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] + public string ownedMemberElementId { get; internal set; } + + /// + /// The Feature that this FeatureMembership relates to its owningType, making it an ownedFeature of the + /// owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_898044_43344", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] + [RedefinedByProperty("ITransitionFeatureMembership.TransitionFeature")] + [Implements(implementation: "IFeatureMembership.OwnedMemberFeature")] + Guid Core.Types.IFeatureMembership.ownedMemberFeature => throw new InvalidOperationException("Redefined by property ITransitionFeatureMembership.TransitionFeature"); + + /// + /// The name of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] + [Implements(implementation: "IOwningMembership.OwnedMemberName")] + public string ownedMemberName { get; internal set; } + + /// + /// The shortName of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] + [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] + public string ownedMemberShortName { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that owns this FeatureMembership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_418504_43339", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866524_738482_486")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] + [Implements(implementation: "IFeatureMembership.OwningType")] + public Guid owningType { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IRelationship.RelatedElement")] + public List relatedElement { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IMembership.MembershipOwningNamespace")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IMembership.MemberElement")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + set => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// The Step that is the ownedMemberFeature of this TransitionFeatureMembership. + /// + [Property(xmiId: "_19_0_2_12e503d9_1582975046568_736161_148", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] + [Implements(implementation: "ITransitionFeatureMembership.TransitionFeature")] + public Guid transitionFeature { get; internal set; } + + /// + /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly + /// visible outside that Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_42975_43193", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "public")] + [Implements(implementation: "IMembership.Visibility")] + public VisibilityKind Visibility { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/TransitionUsage.cs b/SysML2.NET/Core/AutoGenDto/TransitionUsage.cs index 2528982f..7e28e853 100644 --- a/SysML2.NET/Core/AutoGenDto/TransitionUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/TransitionUsage.cs @@ -1,1161 +1,1165 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.States -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Core.DTO.Systems.Actions; - using SysML2.NET.Decorators; - - /// - /// A TransitionUsage is an ActionUsage representing a triggered transition between ActionUsages or - /// StateUsages. When triggered by a triggerAction, when its guardExpression is true, the - /// TransitionUsage asserts that its source is exited, then its effectAction (if any) is performed, and - /// then its target is entered.A TransitionUsage can be related to some of its ownedFeatures using - /// TransitionFeatureMembership Relationships, corresponding to the triggerAction, guardExpression and - /// effectAction of the TransitionUsage. - /// - [Class(xmiId: "_19_0_2_12e503d9_1575672078353_626298_450", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class TransitionUsage : ITransitionUsage - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// The Behaviors that are the types of this ActionUsage. Nominally, these would be ActionDefinitions, - /// but other kinds of Kernel Behaviors are also allowed, to permit use of Behaviors from the Kernel - /// Model Libraries. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565500905804_589845_30779", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IActionUsage.ActionDefinition")] - public List ActionDefinition { get; internal set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Behaviors that type this Step. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IActionUsage.ActionDefinition")] - [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds - /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] - [Implements(implementation: "IUsage.Definition")] - public List Definition { get; internal set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IStep.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Usage that are directedFeatures. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// The ActionUsages that define the effects of this TransitionUsage, which are the ownedFeatures of the - /// TransitionUsage related to it by TransitionFeatureMemberships with kind = effect, which must all be - /// ActionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1581029782522_542070_6299", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "ITransitionUsage.EffectAction")] - public List EffectAction { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Expressions that define the guards of this TransitionUsage, which are the ownedFeatures of the - /// TransitionUsage related to it by TransitionFeatureMemberships with kind = guard, which must all be - /// Expressions. - /// - [Property(xmiId: "_19_0_2_12e503d9_1581029720824_747691_6254", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "ITransitionUsage.GuardExpression")] - public List GuardExpression { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// The at most one occurrenceDefinition that has isIndividual = true. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public Guid? IndividualDefinition { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its - /// individualDefinition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceUsage.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - public bool IsPortion { get; set; } - - /// - /// Whether this Usage is a referential Usage, that is, it has isComposite = false. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsReference")] - public bool IsReference { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [RedefinedByProperty("IUsage.MayTimeVary")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage - /// must be VariantMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its - /// owningType, rather than being featured by the owningType itself). However, if isConstant is also - /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance - /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary - /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is - /// inherited from Feature. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] - [Implements(implementation: "IUsage.MayTimeVary")] - public bool MayTimeVary { get; internal set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ActionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedAction")] - public List NestedAction { get; internal set; } - - /// - /// The AllocationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedAllocation")] - public List NestedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List NestedAnalysisCase { get; internal set; } - - /// - /// The code>AttributeUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedAttribute")] - public List NestedAttribute { get; internal set; } - - /// - /// The CalculationUsage that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedCalculation")] - public List NestedCalculation { get; internal set; } - - /// - /// The CaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] - [Implements(implementation: "IUsage.NestedCase")] - public List NestedCase { get; internal set; } - - /// - /// The ConcernUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedConcern")] - public List NestedConcern { get; internal set; } - - /// - /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are - /// ConnectorAsUsages even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedConnection")] - public List NestedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedConstraint")] - public List NestedConstraint { get; internal set; } - - /// - /// The code>EnumerationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] - [Implements(implementation: "IUsage.NestedEnumeration")] - public List NestedEnumeration { get; internal set; } - - /// - /// The code>FlowUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedFlow")] - public List NestedFlow { get; internal set; } - - /// - /// The InterfaceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedInterface")] - public List NestedInterface { get; internal set; } - - /// - /// The ItemUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedItem")] - public List NestedItem { get; internal set; } - - /// - /// The MetadataUsages that are nestedUsages of this of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedMetadata")] - public List NestedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedOccurrence")] - public List NestedOccurrence { get; internal set; } - - /// - /// The PartUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedPart")] - public List NestedPart { get; internal set; } - - /// - /// The PortUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedPort")] - public List NestedPort { get; internal set; } - - /// - /// The ReferenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedReference")] - public List NestedReference { get; internal set; } - - /// - /// The RenderingUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedRendering")] - public List NestedRendering { get; internal set; } - - /// - /// The RequirementUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] - [Implements(implementation: "IUsage.NestedRequirement")] - public List NestedRequirement { get; internal set; } - - /// - /// The StateUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedState")] - public List NestedState { get; internal set; } - - /// - /// The TransitionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedTransition")] - public List NestedTransition { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.NestedUsage")] - public List NestedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedUseCase")] - public List NestedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedVerificationCase")] - public List NestedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedView")] - public List NestedView { get; internal set; } - - /// - /// The ViewpointUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedViewpoint")] - public List NestedViewpoint { get; internal set; } - - /// - /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, - /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] - [RedefinedByProperty("IActionUsage.ActionDefinition")] - [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List OccurrenceDefinition { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The Definition that owns this Usage (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] - [Implements(implementation: "IUsage.OwningDefinition")] - public Guid? OwningDefinition { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The Usage in which this Usage is nested (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IUsage.OwningUsage")] - public Guid? OwningUsage { get; internal set; } - - /// - /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into - /// and/or out of a performance of the Step. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If - /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the - /// OccurrenceUsage represents portions of the featuring instance of the owningType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IOccurrenceUsage.PortionKind")] - public PortionKind? PortionKind { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The source ActionUsage of this TransitionUsage, which becomes the source of the succession for the - /// TransitionUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1581029439311_947395_6114", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "ITransitionUsage.Source")] - public Guid Source { get; internal set; } - - /// - /// The Succession that is the ownedFeature of this TransitionUsage, which, if the TransitionUsage is - /// triggered, asserts the temporal ordering of the source and target. - /// - [Property(xmiId: "_19_0_2_12e503d9_1581030490131_304332_6364", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "ITransitionUsage.Succession")] - public Guid Succession { get; internal set; } - - /// - /// The target ActionUsage of this TransitionUsage, which is the targetFeature of the succession for the - /// TransitionUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1581029493366_130491_6153", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "ITransitionUsage.Target")] - public Guid Target { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// The AcceptActionUsages that define the triggers of this TransitionUsage, which are the ownedFeatures - /// of the TransitionUsage related to it by TransitionFeatureMemberships with kind = trigger, which must - /// all be AcceptActionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1581029662256_985457_6209", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "ITransitionUsage.TriggerAction")] - public List TriggerAction { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IUsage.Definition")] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Usage (not necessarily owned). - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IUsage.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = - /// true. If isVariation = false, then there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IUsage.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this - /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IUsage.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.States +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Core.DTO.Systems.Actions; + using SysML2.NET.Decorators; + + /// + /// A TransitionUsage is an ActionUsage representing a triggered transition between ActionUsages or + /// StateUsages. When triggered by a triggerAction, when its guardExpression is true, the + /// TransitionUsage asserts that its source is exited, then its effectAction (if any) is performed, and + /// then its target is entered.A TransitionUsage can be related to some of its ownedFeatures using + /// TransitionFeatureMembership Relationships, corresponding to the triggerAction, guardExpression and + /// effectAction of the TransitionUsage. + /// + [Class(xmiId: "_19_0_2_12e503d9_1575672078353_626298_450", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class TransitionUsage : ITransitionUsage + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// The Behaviors that are the types of this ActionUsage. Nominally, these would be ActionDefinitions, + /// but other kinds of Kernel Behaviors are also allowed, to permit use of Behaviors from the Kernel + /// Model Libraries. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565500905804_589845_30779", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IActionUsage.ActionDefinition")] + public List actionDefinition { get; internal set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Behaviors that type this Step. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IActionUsage.ActionDefinition")] + [Implements(implementation: "IStep.Behavior")] + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds + /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] + [Implements(implementation: "IUsage.Definition")] + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IStep.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); + + /// + /// The usages of this Usage that are directedFeatures. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// The ActionUsages that define the effects of this TransitionUsage, which are the ownedFeatures of the + /// TransitionUsage related to it by TransitionFeatureMemberships with kind = effect, which must all be + /// ActionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1581029782522_542070_6299", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "ITransitionUsage.EffectAction")] + public List effectAction { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Expressions that define the guards of this TransitionUsage, which are the ownedFeatures of the + /// TransitionUsage related to it by TransitionFeatureMemberships with kind = guard, which must all be + /// Expressions. + /// + [Property(xmiId: "_19_0_2_12e503d9_1581029720824_747691_6254", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "ITransitionUsage.GuardExpression")] + public List guardExpression { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// The at most one occurrenceDefinition that has isIndividual = true. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] + public Guid? individualDefinition { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its + /// individualDefinition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceUsage.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + public bool IsPortion { get; set; } + + /// + /// Whether this Usage is a referential Usage, that is, it has isComposite = false. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsReference")] + public bool isReference { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [RedefinedByProperty("IUsage.MayTimeVary")] + [Implements(implementation: "IFeature.IsVariable")] + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } + + /// + /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage + /// must be VariantMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its + /// owningType, rather than being featured by the owningType itself). However, if isConstant is also + /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance + /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary + /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is + /// inherited from Feature. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] + [Implements(implementation: "IUsage.MayTimeVary")] + public bool mayTimeVary { get; internal set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ActionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedAction")] + public List nestedAction { get; internal set; } + + /// + /// The AllocationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedAllocation")] + public List nestedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedAnalysisCase")] + public List nestedAnalysisCase { get; internal set; } + + /// + /// The code>AttributeUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedAttribute")] + public List nestedAttribute { get; internal set; } + + /// + /// The CalculationUsage that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedCalculation")] + public List nestedCalculation { get; internal set; } + + /// + /// The CaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] + [Implements(implementation: "IUsage.NestedCase")] + public List nestedCase { get; internal set; } + + /// + /// The ConcernUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedConcern")] + public List nestedConcern { get; internal set; } + + /// + /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are + /// ConnectorAsUsages even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedConnection")] + public List nestedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedConstraint")] + public List nestedConstraint { get; internal set; } + + /// + /// The code>EnumerationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] + [Implements(implementation: "IUsage.NestedEnumeration")] + public List nestedEnumeration { get; internal set; } + + /// + /// The code>FlowUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedFlow")] + public List nestedFlow { get; internal set; } + + /// + /// The InterfaceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedInterface")] + public List nestedInterface { get; internal set; } + + /// + /// The ItemUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedItem")] + public List nestedItem { get; internal set; } + + /// + /// The MetadataUsages that are nestedUsages of this of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedMetadata")] + public List nestedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedOccurrence")] + public List nestedOccurrence { get; internal set; } + + /// + /// The PartUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedPart")] + public List nestedPart { get; internal set; } + + /// + /// The PortUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedPort")] + public List nestedPort { get; internal set; } + + /// + /// The ReferenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedReference")] + public List nestedReference { get; internal set; } + + /// + /// The RenderingUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedRendering")] + public List nestedRendering { get; internal set; } + + /// + /// The RequirementUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] + [Implements(implementation: "IUsage.NestedRequirement")] + public List nestedRequirement { get; internal set; } + + /// + /// The StateUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedState")] + public List nestedState { get; internal set; } + + /// + /// The TransitionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedTransition")] + public List nestedTransition { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.NestedUsage")] + public List nestedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedUseCase")] + public List nestedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedVerificationCase")] + public List nestedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedView")] + public List nestedView { get; internal set; } + + /// + /// The ViewpointUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedViewpoint")] + public List nestedViewpoint { get; internal set; } + + /// + /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, + /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] + [RedefinedByProperty("IActionUsage.ActionDefinition")] + [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] + List Systems.Occurrences.IOccurrenceUsage.occurrenceDefinition => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The Definition that owns this Usage (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] + [Implements(implementation: "IUsage.OwningDefinition")] + public Guid? owningDefinition { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The Usage in which this Usage is nested (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IUsage.OwningUsage")] + public Guid? owningUsage { get; internal set; } + + /// + /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into + /// and/or out of a performance of the Step. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IStep.Parameter")] + public List parameter { get; internal set; } + + /// + /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If + /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the + /// OccurrenceUsage represents portions of the featuring instance of the owningType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IOccurrenceUsage.PortionKind")] + public PortionKind? PortionKind { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The source ActionUsage of this TransitionUsage, which becomes the source of the succession for the + /// TransitionUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1581029439311_947395_6114", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "ITransitionUsage.Source")] + public Guid source { get; internal set; } + + /// + /// The Succession that is the ownedFeature of this TransitionUsage, which, if the TransitionUsage is + /// triggered, asserts the temporal ordering of the source and target. + /// + [Property(xmiId: "_19_0_2_12e503d9_1581030490131_304332_6364", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "ITransitionUsage.Succession")] + public Guid succession { get; internal set; } + + /// + /// The target ActionUsage of this TransitionUsage, which is the targetFeature of the succession for the + /// TransitionUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1581029493366_130491_6153", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "ITransitionUsage.Target")] + public Guid target { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// The AcceptActionUsages that define the triggers of this TransitionUsage, which are the ownedFeatures + /// of the TransitionUsage related to it by TransitionFeatureMemberships with kind = trigger, which must + /// all be AcceptActionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1581029662256_985457_6209", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "ITransitionUsage.TriggerAction")] + public List triggerAction { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IUsage.Definition")] + [Implements(implementation: "IFeature.Type")] + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Usage (not necessarily owned). + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IUsage.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = + /// true. If isVariation = false, then there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IUsage.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this + /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IUsage.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/TriggerInvocationExpression.cs b/SysML2.NET/Core/AutoGenDto/TriggerInvocationExpression.cs index d0cdb2ee..b862883c 100644 --- a/SysML2.NET/Core/AutoGenDto/TriggerInvocationExpression.cs +++ b/SysML2.NET/Core/AutoGenDto/TriggerInvocationExpression.cs @@ -1,796 +1,796 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Actions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Actions; - using SysML2.NET.Core.DTO.Kernel.Expressions; - using SysML2.NET.Decorators; - - /// - /// A TriggerInvocationExpression is an InvocationExpression that invokes one of the trigger Functions - /// from the Kernel Semantic Library Triggers package, as indicated by its kind. - /// - [Class(xmiId: "_19_0_4_12e503d9_1643588492412_624345_274", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class TriggerInvocationExpression : ITriggerInvocationExpression - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Expressions whose results are bound to features of the instantiatedType. The arguments are - /// ordered consistent with the order of the features, though they may not be one-to-one with all the - /// features.Note. The derivation of argument is given in the concrete subclasses of - /// InstantiationExpression. - /// - [Property(xmiId: "_2022x_2_12e503d9_1739134437590_328753_108", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IInstantiationExpression.Argument")] - public List Argument { get; internal set; } - - /// - /// The Behaviors that type this Step. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IExpression.Function")] - [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IStep.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Function that types this Expression. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - [Implements(implementation: "IExpression.Function")] - public Guid? Function { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The Type that is being instantiated. - /// - [Property(xmiId: "_2022x_2_12e503d9_1739134352572_416088_80", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IInstantiationExpression.InstantiatedType")] - public Guid InstantiatedType { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, - /// using metadata within the model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool IsModelLevelEvaluable { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// Indicates which of the Functions from the Triggers model in the Kernel Semantic Library is to be - /// invoked by this TriggerInvocationExpression. - /// - [Property(xmiId: "_19_0_4_12e503d9_1643588513495_774789_300", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "ITriggerInvocationExpression.Kind")] - public TriggerKind Kind { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into - /// and/or out of a performance of the Step. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// An output parameter of the Expression whose value is the result of the Expression. The result of an - /// Expression is either inherited from its function or it is related to the Expression via a - /// ReturnParameterMembership, in which case it redefines the result parameter of its function. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [Implements(implementation: "IExpression.Result")] - public Guid Result { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Actions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Actions; + using SysML2.NET.Core.DTO.Kernel.Expressions; + using SysML2.NET.Decorators; + + /// + /// A TriggerInvocationExpression is an InvocationExpression that invokes one of the trigger Functions + /// from the Kernel Semantic Library Triggers package, as indicated by its kind. + /// + [Class(xmiId: "_19_0_4_12e503d9_1643588492412_624345_274", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class TriggerInvocationExpression : ITriggerInvocationExpression + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Expressions whose results are bound to features of the instantiatedType. The arguments are + /// ordered consistent with the order of the features, though they may not be one-to-one with all the + /// features.Note. The derivation of argument is given in the concrete subclasses of + /// InstantiationExpression. + /// + [Property(xmiId: "_2022x_2_12e503d9_1739134437590_328753_108", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IInstantiationExpression.Argument")] + public List argument { get; internal set; } + + /// + /// The Behaviors that type this Step. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IExpression.Function")] + [Implements(implementation: "IStep.Behavior")] + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IStep.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Function that types this Expression. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] + [Implements(implementation: "IExpression.Function")] + public Guid? function { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The Type that is being instantiated. + /// + [Property(xmiId: "_2022x_2_12e503d9_1739134352572_416088_80", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IInstantiationExpression.InstantiatedType")] + public Guid instantiatedType { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, + /// using metadata within the model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IExpression.IsModelLevelEvaluable")] + public bool isModelLevelEvaluable { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsVariable")] + public bool IsVariable { get; set; } + + /// + /// Indicates which of the Functions from the Triggers model in the Kernel Semantic Library is to be + /// invoked by this TriggerInvocationExpression. + /// + [Property(xmiId: "_19_0_4_12e503d9_1643588513495_774789_300", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "ITriggerInvocationExpression.Kind")] + public TriggerKind Kind { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into + /// and/or out of a performance of the Step. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IStep.Parameter")] + public List parameter { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// An output parameter of the Expression whose value is the result of the Expression. The result of an + /// Expression is either inherited from its function or it is related to the Expression via a + /// ReturnParameterMembership, in which case it redefines the result parameter of its function. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [Implements(implementation: "IExpression.Result")] + public Guid result { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Type")] + public List type { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/Type.cs b/SysML2.NET/Core/AutoGenDto/Type.cs index 32a7951e..07cdd6a9 100644 --- a/SysML2.NET/Core/AutoGenDto/Type.cs +++ b/SysML2.NET/Core/AutoGenDto/Type.cs @@ -1,493 +1,493 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Core.Types -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Root.Namespaces; - using SysML2.NET.Decorators; - - /// - /// A Type is a Namespace that is the most general kind of Element supporting the semantics of - /// classification. A Type may be a Classifier or a Feature, defining conditions on what is classified - /// by the Type (see also the description of isSufficient). - /// - [Class(xmiId: "_18_5_3_71301a1_1537895141427_270492_15579", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class Type : IType - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - public bool IsAbstract { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Core.Types +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Root.Namespaces; + using SysML2.NET.Decorators; + + /// + /// A Type is a Namespace that is the most general kind of Element supporting the semantics of + /// classification. A Type may be a Classifier or a Feature, defining conditions on what is classified + /// by the Type (see also the description of isSufficient). + /// + [Class(xmiId: "_18_5_3_71301a1_1537895141427_270492_15579", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class Type : IType + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.DirectedFeature")] + public List directedFeature { get; internal set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + public bool IsAbstract { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/TypeFeaturing.cs b/SysML2.NET/Core/AutoGenDto/TypeFeaturing.cs index ef64f32a..eca4f4d2 100644 --- a/SysML2.NET/Core/AutoGenDto/TypeFeaturing.cs +++ b/SysML2.NET/Core/AutoGenDto/TypeFeaturing.cs @@ -1,289 +1,297 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Core.Features -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Root.Elements; - using SysML2.NET.Decorators; - - /// - /// A TypeFeaturing is a Featuring Relationship in which the featureOfType is the source and the - /// featuringType is the target. - /// - [Class(xmiId: "_19_0_4_12e503d9_1603904809245_349502_510", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class TypeFeaturing : ITypeFeaturing - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// The Feature that is featured by the featuringType. It is the source of the TypeFeaturing. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603904928950_912234_579", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [Implements(implementation: "ITypeFeaturing.FeatureOfType")] - public Guid FeatureOfType { get; set; } - - /// - /// The Type that features the featureOfType. It is the target of the TypeFeaturing. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603904945024_8186_598", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [Implements(implementation: "ITypeFeaturing.FeaturingType")] - public Guid FeaturingType { get; set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// A featureOfType that is also the owningRelatedElement of this TypeFeaturing. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673976_689994_763", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_912234_579")] - [Implements(implementation: "ITypeFeaturing.OwningFeatureOfType")] - public Guid? OwningFeatureOfType { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("ITypeFeaturing.FeatureOfType")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("ITypeFeaturing.FeaturingType")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Core.Features +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Root.Elements; + using SysML2.NET.Decorators; + + /// + /// A TypeFeaturing is a Featuring Relationship in which the featureOfType is the source and the + /// featuringType is the target. + /// + [Class(xmiId: "_19_0_4_12e503d9_1603904809245_349502_510", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class TypeFeaturing : ITypeFeaturing + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// The Feature that is featured by the featuringType. It is the source of the TypeFeaturing. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603904928950_912234_579", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [Implements(implementation: "ITypeFeaturing.FeatureOfType")] + public Guid FeatureOfType { get; set; } + + /// + /// The Type that features the featureOfType. It is the target of the TypeFeaturing. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603904945024_8186_598", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [Implements(implementation: "ITypeFeaturing.FeaturingType")] + public Guid FeaturingType { get; set; } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// A featureOfType that is also the owningRelatedElement of this TypeFeaturing. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673976_689994_763", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_912234_579")] + [Implements(implementation: "ITypeFeaturing.OwningFeatureOfType")] + public Guid? owningFeatureOfType { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IRelationship.RelatedElement")] + public List relatedElement { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("ITypeFeaturing.FeatureOfType")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property ITypeFeaturing.FeatureOfType"); + set => throw new InvalidOperationException("Redefined by property ITypeFeaturing.FeatureOfType"); + } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("ITypeFeaturing.FeaturingType")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property ITypeFeaturing.FeaturingType"); + set => throw new InvalidOperationException("Redefined by property ITypeFeaturing.FeaturingType"); + } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/Unioning.cs b/SysML2.NET/Core/AutoGenDto/Unioning.cs index 0969efcc..44d239d6 100644 --- a/SysML2.NET/Core/AutoGenDto/Unioning.cs +++ b/SysML2.NET/Core/AutoGenDto/Unioning.cs @@ -1,280 +1,288 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Core.Types -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Root.Elements; - using SysML2.NET.Decorators; - - /// - /// Unioning is a Relationship that makes its unioningType one of the unioningTypes of its typeUnioned. - /// - [Class(xmiId: "_19_0_4_b9102da_1661869922775_190651_380", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class Unioning : IUnioning - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IUnioning.TypeUnioned")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IUnioning.UnioningType")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Type with interpretations partly determined by unioningType, as described in Type::unioningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978504_423347_459", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [Implements(implementation: "IUnioning.TypeUnioned")] - public Guid TypeUnioned { get; internal set; } - - /// - /// Type that partly determines interpretations of typeUnioned, as described in Type::unioningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869982082_280210_472", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [Implements(implementation: "IUnioning.UnioningType")] - public Guid UnioningType { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Core.Types +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Root.Elements; + using SysML2.NET.Decorators; + + /// + /// Unioning is a Relationship that makes its unioningType one of the unioningTypes of its typeUnioned. + /// + [Class(xmiId: "_19_0_4_b9102da_1661869922775_190651_380", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class Unioning : IUnioning + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IRelationship.RelatedElement")] + public List relatedElement { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IUnioning.TypeUnioned")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IUnioning.TypeUnioned"); + set => throw new InvalidOperationException("Redefined by property IUnioning.TypeUnioned"); + } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IUnioning.UnioningType")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IUnioning.UnioningType"); + set => throw new InvalidOperationException("Redefined by property IUnioning.UnioningType"); + } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Type with interpretations partly determined by unioningType, as described in Type::unioningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978504_423347_459", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [Implements(implementation: "IUnioning.TypeUnioned")] + public Guid typeUnioned { get; internal set; } + + /// + /// Type that partly determines interpretations of typeUnioned, as described in Type::unioningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869982082_280210_472", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [Implements(implementation: "IUnioning.UnioningType")] + public Guid UnioningType { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/Usage.cs b/SysML2.NET/Core/AutoGenDto/Usage.cs index e1662307..19cd5c1d 100644 --- a/SysML2.NET/Core/AutoGenDto/Usage.cs +++ b/SysML2.NET/Core/AutoGenDto/Usage.cs @@ -1,1039 +1,1043 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.DefinitionAndUsage -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.DTO.Core.Features; - using SysML2.NET.Decorators; - - /// - /// A Usage is a usage of a Definition.A Usage may have nestedUsages that model features that apply in - /// the context of the owningUsage. A Usage may also have Definitions nested in it, but this has no - /// semantic significance, other than the nested scoping resulting from the Usage being considered as a - /// Namespace for any nested Definitions.However, if a Usage has isVariation = true, then it represents - /// a variation point Usage. In this case, all of its members must be variant Usages, related to the - /// Usage by VariantMembership Relationships. Rather than being features of the Usage, variant Usages - /// model different concrete alternatives that can be chosen to fill in for the variation point Usage. - /// - [Class(xmiId: "_18_5_3_12e503d9_1565469997820_598571_19982", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class Usage : IUsage - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds - /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [Implements(implementation: "IUsage.Definition")] - public List Definition { get; internal set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Usage that are directedFeatures. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - public bool IsPortion { get; set; } - - /// - /// Whether this Usage is a referential Usage, that is, it has isComposite = false. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsReference")] - public bool IsReference { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [RedefinedByProperty("IUsage.MayTimeVary")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage - /// must be VariantMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its - /// owningType, rather than being featured by the owningType itself). However, if isConstant is also - /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance - /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary - /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is - /// inherited from Feature. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] - [Implements(implementation: "IUsage.MayTimeVary")] - public bool MayTimeVary { get; internal set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ActionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedAction")] - public List NestedAction { get; internal set; } - - /// - /// The AllocationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedAllocation")] - public List NestedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List NestedAnalysisCase { get; internal set; } - - /// - /// The code>AttributeUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedAttribute")] - public List NestedAttribute { get; internal set; } - - /// - /// The CalculationUsage that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedCalculation")] - public List NestedCalculation { get; internal set; } - - /// - /// The CaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] - [Implements(implementation: "IUsage.NestedCase")] - public List NestedCase { get; internal set; } - - /// - /// The ConcernUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedConcern")] - public List NestedConcern { get; internal set; } - - /// - /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are - /// ConnectorAsUsages even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedConnection")] - public List NestedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedConstraint")] - public List NestedConstraint { get; internal set; } - - /// - /// The code>EnumerationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] - [Implements(implementation: "IUsage.NestedEnumeration")] - public List NestedEnumeration { get; internal set; } - - /// - /// The code>FlowUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedFlow")] - public List NestedFlow { get; internal set; } - - /// - /// The InterfaceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedInterface")] - public List NestedInterface { get; internal set; } - - /// - /// The ItemUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedItem")] - public List NestedItem { get; internal set; } - - /// - /// The MetadataUsages that are nestedUsages of this of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedMetadata")] - public List NestedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedOccurrence")] - public List NestedOccurrence { get; internal set; } - - /// - /// The PartUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedPart")] - public List NestedPart { get; internal set; } - - /// - /// The PortUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedPort")] - public List NestedPort { get; internal set; } - - /// - /// The ReferenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedReference")] - public List NestedReference { get; internal set; } - - /// - /// The RenderingUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedRendering")] - public List NestedRendering { get; internal set; } - - /// - /// The RequirementUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] - [Implements(implementation: "IUsage.NestedRequirement")] - public List NestedRequirement { get; internal set; } - - /// - /// The StateUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedState")] - public List NestedState { get; internal set; } - - /// - /// The TransitionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedTransition")] - public List NestedTransition { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.NestedUsage")] - public List NestedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedUseCase")] - public List NestedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedVerificationCase")] - public List NestedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedView")] - public List NestedView { get; internal set; } - - /// - /// The ViewpointUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedViewpoint")] - public List NestedViewpoint { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The Definition that owns this Usage (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] - [Implements(implementation: "IUsage.OwningDefinition")] - public Guid? OwningDefinition { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The Usage in which this Usage is nested (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IUsage.OwningUsage")] - public Guid? OwningUsage { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IUsage.Definition")] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Usage (not necessarily owned). - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IUsage.Usage")] - List IUsage.Usage { get; } - - /// - /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = - /// true. If isVariation = false, then there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IUsage.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this - /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IUsage.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.DefinitionAndUsage +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.DTO.Core.Features; + using SysML2.NET.Decorators; + + /// + /// A Usage is a usage of a Definition.A Usage may have nestedUsages that model features that apply in + /// the context of the owningUsage. A Usage may also have Definitions nested in it, but this has no + /// semantic significance, other than the nested scoping resulting from the Usage being considered as a + /// Namespace for any nested Definitions.However, if a Usage has isVariation = true, then it represents + /// a variation point Usage. In this case, all of its members must be variant Usages, related to the + /// Usage by VariantMembership Relationships. Rather than being features of the Usage, variant Usages + /// model different concrete alternatives that can be chosen to fill in for the variation point Usage. + /// + [Class(xmiId: "_18_5_3_12e503d9_1565469997820_598571_19982", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class Usage : IUsage + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds + /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [Implements(implementation: "IUsage.Definition")] + public List definition { get; internal set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.DirectedFeature")] + public List directedFeature { get; internal set; } + + /// + /// The usages of this Usage that are directedFeatures. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + public bool IsPortion { get; set; } + + /// + /// Whether this Usage is a referential Usage, that is, it has isComposite = false. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsReference")] + public bool isReference { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [RedefinedByProperty("IUsage.MayTimeVary")] + [Implements(implementation: "IFeature.IsVariable")] + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } + + /// + /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage + /// must be VariantMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its + /// owningType, rather than being featured by the owningType itself). However, if isConstant is also + /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance + /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary + /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is + /// inherited from Feature. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] + [Implements(implementation: "IUsage.MayTimeVary")] + public bool mayTimeVary { get; internal set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ActionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedAction")] + public List nestedAction { get; internal set; } + + /// + /// The AllocationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedAllocation")] + public List nestedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedAnalysisCase")] + public List nestedAnalysisCase { get; internal set; } + + /// + /// The code>AttributeUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedAttribute")] + public List nestedAttribute { get; internal set; } + + /// + /// The CalculationUsage that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedCalculation")] + public List nestedCalculation { get; internal set; } + + /// + /// The CaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] + [Implements(implementation: "IUsage.NestedCase")] + public List nestedCase { get; internal set; } + + /// + /// The ConcernUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedConcern")] + public List nestedConcern { get; internal set; } + + /// + /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are + /// ConnectorAsUsages even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedConnection")] + public List nestedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedConstraint")] + public List nestedConstraint { get; internal set; } + + /// + /// The code>EnumerationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] + [Implements(implementation: "IUsage.NestedEnumeration")] + public List nestedEnumeration { get; internal set; } + + /// + /// The code>FlowUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedFlow")] + public List nestedFlow { get; internal set; } + + /// + /// The InterfaceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedInterface")] + public List nestedInterface { get; internal set; } + + /// + /// The ItemUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedItem")] + public List nestedItem { get; internal set; } + + /// + /// The MetadataUsages that are nestedUsages of this of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedMetadata")] + public List nestedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedOccurrence")] + public List nestedOccurrence { get; internal set; } + + /// + /// The PartUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedPart")] + public List nestedPart { get; internal set; } + + /// + /// The PortUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedPort")] + public List nestedPort { get; internal set; } + + /// + /// The ReferenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedReference")] + public List nestedReference { get; internal set; } + + /// + /// The RenderingUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedRendering")] + public List nestedRendering { get; internal set; } + + /// + /// The RequirementUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] + [Implements(implementation: "IUsage.NestedRequirement")] + public List nestedRequirement { get; internal set; } + + /// + /// The StateUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedState")] + public List nestedState { get; internal set; } + + /// + /// The TransitionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedTransition")] + public List nestedTransition { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.NestedUsage")] + public List nestedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedUseCase")] + public List nestedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedVerificationCase")] + public List nestedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedView")] + public List nestedView { get; internal set; } + + /// + /// The ViewpointUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedViewpoint")] + public List nestedViewpoint { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The Definition that owns this Usage (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] + [Implements(implementation: "IUsage.OwningDefinition")] + public Guid? owningDefinition { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The Usage in which this Usage is nested (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IUsage.OwningUsage")] + public Guid? owningUsage { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IUsage.Definition")] + [Implements(implementation: "IFeature.Type")] + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Usage (not necessarily owned). + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IUsage.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = + /// true. If isVariation = false, then there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IUsage.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this + /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IUsage.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/UseCaseDefinition.cs b/SysML2.NET/Core/AutoGenDto/UseCaseDefinition.cs index 6d1f330e..5c34a1d4 100644 --- a/SysML2.NET/Core/AutoGenDto/UseCaseDefinition.cs +++ b/SysML2.NET/Core/AutoGenDto/UseCaseDefinition.cs @@ -1,871 +1,871 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.UseCases -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Systems.Cases; - using SysML2.NET.Decorators; - - /// - /// A UseCaseDefinition is a CaseDefinition that specifies a set of actions performed by its subject, in - /// interaction with one or more actors external to the subject. The objective is to yield an observable - /// result that is of value to one or more of the actors. - /// - [Class(xmiId: "_19_0_4_12e503d9_1621460866763_205297_823", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class UseCaseDefinition : IUseCaseDefinition - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// The ActionUsages that are steps in this ActionDefinition, which define the actions that specify the - /// behavior of the ActionDefinition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565500809065_170841_30688", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IActionDefinition.Action")] - public List Action { get; internal set; } - - /// - /// The parameters of this CaseDefinition that represent actors involved in the case. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621464609772_382176_1612", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "ICaseDefinition.ActorParameter")] - public List ActorParameter { get; internal set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The actions of this CalculationDefinition that are CalculationUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588214479224_101961_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565500809065_170841_30688")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948400639_301251_20841")] - [Implements(implementation: "ICalculationDefinition.Calculation")] - public List Calculation { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IBehavior.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Definition that are directedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565495064714_974634_26150", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IDefinition.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Expressions that are steps in the calculation of the result of this Function. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948400639_301251_20841", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] - [Implements(implementation: "IFunction.Expression")] - public List Expression { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// The UseCaseUsages that are included by this UseCaseDefinition, which are the useCaseIncludeds of the - /// IncludeUseCaseUsages owned by this UseCaseDefinition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621461043764_27_910", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUseCaseDefinition.IncludedUseCase")] - public List IncludedUseCase { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - public bool IsAbstract { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceDefinition is constrained to represent at most one thing. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618955405499_394357_6740", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceDefinition.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether this Function can be used as the function of a model-level evaluable InvocationExpression. - /// Certain Functions from the Kernel Functions Library are considered to have isModelLevelEvaluable = - /// true. For all other Functions it is false.Note: See the specification of the KerML - /// concrete syntax notation for Expressions for an identification of which library Functions are - /// model-level evaluable. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617395221463_139517_26381", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFunction.IsModelLevelEvaluable")] - public bool IsModelLevelEvaluable { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IDefinition.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The RequirementUsage representing the objective of this CaseDefinition. - /// - [Property(xmiId: "_19_0_2_59601fc_1590259317710_27529_910", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "ICaseDefinition.ObjectiveRequirement")] - public Guid? ObjectiveRequirement { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ActionUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedAction")] - public List OwnedAction { get; internal set; } - - /// - /// The AllocationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedAllocation")] - public List OwnedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List OwnedAnalysisCase { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The AttributeUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedAttribute")] - public List OwnedAttribute { get; internal set; } - - /// - /// The CalculationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - [Implements(implementation: "IDefinition.OwnedCalculation")] - public List OwnedCalculation { get; internal set; } - - /// - /// The code>CaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] - [Implements(implementation: "IDefinition.OwnedCase")] - public List OwnedCase { get; internal set; } - - /// - /// The ConcernUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - [Implements(implementation: "IDefinition.OwnedConcern")] - public List OwnedConcern { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowUsages because these are ConnectorAsUsages - /// even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedConnection")] - public List OwnedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedConstraint")] - public List OwnedConstraint { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The EnumerationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] - [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List OwnedEnumeration { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The FlowUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedFlow")] - public List OwnedFlow { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The InterfaceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedInterface")] - public List OwnedInterface { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The ItemUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedItem")] - public List OwnedItem { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The MetadataUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - [Implements(implementation: "IDefinition.OwnedMetadata")] - public List OwnedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List OwnedOccurrence { get; internal set; } - - /// - /// The PartUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - [Implements(implementation: "IDefinition.OwnedPart")] - public List OwnedPart { get; internal set; } - - /// - /// The PortUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedPort")] - public List OwnedPort { get; internal set; } - - /// - /// The ReferenceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedReference")] - public List OwnedReference { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The RenderingUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - [Implements(implementation: "IDefinition.OwnedRendering")] - public List OwnedRendering { get; internal set; } - - /// - /// The RequirementUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] - [Implements(implementation: "IDefinition.OwnedRequirement")] - public List OwnedRequirement { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The StateUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - [Implements(implementation: "IDefinition.OwnedState")] - public List OwnedState { get; internal set; } - - /// - /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier - /// is the subclassifier. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List OwnedSubclassification { get; internal set; } - - /// - /// The TransitionUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedTransition")] - public List OwnedTransition { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Definition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686637_967933_23236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IDefinition.OwnedUsage")] - public List OwnedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedUseCase")] - public List OwnedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List OwnedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - [Implements(implementation: "IDefinition.OwnedView")] - public List OwnedView { get; internal set; } - - /// - /// The ViewpointUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List OwnedViewpoint { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The parameters of this Behavior, which are defined as its directedFeatures, whose values are passed - /// into and/or out of a performance of the Behavior. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948010065_362066_20413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IBehavior.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The object or value that is the result of evaluating the Function. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948912268_88159_21323", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] - [Implements(implementation: "IFunction.Result")] - public Guid Result { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The Steps that make up this Behavior. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346067212_587255_17343", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IBehavior.Step")] - public List Step { get; internal set; } - - /// - /// The parameter of this CaseDefinition that represents its subject. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189932946_106647_973", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "ICaseDefinition.SubjectParameter")] - public Guid SubjectParameter { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Definition (not necessarily owned). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IDefinition.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Definition as a variation point Definition, if - /// isVariation = true. If isVariation = false, the there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IDefinition.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then - /// this must be all ownedMemberships of the Definition. If isVariation = false, then - /// variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IDefinition.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.UseCases +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Systems.Cases; + using SysML2.NET.Decorators; + + /// + /// A UseCaseDefinition is a CaseDefinition that specifies a set of actions performed by its subject, in + /// interaction with one or more actors external to the subject. The objective is to yield an observable + /// result that is of value to one or more of the actors. + /// + [Class(xmiId: "_19_0_4_12e503d9_1621460866763_205297_823", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class UseCaseDefinition : IUseCaseDefinition + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// The ActionUsages that are steps in this ActionDefinition, which define the actions that specify the + /// behavior of the ActionDefinition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565500809065_170841_30688", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IActionDefinition.Action")] + public List action { get; internal set; } + + /// + /// The parameters of this CaseDefinition that represent actors involved in the case. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621464609772_382176_1612", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "ICaseDefinition.ActorParameter")] + public List actorParameter { get; internal set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The actions of this CalculationDefinition that are CalculationUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588214479224_101961_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565500809065_170841_30688")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948400639_301251_20841")] + [Implements(implementation: "ICalculationDefinition.Calculation")] + public List calculation { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IBehavior.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IBehavior.Parameter"); + + /// + /// The usages of this Definition that are directedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565495064714_974634_26150", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IDefinition.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Expressions that are steps in the calculation of the result of this Function. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948400639_301251_20841", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] + [Implements(implementation: "IFunction.Expression")] + public List expression { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// The UseCaseUsages that are included by this UseCaseDefinition, which are the useCaseIncludeds of the + /// IncludeUseCaseUsages owned by this UseCaseDefinition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621461043764_27_910", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUseCaseDefinition.IncludedUseCase")] + public List includedUseCase { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + public bool IsAbstract { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceDefinition is constrained to represent at most one thing. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618955405499_394357_6740", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceDefinition.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether this Function can be used as the function of a model-level evaluable InvocationExpression. + /// Certain Functions from the Kernel Functions Library are considered to have isModelLevelEvaluable = + /// true. For all other Functions it is false.Note: See the specification of the KerML + /// concrete syntax notation for Expressions for an identification of which library Functions are + /// model-level evaluable. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617395221463_139517_26381", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFunction.IsModelLevelEvaluable")] + public bool isModelLevelEvaluable { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IDefinition.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The RequirementUsage representing the objective of this CaseDefinition. + /// + [Property(xmiId: "_19_0_2_59601fc_1590259317710_27529_910", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "ICaseDefinition.ObjectiveRequirement")] + public Guid? objectiveRequirement { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ActionUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedAction")] + public List ownedAction { get; internal set; } + + /// + /// The AllocationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedAllocation")] + public List ownedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedAnalysisCase")] + public List ownedAnalysisCase { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The AttributeUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedAttribute")] + public List ownedAttribute { get; internal set; } + + /// + /// The CalculationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] + [Implements(implementation: "IDefinition.OwnedCalculation")] + public List ownedCalculation { get; internal set; } + + /// + /// The code>CaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] + [Implements(implementation: "IDefinition.OwnedCase")] + public List ownedCase { get; internal set; } + + /// + /// The ConcernUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + [Implements(implementation: "IDefinition.OwnedConcern")] + public List ownedConcern { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowUsages because these are ConnectorAsUsages + /// even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedConnection")] + public List ownedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedConstraint")] + public List ownedConstraint { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The EnumerationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] + [Implements(implementation: "IDefinition.OwnedEnumeration")] + public List ownedEnumeration { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The FlowUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedFlow")] + public List ownedFlow { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The InterfaceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedInterface")] + public List ownedInterface { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The ItemUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedItem")] + public List ownedItem { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The MetadataUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] + [Implements(implementation: "IDefinition.OwnedMetadata")] + public List ownedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedOccurrence")] + public List ownedOccurrence { get; internal set; } + + /// + /// The PartUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] + [Implements(implementation: "IDefinition.OwnedPart")] + public List ownedPart { get; internal set; } + + /// + /// The PortUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedPort")] + public List ownedPort { get; internal set; } + + /// + /// The ReferenceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedReference")] + public List ownedReference { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The RenderingUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] + [Implements(implementation: "IDefinition.OwnedRendering")] + public List ownedRendering { get; internal set; } + + /// + /// The RequirementUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] + [Implements(implementation: "IDefinition.OwnedRequirement")] + public List ownedRequirement { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The StateUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] + [Implements(implementation: "IDefinition.OwnedState")] + public List ownedState { get; internal set; } + + /// + /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier + /// is the subclassifier. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [Implements(implementation: "IClassifier.OwnedSubclassification")] + public List ownedSubclassification { get; internal set; } + + /// + /// The TransitionUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedTransition")] + public List ownedTransition { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Definition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686637_967933_23236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IDefinition.OwnedUsage")] + public List ownedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedUseCase")] + public List ownedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedVerificationCase")] + public List ownedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] + [Implements(implementation: "IDefinition.OwnedView")] + public List ownedView { get; internal set; } + + /// + /// The ViewpointUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + [Implements(implementation: "IDefinition.OwnedViewpoint")] + public List ownedViewpoint { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The parameters of this Behavior, which are defined as its directedFeatures, whose values are passed + /// into and/or out of a performance of the Behavior. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948010065_362066_20413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IBehavior.Parameter")] + public List parameter { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The object or value that is the result of evaluating the Function. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948912268_88159_21323", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] + [Implements(implementation: "IFunction.Result")] + public Guid result { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The Steps that make up this Behavior. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346067212_587255_17343", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IBehavior.Step")] + public List step { get; internal set; } + + /// + /// The parameter of this CaseDefinition that represents its subject. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189932946_106647_973", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "ICaseDefinition.SubjectParameter")] + public Guid subjectParameter { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Definition (not necessarily owned). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IDefinition.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Definition as a variation point Definition, if + /// isVariation = true. If isVariation = false, the there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IDefinition.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then + /// this must be all ownedMemberships of the Definition. If isVariation = false, then + /// variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IDefinition.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/UseCaseUsage.cs b/SysML2.NET/Core/AutoGenDto/UseCaseUsage.cs index e7365200..6760dd0b 100644 --- a/SysML2.NET/Core/AutoGenDto/UseCaseUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/UseCaseUsage.cs @@ -1,1193 +1,1197 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.UseCases -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Core.DTO.Systems.Cases; - using SysML2.NET.Decorators; - - /// - /// A UseCaseUsage is a Usage of a UseCaseDefinition. - /// - [Class(xmiId: "_19_0_4_12e503d9_1621460902507_609356_850", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class UseCaseUsage : IUseCaseUsage - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// The Behaviors that are the types of this ActionUsage. Nominally, these would be ActionDefinitions, - /// but other kinds of Kernel Behaviors are also allowed, to permit use of Behaviors from the Kernel - /// Model Libraries. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565500905804_589845_30779", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [RedefinedByProperty("ICalculationUsage.CalculationDefinition")] - [Implements(implementation: "IActionUsage.ActionDefinition")] - public List ActionDefinition { get; internal set; } - - /// - /// The parameters of this CaseUsage that represent actors involved in the case. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621464633171_380461_1655", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "ICaseUsage.ActorParameter")] - public List ActorParameter { get; internal set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Behaviors that type this Step. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IExpression.Function")] - [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } - - /// - /// The Function that is the type of this CalculationUsage. Nominally, this would be a - /// CalculationDefinition, but a kernel Function is also allowed, to permit use of Functions from the - /// Kernel Model Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588213526305_899324_302", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1543948477241_299049_20934")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1565500905804_589845_30779")] - [RedefinedByProperty("ICaseUsage.CaseDefinition")] - [Implements(implementation: "ICalculationUsage.CalculationDefinition")] - public Guid? CalculationDefinition { get; internal set; } - - /// - /// The CaseDefinition that is the type of this CaseUsage. - /// - [Property(xmiId: "_19_0_2_59601fc_1590257465225_855208_512", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1588213526305_899324_302")] - [RedefinedByProperty("IUseCaseUsage.UseCaseDefinition")] - [Implements(implementation: "ICaseUsage.CaseDefinition")] - public Guid? CaseDefinition { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds - /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] - [Implements(implementation: "IUsage.Definition")] - public List Definition { get; internal set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IStep.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Usage that are directedFeatures. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Function that types this Expression. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - [RedefinedByProperty("ICalculationUsage.CalculationDefinition")] - [Implements(implementation: "IExpression.Function")] - public Guid? Function { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// The UseCaseUsages that are included by this UseCaseUse, which are the useCaseIncludeds of the - /// IncludeUseCaseUsages owned by this UseCaseUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621545989647_997634_1855", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUseCaseUsage.IncludedUseCase")] - public List IncludedUseCase { get; internal set; } - - /// - /// The at most one occurrenceDefinition that has isIndividual = true. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public Guid? IndividualDefinition { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its - /// individualDefinition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceUsage.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, - /// using metadata within the model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool IsModelLevelEvaluable { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - public bool IsPortion { get; set; } - - /// - /// Whether this Usage is a referential Usage, that is, it has isComposite = false. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsReference")] - public bool IsReference { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [RedefinedByProperty("IUsage.MayTimeVary")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage - /// must be VariantMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its - /// owningType, rather than being featured by the owningType itself). However, if isConstant is also - /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance - /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary - /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is - /// inherited from Feature. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] - [Implements(implementation: "IUsage.MayTimeVary")] - public bool MayTimeVary { get; internal set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ActionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedAction")] - public List NestedAction { get; internal set; } - - /// - /// The AllocationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedAllocation")] - public List NestedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List NestedAnalysisCase { get; internal set; } - - /// - /// The code>AttributeUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedAttribute")] - public List NestedAttribute { get; internal set; } - - /// - /// The CalculationUsage that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedCalculation")] - public List NestedCalculation { get; internal set; } - - /// - /// The CaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] - [Implements(implementation: "IUsage.NestedCase")] - public List NestedCase { get; internal set; } - - /// - /// The ConcernUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedConcern")] - public List NestedConcern { get; internal set; } - - /// - /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are - /// ConnectorAsUsages even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedConnection")] - public List NestedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedConstraint")] - public List NestedConstraint { get; internal set; } - - /// - /// The code>EnumerationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] - [Implements(implementation: "IUsage.NestedEnumeration")] - public List NestedEnumeration { get; internal set; } - - /// - /// The code>FlowUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedFlow")] - public List NestedFlow { get; internal set; } - - /// - /// The InterfaceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedInterface")] - public List NestedInterface { get; internal set; } - - /// - /// The ItemUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedItem")] - public List NestedItem { get; internal set; } - - /// - /// The MetadataUsages that are nestedUsages of this of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedMetadata")] - public List NestedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedOccurrence")] - public List NestedOccurrence { get; internal set; } - - /// - /// The PartUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedPart")] - public List NestedPart { get; internal set; } - - /// - /// The PortUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedPort")] - public List NestedPort { get; internal set; } - - /// - /// The ReferenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedReference")] - public List NestedReference { get; internal set; } - - /// - /// The RenderingUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedRendering")] - public List NestedRendering { get; internal set; } - - /// - /// The RequirementUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] - [Implements(implementation: "IUsage.NestedRequirement")] - public List NestedRequirement { get; internal set; } - - /// - /// The StateUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedState")] - public List NestedState { get; internal set; } - - /// - /// The TransitionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedTransition")] - public List NestedTransition { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.NestedUsage")] - public List NestedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedUseCase")] - public List NestedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedVerificationCase")] - public List NestedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedView")] - public List NestedView { get; internal set; } - - /// - /// The ViewpointUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedViewpoint")] - public List NestedViewpoint { get; internal set; } - - /// - /// The RequirementUsage representing the objective of this CaseUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591138794257_404044_2145", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "ICaseUsage.ObjectiveRequirement")] - public Guid? ObjectiveRequirement { get; internal set; } - - /// - /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, - /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] - [RedefinedByProperty("IActionUsage.ActionDefinition")] - [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List OccurrenceDefinition { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The Definition that owns this Usage (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] - [Implements(implementation: "IUsage.OwningDefinition")] - public Guid? OwningDefinition { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The Usage in which this Usage is nested (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IUsage.OwningUsage")] - public Guid? OwningUsage { get; internal set; } - - /// - /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into - /// and/or out of a performance of the Step. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If - /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the - /// OccurrenceUsage represents portions of the featuring instance of the owningType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IOccurrenceUsage.PortionKind")] - public PortionKind? PortionKind { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// An output parameter of the Expression whose value is the result of the Expression. The result of an - /// Expression is either inherited from its function or it is related to the Expression via a - /// ReturnParameterMembership, in which case it redefines the result parameter of its function. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [Implements(implementation: "IExpression.Result")] - public Guid Result { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The parameter of this CaseUsage that represents its subject. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595190279083_51021_1128", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "ICaseUsage.SubjectParameter")] - public Guid SubjectParameter { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IUsage.Definition")] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Usage (not necessarily owned). - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IUsage.Usage")] - public List Usage { get; internal set; } - - /// - /// The UseCaseDefinition that is the definition of this UseCaseUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621460964889_804779_881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_59601fc_1590257465225_855208_512")] - [Implements(implementation: "IUseCaseUsage.UseCaseDefinition")] - public Guid? UseCaseDefinition { get; internal set; } - - /// - /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = - /// true. If isVariation = false, then there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IUsage.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this - /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IUsage.VariantMembership")] - public List VariantMembership { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.UseCases +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Core.DTO.Systems.Cases; + using SysML2.NET.Decorators; + + /// + /// A UseCaseUsage is a Usage of a UseCaseDefinition. + /// + [Class(xmiId: "_19_0_4_12e503d9_1621460902507_609356_850", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class UseCaseUsage : IUseCaseUsage + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// The Behaviors that are the types of this ActionUsage. Nominally, these would be ActionDefinitions, + /// but other kinds of Kernel Behaviors are also allowed, to permit use of Behaviors from the Kernel + /// Model Libraries. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565500905804_589845_30779", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [RedefinedByProperty("ICalculationUsage.CalculationDefinition")] + [Implements(implementation: "IActionUsage.ActionDefinition")] + List Systems.Actions.IActionUsage.actionDefinition => throw new InvalidOperationException("Redefined by property ICalculationUsage.CalculationDefinition"); + + /// + /// The parameters of this CaseUsage that represent actors involved in the case. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621464633171_380461_1655", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "ICaseUsage.ActorParameter")] + public List actorParameter { get; internal set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Behaviors that type this Step. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IExpression.Function")] + [Implements(implementation: "IStep.Behavior")] + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); + + /// + /// The Function that is the type of this CalculationUsage. Nominally, this would be a + /// CalculationDefinition, but a kernel Function is also allowed, to permit use of Functions from the + /// Kernel Model Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588213526305_899324_302", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1543948477241_299049_20934")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1565500905804_589845_30779")] + [RedefinedByProperty("ICaseUsage.CaseDefinition")] + [Implements(implementation: "ICalculationUsage.CalculationDefinition")] + Guid? Systems.Calculations.ICalculationUsage.calculationDefinition => throw new InvalidOperationException("Redefined by property ICaseUsage.CaseDefinition"); + + /// + /// The CaseDefinition that is the type of this CaseUsage. + /// + [Property(xmiId: "_19_0_2_59601fc_1590257465225_855208_512", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1588213526305_899324_302")] + [RedefinedByProperty("IUseCaseUsage.UseCaseDefinition")] + [Implements(implementation: "ICaseUsage.CaseDefinition")] + Guid? Systems.Cases.ICaseUsage.caseDefinition => throw new InvalidOperationException("Redefined by property IUseCaseUsage.UseCaseDefinition"); + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds + /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] + [Implements(implementation: "IUsage.Definition")] + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IStep.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); + + /// + /// The usages of this Usage that are directedFeatures. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Function that types this Expression. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] + [RedefinedByProperty("ICalculationUsage.CalculationDefinition")] + [Implements(implementation: "IExpression.Function")] + Guid? Kernel.Functions.IExpression.function => throw new InvalidOperationException("Redefined by property ICalculationUsage.CalculationDefinition"); + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// The UseCaseUsages that are included by this UseCaseUse, which are the useCaseIncludeds of the + /// IncludeUseCaseUsages owned by this UseCaseUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621545989647_997634_1855", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUseCaseUsage.IncludedUseCase")] + public List includedUseCase { get; internal set; } + + /// + /// The at most one occurrenceDefinition that has isIndividual = true. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] + public Guid? individualDefinition { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its + /// individualDefinition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceUsage.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, + /// using metadata within the model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IExpression.IsModelLevelEvaluable")] + public bool isModelLevelEvaluable { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + public bool IsPortion { get; set; } + + /// + /// Whether this Usage is a referential Usage, that is, it has isComposite = false. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsReference")] + public bool isReference { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [RedefinedByProperty("IUsage.MayTimeVary")] + [Implements(implementation: "IFeature.IsVariable")] + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } + + /// + /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage + /// must be VariantMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its + /// owningType, rather than being featured by the owningType itself). However, if isConstant is also + /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance + /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary + /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is + /// inherited from Feature. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] + [Implements(implementation: "IUsage.MayTimeVary")] + public bool mayTimeVary { get; internal set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ActionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedAction")] + public List nestedAction { get; internal set; } + + /// + /// The AllocationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedAllocation")] + public List nestedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedAnalysisCase")] + public List nestedAnalysisCase { get; internal set; } + + /// + /// The code>AttributeUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedAttribute")] + public List nestedAttribute { get; internal set; } + + /// + /// The CalculationUsage that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedCalculation")] + public List nestedCalculation { get; internal set; } + + /// + /// The CaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] + [Implements(implementation: "IUsage.NestedCase")] + public List nestedCase { get; internal set; } + + /// + /// The ConcernUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedConcern")] + public List nestedConcern { get; internal set; } + + /// + /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are + /// ConnectorAsUsages even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedConnection")] + public List nestedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedConstraint")] + public List nestedConstraint { get; internal set; } + + /// + /// The code>EnumerationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] + [Implements(implementation: "IUsage.NestedEnumeration")] + public List nestedEnumeration { get; internal set; } + + /// + /// The code>FlowUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedFlow")] + public List nestedFlow { get; internal set; } + + /// + /// The InterfaceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedInterface")] + public List nestedInterface { get; internal set; } + + /// + /// The ItemUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedItem")] + public List nestedItem { get; internal set; } + + /// + /// The MetadataUsages that are nestedUsages of this of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedMetadata")] + public List nestedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedOccurrence")] + public List nestedOccurrence { get; internal set; } + + /// + /// The PartUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedPart")] + public List nestedPart { get; internal set; } + + /// + /// The PortUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedPort")] + public List nestedPort { get; internal set; } + + /// + /// The ReferenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedReference")] + public List nestedReference { get; internal set; } + + /// + /// The RenderingUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedRendering")] + public List nestedRendering { get; internal set; } + + /// + /// The RequirementUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] + [Implements(implementation: "IUsage.NestedRequirement")] + public List nestedRequirement { get; internal set; } + + /// + /// The StateUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedState")] + public List nestedState { get; internal set; } + + /// + /// The TransitionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedTransition")] + public List nestedTransition { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.NestedUsage")] + public List nestedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedUseCase")] + public List nestedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedVerificationCase")] + public List nestedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedView")] + public List nestedView { get; internal set; } + + /// + /// The ViewpointUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedViewpoint")] + public List nestedViewpoint { get; internal set; } + + /// + /// The RequirementUsage representing the objective of this CaseUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591138794257_404044_2145", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "ICaseUsage.ObjectiveRequirement")] + public Guid? objectiveRequirement { get; internal set; } + + /// + /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, + /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] + [RedefinedByProperty("IActionUsage.ActionDefinition")] + [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] + List Systems.Occurrences.IOccurrenceUsage.occurrenceDefinition => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The Definition that owns this Usage (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] + [Implements(implementation: "IUsage.OwningDefinition")] + public Guid? owningDefinition { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The Usage in which this Usage is nested (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IUsage.OwningUsage")] + public Guid? owningUsage { get; internal set; } + + /// + /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into + /// and/or out of a performance of the Step. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IStep.Parameter")] + public List parameter { get; internal set; } + + /// + /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If + /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the + /// OccurrenceUsage represents portions of the featuring instance of the owningType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IOccurrenceUsage.PortionKind")] + public PortionKind? PortionKind { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// An output parameter of the Expression whose value is the result of the Expression. The result of an + /// Expression is either inherited from its function or it is related to the Expression via a + /// ReturnParameterMembership, in which case it redefines the result parameter of its function. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [Implements(implementation: "IExpression.Result")] + public Guid result { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The parameter of this CaseUsage that represents its subject. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595190279083_51021_1128", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "ICaseUsage.SubjectParameter")] + public Guid subjectParameter { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IUsage.Definition")] + [Implements(implementation: "IFeature.Type")] + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Usage (not necessarily owned). + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IUsage.Usage")] + public List usage { get; internal set; } + + /// + /// The UseCaseDefinition that is the definition of this UseCaseUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621460964889_804779_881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_59601fc_1590257465225_855208_512")] + [Implements(implementation: "IUseCaseUsage.UseCaseDefinition")] + public Guid? useCaseDefinition { get; internal set; } + + /// + /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = + /// true. If isVariation = false, then there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IUsage.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this + /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IUsage.VariantMembership")] + public List variantMembership { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/VariantMembership.cs b/SysML2.NET/Core/AutoGenDto/VariantMembership.cs index 74a85935..69bf6396 100644 --- a/SysML2.NET/Core/AutoGenDto/VariantMembership.cs +++ b/SysML2.NET/Core/AutoGenDto/VariantMembership.cs @@ -1,361 +1,381 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.DefinitionAndUsage -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Root.Namespaces; - using SysML2.NET.Core.DTO.Root.Namespaces; - using SysML2.NET.Decorators; - - /// - /// A VariantMembership is a Membership between a variation point Definition or Usage and a Usage that - /// represents a variant in the context of that variation. The membershipOwningNamespace for the - /// VariantMembership must be either a Definition or a Usage with isVariation = true. - /// - [Class(xmiId: "_19_0_2_59601fc_1590331535985_437424_487", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class VariantMembership : IVariantMembership - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_819490_43195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] - [Implements(implementation: "IMembership.MemberElement")] - public Guid MemberElement { get; set; } - - /// - /// The elementId of the memberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] - [Implements(implementation: "IMembership.MemberElementId")] - public string MemberElementId { get; internal set; } - - /// - /// The name of the memberElement relative to the membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberName")] - [Implements(implementation: "IMembership.MemberName")] - public string MemberName { get; set; } - - /// - /// The Namespace of which the memberElement becomes a member due to this Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_193857_43197", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_531296_43182")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [Implements(implementation: "IMembership.MembershipOwningNamespace")] - public Guid MembershipOwningNamespace { get; internal set; } - - /// - /// The short name of the memberElement relative to the membershipOwningNamespace. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] - [Implements(implementation: "IMembership.MemberShortName")] - public string MemberShortName { get; set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this - /// OwningMembership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_501750_43196", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_59873_43302")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] - [RedefinedByProperty("IVariantMembership.OwnedVariantUsage")] - [Implements(implementation: "IOwningMembership.OwnedMemberElement")] - public Guid OwnedMemberElement { get; internal set; } - - /// - /// The elementId of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] - [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] - public string OwnedMemberElementId { get; internal set; } - - /// - /// The name of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] - [Implements(implementation: "IOwningMembership.OwnedMemberName")] - public string OwnedMemberName { get; internal set; } - - /// - /// The shortName of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] - [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] - public string OwnedMemberShortName { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The Usage that represents a variant in the context of the owningVariationDefinition or - /// owningVariationUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978683452_645414_775", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] - [Implements(implementation: "IVariantMembership.OwnedVariantUsage")] - public Guid OwnedVariantUsage { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IMembership.MembershipOwningNamespace")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IMembership.MemberElement")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly - /// visible outside that Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_42975_43193", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "public")] - [Implements(implementation: "IMembership.Visibility")] - public VisibilityKind Visibility { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.DefinitionAndUsage +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Root.Namespaces; + using SysML2.NET.Core.DTO.Root.Namespaces; + using SysML2.NET.Decorators; + + /// + /// A VariantMembership is a Membership between a variation point Definition or Usage and a Usage that + /// represents a variant in the context of that variation. The membershipOwningNamespace for the + /// VariantMembership must be either a Definition or a Usage with isVariation = true. + /// + [Class(xmiId: "_19_0_2_59601fc_1590331535985_437424_487", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class VariantMembership : IVariantMembership + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_819490_43195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] + [Implements(implementation: "IMembership.MemberElement")] + Guid Root.Namespaces.IMembership.MemberElement + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + } + + /// + /// The elementId of the memberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] + [Implements(implementation: "IMembership.MemberElementId")] + string Root.Namespaces.IMembership.memberElementId => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElementId"); + + /// + /// The name of the memberElement relative to the membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberName")] + [Implements(implementation: "IMembership.MemberName")] + string Root.Namespaces.IMembership.MemberName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + } + + /// + /// The Namespace of which the memberElement becomes a member due to this Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_193857_43197", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_531296_43182")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [Implements(implementation: "IMembership.MembershipOwningNamespace")] + public Guid membershipOwningNamespace { get; internal set; } + + /// + /// The short name of the memberElement relative to the membershipOwningNamespace. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] + [Implements(implementation: "IMembership.MemberShortName")] + string Root.Namespaces.IMembership.MemberShortName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this + /// OwningMembership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_501750_43196", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_59873_43302")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] + [RedefinedByProperty("IVariantMembership.OwnedVariantUsage")] + [Implements(implementation: "IOwningMembership.OwnedMemberElement")] + Guid Root.Namespaces.IOwningMembership.ownedMemberElement => throw new InvalidOperationException("Redefined by property IVariantMembership.OwnedVariantUsage"); + + /// + /// The elementId of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] + [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] + public string ownedMemberElementId { get; internal set; } + + /// + /// The name of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] + [Implements(implementation: "IOwningMembership.OwnedMemberName")] + public string ownedMemberName { get; internal set; } + + /// + /// The shortName of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] + [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] + public string ownedMemberShortName { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The Usage that represents a variant in the context of the owningVariationDefinition or + /// owningVariationUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978683452_645414_775", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] + [Implements(implementation: "IVariantMembership.OwnedVariantUsage")] + public Guid ownedVariantUsage { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IRelationship.RelatedElement")] + public List relatedElement { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IMembership.MembershipOwningNamespace")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IMembership.MemberElement")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + set => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly + /// visible outside that Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_42975_43193", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "public")] + [Implements(implementation: "IMembership.Visibility")] + public VisibilityKind Visibility { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/VerificationCaseDefinition.cs b/SysML2.NET/Core/AutoGenDto/VerificationCaseDefinition.cs index fd95c889..8133c59b 100644 --- a/SysML2.NET/Core/AutoGenDto/VerificationCaseDefinition.cs +++ b/SysML2.NET/Core/AutoGenDto/VerificationCaseDefinition.cs @@ -1,870 +1,870 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.VerificationCases -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Systems.Cases; - using SysML2.NET.Decorators; - - /// - /// A VerificationCaseDefinition is a CaseDefinition for the purpose of verification of the subject of - /// the case against its requirements. - /// - [Class(xmiId: "_19_0_2_12e503d9_1596821335655_850182_10186", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class VerificationCaseDefinition : IVerificationCaseDefinition - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// The ActionUsages that are steps in this ActionDefinition, which define the actions that specify the - /// behavior of the ActionDefinition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565500809065_170841_30688", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IActionDefinition.Action")] - public List Action { get; internal set; } - - /// - /// The parameters of this CaseDefinition that represent actors involved in the case. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621464609772_382176_1612", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "ICaseDefinition.ActorParameter")] - public List ActorParameter { get; internal set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The actions of this CalculationDefinition that are CalculationUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588214479224_101961_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565500809065_170841_30688")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948400639_301251_20841")] - [Implements(implementation: "ICalculationDefinition.Calculation")] - public List Calculation { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IBehavior.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Definition that are directedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565495064714_974634_26150", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IDefinition.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Expressions that are steps in the calculation of the result of this Function. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948400639_301251_20841", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] - [Implements(implementation: "IFunction.Expression")] - public List Expression { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - public bool IsAbstract { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceDefinition is constrained to represent at most one thing. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618955405499_394357_6740", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceDefinition.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether this Function can be used as the function of a model-level evaluable InvocationExpression. - /// Certain Functions from the Kernel Functions Library are considered to have isModelLevelEvaluable = - /// true. For all other Functions it is false.Note: See the specification of the KerML - /// concrete syntax notation for Expressions for an identification of which library Functions are - /// model-level evaluable. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617395221463_139517_26381", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFunction.IsModelLevelEvaluable")] - public bool IsModelLevelEvaluable { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IDefinition.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The RequirementUsage representing the objective of this CaseDefinition. - /// - [Property(xmiId: "_19_0_2_59601fc_1590259317710_27529_910", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "ICaseDefinition.ObjectiveRequirement")] - public Guid? ObjectiveRequirement { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ActionUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedAction")] - public List OwnedAction { get; internal set; } - - /// - /// The AllocationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedAllocation")] - public List OwnedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List OwnedAnalysisCase { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The AttributeUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedAttribute")] - public List OwnedAttribute { get; internal set; } - - /// - /// The CalculationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - [Implements(implementation: "IDefinition.OwnedCalculation")] - public List OwnedCalculation { get; internal set; } - - /// - /// The code>CaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] - [Implements(implementation: "IDefinition.OwnedCase")] - public List OwnedCase { get; internal set; } - - /// - /// The ConcernUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - [Implements(implementation: "IDefinition.OwnedConcern")] - public List OwnedConcern { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowUsages because these are ConnectorAsUsages - /// even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedConnection")] - public List OwnedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedConstraint")] - public List OwnedConstraint { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The EnumerationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] - [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List OwnedEnumeration { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The FlowUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedFlow")] - public List OwnedFlow { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The InterfaceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedInterface")] - public List OwnedInterface { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The ItemUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedItem")] - public List OwnedItem { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The MetadataUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - [Implements(implementation: "IDefinition.OwnedMetadata")] - public List OwnedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List OwnedOccurrence { get; internal set; } - - /// - /// The PartUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - [Implements(implementation: "IDefinition.OwnedPart")] - public List OwnedPart { get; internal set; } - - /// - /// The PortUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedPort")] - public List OwnedPort { get; internal set; } - - /// - /// The ReferenceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedReference")] - public List OwnedReference { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The RenderingUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - [Implements(implementation: "IDefinition.OwnedRendering")] - public List OwnedRendering { get; internal set; } - - /// - /// The RequirementUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] - [Implements(implementation: "IDefinition.OwnedRequirement")] - public List OwnedRequirement { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The StateUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - [Implements(implementation: "IDefinition.OwnedState")] - public List OwnedState { get; internal set; } - - /// - /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier - /// is the subclassifier. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List OwnedSubclassification { get; internal set; } - - /// - /// The TransitionUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedTransition")] - public List OwnedTransition { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Definition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686637_967933_23236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IDefinition.OwnedUsage")] - public List OwnedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedUseCase")] - public List OwnedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List OwnedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - [Implements(implementation: "IDefinition.OwnedView")] - public List OwnedView { get; internal set; } - - /// - /// The ViewpointUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List OwnedViewpoint { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The parameters of this Behavior, which are defined as its directedFeatures, whose values are passed - /// into and/or out of a performance of the Behavior. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948010065_362066_20413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IBehavior.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The object or value that is the result of evaluating the Function. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948912268_88159_21323", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] - [Implements(implementation: "IFunction.Result")] - public Guid Result { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The Steps that make up this Behavior. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346067212_587255_17343", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IBehavior.Step")] - public List Step { get; internal set; } - - /// - /// The parameter of this CaseDefinition that represents its subject. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189932946_106647_973", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "ICaseDefinition.SubjectParameter")] - public Guid SubjectParameter { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Definition (not necessarily owned). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IDefinition.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Definition as a variation point Definition, if - /// isVariation = true. If isVariation = false, the there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IDefinition.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then - /// this must be all ownedMemberships of the Definition. If isVariation = false, then - /// variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IDefinition.VariantMembership")] - public List VariantMembership { get; internal set; } - - /// - /// The RequirementUsages verified by this VerificationCaseDefinition, which are the - /// verifiedRequirements of all RequirementVerificationMemberships of the objectiveRequirement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603922371399_701592_338", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IVerificationCaseDefinition.VerifiedRequirement")] - public List VerifiedRequirement { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.VerificationCases +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Systems.Cases; + using SysML2.NET.Decorators; + + /// + /// A VerificationCaseDefinition is a CaseDefinition for the purpose of verification of the subject of + /// the case against its requirements. + /// + [Class(xmiId: "_19_0_2_12e503d9_1596821335655_850182_10186", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class VerificationCaseDefinition : IVerificationCaseDefinition + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// The ActionUsages that are steps in this ActionDefinition, which define the actions that specify the + /// behavior of the ActionDefinition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565500809065_170841_30688", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IActionDefinition.Action")] + public List action { get; internal set; } + + /// + /// The parameters of this CaseDefinition that represent actors involved in the case. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621464609772_382176_1612", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "ICaseDefinition.ActorParameter")] + public List actorParameter { get; internal set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The actions of this CalculationDefinition that are CalculationUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588214479224_101961_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565500809065_170841_30688")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948400639_301251_20841")] + [Implements(implementation: "ICalculationDefinition.Calculation")] + public List calculation { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IBehavior.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IBehavior.Parameter"); + + /// + /// The usages of this Definition that are directedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565495064714_974634_26150", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IDefinition.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Expressions that are steps in the calculation of the result of this Function. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948400639_301251_20841", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] + [Implements(implementation: "IFunction.Expression")] + public List expression { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + public bool IsAbstract { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceDefinition is constrained to represent at most one thing. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618955405499_394357_6740", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceDefinition.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether this Function can be used as the function of a model-level evaluable InvocationExpression. + /// Certain Functions from the Kernel Functions Library are considered to have isModelLevelEvaluable = + /// true. For all other Functions it is false.Note: See the specification of the KerML + /// concrete syntax notation for Expressions for an identification of which library Functions are + /// model-level evaluable. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617395221463_139517_26381", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFunction.IsModelLevelEvaluable")] + public bool isModelLevelEvaluable { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IDefinition.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The RequirementUsage representing the objective of this CaseDefinition. + /// + [Property(xmiId: "_19_0_2_59601fc_1590259317710_27529_910", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "ICaseDefinition.ObjectiveRequirement")] + public Guid? objectiveRequirement { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ActionUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedAction")] + public List ownedAction { get; internal set; } + + /// + /// The AllocationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedAllocation")] + public List ownedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedAnalysisCase")] + public List ownedAnalysisCase { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The AttributeUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedAttribute")] + public List ownedAttribute { get; internal set; } + + /// + /// The CalculationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] + [Implements(implementation: "IDefinition.OwnedCalculation")] + public List ownedCalculation { get; internal set; } + + /// + /// The code>CaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] + [Implements(implementation: "IDefinition.OwnedCase")] + public List ownedCase { get; internal set; } + + /// + /// The ConcernUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + [Implements(implementation: "IDefinition.OwnedConcern")] + public List ownedConcern { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowUsages because these are ConnectorAsUsages + /// even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedConnection")] + public List ownedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedConstraint")] + public List ownedConstraint { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The EnumerationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] + [Implements(implementation: "IDefinition.OwnedEnumeration")] + public List ownedEnumeration { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The FlowUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedFlow")] + public List ownedFlow { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The InterfaceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedInterface")] + public List ownedInterface { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The ItemUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedItem")] + public List ownedItem { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The MetadataUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] + [Implements(implementation: "IDefinition.OwnedMetadata")] + public List ownedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedOccurrence")] + public List ownedOccurrence { get; internal set; } + + /// + /// The PartUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] + [Implements(implementation: "IDefinition.OwnedPart")] + public List ownedPart { get; internal set; } + + /// + /// The PortUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedPort")] + public List ownedPort { get; internal set; } + + /// + /// The ReferenceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedReference")] + public List ownedReference { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The RenderingUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] + [Implements(implementation: "IDefinition.OwnedRendering")] + public List ownedRendering { get; internal set; } + + /// + /// The RequirementUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] + [Implements(implementation: "IDefinition.OwnedRequirement")] + public List ownedRequirement { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The StateUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] + [Implements(implementation: "IDefinition.OwnedState")] + public List ownedState { get; internal set; } + + /// + /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier + /// is the subclassifier. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [Implements(implementation: "IClassifier.OwnedSubclassification")] + public List ownedSubclassification { get; internal set; } + + /// + /// The TransitionUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedTransition")] + public List ownedTransition { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Definition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686637_967933_23236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IDefinition.OwnedUsage")] + public List ownedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedUseCase")] + public List ownedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedVerificationCase")] + public List ownedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] + [Implements(implementation: "IDefinition.OwnedView")] + public List ownedView { get; internal set; } + + /// + /// The ViewpointUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + [Implements(implementation: "IDefinition.OwnedViewpoint")] + public List ownedViewpoint { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The parameters of this Behavior, which are defined as its directedFeatures, whose values are passed + /// into and/or out of a performance of the Behavior. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948010065_362066_20413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IBehavior.Parameter")] + public List parameter { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The object or value that is the result of evaluating the Function. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948912268_88159_21323", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] + [Implements(implementation: "IFunction.Result")] + public Guid result { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The Steps that make up this Behavior. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346067212_587255_17343", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IBehavior.Step")] + public List step { get; internal set; } + + /// + /// The parameter of this CaseDefinition that represents its subject. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189932946_106647_973", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "ICaseDefinition.SubjectParameter")] + public Guid subjectParameter { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Definition (not necessarily owned). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IDefinition.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Definition as a variation point Definition, if + /// isVariation = true. If isVariation = false, the there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IDefinition.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then + /// this must be all ownedMemberships of the Definition. If isVariation = false, then + /// variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IDefinition.VariantMembership")] + public List variantMembership { get; internal set; } + + /// + /// The RequirementUsages verified by this VerificationCaseDefinition, which are the + /// verifiedRequirements of all RequirementVerificationMemberships of the objectiveRequirement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603922371399_701592_338", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IVerificationCaseDefinition.VerifiedRequirement")] + public List verifiedRequirement { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/VerificationCaseUsage.cs b/SysML2.NET/Core/AutoGenDto/VerificationCaseUsage.cs index 4893f76c..05c3d1f5 100644 --- a/SysML2.NET/Core/AutoGenDto/VerificationCaseUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/VerificationCaseUsage.cs @@ -1,1192 +1,1196 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.VerificationCases -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Core.DTO.Systems.Cases; - using SysML2.NET.Decorators; - - /// - /// A VerificationCaseUsage is a Usage of a VerificationCaseDefinition. - /// - [Class(xmiId: "_19_0_2_12e503d9_1596821359347_71332_10236", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class VerificationCaseUsage : IVerificationCaseUsage - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// The Behaviors that are the types of this ActionUsage. Nominally, these would be ActionDefinitions, - /// but other kinds of Kernel Behaviors are also allowed, to permit use of Behaviors from the Kernel - /// Model Libraries. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565500905804_589845_30779", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [RedefinedByProperty("ICalculationUsage.CalculationDefinition")] - [Implements(implementation: "IActionUsage.ActionDefinition")] - public List ActionDefinition { get; internal set; } - - /// - /// The parameters of this CaseUsage that represent actors involved in the case. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621464633171_380461_1655", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "ICaseUsage.ActorParameter")] - public List ActorParameter { get; internal set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Behaviors that type this Step. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IExpression.Function")] - [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } - - /// - /// The Function that is the type of this CalculationUsage. Nominally, this would be a - /// CalculationDefinition, but a kernel Function is also allowed, to permit use of Functions from the - /// Kernel Model Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588213526305_899324_302", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1543948477241_299049_20934")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1565500905804_589845_30779")] - [RedefinedByProperty("ICaseUsage.CaseDefinition")] - [Implements(implementation: "ICalculationUsage.CalculationDefinition")] - public Guid? CalculationDefinition { get; internal set; } - - /// - /// The CaseDefinition that is the type of this CaseUsage. - /// - [Property(xmiId: "_19_0_2_59601fc_1590257465225_855208_512", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1588213526305_899324_302")] - [Implements(implementation: "ICaseUsage.CaseDefinition")] - public Guid? CaseDefinition { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds - /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] - [Implements(implementation: "IUsage.Definition")] - public List Definition { get; internal set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IStep.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Usage that are directedFeatures. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Function that types this Expression. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - [RedefinedByProperty("ICalculationUsage.CalculationDefinition")] - [Implements(implementation: "IExpression.Function")] - public Guid? Function { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// The at most one occurrenceDefinition that has isIndividual = true. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public Guid? IndividualDefinition { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its - /// individualDefinition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceUsage.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, - /// using metadata within the model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool IsModelLevelEvaluable { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - public bool IsPortion { get; set; } - - /// - /// Whether this Usage is a referential Usage, that is, it has isComposite = false. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsReference")] - public bool IsReference { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [RedefinedByProperty("IUsage.MayTimeVary")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage - /// must be VariantMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its - /// owningType, rather than being featured by the owningType itself). However, if isConstant is also - /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance - /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary - /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is - /// inherited from Feature. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] - [Implements(implementation: "IUsage.MayTimeVary")] - public bool MayTimeVary { get; internal set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ActionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedAction")] - public List NestedAction { get; internal set; } - - /// - /// The AllocationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedAllocation")] - public List NestedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List NestedAnalysisCase { get; internal set; } - - /// - /// The code>AttributeUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedAttribute")] - public List NestedAttribute { get; internal set; } - - /// - /// The CalculationUsage that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedCalculation")] - public List NestedCalculation { get; internal set; } - - /// - /// The CaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] - [Implements(implementation: "IUsage.NestedCase")] - public List NestedCase { get; internal set; } - - /// - /// The ConcernUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedConcern")] - public List NestedConcern { get; internal set; } - - /// - /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are - /// ConnectorAsUsages even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedConnection")] - public List NestedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedConstraint")] - public List NestedConstraint { get; internal set; } - - /// - /// The code>EnumerationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] - [Implements(implementation: "IUsage.NestedEnumeration")] - public List NestedEnumeration { get; internal set; } - - /// - /// The code>FlowUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedFlow")] - public List NestedFlow { get; internal set; } - - /// - /// The InterfaceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedInterface")] - public List NestedInterface { get; internal set; } - - /// - /// The ItemUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedItem")] - public List NestedItem { get; internal set; } - - /// - /// The MetadataUsages that are nestedUsages of this of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedMetadata")] - public List NestedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedOccurrence")] - public List NestedOccurrence { get; internal set; } - - /// - /// The PartUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedPart")] - public List NestedPart { get; internal set; } - - /// - /// The PortUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedPort")] - public List NestedPort { get; internal set; } - - /// - /// The ReferenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedReference")] - public List NestedReference { get; internal set; } - - /// - /// The RenderingUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedRendering")] - public List NestedRendering { get; internal set; } - - /// - /// The RequirementUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] - [Implements(implementation: "IUsage.NestedRequirement")] - public List NestedRequirement { get; internal set; } - - /// - /// The StateUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedState")] - public List NestedState { get; internal set; } - - /// - /// The TransitionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedTransition")] - public List NestedTransition { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.NestedUsage")] - public List NestedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedUseCase")] - public List NestedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedVerificationCase")] - public List NestedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedView")] - public List NestedView { get; internal set; } - - /// - /// The ViewpointUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedViewpoint")] - public List NestedViewpoint { get; internal set; } - - /// - /// The RequirementUsage representing the objective of this CaseUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591138794257_404044_2145", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "ICaseUsage.ObjectiveRequirement")] - public Guid? ObjectiveRequirement { get; internal set; } - - /// - /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, - /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] - [RedefinedByProperty("IActionUsage.ActionDefinition")] - [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List OccurrenceDefinition { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The Definition that owns this Usage (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] - [Implements(implementation: "IUsage.OwningDefinition")] - public Guid? OwningDefinition { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The Usage in which this Usage is nested (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IUsage.OwningUsage")] - public Guid? OwningUsage { get; internal set; } - - /// - /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into - /// and/or out of a performance of the Step. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If - /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the - /// OccurrenceUsage represents portions of the featuring instance of the owningType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IOccurrenceUsage.PortionKind")] - public PortionKind? PortionKind { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// An output parameter of the Expression whose value is the result of the Expression. The result of an - /// Expression is either inherited from its function or it is related to the Expression via a - /// ReturnParameterMembership, in which case it redefines the result parameter of its function. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [Implements(implementation: "IExpression.Result")] - public Guid Result { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The parameter of this CaseUsage that represents its subject. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595190279083_51021_1128", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "ICaseUsage.SubjectParameter")] - public Guid SubjectParameter { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IUsage.Definition")] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Usage (not necessarily owned). - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IUsage.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = - /// true. If isVariation = false, then there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IUsage.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this - /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IUsage.VariantMembership")] - public List VariantMembership { get; internal set; } - - /// - /// The VerificationCase that is the definition of this VerificationCaseUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821408366_748769_10316", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257465225_855208_512")] - [Implements(implementation: "IVerificationCaseUsage.VerificationCaseDefinition")] - public Guid? VerificationCaseDefinition { get; internal set; } - - /// - /// The RequirementUsages verified by this VerificationCaseUsage, which are the verifiedRequirements of - /// all RequirementVerificationMemberships of the objectiveRequirement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603922396599_812331_357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IVerificationCaseUsage.VerifiedRequirement")] - public List VerifiedRequirement { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.VerificationCases +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Core.DTO.Systems.Cases; + using SysML2.NET.Decorators; + + /// + /// A VerificationCaseUsage is a Usage of a VerificationCaseDefinition. + /// + [Class(xmiId: "_19_0_2_12e503d9_1596821359347_71332_10236", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class VerificationCaseUsage : IVerificationCaseUsage + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// The Behaviors that are the types of this ActionUsage. Nominally, these would be ActionDefinitions, + /// but other kinds of Kernel Behaviors are also allowed, to permit use of Behaviors from the Kernel + /// Model Libraries. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565500905804_589845_30779", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [RedefinedByProperty("ICalculationUsage.CalculationDefinition")] + [Implements(implementation: "IActionUsage.ActionDefinition")] + List Systems.Actions.IActionUsage.actionDefinition => throw new InvalidOperationException("Redefined by property ICalculationUsage.CalculationDefinition"); + + /// + /// The parameters of this CaseUsage that represent actors involved in the case. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621464633171_380461_1655", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "ICaseUsage.ActorParameter")] + public List actorParameter { get; internal set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Behaviors that type this Step. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IExpression.Function")] + [Implements(implementation: "IStep.Behavior")] + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); + + /// + /// The Function that is the type of this CalculationUsage. Nominally, this would be a + /// CalculationDefinition, but a kernel Function is also allowed, to permit use of Functions from the + /// Kernel Model Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588213526305_899324_302", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1543948477241_299049_20934")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1565500905804_589845_30779")] + [RedefinedByProperty("ICaseUsage.CaseDefinition")] + [Implements(implementation: "ICalculationUsage.CalculationDefinition")] + Guid? Systems.Calculations.ICalculationUsage.calculationDefinition => throw new InvalidOperationException("Redefined by property ICaseUsage.CaseDefinition"); + + /// + /// The CaseDefinition that is the type of this CaseUsage. + /// + [Property(xmiId: "_19_0_2_59601fc_1590257465225_855208_512", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1588213526305_899324_302")] + [Implements(implementation: "ICaseUsage.CaseDefinition")] + public Guid? caseDefinition { get; internal set; } + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds + /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] + [Implements(implementation: "IUsage.Definition")] + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IStep.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); + + /// + /// The usages of this Usage that are directedFeatures. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Function that types this Expression. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] + [RedefinedByProperty("ICalculationUsage.CalculationDefinition")] + [Implements(implementation: "IExpression.Function")] + Guid? Kernel.Functions.IExpression.function => throw new InvalidOperationException("Redefined by property ICalculationUsage.CalculationDefinition"); + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// The at most one occurrenceDefinition that has isIndividual = true. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] + public Guid? individualDefinition { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its + /// individualDefinition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceUsage.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, + /// using metadata within the model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IExpression.IsModelLevelEvaluable")] + public bool isModelLevelEvaluable { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + public bool IsPortion { get; set; } + + /// + /// Whether this Usage is a referential Usage, that is, it has isComposite = false. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsReference")] + public bool isReference { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [RedefinedByProperty("IUsage.MayTimeVary")] + [Implements(implementation: "IFeature.IsVariable")] + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } + + /// + /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage + /// must be VariantMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its + /// owningType, rather than being featured by the owningType itself). However, if isConstant is also + /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance + /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary + /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is + /// inherited from Feature. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] + [Implements(implementation: "IUsage.MayTimeVary")] + public bool mayTimeVary { get; internal set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ActionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedAction")] + public List nestedAction { get; internal set; } + + /// + /// The AllocationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedAllocation")] + public List nestedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedAnalysisCase")] + public List nestedAnalysisCase { get; internal set; } + + /// + /// The code>AttributeUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedAttribute")] + public List nestedAttribute { get; internal set; } + + /// + /// The CalculationUsage that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedCalculation")] + public List nestedCalculation { get; internal set; } + + /// + /// The CaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] + [Implements(implementation: "IUsage.NestedCase")] + public List nestedCase { get; internal set; } + + /// + /// The ConcernUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedConcern")] + public List nestedConcern { get; internal set; } + + /// + /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are + /// ConnectorAsUsages even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedConnection")] + public List nestedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedConstraint")] + public List nestedConstraint { get; internal set; } + + /// + /// The code>EnumerationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] + [Implements(implementation: "IUsage.NestedEnumeration")] + public List nestedEnumeration { get; internal set; } + + /// + /// The code>FlowUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedFlow")] + public List nestedFlow { get; internal set; } + + /// + /// The InterfaceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedInterface")] + public List nestedInterface { get; internal set; } + + /// + /// The ItemUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedItem")] + public List nestedItem { get; internal set; } + + /// + /// The MetadataUsages that are nestedUsages of this of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedMetadata")] + public List nestedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedOccurrence")] + public List nestedOccurrence { get; internal set; } + + /// + /// The PartUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedPart")] + public List nestedPart { get; internal set; } + + /// + /// The PortUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedPort")] + public List nestedPort { get; internal set; } + + /// + /// The ReferenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedReference")] + public List nestedReference { get; internal set; } + + /// + /// The RenderingUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedRendering")] + public List nestedRendering { get; internal set; } + + /// + /// The RequirementUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] + [Implements(implementation: "IUsage.NestedRequirement")] + public List nestedRequirement { get; internal set; } + + /// + /// The StateUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedState")] + public List nestedState { get; internal set; } + + /// + /// The TransitionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedTransition")] + public List nestedTransition { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.NestedUsage")] + public List nestedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedUseCase")] + public List nestedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedVerificationCase")] + public List nestedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedView")] + public List nestedView { get; internal set; } + + /// + /// The ViewpointUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedViewpoint")] + public List nestedViewpoint { get; internal set; } + + /// + /// The RequirementUsage representing the objective of this CaseUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591138794257_404044_2145", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "ICaseUsage.ObjectiveRequirement")] + public Guid? objectiveRequirement { get; internal set; } + + /// + /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, + /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] + [RedefinedByProperty("IActionUsage.ActionDefinition")] + [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] + List Systems.Occurrences.IOccurrenceUsage.occurrenceDefinition => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The Definition that owns this Usage (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] + [Implements(implementation: "IUsage.OwningDefinition")] + public Guid? owningDefinition { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The Usage in which this Usage is nested (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IUsage.OwningUsage")] + public Guid? owningUsage { get; internal set; } + + /// + /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into + /// and/or out of a performance of the Step. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IStep.Parameter")] + public List parameter { get; internal set; } + + /// + /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If + /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the + /// OccurrenceUsage represents portions of the featuring instance of the owningType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IOccurrenceUsage.PortionKind")] + public PortionKind? PortionKind { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// An output parameter of the Expression whose value is the result of the Expression. The result of an + /// Expression is either inherited from its function or it is related to the Expression via a + /// ReturnParameterMembership, in which case it redefines the result parameter of its function. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [Implements(implementation: "IExpression.Result")] + public Guid result { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The parameter of this CaseUsage that represents its subject. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595190279083_51021_1128", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "ICaseUsage.SubjectParameter")] + public Guid subjectParameter { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IUsage.Definition")] + [Implements(implementation: "IFeature.Type")] + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Usage (not necessarily owned). + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IUsage.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = + /// true. If isVariation = false, then there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IUsage.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this + /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IUsage.VariantMembership")] + public List variantMembership { get; internal set; } + + /// + /// The VerificationCase that is the definition of this VerificationCaseUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821408366_748769_10316", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257465225_855208_512")] + [Implements(implementation: "IVerificationCaseUsage.VerificationCaseDefinition")] + public Guid? verificationCaseDefinition { get; internal set; } + + /// + /// The RequirementUsages verified by this VerificationCaseUsage, which are the verifiedRequirements of + /// all RequirementVerificationMemberships of the objectiveRequirement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603922396599_812331_357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IVerificationCaseUsage.VerifiedRequirement")] + public List verifiedRequirement { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ViewDefinition.cs b/SysML2.NET/Core/AutoGenDto/ViewDefinition.cs index 75c7e46e..e7c0657e 100644 --- a/SysML2.NET/Core/AutoGenDto/ViewDefinition.cs +++ b/SysML2.NET/Core/AutoGenDto/ViewDefinition.cs @@ -1,806 +1,806 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Views -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Systems.Parts; - using SysML2.NET.Decorators; - - /// - /// A ViewDefinition is a PartDefinition that specifies how a view artifact is constructed to satisfy a - /// viewpoint. It specifies a viewConditions to define the model content to be presented and a - /// viewRendering to define how the model content is presented. - /// - [Class(xmiId: "_19_0_2_59601fc_1583087286915_926479_556", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class ViewDefinition : IViewDefinition - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Definition that are directedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565495064714_974634_26150", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IDefinition.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - public bool IsAbstract { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceDefinition is constrained to represent at most one thing. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618955405499_394357_6740", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceDefinition.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IDefinition.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ActionUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedAction")] - public List OwnedAction { get; internal set; } - - /// - /// The AllocationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedAllocation")] - public List OwnedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List OwnedAnalysisCase { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The AttributeUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedAttribute")] - public List OwnedAttribute { get; internal set; } - - /// - /// The CalculationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - [Implements(implementation: "IDefinition.OwnedCalculation")] - public List OwnedCalculation { get; internal set; } - - /// - /// The code>CaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] - [Implements(implementation: "IDefinition.OwnedCase")] - public List OwnedCase { get; internal set; } - - /// - /// The ConcernUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - [Implements(implementation: "IDefinition.OwnedConcern")] - public List OwnedConcern { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowUsages because these are ConnectorAsUsages - /// even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedConnection")] - public List OwnedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedConstraint")] - public List OwnedConstraint { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The EnumerationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] - [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List OwnedEnumeration { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The FlowUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedFlow")] - public List OwnedFlow { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The InterfaceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedInterface")] - public List OwnedInterface { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The ItemUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedItem")] - public List OwnedItem { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The MetadataUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - [Implements(implementation: "IDefinition.OwnedMetadata")] - public List OwnedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List OwnedOccurrence { get; internal set; } - - /// - /// The PartUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - [Implements(implementation: "IDefinition.OwnedPart")] - public List OwnedPart { get; internal set; } - - /// - /// The PortUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedPort")] - public List OwnedPort { get; internal set; } - - /// - /// The ReferenceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedReference")] - public List OwnedReference { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The RenderingUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - [Implements(implementation: "IDefinition.OwnedRendering")] - public List OwnedRendering { get; internal set; } - - /// - /// The RequirementUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] - [Implements(implementation: "IDefinition.OwnedRequirement")] - public List OwnedRequirement { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The StateUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - [Implements(implementation: "IDefinition.OwnedState")] - public List OwnedState { get; internal set; } - - /// - /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier - /// is the subclassifier. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List OwnedSubclassification { get; internal set; } - - /// - /// The TransitionUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedTransition")] - public List OwnedTransition { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Definition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686637_967933_23236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IDefinition.OwnedUsage")] - public List OwnedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedUseCase")] - public List OwnedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List OwnedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - [Implements(implementation: "IDefinition.OwnedView")] - public List OwnedView { get; internal set; } - - /// - /// The ViewpointUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List OwnedViewpoint { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The composite ownedRequirements of this ViewDefinition that are ViewpointUsages for viewpoints - /// satisfied by the ViewDefinition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596645596183_374903_1209", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - [Implements(implementation: "IViewDefinition.SatisfiedViewpoint")] - public List SatisfiedViewpoint { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Definition (not necessarily owned). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IDefinition.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Definition as a variation point Definition, if - /// isVariation = true. If isVariation = false, the there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IDefinition.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then - /// this must be all ownedMemberships of the Definition. If isVariation = false, then - /// variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IDefinition.VariantMembership")] - public List VariantMembership { get; internal set; } - - /// - /// The usages of this ViewDefinition that are ViewUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644452170_21813_753", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IViewDefinition.View")] - public List View { get; internal set; } - - /// - /// The Expressions related to this ViewDefinition by ElementFilterMemberships, which specify conditions - /// on Elements to be rendered in a view. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606938929077_183245_4796", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IViewDefinition.ViewCondition")] - public List ViewCondition { get; internal set; } - - /// - /// The RenderingUsage to be used to render views defined by this ViewDefinition, which is the - /// referencedRendering of the ViewRenderingMembership of the ViewDefinition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596657187664_758418_4914", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IViewDefinition.ViewRendering")] - public Guid? ViewRendering { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Views +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Systems.Parts; + using SysML2.NET.Decorators; + + /// + /// A ViewDefinition is a PartDefinition that specifies how a view artifact is constructed to satisfy a + /// viewpoint. It specifies a viewConditions to define the model content to be presented and a + /// viewRendering to define how the model content is presented. + /// + [Class(xmiId: "_19_0_2_59601fc_1583087286915_926479_556", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class ViewDefinition : IViewDefinition + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.DirectedFeature")] + public List directedFeature { get; internal set; } + + /// + /// The usages of this Definition that are directedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565495064714_974634_26150", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IDefinition.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + public bool IsAbstract { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceDefinition is constrained to represent at most one thing. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618955405499_394357_6740", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceDefinition.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IDefinition.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ActionUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedAction")] + public List ownedAction { get; internal set; } + + /// + /// The AllocationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedAllocation")] + public List ownedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedAnalysisCase")] + public List ownedAnalysisCase { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The AttributeUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedAttribute")] + public List ownedAttribute { get; internal set; } + + /// + /// The CalculationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] + [Implements(implementation: "IDefinition.OwnedCalculation")] + public List ownedCalculation { get; internal set; } + + /// + /// The code>CaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] + [Implements(implementation: "IDefinition.OwnedCase")] + public List ownedCase { get; internal set; } + + /// + /// The ConcernUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + [Implements(implementation: "IDefinition.OwnedConcern")] + public List ownedConcern { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowUsages because these are ConnectorAsUsages + /// even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedConnection")] + public List ownedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedConstraint")] + public List ownedConstraint { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The EnumerationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] + [Implements(implementation: "IDefinition.OwnedEnumeration")] + public List ownedEnumeration { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The FlowUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedFlow")] + public List ownedFlow { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The InterfaceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedInterface")] + public List ownedInterface { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The ItemUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedItem")] + public List ownedItem { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The MetadataUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] + [Implements(implementation: "IDefinition.OwnedMetadata")] + public List ownedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedOccurrence")] + public List ownedOccurrence { get; internal set; } + + /// + /// The PartUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] + [Implements(implementation: "IDefinition.OwnedPart")] + public List ownedPart { get; internal set; } + + /// + /// The PortUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedPort")] + public List ownedPort { get; internal set; } + + /// + /// The ReferenceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedReference")] + public List ownedReference { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The RenderingUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] + [Implements(implementation: "IDefinition.OwnedRendering")] + public List ownedRendering { get; internal set; } + + /// + /// The RequirementUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] + [Implements(implementation: "IDefinition.OwnedRequirement")] + public List ownedRequirement { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The StateUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] + [Implements(implementation: "IDefinition.OwnedState")] + public List ownedState { get; internal set; } + + /// + /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier + /// is the subclassifier. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [Implements(implementation: "IClassifier.OwnedSubclassification")] + public List ownedSubclassification { get; internal set; } + + /// + /// The TransitionUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedTransition")] + public List ownedTransition { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Definition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686637_967933_23236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IDefinition.OwnedUsage")] + public List ownedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedUseCase")] + public List ownedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedVerificationCase")] + public List ownedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] + [Implements(implementation: "IDefinition.OwnedView")] + public List ownedView { get; internal set; } + + /// + /// The ViewpointUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + [Implements(implementation: "IDefinition.OwnedViewpoint")] + public List ownedViewpoint { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The composite ownedRequirements of this ViewDefinition that are ViewpointUsages for viewpoints + /// satisfied by the ViewDefinition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596645596183_374903_1209", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + [Implements(implementation: "IViewDefinition.SatisfiedViewpoint")] + public List satisfiedViewpoint { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Definition (not necessarily owned). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IDefinition.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Definition as a variation point Definition, if + /// isVariation = true. If isVariation = false, the there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IDefinition.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then + /// this must be all ownedMemberships of the Definition. If isVariation = false, then + /// variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IDefinition.VariantMembership")] + public List variantMembership { get; internal set; } + + /// + /// The usages of this ViewDefinition that are ViewUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644452170_21813_753", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IViewDefinition.View")] + public List view { get; internal set; } + + /// + /// The Expressions related to this ViewDefinition by ElementFilterMemberships, which specify conditions + /// on Elements to be rendered in a view. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606938929077_183245_4796", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IViewDefinition.ViewCondition")] + public List viewCondition { get; internal set; } + + /// + /// The RenderingUsage to be used to render views defined by this ViewDefinition, which is the + /// referencedRendering of the ViewRenderingMembership of the ViewDefinition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596657187664_758418_4914", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IViewDefinition.ViewRendering")] + public Guid? viewRendering { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ViewRenderingMembership.cs b/SysML2.NET/Core/AutoGenDto/ViewRenderingMembership.cs index a9125d82..619994b7 100644 --- a/SysML2.NET/Core/AutoGenDto/ViewRenderingMembership.cs +++ b/SysML2.NET/Core/AutoGenDto/ViewRenderingMembership.cs @@ -1,389 +1,409 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Views -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Root.Namespaces; - using SysML2.NET.Core.DTO.Core.Types; - using SysML2.NET.Decorators; - - /// - /// A ViewRenderingMembership is a FeatureMembership that identifies the viewRendering of a - /// ViewDefinition or ViewUsage. - /// - [Class(xmiId: "_19_0_4_12e503d9_1617134177967_461389_5877", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class ViewRenderingMembership : IViewRenderingMembership - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being - /// directly created by a modeler. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IRelationship.IsImplied")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_819490_43195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] - [Implements(implementation: "IMembership.MemberElement")] - public Guid MemberElement { get; set; } - - /// - /// The elementId of the memberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] - [Implements(implementation: "IMembership.MemberElementId")] - public string MemberElementId { get; internal set; } - - /// - /// The name of the memberElement relative to the membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberName")] - [Implements(implementation: "IMembership.MemberName")] - public string MemberName { get; set; } - - /// - /// The Namespace of which the memberElement becomes a member due to this Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_193857_43197", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_531296_43182")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - [RedefinedByProperty("IFeatureMembership.OwningType")] - [Implements(implementation: "IMembership.MembershipOwningNamespace")] - public Guid MembershipOwningNamespace { get; internal set; } - - /// - /// The short name of the memberElement relative to the membershipOwningNamespace. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] - [Implements(implementation: "IMembership.MemberShortName")] - public string MemberShortName { get; set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this - /// OwningMembership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_501750_43196", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_59873_43302")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] - [RedefinedByProperty("IFeatureMembership.OwnedMemberFeature")] - [Implements(implementation: "IOwningMembership.OwnedMemberElement")] - public Guid OwnedMemberElement { get; internal set; } - - /// - /// The elementId of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] - [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] - public string OwnedMemberElementId { get; internal set; } - - /// - /// The Feature that this FeatureMembership relates to its owningType, making it an ownedFeature of the - /// owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_898044_43344", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] - [RedefinedByProperty("IViewRenderingMembership.OwnedRendering")] - [Implements(implementation: "IFeatureMembership.OwnedMemberFeature")] - public Guid OwnedMemberFeature { get; internal set; } - - /// - /// The name of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] - [Implements(implementation: "IOwningMembership.OwnedMemberName")] - public string OwnedMemberName { get; internal set; } - - /// - /// The shortName of the ownedMemberElement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] - [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] - public string OwnedMemberShortName { get; internal set; } - - /// - /// The relatedElements of this Relationship that are owned by the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwnedRelatedElement")] - public List OwnedRelatedElement { get; set; } = []; - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The owned RenderingUsage that is either itself the referencedRendering or subsets the - /// referencedRendering. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617134244546_130200_6000", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] - [Implements(implementation: "IViewRenderingMembership.OwnedRendering")] - public Guid OwnedRendering { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The relatedElement of this Relationship that owns the Relationship, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [Implements(implementation: "IRelationship.OwningRelatedElement")] - public Guid? OwningRelatedElement { get; set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that owns this FeatureMembership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_418504_43339", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866524_738482_486")] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] - [Implements(implementation: "IFeatureMembership.OwningType")] - public Guid OwningType { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The RenderingUsage that is referenced through this ViewRenderingMembership. It is the - /// referencedFeature of the ownedReferenceSubsetting for the ownedRendering, if there is one, and, - /// otherwise, the ownedRendering itself. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617134300857_286392_6081", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IViewRenderingMembership.ReferencedRendering")] - public Guid ReferencedRendering { get; internal set; } - - /// - /// The Elements that are related by this Relationship, derived as the union of the source and target - /// Elements of the Relationship. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IRelationship.RelatedElement")] - public List RelatedElement { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The relatedElements from which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IMembership.MembershipOwningNamespace")] - [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; - - /// - /// The relatedElements to which this Relationship is considered to be directed. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - [RedefinedByProperty("IMembership.MemberElement")] - [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly - /// visible outside that Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674964_42975_43193", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "public")] - [Implements(implementation: "IMembership.Visibility")] - public VisibilityKind Visibility { get; set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Views +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Root.Namespaces; + using SysML2.NET.Core.DTO.Core.Types; + using SysML2.NET.Decorators; + + /// + /// A ViewRenderingMembership is a FeatureMembership that identifies the viewRendering of a + /// ViewDefinition or ViewUsage. + /// + [Class(xmiId: "_19_0_4_12e503d9_1617134177967_461389_5877", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class ViewRenderingMembership : IViewRenderingMembership + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being + /// directly created by a modeler. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070829631_521257_3623", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IRelationship.IsImplied")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_819490_43195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] + [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] + [Implements(implementation: "IMembership.MemberElement")] + Guid Root.Namespaces.IMembership.MemberElement + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + } + + /// + /// The elementId of the memberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] + [Implements(implementation: "IMembership.MemberElementId")] + string Root.Namespaces.IMembership.memberElementId => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElementId"); + + /// + /// The name of the memberElement relative to the membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberName")] + [Implements(implementation: "IMembership.MemberName")] + string Root.Namespaces.IMembership.MemberName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + } + + /// + /// The Namespace of which the memberElement becomes a member due to this Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_193857_43197", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_531296_43182")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] + [RedefinedByProperty("IFeatureMembership.OwningType")] + [Implements(implementation: "IMembership.MembershipOwningNamespace")] + Guid Root.Namespaces.IMembership.membershipOwningNamespace => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwningType"); + + /// + /// The short name of the memberElement relative to the membershipOwningNamespace. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] + [Implements(implementation: "IMembership.MemberShortName")] + string Root.Namespaces.IMembership.MemberShortName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this + /// OwningMembership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_501750_43196", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_59873_43302")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] + [RedefinedByProperty("IFeatureMembership.OwnedMemberFeature")] + [Implements(implementation: "IOwningMembership.OwnedMemberElement")] + Guid Root.Namespaces.IOwningMembership.ownedMemberElement => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwnedMemberFeature"); + + /// + /// The elementId of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] + [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] + public string ownedMemberElementId { get; internal set; } + + /// + /// The Feature that this FeatureMembership relates to its owningType, making it an ownedFeature of the + /// owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_898044_43344", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] + [RedefinedByProperty("IViewRenderingMembership.OwnedRendering")] + [Implements(implementation: "IFeatureMembership.OwnedMemberFeature")] + Guid Core.Types.IFeatureMembership.ownedMemberFeature => throw new InvalidOperationException("Redefined by property IViewRenderingMembership.OwnedRendering"); + + /// + /// The name of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] + [Implements(implementation: "IOwningMembership.OwnedMemberName")] + public string ownedMemberName { get; internal set; } + + /// + /// The shortName of the ownedMemberElement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] + [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] + public string ownedMemberShortName { get; internal set; } + + /// + /// The relatedElements of this Relationship that are owned by the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_59873_43302", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwnedRelatedElement")] + public List OwnedRelatedElement { get; set; } = []; + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The owned RenderingUsage that is either itself the referencedRendering or subsets the + /// referencedRendering. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617134244546_130200_6000", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] + [Implements(implementation: "IViewRenderingMembership.OwnedRendering")] + public Guid ownedRendering { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The relatedElement of this Relationship that owns the Relationship, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_693018_16749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [Implements(implementation: "IRelationship.OwningRelatedElement")] + public Guid? OwningRelatedElement { get; set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that owns this FeatureMembership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_418504_43339", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866524_738482_486")] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] + [Implements(implementation: "IFeatureMembership.OwningType")] + public Guid owningType { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The RenderingUsage that is referenced through this ViewRenderingMembership. It is the + /// referencedFeature of the ownedReferenceSubsetting for the ownedRendering, if there is one, and, + /// otherwise, the ownedRendering itself. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617134300857_286392_6081", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IViewRenderingMembership.ReferencedRendering")] + public Guid referencedRendering { get; internal set; } + + /// + /// The Elements that are related by this Relationship, derived as the union of the source and target + /// Elements of the Relationship. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IRelationship.RelatedElement")] + public List relatedElement { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The relatedElements from which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674971_696758_43228", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IMembership.MembershipOwningNamespace")] + [Implements(implementation: "IRelationship.Source")] + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + } + + /// + /// The relatedElements to which this Relationship is considered to be directed. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674961_138197_43179", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] + [RedefinedByProperty("IMembership.MemberElement")] + [Implements(implementation: "IRelationship.Target")] + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + set => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly + /// visible outside that Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674964_42975_43193", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "public")] + [Implements(implementation: "IMembership.Visibility")] + public VisibilityKind Visibility { get; set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ViewUsage.cs b/SysML2.NET/Core/AutoGenDto/ViewUsage.cs index 008f3ebe..e911d3a1 100644 --- a/SysML2.NET/Core/AutoGenDto/ViewUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/ViewUsage.cs @@ -1,1134 +1,1138 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Views -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Core.DTO.Systems.Parts; - using SysML2.NET.Decorators; - - /// - /// A ViewUsage is a usage of a ViewDefinition to specify the generation of a view of the members of a - /// collection of exposedNamespaces. The ViewUsage can satisfy more viewpoints than its definition, and - /// it can specialize the viewRendering specified by its definition. - /// - [Class(xmiId: "_19_0_2_12e503d9_1596644366280_485907_701", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class ViewUsage : IViewUsage - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds - /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] - [Implements(implementation: "IUsage.Definition")] - public List Definition { get; internal set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Usage that are directedFeatures. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The Elements that are exposed by this ViewUsage, which are those memberElements of the imported - /// Memberships from all the Expose Relationships that meet all the owned and inherited viewConditions. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596648681658_691767_2705", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IViewUsage.ExposedElement")] - public List ExposedElement { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// The at most one occurrenceDefinition that has isIndividual = true. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public Guid? IndividualDefinition { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its - /// individualDefinition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceUsage.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - public bool IsPortion { get; set; } - - /// - /// Whether this Usage is a referential Usage, that is, it has isComposite = false. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsReference")] - public bool IsReference { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [RedefinedByProperty("IUsage.MayTimeVary")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage - /// must be VariantMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// The Structures that are the definitions of this ItemUsage. Nominally, these are ItemDefinitions, but - /// other kinds of Kernel Structures are also allowed, to permit use of Structures from the Kernel - /// Library. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565471361757_649736_20796", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IItemUsage.ItemDefinition")] - public List ItemDefinition { get; internal set; } - - /// - /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its - /// owningType, rather than being featured by the owningType itself). However, if isConstant is also - /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance - /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary - /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is - /// inherited from Feature. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] - [Implements(implementation: "IUsage.MayTimeVary")] - public bool MayTimeVary { get; internal set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ActionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedAction")] - public List NestedAction { get; internal set; } - - /// - /// The AllocationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedAllocation")] - public List NestedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List NestedAnalysisCase { get; internal set; } - - /// - /// The code>AttributeUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedAttribute")] - public List NestedAttribute { get; internal set; } - - /// - /// The CalculationUsage that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedCalculation")] - public List NestedCalculation { get; internal set; } - - /// - /// The CaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] - [Implements(implementation: "IUsage.NestedCase")] - public List NestedCase { get; internal set; } - - /// - /// The ConcernUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedConcern")] - public List NestedConcern { get; internal set; } - - /// - /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are - /// ConnectorAsUsages even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedConnection")] - public List NestedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedConstraint")] - public List NestedConstraint { get; internal set; } - - /// - /// The code>EnumerationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] - [Implements(implementation: "IUsage.NestedEnumeration")] - public List NestedEnumeration { get; internal set; } - - /// - /// The code>FlowUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedFlow")] - public List NestedFlow { get; internal set; } - - /// - /// The InterfaceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedInterface")] - public List NestedInterface { get; internal set; } - - /// - /// The ItemUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedItem")] - public List NestedItem { get; internal set; } - - /// - /// The MetadataUsages that are nestedUsages of this of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedMetadata")] - public List NestedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedOccurrence")] - public List NestedOccurrence { get; internal set; } - - /// - /// The PartUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedPart")] - public List NestedPart { get; internal set; } - - /// - /// The PortUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedPort")] - public List NestedPort { get; internal set; } - - /// - /// The ReferenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedReference")] - public List NestedReference { get; internal set; } - - /// - /// The RenderingUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedRendering")] - public List NestedRendering { get; internal set; } - - /// - /// The RequirementUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] - [Implements(implementation: "IUsage.NestedRequirement")] - public List NestedRequirement { get; internal set; } - - /// - /// The StateUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedState")] - public List NestedState { get; internal set; } - - /// - /// The TransitionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedTransition")] - public List NestedTransition { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.NestedUsage")] - public List NestedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedUseCase")] - public List NestedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedVerificationCase")] - public List NestedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedView")] - public List NestedView { get; internal set; } - - /// - /// The ViewpointUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedViewpoint")] - public List NestedViewpoint { get; internal set; } - - /// - /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, - /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] - [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List OccurrenceDefinition { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The Definition that owns this Usage (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] - [Implements(implementation: "IUsage.OwningDefinition")] - public Guid? OwningDefinition { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The Usage in which this Usage is nested (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IUsage.OwningUsage")] - public Guid? OwningUsage { get; internal set; } - - /// - /// The itemDefinitions of this PartUsage that are PartDefinitions. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591475180488_929065_121", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565471361757_649736_20796")] - [RedefinedByProperty("IViewUsage.ViewDefinition")] - [Implements(implementation: "IPartUsage.PartDefinition")] - public List PartDefinition { get; internal set; } - - /// - /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If - /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the - /// OccurrenceUsage represents portions of the featuring instance of the owningType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IOccurrenceUsage.PortionKind")] - public PortionKind? PortionKind { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The nestedRequirements of this ViewUsage that are ViewpointUsages for (additional) viewpoints - /// satisfied by the ViewUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596645688987_502277_1282", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IViewUsage.SatisfiedViewpoint")] - public List SatisfiedViewpoint { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IUsage.Definition")] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Usage (not necessarily owned). - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IUsage.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = - /// true. If isVariation = false, then there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IUsage.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this - /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IUsage.VariantMembership")] - public List VariantMembership { get; internal set; } - - /// - /// The Expressions related to this ViewUsage by ElementFilterMemberships, which specify conditions on - /// Elements to be rendered in a view. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606938933668_437943_4809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IViewUsage.ViewCondition")] - public List ViewCondition { get; internal set; } - - /// - /// The ViewDefinition that is the definition of this ViewUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644438889_580287_734", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591475180488_929065_121")] - [Implements(implementation: "IViewUsage.ViewDefinition")] - public Guid? ViewDefinition { get; internal set; } - - /// - /// The RenderingUsage to be used to render views defined by this ViewUsage, which is the - /// referencedRendering of the ViewRenderingMembership of the ViewUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596657318021_274182_5067", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IViewUsage.ViewRendering")] - public Guid? ViewRendering { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Views +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Core.DTO.Systems.Parts; + using SysML2.NET.Decorators; + + /// + /// A ViewUsage is a usage of a ViewDefinition to specify the generation of a view of the members of a + /// collection of exposedNamespaces. The ViewUsage can satisfy more viewpoints than its definition, and + /// it can specialize the viewRendering specified by its definition. + /// + [Class(xmiId: "_19_0_2_12e503d9_1596644366280_485907_701", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class ViewUsage : IViewUsage + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds + /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] + [Implements(implementation: "IUsage.Definition")] + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.DirectedFeature")] + public List directedFeature { get; internal set; } + + /// + /// The usages of this Usage that are directedFeatures. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The Elements that are exposed by this ViewUsage, which are those memberElements of the imported + /// Memberships from all the Expose Relationships that meet all the owned and inherited viewConditions. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596648681658_691767_2705", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IViewUsage.ExposedElement")] + public List exposedElement { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// The at most one occurrenceDefinition that has isIndividual = true. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] + public Guid? individualDefinition { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its + /// individualDefinition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceUsage.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + public bool IsPortion { get; set; } + + /// + /// Whether this Usage is a referential Usage, that is, it has isComposite = false. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsReference")] + public bool isReference { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [RedefinedByProperty("IUsage.MayTimeVary")] + [Implements(implementation: "IFeature.IsVariable")] + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } + + /// + /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage + /// must be VariantMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// The Structures that are the definitions of this ItemUsage. Nominally, these are ItemDefinitions, but + /// other kinds of Kernel Structures are also allowed, to permit use of Structures from the Kernel + /// Library. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565471361757_649736_20796", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IItemUsage.ItemDefinition")] + public List itemDefinition { get; internal set; } + + /// + /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its + /// owningType, rather than being featured by the owningType itself). However, if isConstant is also + /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance + /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary + /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is + /// inherited from Feature. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] + [Implements(implementation: "IUsage.MayTimeVary")] + public bool mayTimeVary { get; internal set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ActionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedAction")] + public List nestedAction { get; internal set; } + + /// + /// The AllocationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedAllocation")] + public List nestedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedAnalysisCase")] + public List nestedAnalysisCase { get; internal set; } + + /// + /// The code>AttributeUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedAttribute")] + public List nestedAttribute { get; internal set; } + + /// + /// The CalculationUsage that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedCalculation")] + public List nestedCalculation { get; internal set; } + + /// + /// The CaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] + [Implements(implementation: "IUsage.NestedCase")] + public List nestedCase { get; internal set; } + + /// + /// The ConcernUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedConcern")] + public List nestedConcern { get; internal set; } + + /// + /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are + /// ConnectorAsUsages even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedConnection")] + public List nestedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedConstraint")] + public List nestedConstraint { get; internal set; } + + /// + /// The code>EnumerationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] + [Implements(implementation: "IUsage.NestedEnumeration")] + public List nestedEnumeration { get; internal set; } + + /// + /// The code>FlowUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedFlow")] + public List nestedFlow { get; internal set; } + + /// + /// The InterfaceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedInterface")] + public List nestedInterface { get; internal set; } + + /// + /// The ItemUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedItem")] + public List nestedItem { get; internal set; } + + /// + /// The MetadataUsages that are nestedUsages of this of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedMetadata")] + public List nestedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedOccurrence")] + public List nestedOccurrence { get; internal set; } + + /// + /// The PartUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedPart")] + public List nestedPart { get; internal set; } + + /// + /// The PortUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedPort")] + public List nestedPort { get; internal set; } + + /// + /// The ReferenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedReference")] + public List nestedReference { get; internal set; } + + /// + /// The RenderingUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedRendering")] + public List nestedRendering { get; internal set; } + + /// + /// The RequirementUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] + [Implements(implementation: "IUsage.NestedRequirement")] + public List nestedRequirement { get; internal set; } + + /// + /// The StateUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedState")] + public List nestedState { get; internal set; } + + /// + /// The TransitionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedTransition")] + public List nestedTransition { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.NestedUsage")] + public List nestedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedUseCase")] + public List nestedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedVerificationCase")] + public List nestedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedView")] + public List nestedView { get; internal set; } + + /// + /// The ViewpointUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedViewpoint")] + public List nestedViewpoint { get; internal set; } + + /// + /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, + /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] + [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] + public List occurrenceDefinition { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The Definition that owns this Usage (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] + [Implements(implementation: "IUsage.OwningDefinition")] + public Guid? owningDefinition { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The Usage in which this Usage is nested (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IUsage.OwningUsage")] + public Guid? owningUsage { get; internal set; } + + /// + /// The itemDefinitions of this PartUsage that are PartDefinitions. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591475180488_929065_121", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565471361757_649736_20796")] + [RedefinedByProperty("IViewUsage.ViewDefinition")] + [Implements(implementation: "IPartUsage.PartDefinition")] + List Systems.Parts.IPartUsage.partDefinition => throw new InvalidOperationException("Redefined by property IViewUsage.ViewDefinition"); + + /// + /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If + /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the + /// OccurrenceUsage represents portions of the featuring instance of the owningType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IOccurrenceUsage.PortionKind")] + public PortionKind? PortionKind { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The nestedRequirements of this ViewUsage that are ViewpointUsages for (additional) viewpoints + /// satisfied by the ViewUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596645688987_502277_1282", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IViewUsage.SatisfiedViewpoint")] + public List satisfiedViewpoint { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IUsage.Definition")] + [Implements(implementation: "IFeature.Type")] + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Usage (not necessarily owned). + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IUsage.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = + /// true. If isVariation = false, then there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IUsage.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this + /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IUsage.VariantMembership")] + public List variantMembership { get; internal set; } + + /// + /// The Expressions related to this ViewUsage by ElementFilterMemberships, which specify conditions on + /// Elements to be rendered in a view. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606938933668_437943_4809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IViewUsage.ViewCondition")] + public List viewCondition { get; internal set; } + + /// + /// The ViewDefinition that is the definition of this ViewUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644438889_580287_734", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591475180488_929065_121")] + [Implements(implementation: "IViewUsage.ViewDefinition")] + public Guid? viewDefinition { get; internal set; } + + /// + /// The RenderingUsage to be used to render views defined by this ViewUsage, which is the + /// referencedRendering of the ViewRenderingMembership of the ViewUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596657318021_274182_5067", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IViewUsage.ViewRendering")] + public Guid? viewRendering { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ViewpointDefinition.cs b/SysML2.NET/Core/AutoGenDto/ViewpointDefinition.cs index d5f2d224..9d66b15b 100644 --- a/SysML2.NET/Core/AutoGenDto/ViewpointDefinition.cs +++ b/SysML2.NET/Core/AutoGenDto/ViewpointDefinition.cs @@ -1,901 +1,905 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Views -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.DTO.Systems.Requirements; - using SysML2.NET.Decorators; - - /// - /// A ViewpointDefinition is a RequirementDefinition that specifies one or more stakeholder concerns - /// that are to be satisfied by creating a view of a model. - /// - [Class(xmiId: "_19_0_2_12e503d9_1596649640349_746765_3429", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class ViewpointDefinition : IViewpointDefinition - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// The parameters of this RequirementDefinition that represent actors involved in the requirement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621564041941_652319_2722", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IRequirementDefinition.ActorParameter")] - public List ActorParameter { get; internal set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The owned ConstraintUsages that represent assumptions of this RequirementDefinition, which are the - /// ownedConstraints of the RequirementConstraintMemberships of the RequirementDefinition with kind = - /// assumption. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583376806647_629021_133", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IRequirementDefinition.AssumedConstraint")] - public List AssumedConstraint { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IRequirementDefinition.ReqId")] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IBehavior.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Definition that are directedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565495064714_974634_26150", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IDefinition.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Expressions that are steps in the calculation of the result of this Function. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948400639_301251_20841", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] - [Implements(implementation: "IFunction.Expression")] - public List Expression { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The ConcernUsages framed by this RequirementDefinition, which are the ownedConcerns of all - /// FramedConcernMemberships of the RequirementDefinition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617116733499_587735_3242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583376932997_792124_158")] - [Implements(implementation: "IRequirementDefinition.FramedConcern")] - public List FramedConcern { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - public bool IsAbstract { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceDefinition is constrained to represent at most one thing. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618955405499_394357_6740", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceDefinition.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether this Function can be used as the function of a model-level evaluable InvocationExpression. - /// Certain Functions from the Kernel Functions Library are considered to have isModelLevelEvaluable = - /// true. For all other Functions it is false.Note: See the specification of the KerML - /// concrete syntax notation for Expressions for an identification of which library Functions are - /// model-level evaluable. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617395221463_139517_26381", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFunction.IsModelLevelEvaluable")] - public bool IsModelLevelEvaluable { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IDefinition.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ActionUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedAction")] - public List OwnedAction { get; internal set; } - - /// - /// The AllocationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedAllocation")] - public List OwnedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List OwnedAnalysisCase { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// The AttributeUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedAttribute")] - public List OwnedAttribute { get; internal set; } - - /// - /// The CalculationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - [Implements(implementation: "IDefinition.OwnedCalculation")] - public List OwnedCalculation { get; internal set; } - - /// - /// The code>CaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] - [Implements(implementation: "IDefinition.OwnedCase")] - public List OwnedCase { get; internal set; } - - /// - /// The ConcernUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - [Implements(implementation: "IDefinition.OwnedConcern")] - public List OwnedConcern { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowUsages because these are ConnectorAsUsages - /// even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedConnection")] - public List OwnedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedConstraint")] - public List OwnedConstraint { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The EnumerationUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] - [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List OwnedEnumeration { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The FlowUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedFlow")] - public List OwnedFlow { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The InterfaceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - [Implements(implementation: "IDefinition.OwnedInterface")] - public List OwnedInterface { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The ItemUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - [Implements(implementation: "IDefinition.OwnedItem")] - public List OwnedItem { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The MetadataUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - [Implements(implementation: "IDefinition.OwnedMetadata")] - public List OwnedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List OwnedOccurrence { get; internal set; } - - /// - /// The PartUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - [Implements(implementation: "IDefinition.OwnedPart")] - public List OwnedPart { get; internal set; } - - /// - /// The PortUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedPort")] - public List OwnedPort { get; internal set; } - - /// - /// The ReferenceUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedReference")] - public List OwnedReference { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The RenderingUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - [Implements(implementation: "IDefinition.OwnedRendering")] - public List OwnedRendering { get; internal set; } - - /// - /// The RequirementUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] - [Implements(implementation: "IDefinition.OwnedRequirement")] - public List OwnedRequirement { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The StateUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - [Implements(implementation: "IDefinition.OwnedState")] - public List OwnedState { get; internal set; } - - /// - /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier - /// is the subclassifier. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List OwnedSubclassification { get; internal set; } - - /// - /// The TransitionUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - [Implements(implementation: "IDefinition.OwnedTransition")] - public List OwnedTransition { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Definition. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686637_967933_23236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IDefinition.OwnedUsage")] - public List OwnedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedUseCase")] - public List OwnedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List OwnedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - [Implements(implementation: "IDefinition.OwnedView")] - public List OwnedView { get; internal set; } - - /// - /// The ViewpointUsages that are ownedUsages of this Definition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List OwnedViewpoint { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The parameters of this Behavior, which are defined as its directedFeatures, whose values are passed - /// into and/or out of a performance of the Behavior. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948010065_362066_20413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IBehavior.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// An optional modeler-specified identifier for this RequirementDefinition (used, e.g., to link it to - /// an original requirement text in some source document), which is the declaredShortName for the - /// RequirementDefinition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583376411386_270321_92", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1594160442439_915308_4153")] - [Implements(implementation: "IRequirementDefinition.ReqId")] - public string ReqId { get; set; } - - /// - /// The owned ConstraintUsages that represent requirements of this RequirementDefinition, derived as the - /// ownedConstraints of the RequirementConstraintMemberships of the RequirementDefinition with kind = - /// requirement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583376932997_792124_158", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IRequirementDefinition.RequiredConstraint")] - public List RequiredConstraint { get; internal set; } - - /// - /// The object or value that is the result of evaluating the Function. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948912268_88159_21323", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] - [Implements(implementation: "IFunction.Result")] - public Guid Result { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The parameters of this RequirementDefinition that represent stakeholders for th requirement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624033010374_29375_40166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IRequirementDefinition.StakeholderParameter")] - public List StakeholderParameter { get; internal set; } - - /// - /// The Steps that make up this Behavior. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346067212_587255_17343", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IBehavior.Step")] - public List Step { get; internal set; } - - /// - /// The parameter of this RequirementDefinition that represents its subject. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189007408_784255_586", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - [Implements(implementation: "IRequirementDefinition.SubjectParameter")] - public Guid SubjectParameter { get; internal set; } - - /// - /// An optional textual statement of the requirement represented by this RequirementDefinition, derived - /// from the bodies of the documentation of the RequirementDefinition. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583376433122_189839_94", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IRequirementDefinition.Text")] - public List Text { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Definition (not necessarily owned). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IDefinition.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Definition as a variation point Definition, if - /// isVariation = true. If isVariation = false, the there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IDefinition.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then - /// this must be all ownedMemberships of the Definition. If isVariation = false, then - /// variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IDefinition.VariantMembership")] - public List VariantMembership { get; internal set; } - - /// - /// The PartUsages that identify the stakeholders with concerns framed by this ViewpointDefinition, - /// which are the owned and inherited stakeholderParameters of the framedConcerns of this - /// ViewpointDefinition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617117194003_518610_3310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IViewpointDefinition.ViewpointStakeholder")] - public List ViewpointStakeholder { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Views +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.DTO.Systems.Requirements; + using SysML2.NET.Decorators; + + /// + /// A ViewpointDefinition is a RequirementDefinition that specifies one or more stakeholder concerns + /// that are to be satisfied by creating a view of a model. + /// + [Class(xmiId: "_19_0_2_12e503d9_1596649640349_746765_3429", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class ViewpointDefinition : IViewpointDefinition + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// The parameters of this RequirementDefinition that represent actors involved in the requirement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621564041941_652319_2722", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IRequirementDefinition.ActorParameter")] + public List actorParameter { get; internal set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The owned ConstraintUsages that represent assumptions of this RequirementDefinition, which are the + /// ownedConstraints of the RequirementConstraintMemberships of the RequirementDefinition with kind = + /// assumption. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583376806647_629021_133", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IRequirementDefinition.AssumedConstraint")] + public List assumedConstraint { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IRequirementDefinition.ReqId")] + [Implements(implementation: "IElement.DeclaredShortName")] + string Root.Elements.IElement.DeclaredShortName + { + get => throw new InvalidOperationException("Redefined by property IRequirementDefinition.ReqId"); + set => throw new InvalidOperationException("Redefined by property IRequirementDefinition.ReqId"); + } + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IBehavior.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IBehavior.Parameter"); + + /// + /// The usages of this Definition that are directedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565495064714_974634_26150", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IDefinition.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Expressions that are steps in the calculation of the result of this Function. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948400639_301251_20841", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] + [Implements(implementation: "IFunction.Expression")] + public List expression { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The ConcernUsages framed by this RequirementDefinition, which are the ownedConcerns of all + /// FramedConcernMemberships of the RequirementDefinition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617116733499_587735_3242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583376932997_792124_158")] + [Implements(implementation: "IRequirementDefinition.FramedConcern")] + public List framedConcern { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + public bool IsAbstract { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceDefinition is constrained to represent at most one thing. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618955405499_394357_6740", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceDefinition.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether this Function can be used as the function of a model-level evaluable InvocationExpression. + /// Certain Functions from the Kernel Functions Library are considered to have isModelLevelEvaluable = + /// true. For all other Functions it is false.Note: See the specification of the KerML + /// concrete syntax notation for Expressions for an identification of which library Functions are + /// model-level evaluable. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617395221463_139517_26381", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFunction.IsModelLevelEvaluable")] + public bool isModelLevelEvaluable { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IDefinition.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ActionUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedAction")] + public List ownedAction { get; internal set; } + + /// + /// The AllocationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedAllocation")] + public List ownedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedAnalysisCase")] + public List ownedAnalysisCase { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// The AttributeUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedAttribute")] + public List ownedAttribute { get; internal set; } + + /// + /// The CalculationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] + [Implements(implementation: "IDefinition.OwnedCalculation")] + public List ownedCalculation { get; internal set; } + + /// + /// The code>CaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] + [Implements(implementation: "IDefinition.OwnedCase")] + public List ownedCase { get; internal set; } + + /// + /// The ConcernUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + [Implements(implementation: "IDefinition.OwnedConcern")] + public List ownedConcern { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowUsages because these are ConnectorAsUsages + /// even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedConnection")] + public List ownedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedConstraint")] + public List ownedConstraint { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The EnumerationUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] + [Implements(implementation: "IDefinition.OwnedEnumeration")] + public List ownedEnumeration { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The FlowUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedFlow")] + public List ownedFlow { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The InterfaceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] + [Implements(implementation: "IDefinition.OwnedInterface")] + public List ownedInterface { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The ItemUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] + [Implements(implementation: "IDefinition.OwnedItem")] + public List ownedItem { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The MetadataUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] + [Implements(implementation: "IDefinition.OwnedMetadata")] + public List ownedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedOccurrence")] + public List ownedOccurrence { get; internal set; } + + /// + /// The PartUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] + [Implements(implementation: "IDefinition.OwnedPart")] + public List ownedPart { get; internal set; } + + /// + /// The PortUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedPort")] + public List ownedPort { get; internal set; } + + /// + /// The ReferenceUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedReference")] + public List ownedReference { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The RenderingUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] + [Implements(implementation: "IDefinition.OwnedRendering")] + public List ownedRendering { get; internal set; } + + /// + /// The RequirementUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] + [Implements(implementation: "IDefinition.OwnedRequirement")] + public List ownedRequirement { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The StateUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] + [Implements(implementation: "IDefinition.OwnedState")] + public List ownedState { get; internal set; } + + /// + /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier + /// is the subclassifier. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [Implements(implementation: "IClassifier.OwnedSubclassification")] + public List ownedSubclassification { get; internal set; } + + /// + /// The TransitionUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] + [Implements(implementation: "IDefinition.OwnedTransition")] + public List ownedTransition { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Definition. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686637_967933_23236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IDefinition.OwnedUsage")] + public List ownedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedUseCase")] + public List ownedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] + [Implements(implementation: "IDefinition.OwnedVerificationCase")] + public List ownedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] + [Implements(implementation: "IDefinition.OwnedView")] + public List ownedView { get; internal set; } + + /// + /// The ViewpointUsages that are ownedUsages of this Definition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] + [Implements(implementation: "IDefinition.OwnedViewpoint")] + public List ownedViewpoint { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The parameters of this Behavior, which are defined as its directedFeatures, whose values are passed + /// into and/or out of a performance of the Behavior. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948010065_362066_20413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IBehavior.Parameter")] + public List parameter { get; internal set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// An optional modeler-specified identifier for this RequirementDefinition (used, e.g., to link it to + /// an original requirement text in some source document), which is the declaredShortName for the + /// RequirementDefinition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583376411386_270321_92", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1594160442439_915308_4153")] + [Implements(implementation: "IRequirementDefinition.ReqId")] + public string ReqId { get; set; } + + /// + /// The owned ConstraintUsages that represent requirements of this RequirementDefinition, derived as the + /// ownedConstraints of the RequirementConstraintMemberships of the RequirementDefinition with kind = + /// requirement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583376932997_792124_158", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IRequirementDefinition.RequiredConstraint")] + public List requiredConstraint { get; internal set; } + + /// + /// The object or value that is the result of evaluating the Function. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948912268_88159_21323", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] + [Implements(implementation: "IFunction.Result")] + public Guid result { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The parameters of this RequirementDefinition that represent stakeholders for th requirement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624033010374_29375_40166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IRequirementDefinition.StakeholderParameter")] + public List stakeholderParameter { get; internal set; } + + /// + /// The Steps that make up this Behavior. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346067212_587255_17343", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IBehavior.Step")] + public List step { get; internal set; } + + /// + /// The parameter of this RequirementDefinition that represents its subject. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189007408_784255_586", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] + [Implements(implementation: "IRequirementDefinition.SubjectParameter")] + public Guid subjectParameter { get; internal set; } + + /// + /// An optional textual statement of the requirement represented by this RequirementDefinition, derived + /// from the bodies of the documentation of the RequirementDefinition. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583376433122_189839_94", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IRequirementDefinition.Text")] + public List text { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Definition (not necessarily owned). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IDefinition.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Definition as a variation point Definition, if + /// isVariation = true. If isVariation = false, the there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IDefinition.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then + /// this must be all ownedMemberships of the Definition. If isVariation = false, then + /// variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IDefinition.VariantMembership")] + public List variantMembership { get; internal set; } + + /// + /// The PartUsages that identify the stakeholders with concerns framed by this ViewpointDefinition, + /// which are the owned and inherited stakeholderParameters of the framedConcerns of this + /// ViewpointDefinition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617117194003_518610_3310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IViewpointDefinition.ViewpointStakeholder")] + public List viewpointStakeholder { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/ViewpointUsage.cs b/SysML2.NET/Core/AutoGenDto/ViewpointUsage.cs index f38198e1..d50b78db 100644 --- a/SysML2.NET/Core/AutoGenDto/ViewpointUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/ViewpointUsage.cs @@ -1,1237 +1,1245 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Views -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Core.DTO.Systems.Requirements; - using SysML2.NET.Decorators; - - /// - /// A ViewpointUsage is a Usage of a ViewpointDefinition. - /// - [Class(xmiId: "_19_0_2_59601fc_1583087291401_74297_590", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class ViewpointUsage : IViewpointUsage - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// The parameters of this RequirementUsage that represent actors involved in the requirement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621564075474_350859_2735", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IRequirementUsage.ActorParameter")] - public List ActorParameter { get; internal set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The owned ConstraintUsages that represent assumptions of this RequirementUsage, derived as the - /// ownedConstraints of the RequirementConstraintMemberships of the RequirementUsage with kind = - /// assumption. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583377612865_991722_535", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IRequirementUsage.AssumedConstraint")] - public List AssumedConstraint { get; internal set; } - - /// - /// The Behaviors that type this Step. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IExpression.Function")] - [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The (single) Predicate that is the type of this ConstraintUsage. Nominally, this will be a - /// ConstraintDefinition, but other kinds of Predicates are also allowed, to permit use of Predicates - /// from the Kernel Model Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578067546711_751168_1745", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1578025035149_386_969")] - [RedefinedByProperty("IRequirementUsage.RequirementDefinition")] - [Implements(implementation: "IConstraintUsage.ConstraintDefinition")] - public Guid? ConstraintDefinition { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IRequirementUsage.ReqId")] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds - /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] - [Implements(implementation: "IUsage.Definition")] - public List Definition { get; internal set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IStep.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Usage that are directedFeatures. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The ConcernUsages framed by this RequirementUsage, which are the ownedConcerns of all - /// FramedConcernMemberships of the RequirementUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617116922864_514612_3264", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583377448339_252740_390")] - [Implements(implementation: "IRequirementUsage.FramedConcern")] - public List FramedConcern { get; internal set; } - - /// - /// The Function that types this Expression. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - [RedefinedByProperty("IBooleanExpression.Predicate")] - [Implements(implementation: "IExpression.Function")] - public Guid? Function { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// The at most one occurrenceDefinition that has isIndividual = true. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public Guid? IndividualDefinition { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its - /// individualDefinition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceUsage.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, - /// using metadata within the model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool IsModelLevelEvaluable { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - public bool IsPortion { get; set; } - - /// - /// Whether this Usage is a referential Usage, that is, it has isComposite = false. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsReference")] - public bool IsReference { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [RedefinedByProperty("IUsage.MayTimeVary")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage - /// must be VariantMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its - /// owningType, rather than being featured by the owningType itself). However, if isConstant is also - /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance - /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary - /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is - /// inherited from Feature. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] - [Implements(implementation: "IUsage.MayTimeVary")] - public bool MayTimeVary { get; internal set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ActionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedAction")] - public List NestedAction { get; internal set; } - - /// - /// The AllocationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedAllocation")] - public List NestedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List NestedAnalysisCase { get; internal set; } - - /// - /// The code>AttributeUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedAttribute")] - public List NestedAttribute { get; internal set; } - - /// - /// The CalculationUsage that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedCalculation")] - public List NestedCalculation { get; internal set; } - - /// - /// The CaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] - [Implements(implementation: "IUsage.NestedCase")] - public List NestedCase { get; internal set; } - - /// - /// The ConcernUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedConcern")] - public List NestedConcern { get; internal set; } - - /// - /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are - /// ConnectorAsUsages even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedConnection")] - public List NestedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedConstraint")] - public List NestedConstraint { get; internal set; } - - /// - /// The code>EnumerationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] - [Implements(implementation: "IUsage.NestedEnumeration")] - public List NestedEnumeration { get; internal set; } - - /// - /// The code>FlowUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedFlow")] - public List NestedFlow { get; internal set; } - - /// - /// The InterfaceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedInterface")] - public List NestedInterface { get; internal set; } - - /// - /// The ItemUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedItem")] - public List NestedItem { get; internal set; } - - /// - /// The MetadataUsages that are nestedUsages of this of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedMetadata")] - public List NestedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedOccurrence")] - public List NestedOccurrence { get; internal set; } - - /// - /// The PartUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedPart")] - public List NestedPart { get; internal set; } - - /// - /// The PortUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedPort")] - public List NestedPort { get; internal set; } - - /// - /// The ReferenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedReference")] - public List NestedReference { get; internal set; } - - /// - /// The RenderingUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedRendering")] - public List NestedRendering { get; internal set; } - - /// - /// The RequirementUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] - [Implements(implementation: "IUsage.NestedRequirement")] - public List NestedRequirement { get; internal set; } - - /// - /// The StateUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedState")] - public List NestedState { get; internal set; } - - /// - /// The TransitionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedTransition")] - public List NestedTransition { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.NestedUsage")] - public List NestedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedUseCase")] - public List NestedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedVerificationCase")] - public List NestedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedView")] - public List NestedView { get; internal set; } - - /// - /// The ViewpointUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedViewpoint")] - public List NestedViewpoint { get; internal set; } - - /// - /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, - /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] - [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List OccurrenceDefinition { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The Definition that owns this Usage (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] - [Implements(implementation: "IUsage.OwningDefinition")] - public Guid? OwningDefinition { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The Usage in which this Usage is nested (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IUsage.OwningUsage")] - public Guid? OwningUsage { get; internal set; } - - /// - /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into - /// and/or out of a performance of the Step. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If - /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the - /// OccurrenceUsage represents portions of the featuring instance of the owningType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IOccurrenceUsage.PortionKind")] - public PortionKind? PortionKind { get; set; } - - /// - /// The Predicate that types the Expression. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578025035149_386_969", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1543948477241_299049_20934")] - [RedefinedByProperty("IConstraintUsage.ConstraintDefinition")] - [Implements(implementation: "IBooleanExpression.Predicate")] - public Guid? Predicate { get; internal set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// An optional modeler-specified identifier for this RequirementUsage (used, e.g., to link it to an - /// original requirement text in some source document), which is the declaredShortName for the - /// RequirementUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583376474630_975784_96", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1594160442439_915308_4153")] - [Implements(implementation: "IRequirementUsage.ReqId")] - public string ReqId { get; set; } - - /// - /// The owned ConstraintUsages that represent requirements of this RequirementUsage, which are the - /// ownedConstraints of the RequirementConstraintMemberships of the RequirementUsage with kind = - /// requirement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583377448339_252740_390", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IRequirementUsage.RequiredConstraint")] - public List RequiredConstraint { get; internal set; } - - /// - /// The RequirementDefinition that is the single definition of this RequirementUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000408905_769743_1223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1578067546711_751168_1745")] - [RedefinedByProperty("IViewpointUsage.ViewpointDefinition")] - [Implements(implementation: "IRequirementUsage.RequirementDefinition")] - public Guid? RequirementDefinition { get; internal set; } - - /// - /// An output parameter of the Expression whose value is the result of the Expression. The result of an - /// Expression is either inherited from its function or it is related to the Expression via a - /// ReturnParameterMembership, in which case it redefines the result parameter of its function. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [Implements(implementation: "IExpression.Result")] - public Guid Result { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The parameters of this RequirementUsage that represent stakeholders for the requirement. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624032823963_328647_40107", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IRequirementUsage.StakeholderParameter")] - public List StakeholderParameter { get; internal set; } - - /// - /// The parameter of this RequirementUsage that represents its subject. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189397261_941898_844", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IRequirementUsage.SubjectParameter")] - public Guid SubjectParameter { get; internal set; } - - /// - /// An optional textual statement of the requirement represented by this RequirementUsage, derived from - /// the bodies of the documentation of the RequirementUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583376480942_745679_99", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IRequirementUsage.Text")] - public List Text { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IUsage.Definition")] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Usages that are features of this Usage (not necessarily owned). - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IUsage.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = - /// true. If isVariation = false, then there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IUsage.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this - /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IUsage.VariantMembership")] - public List VariantMembership { get; internal set; } - - /// - /// The ViewpointDefinition that is the definition of this ViewpointUsage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649684798_569222_3524", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1583000408905_769743_1223")] - [Implements(implementation: "IViewpointUsage.ViewpointDefinition")] - public Guid? ViewpointDefinition { get; internal set; } - - /// - /// The PartUsages that identify the stakeholders with concerns framed by this ViewpointUsage, which are - /// the owned and inherited stakeholderParameters of the framedConcerns of this ViewpointUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617117200628_940407_3323", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IViewpointUsage.ViewpointStakeholder")] - public List ViewpointStakeholder { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Views +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Core.DTO.Systems.Requirements; + using SysML2.NET.Decorators; + + /// + /// A ViewpointUsage is a Usage of a ViewpointDefinition. + /// + [Class(xmiId: "_19_0_2_59601fc_1583087291401_74297_590", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class ViewpointUsage : IViewpointUsage + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// The parameters of this RequirementUsage that represent actors involved in the requirement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621564075474_350859_2735", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IRequirementUsage.ActorParameter")] + public List actorParameter { get; internal set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The owned ConstraintUsages that represent assumptions of this RequirementUsage, derived as the + /// ownedConstraints of the RequirementConstraintMemberships of the RequirementUsage with kind = + /// assumption. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583377612865_991722_535", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IRequirementUsage.AssumedConstraint")] + public List assumedConstraint { get; internal set; } + + /// + /// The Behaviors that type this Step. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IExpression.Function")] + [Implements(implementation: "IStep.Behavior")] + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The (single) Predicate that is the type of this ConstraintUsage. Nominally, this will be a + /// ConstraintDefinition, but other kinds of Predicates are also allowed, to permit use of Predicates + /// from the Kernel Model Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578067546711_751168_1745", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1578025035149_386_969")] + [RedefinedByProperty("IRequirementUsage.RequirementDefinition")] + [Implements(implementation: "IConstraintUsage.ConstraintDefinition")] + Guid? Systems.Constraints.IConstraintUsage.constraintDefinition => throw new InvalidOperationException("Redefined by property IRequirementUsage.RequirementDefinition"); + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IRequirementUsage.ReqId")] + [Implements(implementation: "IElement.DeclaredShortName")] + string Root.Elements.IElement.DeclaredShortName + { + get => throw new InvalidOperationException("Redefined by property IRequirementUsage.ReqId"); + set => throw new InvalidOperationException("Redefined by property IRequirementUsage.ReqId"); + } + + /// + /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds + /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] + [Implements(implementation: "IUsage.Definition")] + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IStep.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); + + /// + /// The usages of this Usage that are directedFeatures. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The ConcernUsages framed by this RequirementUsage, which are the ownedConcerns of all + /// FramedConcernMemberships of the RequirementUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617116922864_514612_3264", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583377448339_252740_390")] + [Implements(implementation: "IRequirementUsage.FramedConcern")] + public List framedConcern { get; internal set; } + + /// + /// The Function that types this Expression. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] + [RedefinedByProperty("IBooleanExpression.Predicate")] + [Implements(implementation: "IExpression.Function")] + Guid? Kernel.Functions.IExpression.function => throw new InvalidOperationException("Redefined by property IBooleanExpression.Predicate"); + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// The at most one occurrenceDefinition that has isIndividual = true. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] + public Guid? individualDefinition { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its + /// individualDefinition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceUsage.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, + /// using metadata within the model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IExpression.IsModelLevelEvaluable")] + public bool isModelLevelEvaluable { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + public bool IsPortion { get; set; } + + /// + /// Whether this Usage is a referential Usage, that is, it has isComposite = false. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsReference")] + public bool isReference { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [RedefinedByProperty("IUsage.MayTimeVary")] + [Implements(implementation: "IFeature.IsVariable")] + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } + + /// + /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage + /// must be VariantMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its + /// owningType, rather than being featured by the owningType itself). However, if isConstant is also + /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance + /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary + /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is + /// inherited from Feature. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] + [Implements(implementation: "IUsage.MayTimeVary")] + public bool mayTimeVary { get; internal set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ActionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedAction")] + public List nestedAction { get; internal set; } + + /// + /// The AllocationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedAllocation")] + public List nestedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedAnalysisCase")] + public List nestedAnalysisCase { get; internal set; } + + /// + /// The code>AttributeUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedAttribute")] + public List nestedAttribute { get; internal set; } + + /// + /// The CalculationUsage that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedCalculation")] + public List nestedCalculation { get; internal set; } + + /// + /// The CaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] + [Implements(implementation: "IUsage.NestedCase")] + public List nestedCase { get; internal set; } + + /// + /// The ConcernUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedConcern")] + public List nestedConcern { get; internal set; } + + /// + /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are + /// ConnectorAsUsages even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedConnection")] + public List nestedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedConstraint")] + public List nestedConstraint { get; internal set; } + + /// + /// The code>EnumerationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] + [Implements(implementation: "IUsage.NestedEnumeration")] + public List nestedEnumeration { get; internal set; } + + /// + /// The code>FlowUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedFlow")] + public List nestedFlow { get; internal set; } + + /// + /// The InterfaceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedInterface")] + public List nestedInterface { get; internal set; } + + /// + /// The ItemUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedItem")] + public List nestedItem { get; internal set; } + + /// + /// The MetadataUsages that are nestedUsages of this of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedMetadata")] + public List nestedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedOccurrence")] + public List nestedOccurrence { get; internal set; } + + /// + /// The PartUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedPart")] + public List nestedPart { get; internal set; } + + /// + /// The PortUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedPort")] + public List nestedPort { get; internal set; } + + /// + /// The ReferenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedReference")] + public List nestedReference { get; internal set; } + + /// + /// The RenderingUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedRendering")] + public List nestedRendering { get; internal set; } + + /// + /// The RequirementUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] + [Implements(implementation: "IUsage.NestedRequirement")] + public List nestedRequirement { get; internal set; } + + /// + /// The StateUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedState")] + public List nestedState { get; internal set; } + + /// + /// The TransitionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedTransition")] + public List nestedTransition { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.NestedUsage")] + public List nestedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedUseCase")] + public List nestedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedVerificationCase")] + public List nestedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedView")] + public List nestedView { get; internal set; } + + /// + /// The ViewpointUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedViewpoint")] + public List nestedViewpoint { get; internal set; } + + /// + /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, + /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] + [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] + public List occurrenceDefinition { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The Definition that owns this Usage (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] + [Implements(implementation: "IUsage.OwningDefinition")] + public Guid? owningDefinition { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The Usage in which this Usage is nested (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IUsage.OwningUsage")] + public Guid? owningUsage { get; internal set; } + + /// + /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into + /// and/or out of a performance of the Step. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IStep.Parameter")] + public List parameter { get; internal set; } + + /// + /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If + /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the + /// OccurrenceUsage represents portions of the featuring instance of the owningType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IOccurrenceUsage.PortionKind")] + public PortionKind? PortionKind { get; set; } + + /// + /// The Predicate that types the Expression. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578025035149_386_969", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1543948477241_299049_20934")] + [RedefinedByProperty("IConstraintUsage.ConstraintDefinition")] + [Implements(implementation: "IBooleanExpression.Predicate")] + Guid? Kernel.Functions.IBooleanExpression.predicate => throw new InvalidOperationException("Redefined by property IConstraintUsage.ConstraintDefinition"); + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// An optional modeler-specified identifier for this RequirementUsage (used, e.g., to link it to an + /// original requirement text in some source document), which is the declaredShortName for the + /// RequirementUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583376474630_975784_96", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1594160442439_915308_4153")] + [Implements(implementation: "IRequirementUsage.ReqId")] + public string ReqId { get; set; } + + /// + /// The owned ConstraintUsages that represent requirements of this RequirementUsage, which are the + /// ownedConstraints of the RequirementConstraintMemberships of the RequirementUsage with kind = + /// requirement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583377448339_252740_390", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IRequirementUsage.RequiredConstraint")] + public List requiredConstraint { get; internal set; } + + /// + /// The RequirementDefinition that is the single definition of this RequirementUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000408905_769743_1223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1578067546711_751168_1745")] + [RedefinedByProperty("IViewpointUsage.ViewpointDefinition")] + [Implements(implementation: "IRequirementUsage.RequirementDefinition")] + Guid? Systems.Requirements.IRequirementUsage.requirementDefinition => throw new InvalidOperationException("Redefined by property IViewpointUsage.ViewpointDefinition"); + + /// + /// An output parameter of the Expression whose value is the result of the Expression. The result of an + /// Expression is either inherited from its function or it is related to the Expression via a + /// ReturnParameterMembership, in which case it redefines the result parameter of its function. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [Implements(implementation: "IExpression.Result")] + public Guid result { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The parameters of this RequirementUsage that represent stakeholders for the requirement. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624032823963_328647_40107", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IRequirementUsage.StakeholderParameter")] + public List stakeholderParameter { get; internal set; } + + /// + /// The parameter of this RequirementUsage that represents its subject. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189397261_941898_844", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IRequirementUsage.SubjectParameter")] + public Guid subjectParameter { get; internal set; } + + /// + /// An optional textual statement of the requirement represented by this RequirementUsage, derived from + /// the bodies of the documentation of the RequirementUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583376480942_745679_99", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IRequirementUsage.Text")] + public List text { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IUsage.Definition")] + [Implements(implementation: "IFeature.Type")] + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Usages that are features of this Usage (not necessarily owned). + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IUsage.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = + /// true. If isVariation = false, then there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IUsage.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this + /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IUsage.VariantMembership")] + public List variantMembership { get; internal set; } + + /// + /// The ViewpointDefinition that is the definition of this ViewpointUsage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649684798_569222_3524", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1583000408905_769743_1223")] + [Implements(implementation: "IViewpointUsage.ViewpointDefinition")] + public Guid? viewpointDefinition { get; internal set; } + + /// + /// The PartUsages that identify the stakeholders with concerns framed by this ViewpointUsage, which are + /// the owned and inherited stakeholderParameters of the framedConcerns of this ViewpointUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617117200628_940407_3323", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IViewpointUsage.ViewpointStakeholder")] + public List viewpointStakeholder { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenDto/WhileLoopActionUsage.cs b/SysML2.NET/Core/AutoGenDto/WhileLoopActionUsage.cs index 7a2d065e..f4e9562d 100644 --- a/SysML2.NET/Core/AutoGenDto/WhileLoopActionUsage.cs +++ b/SysML2.NET/Core/AutoGenDto/WhileLoopActionUsage.cs @@ -1,1128 +1,1132 @@ -// ------------------------------------------------------------------------------------------------- -// -// -// Copyright (C) 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.DTO.Systems.Actions -{ - using System; - using System.CodeDom.Compiler; - using System.Collections.Generic; - - using SysML2.NET.Core.Core.Types; - using SysML2.NET.Core.Systems.Occurrences; - using SysML2.NET.Decorators; - - /// - /// A WhileLoopActionUsage is a LoopActionUsage that specifies that the bodyAction ActionUsage should be - /// performed repeatedly while the result of the whileArgument Expression is true or until the result of - /// the untilArgument Expression (if provided) is true. The whileArgument Expression is evaluated before - /// each (possible) performance of the bodyAction, and the untilArgument Expression is evaluated after - /// each performance of the bodyAction. - /// - [Class(xmiId: "_19_0_4_12e503d9_1624306821108_998562_5594", isAbstract: false, isFinalSpecialization: false, isActive: false)] - [GeneratedCode("SysML2.NET", "latest")] - public partial class WhileLoopActionUsage : IWhileLoopActionUsage - { - /// - /// Gets or sets the unique identifier - /// - [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IData.Id")] - public Guid Id { get; set; } - - /// - /// The Behaviors that are the types of this ActionUsage. Nominally, these would be ActionDefinitions, - /// but other kinds of Kernel Behaviors are also allowed, to permit use of Behaviors from the Kernel - /// Model Libraries. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565500905804_589845_30779", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IActionUsage.ActionDefinition")] - public List ActionDefinition { get; internal set; } - - /// - /// Various alternative identifiers for this Element. Generally, these will be set by tools. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.AliasIds")] - public List AliasIds { get; set; } = []; - - /// - /// The Behaviors that type this Step. - /// - [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IActionUsage.ActionDefinition")] - [Implements(implementation: "IStep.Behavior")] - public List Behavior { get; internal set; } - - /// - /// The ActionUsage to be performed repeatedly by the LoopActionUsage. It is the second parameter of the - /// LoopActionUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624203902575_509097_3869", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "ILoopActionUsage.BodyAction")] - public Guid BodyAction { get; internal set; } - - /// - /// The Feature that are chained together to determine the values of this Feature, derived from the - /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the - /// original Feature), then using each of those as domain instances to find the values of the second - /// Feature in chainingFeatures, and so on, to values of the last Feature. - /// - [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - [Implements(implementation: "IFeature.ChainingFeature")] - public List ChainingFeature { get; internal set; } - - /// - /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it - /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of - /// the end Feature obtained when navigating from values of the other end Features of the same - /// owningType. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.CrossFeature")] - public Guid? CrossFeature { get; internal set; } - - /// - /// The declared name of this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredName")] - 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. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } - - /// - /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds - /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] - [Implements(implementation: "IUsage.Definition")] - public List Definition { get; internal set; } - - /// - /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those - /// Types, but not including those of the remaining Types. For example, a Classifier might be the - /// difference of a Classifier for people and another for people of a particular nationality, leaving - /// people who are not of that nationality. Similarly, a feature of people might be the difference - /// between a feature for their children and a Classifier for people of a particular sex, identifying - /// their children not of that sex (because the interpretations of the children Feature that identify - /// those of that sex are also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.DifferencingType")] - public List DifferencingType { get; internal set; } - - /// - /// The features of this Type that have a non-null direction. - /// - [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [RedefinedByProperty("IStep.Parameter")] - [Implements(implementation: "IType.DirectedFeature")] - public List DirectedFeature { get; internal set; } - - /// - /// The usages of this Usage that are directedFeatures. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.DirectedUsage")] - public List DirectedUsage { get; internal set; } - - /// - /// Indicates how values of this Feature are determined or used (as specified for the - /// FeatureDirectionKind). - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.Direction")] - public FeatureDirectionKind? Direction { get; set; } - - /// - /// The Documentation owned by this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.Documentation")] - public List Documentation { get; internal set; } - - /// - /// 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ElementId")] - public string ElementId { get; set; } - - /// - /// All features of this Type with isEnd = true. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.EndFeature")] - public List EndFeature { get; internal set; } - - /// - /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an - /// ownedMemberFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IFeature.EndOwningType")] - public Guid? EndOwningType { get; internal set; } - - /// - /// The ownedMemberFeatures of the featureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "IType.Feature")] - public List Feature { get; internal set; } - - /// - /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and - /// those inheritedMemberships that are FeatureMemberships (but does not include any - /// importedMemberships). - /// - [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.FeatureMembership")] - public List FeatureMembership { get; internal set; } - - /// - /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. - /// - [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeatureTarget")] - public Guid FeatureTarget { get; internal set; } - - /// - /// Types that feature this Feature, such that any instance in the domain of the Feature must be - /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. - /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also - /// featuringTypes of the chained Feature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IFeature.FeaturingType")] - public List FeaturingType { get; internal set; } - - /// - /// The Memberships in this Namespace that result from the ownedImports of this Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "INamespace.ImportedMembership")] - public List ImportedMembership { get; internal set; } - - /// - /// The at most one occurrenceDefinition that has isIndividual = true. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public Guid? IndividualDefinition { get; internal set; } - - /// - /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IType.InheritedFeature")] - public List InheritedFeature { get; internal set; } - - /// - /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the - /// derived union for the memberships of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [Implements(implementation: "IType.InheritedMembership")] - public List InheritedMembership { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction in or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Input")] - public List Input { get; internal set; } - - /// - /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the - /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings - /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a - /// particular sex and of a particular nationality. Similarly, a feature for people's children of a - /// particular sex might be the intersection of a Feature for their children and a Classifier for people - /// of that sex (because the interpretations of the children Feature that identify those of that sex are - /// also interpretations of the Classifier for that sex). - /// - [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IntersectingType")] - public List IntersectingType { get; internal set; } - - /// - /// Indicates whether instances of this Type must also be instances of at least one of its specialized - /// Types. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsAbstract")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsComposite")] - public bool IsComposite { get; set; } - - /// - /// Indicates whether this Type has an ownedConjugator. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.IsConjugated")] - public bool IsConjugated { get; internal set; } - - /// - /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all - /// snapshots of its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsConstant")] - public bool IsConstant { get; set; } - - /// - /// Whether the values of this Feature can always be computed from the values of other Features. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsDerived")] - 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. - /// - [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsEnd")] - 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. - /// - [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IElement.IsImpliedIncluded")] - public bool IsImpliedIncluded { get; set; } - - /// - /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its - /// individualDefinition. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IOccurrenceUsage.IsIndividual")] - public bool IsIndividual { get; set; } - - /// - /// Whether this Element is contained in the ownership tree of a library model. - /// - [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.IsLibraryElement")] - public bool IsLibraryElement { get; internal set; } - - /// - /// Whether an order exists for the values of this Feature or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsOrdered")] - 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. - /// - [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IFeature.IsPortion")] - public bool IsPortion { get; set; } - - /// - /// Whether this Usage is a referential Usage, that is, it has isComposite = false. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsReference")] - public bool IsReference { get; internal 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.) - /// - [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [Implements(implementation: "IType.IsSufficient")] - public bool IsSufficient { get; set; } - - /// - /// Whether or not values for this Feature must have no duplicates or not. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] - [Implements(implementation: "IFeature.IsUnique")] - public bool IsUnique { get; set; } = true; - - /// - /// 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. - /// - [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] - [RedefinedByProperty("IUsage.MayTimeVary")] - [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } - - /// - /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage - /// must be VariantMemberships. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IUsage.IsVariation")] - public bool IsVariation { get; set; } - - /// - /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its - /// owningType, rather than being featured by the owningType itself). However, if isConstant is also - /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance - /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary - /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is - /// inherited from Feature. - /// - [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] - [Implements(implementation: "IUsage.MayTimeVary")] - public bool MayTimeVary { get; internal set; } - - /// - /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of - /// the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Member")] - public List Member { get; internal set; } - - /// - /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and - /// importedMemberships. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - [Implements(implementation: "INamespace.Membership")] - public List Membership { get; internal set; } - - /// - /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. - /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the - /// Multiplicity constraints applicable to any direct supertypes. - /// - [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.Multiplicity")] - public Guid? Multiplicity { get; internal set; } - - /// - /// The name to be used for this Element during name resolution within its owningNamespace. This is - /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but - /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is - /// null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Name")] - public string Name { get; internal set; } - - /// - /// The ActionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedAction")] - public List NestedAction { get; internal set; } - - /// - /// The AllocationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedAllocation")] - public List NestedAllocation { get; internal set; } - - /// - /// The AnalysisCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List NestedAnalysisCase { get; internal set; } - - /// - /// The code>AttributeUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedAttribute")] - public List NestedAttribute { get; internal set; } - - /// - /// The CalculationUsage that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedCalculation")] - public List NestedCalculation { get; internal set; } - - /// - /// The CaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] - [Implements(implementation: "IUsage.NestedCase")] - public List NestedCase { get; internal set; } - - /// - /// The ConcernUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedConcern")] - public List NestedConcern { get; internal set; } - - /// - /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes - /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are - /// ConnectorAsUsages even though they are not ConnectionUsages. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedConnection")] - public List NestedConnection { get; internal set; } - - /// - /// The ConstraintUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedConstraint")] - public List NestedConstraint { get; internal set; } - - /// - /// The code>EnumerationUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] - [Implements(implementation: "IUsage.NestedEnumeration")] - public List NestedEnumeration { get; internal set; } - - /// - /// The code>FlowUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedFlow")] - public List NestedFlow { get; internal set; } - - /// - /// The InterfaceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - [Implements(implementation: "IUsage.NestedInterface")] - public List NestedInterface { get; internal set; } - - /// - /// The ItemUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - [Implements(implementation: "IUsage.NestedItem")] - public List NestedItem { get; internal set; } - - /// - /// The MetadataUsages that are nestedUsages of this of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedMetadata")] - public List NestedMetadata { get; internal set; } - - /// - /// The OccurrenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedOccurrence")] - public List NestedOccurrence { get; internal set; } - - /// - /// The PartUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - [Implements(implementation: "IUsage.NestedPart")] - public List NestedPart { get; internal set; } - - /// - /// The PortUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedPort")] - public List NestedPort { get; internal set; } - - /// - /// The ReferenceUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedReference")] - public List NestedReference { get; internal set; } - - /// - /// The RenderingUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedRendering")] - public List NestedRendering { get; internal set; } - - /// - /// The RequirementUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] - [Implements(implementation: "IUsage.NestedRequirement")] - public List NestedRequirement { get; internal set; } - - /// - /// The StateUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - [Implements(implementation: "IUsage.NestedState")] - public List NestedState { get; internal set; } - - /// - /// The TransitionUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - [Implements(implementation: "IUsage.NestedTransition")] - public List NestedTransition { get; internal set; } - - /// - /// The Usages that are ownedFeatures of this Usage. - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - [Implements(implementation: "IUsage.NestedUsage")] - public List NestedUsage { get; internal set; } - - /// - /// The UseCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedUseCase")] - public List NestedUseCase { get; internal set; } - - /// - /// The VerificationCaseUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - [Implements(implementation: "IUsage.NestedVerificationCase")] - public List NestedVerificationCase { get; internal set; } - - /// - /// The ViewUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - [Implements(implementation: "IUsage.NestedView")] - public List NestedView { get; internal set; } - - /// - /// The ViewpointUsages that are nestedUsages of this Usage. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - [Implements(implementation: "IUsage.NestedViewpoint")] - public List NestedViewpoint { get; internal set; } - - /// - /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, - /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model - /// Libraries. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] - [RedefinedByProperty("IActionUsage.ActionDefinition")] - [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List OccurrenceDefinition { get; internal set; } - - /// - /// All features related to this Type by FeatureMemberships that have direction out or inout. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IType.Output")] - public List Output { get; internal set; } - - /// - /// The ownedRelationships of this Element that are Annotations, for which this Element is the - /// annotatedElement. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - [Implements(implementation: "IElement.OwnedAnnotation")] - public List OwnedAnnotation { get; internal set; } - - /// - /// A Conjugation owned by this Type for which the Type is the originalType. - /// - [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedConjugator")] - public Guid? OwnedConjugator { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature - /// is the crossingFeature. - /// - [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public Guid? OwnedCrossSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Differencings, having this Type as their - /// typeDifferenced. - /// - [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedDifferencing")] - public List OwnedDifferencing { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined - /// Type. - /// - [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - [Implements(implementation: "IType.OwnedDisjoining")] - public List OwnedDisjoining { get; internal set; } - - /// - /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of - /// this Element. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.OwnedElement")] - public List OwnedElement { get; internal set; } - - /// - /// All endFeatures of this Type that are ownedFeatures. - /// - [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - [Implements(implementation: "IType.OwnedEndFeature")] - public List OwnedEndFeature { get; internal set; } - - /// - /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IType.OwnedFeature")] - public List OwnedFeature { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the - /// featureChained. - /// - [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List OwnedFeatureChaining { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the - /// featureInverted. - /// - [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List OwnedFeatureInverting { get; internal set; } - - /// - /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. - /// Each such FeatureMembership identifies an ownedFeature of the Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - [Implements(implementation: "IType.OwnedFeatureMembership")] - public List OwnedFeatureMembership { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the - /// importOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "INamespace.OwnedImport")] - public List OwnedImport { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. - /// - [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IType.OwnedIntersecting")] - public List OwnedIntersecting { get; internal set; } - - /// - /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships - /// of the Namespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - [Implements(implementation: "INamespace.OwnedMember")] - public List OwnedMember { get; internal set; } - - /// - /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the - /// membershipOwningNamespace. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "INamespace.OwnedMembership")] - public List OwnedMembership { get; internal set; } - - /// - /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the - /// redefiningFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedRedefinition")] - public List OwnedRedefinition { get; internal set; } - - /// - /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the - /// Feature is the referencingFeature. - /// - [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public Guid? OwnedReferenceSubsetting { get; internal set; } - - /// - /// The Relationships for which this Element is the owningRelatedElement. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwnedRelationship")] - public List OwnedRelationship { get; set; } = []; - - /// - /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific - /// Type. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - [Implements(implementation: "IType.OwnedSpecialization")] - public List OwnedSpecialization { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the - /// subsettingFeature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - [Implements(implementation: "IFeature.OwnedSubsetting")] - public List OwnedSubsetting { get; internal set; } - - /// - /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the - /// featureOfType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List OwnedTypeFeaturing { get; internal set; } - - /// - /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the - /// typedFeature. - /// - [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - [Implements(implementation: "IFeature.OwnedTyping")] - public List OwnedTyping { get; internal set; } - - /// - /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. - /// - [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - [Implements(implementation: "IType.OwnedUnioning")] - public List OwnedUnioning { get; internal set; } - - /// - /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this - /// Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.Owner")] - public Guid? Owner { get; internal set; } - - /// - /// The Definition that owns this Usage (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] - [Implements(implementation: "IUsage.OwningDefinition")] - public Guid? OwningDefinition { get; internal set; } - - /// - /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - [Implements(implementation: "IFeature.OwningFeatureMembership")] - public Guid? OwningFeatureMembership { get; internal set; } - - /// - /// The owningRelationship of this Element, if that Relationship is a Membership. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - [Implements(implementation: "IElement.OwningMembership")] - public Guid? OwningMembership { get; internal set; } - - /// - /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership - /// of this Element, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - [Implements(implementation: "IElement.OwningNamespace")] - public Guid? OwningNamespace { get; internal set; } - - /// - /// The Relationship for which this Element is an ownedRelatedElement, if any. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] - [Implements(implementation: "IElement.OwningRelationship")] - public Guid? OwningRelationship { get; set; } - - /// - /// The Type that is the owningType of the owningFeatureMembership of this Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - [Implements(implementation: "IFeature.OwningType")] - public Guid? OwningType { get; internal set; } - - /// - /// The Usage in which this Usage is nested (if any). - /// - [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - [Implements(implementation: "IUsage.OwningUsage")] - public Guid? OwningUsage { get; internal set; } - - /// - /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into - /// and/or out of a performance of the Step. - /// - [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - [Implements(implementation: "IStep.Parameter")] - public List Parameter { get; internal set; } - - /// - /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If - /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the - /// OccurrenceUsage represents portions of the featuring instance of the owningType. - /// - [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IOccurrenceUsage.PortionKind")] - public PortionKind? PortionKind { get; set; } - - /// - /// The full ownership-qualified name of this Element, represented in a form that is valid according to - /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation - /// and escaped characters, as necessary). The qualifiedName is null if this Element has no - /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root - /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, - /// then the qualifiedName is null for all such Elements other than the first. - /// - [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.QualifiedName")] - public string QualifiedName { get; internal set; } - - /// - /// The short name to be used for this Element during name resolution within its owningNamespace. This - /// is derived using the effectiveShortName() operation. By default, it is the same as the - /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even - /// when the declaredName is null. - /// - [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IElement.ShortName")] - public string ShortName { get; internal set; } - - /// - /// The TextualRepresentations that annotate this Element. - /// - [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - [Implements(implementation: "IElement.TextualRepresentation")] - public List TextualRepresentation { get; internal set; } - - /// - /// Types that restrict the values of this Feature, such that the values must be instances of all the - /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the - /// Feature is chained, then the types of the last Feature in the chain are also types of the chained - /// Feature. - /// - [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [RedefinedByProperty("IUsage.Definition")] - [Implements(implementation: "IFeature.Type")] - public List Type { get; internal set; } - - /// - /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the - /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of - /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. - /// Similarly, a feature for people's children might be the union of features dividing them in the - /// same ways as people in general. - /// - [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IType.UnioningType")] - public List UnioningType { get; internal set; } - - /// - /// The Expression whose result, if false, determines that the bodyAction should continue to be - /// performed. It is the (optional) third owned parameter of the WhileLoopActionUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624290717721_449719_4195", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IWhileLoopActionUsage.UntilArgument")] - public Guid? UntilArgument { get; internal set; } - - /// - /// The Usages that are features of this Usage (not necessarily owned). - /// - [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - [Implements(implementation: "IUsage.Usage")] - public List Usage { get; internal set; } - - /// - /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = - /// true. If isVariation = false, then there must be no variants. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - [Implements(implementation: "IUsage.Variant")] - public List Variant { get; internal set; } - - /// - /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this - /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. - /// - [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - [Implements(implementation: "IUsage.VariantMembership")] - public List VariantMembership { get; internal set; } - - /// - /// The Expression whose result, if true, determines that the bodyAction should continue to be - /// performed. It is the first owned parameter of the WhileLoopActionUsage. - /// - [Property(xmiId: "_19_0_4_12e503d9_1624203871924_371126_3842", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - [Implements(implementation: "IWhileLoopActionUsage.WhileArgument")] - public Guid WhileArgument { get; internal set; } - - } -} - -// ------------------------------------------------------------------------------------------------ -// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- -// ------------------------------------------------------------------------------------------------ +// ------------------------------------------------------------------------------------------------- +// +// +// Copyright (C) 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.DTO.Systems.Actions +{ + using System; + using System.CodeDom.Compiler; + using System.Collections.Generic; + + using SysML2.NET.Core.Core.Types; + using SysML2.NET.Core.Systems.Occurrences; + using SysML2.NET.Decorators; + + /// + /// A WhileLoopActionUsage is a LoopActionUsage that specifies that the bodyAction ActionUsage should be + /// performed repeatedly while the result of the whileArgument Expression is true or until the result of + /// the untilArgument Expression (if provided) is true. The whileArgument Expression is evaluated before + /// each (possible) performance of the bodyAction, and the untilArgument Expression is evaluated after + /// each performance of the bodyAction. + /// + [Class(xmiId: "_19_0_4_12e503d9_1624306821108_998562_5594", isAbstract: false, isFinalSpecialization: false, isActive: false)] + [GeneratedCode("SysML2.NET", "latest")] + public partial class WhileLoopActionUsage : IWhileLoopActionUsage + { + /// + /// Gets or sets the unique identifier + /// + [Property(xmiId: "sysml2.net", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IData.Id")] + public Guid Id { get; set; } + + /// + /// The Behaviors that are the types of this ActionUsage. Nominally, these would be ActionDefinitions, + /// but other kinds of Kernel Behaviors are also allowed, to permit use of Behaviors from the Kernel + /// Model Libraries. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565500905804_589845_30779", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IActionUsage.ActionDefinition")] + public List actionDefinition { get; internal set; } + + /// + /// Various alternative identifiers for this Element. Generally, these will be set by tools. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594312532679_496267_4310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.AliasIds")] + public List AliasIds { get; set; } = []; + + /// + /// The Behaviors that type this Step. + /// + [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IActionUsage.ActionDefinition")] + [Implements(implementation: "IStep.Behavior")] + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); + + /// + /// The ActionUsage to be performed repeatedly by the LoopActionUsage. It is the second parameter of the + /// LoopActionUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624203902575_509097_3869", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "ILoopActionUsage.BodyAction")] + public Guid bodyAction { get; internal set; } + + /// + /// The Feature that are chained together to determine the values of this Feature, derived from the + /// chainingFeatures of the ownedFeatureChainings of this Feature, in the same order. 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 the values of the first Feature (for each instance of the domain of the + /// original Feature), then using each of those as domain instances to find the values of the second + /// Feature in chainingFeatures, and so on, to values of the last Feature. + /// + [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] + [Implements(implementation: "IFeature.ChainingFeature")] + public List chainingFeature { get; internal set; } + + /// + /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it + /// has one. Semantically, the values of the crossFeature of an end Feature must include all values of + /// the end Feature obtained when navigating from values of the other end Features of the same + /// owningType. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.CrossFeature")] + public Guid? crossFeature { get; internal set; } + + /// + /// The declared name of this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674987_737648_43307", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredName")] + 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. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.DeclaredShortName")] + public string DeclaredShortName { get; set; } + + /// + /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds + /// of Kernel Classifiers are also allowed, to permit use of Classifiers from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] + [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] + [Implements(implementation: "IUsage.Definition")] + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); + + /// + /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those + /// Types, but not including those of the remaining Types. For example, a Classifier might be the + /// difference of a Classifier for people and another for people of a particular nationality, leaving + /// people who are not of that nationality. Similarly, a feature of people might be the difference + /// between a feature for their children and a Classifier for people of a particular sex, identifying + /// their children not of that sex (because the interpretations of the children Feature that identify + /// those of that sex are also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.DifferencingType")] + public List differencingType { get; internal set; } + + /// + /// The features of this Type that have a non-null direction. + /// + [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [RedefinedByProperty("IStep.Parameter")] + [Implements(implementation: "IType.DirectedFeature")] + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); + + /// + /// The usages of this Usage that are directedFeatures. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.DirectedUsage")] + public List directedUsage { get; internal set; } + + /// + /// Indicates how values of this Feature are determined or used (as specified for the + /// FeatureDirectionKind). + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674994_447677_43347", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.Direction")] + public FeatureDirectionKind? Direction { get; set; } + + /// + /// The Documentation owned by this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.Documentation")] + public List documentation { get; internal set; } + + /// + /// 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_844338_43305", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ElementId")] + public string ElementId { get; set; } + + /// + /// All features of this Type with isEnd = true. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.EndFeature")] + public List endFeature { get; internal set; } + + /// + /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an + /// ownedMemberFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IFeature.EndOwningType")] + public Guid? endOwningType { get; internal set; } + + /// + /// The ownedMemberFeatures of the featureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "IType.Feature")] + public List feature { get; internal set; } + + /// + /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and + /// those inheritedMemberships that are FeatureMemberships (but does not include any + /// importedMemberships). + /// + [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.FeatureMembership")] + public List featureMembership { get; internal set; } + + /// + /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. + /// + [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeatureTarget")] + public Guid featureTarget { get; internal set; } + + /// + /// Types that feature this Feature, such that any instance in the domain of the Feature must be + /// classified by all of these Types, including at least all the featuringTypes of its typeFeaturings. + /// If the Feature is chained, then the featuringTypes of the first Feature in the chain are also + /// featuringTypes of the chained Feature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IFeature.FeaturingType")] + public List featuringType { get; internal set; } + + /// + /// The Memberships in this Namespace that result from the ownedImports of this Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "INamespace.ImportedMembership")] + public List importedMembership { get; internal set; } + + /// + /// The at most one occurrenceDefinition that has isIndividual = true. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] + [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] + public Guid? individualDefinition { get; internal set; } + + /// + /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IType.InheritedFeature")] + public List inheritedFeature { get; internal set; } + + /// + /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the + /// derived union for the memberships of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [Implements(implementation: "IType.InheritedMembership")] + public List inheritedMembership { get; internal set; } + + /// + /// All features related to this Type by FeatureMemberships that have direction in or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Input")] + public List input { get; internal set; } + + /// + /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the + /// intersectingTypes, which are the Types derived from the intersectingType of the ownedIntersectings + /// of this Type. For example, a Classifier might be an intersection of Classifiers for people of a + /// particular sex and of a particular nationality. Similarly, a feature for people's children of a + /// particular sex might be the intersection of a Feature for their children and a Classifier for people + /// of that sex (because the interpretations of the children Feature that identify those of that sex are + /// also interpretations of the Classifier for that sex). + /// + [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IntersectingType")] + public List intersectingType { get; internal set; } + + /// + /// Indicates whether instances of this Type must also be instances of at least one of its specialized + /// Types. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_741353_43165", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsAbstract")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_331870_43224", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsComposite")] + public bool IsComposite { get; set; } + + /// + /// Indicates whether this Type has an ownedConjugator. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.IsConjugated")] + public bool isConjugated { get; internal set; } + + /// + /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all + /// snapshots of its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674993_300560_43342", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsConstant")] + public bool IsConstant { get; set; } + + /// + /// Whether the values of this Feature can always be computed from the values of other Features. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674992_500504_43341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsDerived")] + 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. + /// + [Property(xmiId: "_18_5_3_12e503d9_1562475749426_705395_21984", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsEnd")] + 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. + /// + [Property(xmiId: "_19_0_4_12e503d9_1662070949317_79713_3658", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IElement.IsImpliedIncluded")] + public bool IsImpliedIncluded { get; set; } + + /// + /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its + /// individualDefinition. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959865886_548379_7149", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IOccurrenceUsage.IsIndividual")] + public bool IsIndividual { get; set; } + + /// + /// Whether this Element is contained in the ownership tree of a library model. + /// + [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.IsLibraryElement")] + public bool isLibraryElement { get; internal set; } + + /// + /// Whether an order exists for the values of this Feature or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_728225_43215", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsOrdered")] + 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. + /// + [Property(xmiId: "_18_5_3_b9102da_1559231981638_234817_22063", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IFeature.IsPortion")] + public bool IsPortion { get; set; } + + /// + /// Whether this Usage is a referential Usage, that is, it has isComposite = false. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsReference")] + public bool isReference { get; internal 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.) + /// + [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [Implements(implementation: "IType.IsSufficient")] + public bool IsSufficient { get; set; } + + /// + /// Whether or not values for this Feature must have no duplicates or not. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674968_321342_43214", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] + [Implements(implementation: "IFeature.IsUnique")] + public bool IsUnique { get; set; } = true; + + /// + /// 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. + /// + [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] + [RedefinedByProperty("IUsage.MayTimeVary")] + [Implements(implementation: "IFeature.IsVariable")] + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } + + /// + /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage + /// must be VariantMemberships. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590978312364_290951_421", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IUsage.IsVariation")] + public bool IsVariation { get; set; } + + /// + /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its + /// owningType, rather than being featured by the owningType itself). However, if isConstant is also + /// true, then the value of the Usage is nevertheless constant over the entire duration of an instance + /// of its owningType (that is, it has the same value on all snapshots).The property mayTimeVary + /// redefines the KerML property Feature::isVariable, making it derived. The property isConstant is + /// inherited from Feature. + /// + [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] + [Implements(implementation: "IUsage.MayTimeVary")] + public bool mayTimeVary { get; internal set; } + + /// + /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of + /// the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Member")] + public List member { get; internal set; } + + /// + /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and + /// importedMemberships. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] + [Implements(implementation: "INamespace.Membership")] + public List membership { get; internal set; } + + /// + /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. + /// If there is no such ownedMember, then the cardinality of this Type is constrained by all the + /// Multiplicity constraints applicable to any direct supertypes. + /// + [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.Multiplicity")] + public Guid? multiplicity { get; internal set; } + + /// + /// The name to be used for this Element during name resolution within its owningNamespace. This is + /// derived using the effectiveName() operation. By default, it is the same as the declaredName, but + /// this is overridden for certain kinds of Elements to compute a name even when the declaredName is + /// null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Name")] + public string name { get; internal set; } + + /// + /// The ActionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedAction")] + public List nestedAction { get; internal set; } + + /// + /// The AllocationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedAllocation")] + public List nestedAllocation { get; internal set; } + + /// + /// The AnalysisCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedAnalysisCase")] + public List nestedAnalysisCase { get; internal set; } + + /// + /// The code>AttributeUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedAttribute")] + public List nestedAttribute { get; internal set; } + + /// + /// The CalculationUsage that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedCalculation")] + public List nestedCalculation { get; internal set; } + + /// + /// The CaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] + [Implements(implementation: "IUsage.NestedCase")] + public List nestedCase { get; internal set; } + + /// + /// The ConcernUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedConcern")] + public List nestedConcern { get; internal set; } + + /// + /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes + /// BindingConnectorAsUsages, SuccessionAsUsages, and FlowConnectionUsages because these are + /// ConnectorAsUsages even though they are not ConnectionUsages. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedConnection")] + public List nestedConnection { get; internal set; } + + /// + /// The ConstraintUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedConstraint")] + public List nestedConstraint { get; internal set; } + + /// + /// The code>EnumerationUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] + [Implements(implementation: "IUsage.NestedEnumeration")] + public List nestedEnumeration { get; internal set; } + + /// + /// The code>FlowUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedFlow")] + public List nestedFlow { get; internal set; } + + /// + /// The InterfaceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] + [Implements(implementation: "IUsage.NestedInterface")] + public List nestedInterface { get; internal set; } + + /// + /// The ItemUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] + [Implements(implementation: "IUsage.NestedItem")] + public List nestedItem { get; internal set; } + + /// + /// The MetadataUsages that are nestedUsages of this of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedMetadata")] + public List nestedMetadata { get; internal set; } + + /// + /// The OccurrenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedOccurrence")] + public List nestedOccurrence { get; internal set; } + + /// + /// The PartUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] + [Implements(implementation: "IUsage.NestedPart")] + public List nestedPart { get; internal set; } + + /// + /// The PortUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedPort")] + public List nestedPort { get; internal set; } + + /// + /// The ReferenceUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedReference")] + public List nestedReference { get; internal set; } + + /// + /// The RenderingUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedRendering")] + public List nestedRendering { get; internal set; } + + /// + /// The RequirementUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] + [Implements(implementation: "IUsage.NestedRequirement")] + public List nestedRequirement { get; internal set; } + + /// + /// The StateUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] + [Implements(implementation: "IUsage.NestedState")] + public List nestedState { get; internal set; } + + /// + /// The TransitionUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] + [Implements(implementation: "IUsage.NestedTransition")] + public List nestedTransition { get; internal set; } + + /// + /// The Usages that are ownedFeatures of this Usage. + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] + [Implements(implementation: "IUsage.NestedUsage")] + public List nestedUsage { get; internal set; } + + /// + /// The UseCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedUseCase")] + public List nestedUseCase { get; internal set; } + + /// + /// The VerificationCaseUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] + [Implements(implementation: "IUsage.NestedVerificationCase")] + public List nestedVerificationCase { get; internal set; } + + /// + /// The ViewUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] + [Implements(implementation: "IUsage.NestedView")] + public List nestedView { get; internal set; } + + /// + /// The ViewpointUsages that are nestedUsages of this Usage. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] + [Implements(implementation: "IUsage.NestedViewpoint")] + public List nestedViewpoint { get; internal set; } + + /// + /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, + /// but other kinds of kernel Classes are also allowed, to permit use of Classes from the Kernel Model + /// Libraries. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] + [RedefinedByProperty("IActionUsage.ActionDefinition")] + [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] + List Systems.Occurrences.IOccurrenceUsage.occurrenceDefinition => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); + + /// + /// All features related to this Type by FeatureMemberships that have direction out or inout. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IType.Output")] + public List output { get; internal set; } + + /// + /// The ownedRelationships of this Element that are Annotations, for which this Element is the + /// annotatedElement. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] + [Implements(implementation: "IElement.OwnedAnnotation")] + public List ownedAnnotation { get; internal set; } + + /// + /// A Conjugation owned by this Type for which the Type is the originalType. + /// + [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedConjugator")] + public Guid? ownedConjugator { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature + /// is the crossingFeature. + /// + [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedCrossSubsetting")] + public Guid? ownedCrossSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Differencings, having this Type as their + /// typeDifferenced. + /// + [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedDifferencing")] + public List ownedDifferencing { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined + /// Type. + /// + [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] + [Implements(implementation: "IType.OwnedDisjoining")] + public List ownedDisjoining { get; internal set; } + + /// + /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of + /// this Element. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.OwnedElement")] + public List ownedElement { get; internal set; } + + /// + /// All endFeatures of this Type that are ownedFeatures. + /// + [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] + [Implements(implementation: "IType.OwnedEndFeature")] + public List ownedEndFeature { get; internal set; } + + /// + /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IType.OwnedFeature")] + public List ownedFeature { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the + /// featureChained. + /// + [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IFeature.OwnedFeatureChaining")] + public List ownedFeatureChaining { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the + /// featureInverted. + /// + [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedFeatureInverting")] + public List ownedFeatureInverting { get; internal set; } + + /// + /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. + /// Each such FeatureMembership identifies an ownedFeature of the Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] + [Implements(implementation: "IType.OwnedFeatureMembership")] + public List ownedFeatureMembership { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the + /// importOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "INamespace.OwnedImport")] + public List ownedImport { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. + /// + [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IType.OwnedIntersecting")] + public List ownedIntersecting { get; internal set; } + + /// + /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships + /// of the Namespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] + [Implements(implementation: "INamespace.OwnedMember")] + public List ownedMember { get; internal set; } + + /// + /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the + /// membershipOwningNamespace. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674979_190614_43269", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "INamespace.OwnedMembership")] + public List ownedMembership { get; internal set; } + + /// + /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the + /// redefiningFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedRedefinition")] + public List ownedRedefinition { get; internal set; } + + /// + /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the + /// Feature is the referencingFeature. + /// + [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] + [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] + public Guid? ownedReferenceSubsetting { get; internal set; } + + /// + /// The Relationships for which this Element is the owningRelatedElement. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092026091_217766_16748", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwnedRelationship")] + public List OwnedRelationship { get; set; } = []; + + /// + /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific + /// Type. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] + [Implements(implementation: "IType.OwnedSpecialization")] + public List ownedSpecialization { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the + /// subsettingFeature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] + [Implements(implementation: "IFeature.OwnedSubsetting")] + public List ownedSubsetting { get; internal set; } + + /// + /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the + /// featureOfType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [Implements(implementation: "IFeature.OwnedTypeFeaturing")] + public List ownedTypeFeaturing { get; internal set; } + + /// + /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the + /// typedFeature. + /// + [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] + [Implements(implementation: "IFeature.OwnedTyping")] + public List ownedTyping { get; internal set; } + + /// + /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. + /// + [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] + [Implements(implementation: "IType.OwnedUnioning")] + public List ownedUnioning { get; internal set; } + + /// + /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this + /// Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.Owner")] + public Guid? owner { get; internal set; } + + /// + /// The Definition that owns this Usage (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] + [Implements(implementation: "IUsage.OwningDefinition")] + public Guid? owningDefinition { get; internal set; } + + /// + /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] + [Implements(implementation: "IFeature.OwningFeatureMembership")] + public Guid? owningFeatureMembership { get; internal set; } + + /// + /// The owningRelationship of this Element, if that Relationship is a Membership. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] + [Implements(implementation: "IElement.OwningMembership")] + public Guid? owningMembership { get; internal set; } + + /// + /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership + /// of this Element, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] + [Implements(implementation: "IElement.OwningNamespace")] + public Guid? owningNamespace { get; internal set; } + + /// + /// The Relationship for which this Element is an ownedRelatedElement, if any. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674986_482273_43303", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_585972_43176")] + [Implements(implementation: "IElement.OwningRelationship")] + public Guid? OwningRelationship { get; set; } + + /// + /// The Type that is the owningType of the owningFeatureMembership of this Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674965_592215_43200", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] + [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] + [Implements(implementation: "IFeature.OwningType")] + public Guid? owningType { get; internal set; } + + /// + /// The Usage in which this Usage is nested (if any). + /// + [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] + [Implements(implementation: "IUsage.OwningUsage")] + public Guid? owningUsage { get; internal set; } + + /// + /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into + /// and/or out of a performance of the Step. + /// + [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] + [Implements(implementation: "IStep.Parameter")] + public List parameter { get; internal set; } + + /// + /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If + /// portionKind is not null, then the owningType of the OccurrenceUsage must be non-null, and the + /// OccurrenceUsage represents portions of the featuring instance of the owningType. + /// + [Property(xmiId: "_19_0_4_12e503d9_1618959362712_182798_7138", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IOccurrenceUsage.PortionKind")] + public PortionKind? PortionKind { get; set; } + + /// + /// The full ownership-qualified name of this Element, represented in a form that is valid according to + /// the KerML textual concrete syntax for qualified names (including use of unrestricted name notation + /// and escaped characters, as necessary). The qualifiedName is null if this Element has no + /// owningNamespace or if there is not a complete ownership chain of named Namespaces from a root + /// Namespace to this Element. If the owningNamespace has other Elements with the same name as this one, + /// then the qualifiedName is null for all such Elements other than the first. + /// + [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.QualifiedName")] + public string qualifiedName { get; internal set; } + + /// + /// The short name to be used for this Element during name resolution within its owningNamespace. This + /// is derived using the effectiveShortName() operation. By default, it is the same as the + /// declaredShortName, but this is overridden for certain kinds of Elements to compute a shortName even + /// when the declaredName is null. + /// + [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IElement.ShortName")] + public string shortName { get; internal set; } + + /// + /// The TextualRepresentations that annotate this Element. + /// + [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] + [Implements(implementation: "IElement.TextualRepresentation")] + public List textualRepresentation { get; internal set; } + + /// + /// Types that restrict the values of this Feature, such that the values must be instances of all the + /// types. The types of a Feature are derived from its typings and the types of its subsettings. If the + /// Feature is chained, then the types of the last Feature in the chain are also types of the chained + /// Feature. + /// + [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [RedefinedByProperty("IUsage.Definition")] + [Implements(implementation: "IFeature.Type")] + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); + + /// + /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the + /// unioningTypes together, which are the Types derived from the unioningType of the ownedUnionings of + /// this Type. For example, a Classifier for people might be the union of Classifiers for all the sexes. + /// Similarly, a feature for people's children might be the union of features dividing them in the + /// same ways as people in general. + /// + [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IType.UnioningType")] + public List unioningType { get; internal set; } + + /// + /// The Expression whose result, if false, determines that the bodyAction should continue to be + /// performed. It is the (optional) third owned parameter of the WhileLoopActionUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624290717721_449719_4195", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IWhileLoopActionUsage.UntilArgument")] + public Guid? untilArgument { get; internal set; } + + /// + /// The Usages that are features of this Usage (not necessarily owned). + /// + [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] + [Implements(implementation: "IUsage.Usage")] + public List usage { get; internal set; } + + /// + /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = + /// true. If isVariation = false, then there must be no variants. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] + [Implements(implementation: "IUsage.Variant")] + public List variant { get; internal set; } + + /// + /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this + /// must be all memberships of the Usage. If isVariation = false, then variantMembershipmust be empty. + /// + [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] + [Implements(implementation: "IUsage.VariantMembership")] + public List variantMembership { get; internal set; } + + /// + /// The Expression whose result, if true, determines that the bodyAction should continue to be + /// performed. It is the first owned parameter of the WhileLoopActionUsage. + /// + [Property(xmiId: "_19_0_4_12e503d9_1624203871924_371126_3842", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] + [Implements(implementation: "IWhileLoopActionUsage.WhileArgument")] + public Guid whileArgument { get; internal set; } + + } +} + +// ------------------------------------------------------------------------------------------------ +// --------THIS IS AN AUTOMATICALLY GENERATED FILE. ANY MANUAL CHANGES WILL BE OVERWRITTEN!-------- +// ------------------------------------------------------------------------------------------------ diff --git a/SysML2.NET/Core/AutoGenPoco/AcceptActionUsage.cs b/SysML2.NET/Core/AutoGenPoco/AcceptActionUsage.cs index 5ce82659..f9a6b133 100644 --- a/SysML2.NET/Core/AutoGenPoco/AcceptActionUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/AcceptActionUsage.cs @@ -89,10 +89,7 @@ public partial class AcceptActionUsage : IAcceptActionUsage [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IActionUsage.ActionDefinition")] - public List QueryActionDefinition() - { - return this.ComputeActionDefinition(); - } + public List actionDefinition => this.ComputeActionDefinition(); /// /// Various alternative identifiers for this Element. Generally, these will be set by tools. @@ -108,10 +105,7 @@ public List QueryActionDefinition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IActionUsage.ActionDefinition")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -123,10 +117,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -136,10 +127,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -167,10 +155,7 @@ public IFeature QueryCrossFeature() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] [Implements(implementation: "IUsage.Definition")] - public List QueryDefinition() - { - return this.ComputeDefinition(); - } + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -183,10 +168,7 @@ public List QueryDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -195,10 +177,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// The usages of this Usage that are directedFeatures. @@ -207,10 +186,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -227,10 +203,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -246,10 +219,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -259,10 +229,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -270,10 +237,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -282,20 +246,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -305,10 +263,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -316,10 +271,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// The at most one occurrenceDefinition that has isIndividual = true. @@ -327,10 +279,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public IOccurrenceDefinition QueryIndividualDefinition() - { - return this.ComputeIndividualDefinition(); - } + public IOccurrenceDefinition individualDefinition => this.ComputeIndividualDefinition(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -338,10 +287,7 @@ public IOccurrenceDefinition QueryIndividualDefinition() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -350,10 +296,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -361,10 +304,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -377,10 +317,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -404,10 +341,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -462,10 +396,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -487,10 +418,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IUsage.IsReference")] - public bool QueryIsReference() - { - return this.ComputeIsReference(); - } + public bool isReference => this.ComputeIsReference(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -518,7 +446,11 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -539,10 +471,7 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool QueryMayTimeVary() - { - return this.ComputeMayTimeVary(); - } + public bool mayTimeVary => this.ComputeMayTimeVary(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -550,10 +479,7 @@ public bool QueryMayTimeVary() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -561,10 +487,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -574,10 +497,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -587,10 +507,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ActionUsages that are nestedUsages of this Usage. @@ -598,10 +515,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List QueryNestedAction() - { - return this.ComputeNestedAction(); - } + public List nestedAction => this.ComputeNestedAction(); /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -609,10 +523,7 @@ public List QueryNestedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List QueryNestedAllocation() - { - return this.ComputeNestedAllocation(); - } + public List nestedAllocation => this.ComputeNestedAllocation(); /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -620,10 +531,7 @@ public List QueryNestedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List QueryNestedAnalysisCase() - { - return this.ComputeNestedAnalysisCase(); - } + public List nestedAnalysisCase => this.ComputeNestedAnalysisCase(); /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -631,10 +539,7 @@ public List QueryNestedAnalysisCase() [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List QueryNestedAttribute() - { - return this.ComputeNestedAttribute(); - } + public List nestedAttribute => this.ComputeNestedAttribute(); /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -642,10 +547,7 @@ public List QueryNestedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List QueryNestedCalculation() - { - return this.ComputeNestedCalculation(); - } + public List nestedCalculation => this.ComputeNestedCalculation(); /// /// The CaseUsages that are nestedUsages of this Usage. @@ -653,10 +555,7 @@ public List QueryNestedCalculation() [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List QueryNestedCase() - { - return this.ComputeNestedCase(); - } + public List nestedCase => this.ComputeNestedCase(); /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -664,10 +563,7 @@ public List QueryNestedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List QueryNestedConcern() - { - return this.ComputeNestedConcern(); - } + public List nestedConcern => this.ComputeNestedConcern(); /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -677,10 +573,7 @@ public List QueryNestedConcern() [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List QueryNestedConnection() - { - return this.ComputeNestedConnection(); - } + public List nestedConnection => this.ComputeNestedConnection(); /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -688,10 +581,7 @@ public List QueryNestedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List QueryNestedConstraint() - { - return this.ComputeNestedConstraint(); - } + public List nestedConstraint => this.ComputeNestedConstraint(); /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -699,10 +589,7 @@ public List QueryNestedConstraint() [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List QueryNestedEnumeration() - { - return this.ComputeNestedEnumeration(); - } + public List nestedEnumeration => this.ComputeNestedEnumeration(); /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -710,10 +597,7 @@ public List QueryNestedEnumeration() [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List QueryNestedFlow() - { - return this.ComputeNestedFlow(); - } + public List nestedFlow => this.ComputeNestedFlow(); /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -721,10 +605,7 @@ public List QueryNestedFlow() [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List QueryNestedInterface() - { - return this.ComputeNestedInterface(); - } + public List nestedInterface => this.ComputeNestedInterface(); /// /// The ItemUsages that are nestedUsages of this Usage. @@ -732,10 +613,7 @@ public List QueryNestedInterface() [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List QueryNestedItem() - { - return this.ComputeNestedItem(); - } + public List nestedItem => this.ComputeNestedItem(); /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -743,10 +621,7 @@ public List QueryNestedItem() [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List QueryNestedMetadata() - { - return this.ComputeNestedMetadata(); - } + public List nestedMetadata => this.ComputeNestedMetadata(); /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -754,10 +629,7 @@ public List QueryNestedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List QueryNestedOccurrence() - { - return this.ComputeNestedOccurrence(); - } + public List nestedOccurrence => this.ComputeNestedOccurrence(); /// /// The PartUsages that are nestedUsages of this Usage. @@ -765,10 +637,7 @@ public List QueryNestedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List QueryNestedPart() - { - return this.ComputeNestedPart(); - } + public List nestedPart => this.ComputeNestedPart(); /// /// The PortUsages that are nestedUsages of this Usage. @@ -776,10 +645,7 @@ public List QueryNestedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List QueryNestedPort() - { - return this.ComputeNestedPort(); - } + public List nestedPort => this.ComputeNestedPort(); /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -787,10 +653,7 @@ public List QueryNestedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List QueryNestedReference() - { - return this.ComputeNestedReference(); - } + public List nestedReference => this.ComputeNestedReference(); /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -798,10 +661,7 @@ public List QueryNestedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List QueryNestedRendering() - { - return this.ComputeNestedRendering(); - } + public List nestedRendering => this.ComputeNestedRendering(); /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -809,10 +669,7 @@ public List QueryNestedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List QueryNestedRequirement() - { - return this.ComputeNestedRequirement(); - } + public List nestedRequirement => this.ComputeNestedRequirement(); /// /// The StateUsages that are nestedUsages of this Usage. @@ -820,10 +677,7 @@ public List QueryNestedRequirement() [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List QueryNestedState() - { - return this.ComputeNestedState(); - } + public List nestedState => this.ComputeNestedState(); /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -831,10 +685,7 @@ public List QueryNestedState() [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List QueryNestedTransition() - { - return this.ComputeNestedTransition(); - } + public List nestedTransition => this.ComputeNestedTransition(); /// /// The Usages that are ownedFeatures of this Usage. @@ -843,10 +694,7 @@ public List QueryNestedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List QueryNestedUsage() - { - return this.ComputeNestedUsage(); - } + public List nestedUsage => this.ComputeNestedUsage(); /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -854,10 +702,7 @@ public List QueryNestedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List QueryNestedUseCase() - { - return this.ComputeNestedUseCase(); - } + public List nestedUseCase => this.ComputeNestedUseCase(); /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -865,10 +710,7 @@ public List QueryNestedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List QueryNestedVerificationCase() - { - return this.ComputeNestedVerificationCase(); - } + public List nestedVerificationCase => this.ComputeNestedVerificationCase(); /// /// The ViewUsages that are nestedUsages of this Usage. @@ -876,10 +718,7 @@ public List QueryNestedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List QueryNestedView() - { - return this.ComputeNestedView(); - } + public List nestedView => this.ComputeNestedView(); /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -887,10 +726,7 @@ public List QueryNestedView() [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List QueryNestedViewpoint() - { - return this.ComputeNestedViewpoint(); - } + public List nestedViewpoint => this.ComputeNestedViewpoint(); /// /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, @@ -901,10 +737,7 @@ public List QueryNestedViewpoint() [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] [RedefinedByProperty("IActionUsage.ActionDefinition")] [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List QueryOccurrenceDefinition() - { - return this.ComputeOccurrenceDefinition(); - } + List Systems.Occurrences.IOccurrenceUsage.occurrenceDefinition => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -912,10 +745,7 @@ public List QueryOccurrenceDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -925,10 +755,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -937,10 +764,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -949,10 +773,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -962,10 +783,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -975,10 +793,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -986,10 +801,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -998,10 +810,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -1009,10 +818,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -1022,10 +828,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -1035,10 +838,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -1048,10 +848,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -1061,10 +858,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -1073,10 +867,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -1085,10 +876,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -1099,10 +887,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -1111,10 +896,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -1123,10 +905,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -1144,10 +923,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -1157,10 +933,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -1170,10 +943,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -1183,10 +953,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1195,10 +962,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1206,10 +970,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The Definition that owns this Usage (if any). @@ -1218,10 +979,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public IDefinition QueryOwningDefinition() - { - return this.ComputeOwningDefinition(); - } + public IDefinition owningDefinition => this.ComputeOwningDefinition(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1229,10 +987,7 @@ public IDefinition QueryOwningDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1241,10 +996,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1253,10 +1005,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -1274,10 +1023,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The Usage in which this Usage is nested (if any). @@ -1285,10 +1031,7 @@ public IType QueryOwningType() [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public IUsage QueryOwningUsage() - { - return this.ComputeOwningUsage(); - } + public IUsage owningUsage => this.ComputeOwningUsage(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -1297,10 +1040,7 @@ public IUsage QueryOwningUsage() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// An Expression whose result is bound to the payload parameter of this AcceptActionUsage. If provided, @@ -1308,10 +1048,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1642710978429_81558_4948", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IAcceptActionUsage.PayloadArgument")] - public IExpression QueryPayloadArgument() - { - return this.ComputePayloadArgument(); - } + public IExpression payloadArgument => this.ComputePayloadArgument(); /// /// The nestedReference of this AcceptActionUsage that redefines the payload output parameter of the @@ -1321,10 +1058,7 @@ public IExpression QueryPayloadArgument() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591477541360_47573_933")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [Implements(implementation: "IAcceptActionUsage.PayloadParameter")] - public IReferenceUsage QueryPayloadParameter() - { - return this.ComputePayloadParameter(); - } + public IReferenceUsage payloadParameter => this.ComputePayloadParameter(); /// /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If @@ -1345,20 +1079,14 @@ public IReferenceUsage QueryPayloadParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// An Expression whose result is bound to the receiver input parameter of this AcceptActionUsage. /// [Property(xmiId: "_19_0_4_12e503d9_1612814670555_311543_168", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IAcceptActionUsage.ReceiverArgument")] - public IExpression QueryReceiverArgument() - { - return this.ComputeReceiverArgument(); - } + public IExpression receiverArgument => this.ComputeReceiverArgument(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1368,10 +1096,7 @@ public IExpression QueryReceiverArgument() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -1380,10 +1105,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1394,10 +1116,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1408,10 +1127,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1419,10 +1135,7 @@ public List QueryUnioningType() [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1431,10 +1144,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1443,10 +1153,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/ActionDefinition.cs b/SysML2.NET/Core/AutoGenPoco/ActionDefinition.cs index f32fdba7..200b33ee 100644 --- a/SysML2.NET/Core/AutoGenPoco/ActionDefinition.cs +++ b/SysML2.NET/Core/AutoGenPoco/ActionDefinition.cs @@ -81,10 +81,7 @@ public partial class ActionDefinition : IActionDefinition [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IActionDefinition.Action")] - public List QueryAction() - { - return this.ComputeAction(); - } + public List action => this.ComputeAction(); /// /// Various alternative identifiers for this Element. Generally, these will be set by tools. @@ -121,10 +118,7 @@ public List QueryAction() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -133,10 +127,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IBehavior.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IBehavior.Parameter"); /// /// The usages of this Definition that are directedFeatures. @@ -145,10 +136,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// The Documentation owned by this Element. @@ -157,10 +145,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -176,10 +161,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -187,10 +169,7 @@ public List QueryEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -199,10 +178,7 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -210,10 +186,7 @@ public List QueryFeatureMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -221,10 +194,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -233,10 +203,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -244,10 +211,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -260,10 +224,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -278,10 +239,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// Whether all necessary implied Relationships have been included in the ownedRelationships of this @@ -306,10 +264,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -337,10 +292,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -348,10 +300,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -361,10 +310,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -374,10 +320,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -385,10 +328,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ActionUsages that are ownedUsages of this Definition. @@ -396,10 +336,7 @@ public List QueryOutput() [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedAction")] - public List QueryOwnedAction() - { - return this.ComputeOwnedAction(); - } + public List ownedAction => this.ComputeOwnedAction(); /// /// The AllocationUsages that are ownedUsages of this Definition. @@ -407,10 +344,7 @@ public List QueryOwnedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedAllocation")] - public List QueryOwnedAllocation() - { - return this.ComputeOwnedAllocation(); - } + public List ownedAllocation => this.ComputeOwnedAllocation(); /// /// The AnalysisCaseUsages that are ownedUsages of this Definition. @@ -418,10 +352,7 @@ public List QueryOwnedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List QueryOwnedAnalysisCase() - { - return this.ComputeOwnedAnalysisCase(); - } + public List ownedAnalysisCase => this.ComputeOwnedAnalysisCase(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -431,10 +362,7 @@ public List QueryOwnedAnalysisCase() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The AttributeUsages that are ownedUsages of this Definition. @@ -442,10 +370,7 @@ public List QueryOwnedAnnotation() [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedAttribute")] - public List QueryOwnedAttribute() - { - return this.ComputeOwnedAttribute(); - } + public List ownedAttribute => this.ComputeOwnedAttribute(); /// /// The CalculationUsages that are ownedUsages of this Definition. @@ -453,10 +378,7 @@ public List QueryOwnedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedCalculation")] - public List QueryOwnedCalculation() - { - return this.ComputeOwnedCalculation(); - } + public List ownedCalculation => this.ComputeOwnedCalculation(); /// /// The code>CaseUsages that are ownedUsages of this Definition. @@ -464,10 +386,7 @@ public List QueryOwnedCalculation() [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] [Implements(implementation: "IDefinition.OwnedCase")] - public List QueryOwnedCase() - { - return this.ComputeOwnedCase(); - } + public List ownedCase => this.ComputeOwnedCase(); /// /// The ConcernUsages that are ownedUsages of this Definition. @@ -475,10 +394,7 @@ public List QueryOwnedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedConcern")] - public List QueryOwnedConcern() - { - return this.ComputeOwnedConcern(); - } + public List ownedConcern => this.ComputeOwnedConcern(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -487,10 +403,7 @@ public List QueryOwnedConcern() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes @@ -500,10 +413,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedConnection")] - public List QueryOwnedConnection() - { - return this.ComputeOwnedConnection(); - } + public List ownedConnection => this.ComputeOwnedConnection(); /// /// The ConstraintUsages that are ownedUsages of this Definition. @@ -511,10 +421,7 @@ public List QueryOwnedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedConstraint")] - public List QueryOwnedConstraint() - { - return this.ComputeOwnedConstraint(); - } + public List ownedConstraint => this.ComputeOwnedConstraint(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -524,10 +431,7 @@ public List QueryOwnedConstraint() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -537,10 +441,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -548,10 +449,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -560,10 +458,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The EnumerationUsages that are ownedUsages of this Definition. @@ -571,10 +466,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List QueryOwnedEnumeration() - { - return this.ComputeOwnedEnumeration(); - } + public List ownedEnumeration => this.ComputeOwnedEnumeration(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -582,10 +474,7 @@ public List QueryOwnedEnumeration() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -595,10 +484,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The FlowUsages that are ownedUsages of this Definition. @@ -606,10 +492,7 @@ public List QueryOwnedFeatureMembership() [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedFlow")] - public List QueryOwnedFlow() - { - return this.ComputeOwnedFlow(); - } + public List ownedFlow => this.ComputeOwnedFlow(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -619,10 +502,7 @@ public List QueryOwnedFlow() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The InterfaceUsages that are ownedUsages of this Definition. @@ -630,10 +510,7 @@ public List QueryOwnedImport() [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedInterface")] - public List QueryOwnedInterface() - { - return this.ComputeOwnedInterface(); - } + public List ownedInterface => this.ComputeOwnedInterface(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -642,10 +519,7 @@ public List QueryOwnedInterface() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The ItemUsages that are ownedUsages of this Definition. @@ -653,10 +527,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedItem")] - public List QueryOwnedItem() - { - return this.ComputeOwnedItem(); - } + public List ownedItem => this.ComputeOwnedItem(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -665,10 +536,7 @@ public List QueryOwnedItem() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -679,10 +547,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The MetadataUsages that are ownedUsages of this Definition. @@ -690,10 +555,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedMetadata")] - public List QueryOwnedMetadata() - { - return this.ComputeOwnedMetadata(); - } + public List ownedMetadata => this.ComputeOwnedMetadata(); /// /// The OccurrenceUsages that are ownedUsages of this Definition. @@ -701,10 +563,7 @@ public List QueryOwnedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List QueryOwnedOccurrence() - { - return this.ComputeOwnedOccurrence(); - } + public List ownedOccurrence => this.ComputeOwnedOccurrence(); /// /// The PartUsages that are ownedUsages of this Definition. @@ -712,10 +571,7 @@ public List QueryOwnedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedPart")] - public List QueryOwnedPart() - { - return this.ComputeOwnedPart(); - } + public List ownedPart => this.ComputeOwnedPart(); /// /// The PortUsages that are ownedUsages of this Definition. @@ -723,10 +579,7 @@ public List QueryOwnedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedPort")] - public List QueryOwnedPort() - { - return this.ComputeOwnedPort(); - } + public List ownedPort => this.ComputeOwnedPort(); /// /// The ReferenceUsages that are ownedUsages of this Definition. @@ -734,10 +587,7 @@ public List QueryOwnedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedReference")] - public List QueryOwnedReference() - { - return this.ComputeOwnedReference(); - } + public List ownedReference => this.ComputeOwnedReference(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -753,10 +603,7 @@ public List QueryOwnedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedRendering")] - public List QueryOwnedRendering() - { - return this.ComputeOwnedRendering(); - } + public List ownedRendering => this.ComputeOwnedRendering(); /// /// The RequirementUsages that are ownedUsages of this Definition. @@ -764,10 +611,7 @@ public List QueryOwnedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] [Implements(implementation: "IDefinition.OwnedRequirement")] - public List QueryOwnedRequirement() - { - return this.ComputeOwnedRequirement(); - } + public List ownedRequirement => this.ComputeOwnedRequirement(); /// /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific @@ -777,10 +621,7 @@ public List QueryOwnedRequirement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The StateUsages that are ownedUsages of this Definition. @@ -788,10 +629,7 @@ public List QueryOwnedSpecialization() [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedState")] - public List QueryOwnedState() - { - return this.ComputeOwnedState(); - } + public List ownedState => this.ComputeOwnedState(); /// /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier @@ -800,10 +638,7 @@ public List QueryOwnedState() [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List QueryOwnedSubclassification() - { - return this.ComputeOwnedSubclassification(); - } + public List ownedSubclassification => this.ComputeOwnedSubclassification(); /// /// The TransitionUsages that are ownedUsages of this Definition. @@ -811,10 +646,7 @@ public List QueryOwnedSubclassification() [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedTransition")] - public List QueryOwnedTransition() - { - return this.ComputeOwnedTransition(); - } + public List ownedTransition => this.ComputeOwnedTransition(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -823,10 +655,7 @@ public List QueryOwnedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The Usages that are ownedFeatures of this Definition. @@ -835,10 +664,7 @@ public List QueryOwnedUnioning() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.OwnedUsage")] - public List QueryOwnedUsage() - { - return this.ComputeOwnedUsage(); - } + public List ownedUsage => this.ComputeOwnedUsage(); /// /// The UseCaseUsages that are ownedUsages of this Definition. @@ -846,10 +672,7 @@ public List QueryOwnedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedUseCase")] - public List QueryOwnedUseCase() - { - return this.ComputeOwnedUseCase(); - } + public List ownedUseCase => this.ComputeOwnedUseCase(); /// /// The VerificationCaseUsages that are ownedUsages of this Definition. @@ -857,10 +680,7 @@ public List QueryOwnedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List QueryOwnedVerificationCase() - { - return this.ComputeOwnedVerificationCase(); - } + public List ownedVerificationCase => this.ComputeOwnedVerificationCase(); /// /// The ViewUsages that are ownedUsages of this Definition. @@ -868,10 +688,7 @@ public List QueryOwnedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedView")] - public List QueryOwnedView() - { - return this.ComputeOwnedView(); - } + public List ownedView => this.ComputeOwnedView(); /// /// The ViewpointUsages that are ownedUsages of this Definition. @@ -879,10 +696,7 @@ public List QueryOwnedView() [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List QueryOwnedViewpoint() - { - return this.ComputeOwnedViewpoint(); - } + public List ownedViewpoint => this.ComputeOwnedViewpoint(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -890,10 +704,7 @@ public List QueryOwnedViewpoint() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -902,10 +713,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -914,10 +722,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -934,10 +739,7 @@ public INamespace QueryOwningNamespace() [Property(xmiId: "_18_5_3_12e503d9_1543948010065_362066_20413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IBehavior.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -949,10 +751,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -962,10 +761,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The Steps that make up this Behavior. @@ -973,10 +769,7 @@ public string QueryShortName() [Property(xmiId: "_18_5_3_b9102da_1536346067212_587255_17343", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IBehavior.Step")] - public List QueryStep() - { - return this.ComputeStep(); - } + public List step => this.ComputeStep(); /// /// The TextualRepresentations that annotate this Element. @@ -985,10 +778,7 @@ public List QueryStep() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -999,10 +789,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Definition (not necessarily owned). @@ -1010,10 +797,7 @@ public List QueryUnioningType() [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IDefinition.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Definition as a variation point Definition, if @@ -1022,10 +806,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IDefinition.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then @@ -1035,10 +816,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IDefinition.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/ActionUsage.cs b/SysML2.NET/Core/AutoGenPoco/ActionUsage.cs index 0c5ed44a..534f27ba 100644 --- a/SysML2.NET/Core/AutoGenPoco/ActionUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/ActionUsage.cs @@ -87,10 +87,7 @@ public partial class ActionUsage : IActionUsage [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IActionUsage.ActionDefinition")] - public List QueryActionDefinition() - { - return this.ComputeActionDefinition(); - } + public List actionDefinition => this.ComputeActionDefinition(); /// /// Various alternative identifiers for this Element. Generally, these will be set by tools. @@ -106,10 +103,7 @@ public List QueryActionDefinition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IActionUsage.ActionDefinition")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -121,10 +115,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -134,10 +125,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -165,10 +153,7 @@ public IFeature QueryCrossFeature() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] [Implements(implementation: "IUsage.Definition")] - public List QueryDefinition() - { - return this.ComputeDefinition(); - } + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -181,10 +166,7 @@ public List QueryDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -193,10 +175,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// The usages of this Usage that are directedFeatures. @@ -205,10 +184,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -225,10 +201,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -244,10 +217,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -257,10 +227,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -268,10 +235,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -280,20 +244,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -303,10 +261,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -314,10 +269,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// The at most one occurrenceDefinition that has isIndividual = true. @@ -325,10 +277,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public IOccurrenceDefinition QueryIndividualDefinition() - { - return this.ComputeIndividualDefinition(); - } + public IOccurrenceDefinition individualDefinition => this.ComputeIndividualDefinition(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -336,10 +285,7 @@ public IOccurrenceDefinition QueryIndividualDefinition() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -348,10 +294,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -359,10 +302,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -375,10 +315,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -402,10 +339,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -460,10 +394,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -485,10 +416,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IUsage.IsReference")] - public bool QueryIsReference() - { - return this.ComputeIsReference(); - } + public bool isReference => this.ComputeIsReference(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -516,7 +444,11 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -537,10 +469,7 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool QueryMayTimeVary() - { - return this.ComputeMayTimeVary(); - } + public bool mayTimeVary => this.ComputeMayTimeVary(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -548,10 +477,7 @@ public bool QueryMayTimeVary() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -559,10 +485,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -572,10 +495,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -585,10 +505,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ActionUsages that are nestedUsages of this Usage. @@ -596,10 +513,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List QueryNestedAction() - { - return this.ComputeNestedAction(); - } + public List nestedAction => this.ComputeNestedAction(); /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -607,10 +521,7 @@ public List QueryNestedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List QueryNestedAllocation() - { - return this.ComputeNestedAllocation(); - } + public List nestedAllocation => this.ComputeNestedAllocation(); /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -618,10 +529,7 @@ public List QueryNestedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List QueryNestedAnalysisCase() - { - return this.ComputeNestedAnalysisCase(); - } + public List nestedAnalysisCase => this.ComputeNestedAnalysisCase(); /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -629,10 +537,7 @@ public List QueryNestedAnalysisCase() [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List QueryNestedAttribute() - { - return this.ComputeNestedAttribute(); - } + public List nestedAttribute => this.ComputeNestedAttribute(); /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -640,10 +545,7 @@ public List QueryNestedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List QueryNestedCalculation() - { - return this.ComputeNestedCalculation(); - } + public List nestedCalculation => this.ComputeNestedCalculation(); /// /// The CaseUsages that are nestedUsages of this Usage. @@ -651,10 +553,7 @@ public List QueryNestedCalculation() [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List QueryNestedCase() - { - return this.ComputeNestedCase(); - } + public List nestedCase => this.ComputeNestedCase(); /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -662,10 +561,7 @@ public List QueryNestedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List QueryNestedConcern() - { - return this.ComputeNestedConcern(); - } + public List nestedConcern => this.ComputeNestedConcern(); /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -675,10 +571,7 @@ public List QueryNestedConcern() [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List QueryNestedConnection() - { - return this.ComputeNestedConnection(); - } + public List nestedConnection => this.ComputeNestedConnection(); /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -686,10 +579,7 @@ public List QueryNestedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List QueryNestedConstraint() - { - return this.ComputeNestedConstraint(); - } + public List nestedConstraint => this.ComputeNestedConstraint(); /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -697,10 +587,7 @@ public List QueryNestedConstraint() [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List QueryNestedEnumeration() - { - return this.ComputeNestedEnumeration(); - } + public List nestedEnumeration => this.ComputeNestedEnumeration(); /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -708,10 +595,7 @@ public List QueryNestedEnumeration() [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List QueryNestedFlow() - { - return this.ComputeNestedFlow(); - } + public List nestedFlow => this.ComputeNestedFlow(); /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -719,10 +603,7 @@ public List QueryNestedFlow() [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List QueryNestedInterface() - { - return this.ComputeNestedInterface(); - } + public List nestedInterface => this.ComputeNestedInterface(); /// /// The ItemUsages that are nestedUsages of this Usage. @@ -730,10 +611,7 @@ public List QueryNestedInterface() [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List QueryNestedItem() - { - return this.ComputeNestedItem(); - } + public List nestedItem => this.ComputeNestedItem(); /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -741,10 +619,7 @@ public List QueryNestedItem() [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List QueryNestedMetadata() - { - return this.ComputeNestedMetadata(); - } + public List nestedMetadata => this.ComputeNestedMetadata(); /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -752,10 +627,7 @@ public List QueryNestedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List QueryNestedOccurrence() - { - return this.ComputeNestedOccurrence(); - } + public List nestedOccurrence => this.ComputeNestedOccurrence(); /// /// The PartUsages that are nestedUsages of this Usage. @@ -763,10 +635,7 @@ public List QueryNestedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List QueryNestedPart() - { - return this.ComputeNestedPart(); - } + public List nestedPart => this.ComputeNestedPart(); /// /// The PortUsages that are nestedUsages of this Usage. @@ -774,10 +643,7 @@ public List QueryNestedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List QueryNestedPort() - { - return this.ComputeNestedPort(); - } + public List nestedPort => this.ComputeNestedPort(); /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -785,10 +651,7 @@ public List QueryNestedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List QueryNestedReference() - { - return this.ComputeNestedReference(); - } + public List nestedReference => this.ComputeNestedReference(); /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -796,10 +659,7 @@ public List QueryNestedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List QueryNestedRendering() - { - return this.ComputeNestedRendering(); - } + public List nestedRendering => this.ComputeNestedRendering(); /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -807,10 +667,7 @@ public List QueryNestedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List QueryNestedRequirement() - { - return this.ComputeNestedRequirement(); - } + public List nestedRequirement => this.ComputeNestedRequirement(); /// /// The StateUsages that are nestedUsages of this Usage. @@ -818,10 +675,7 @@ public List QueryNestedRequirement() [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List QueryNestedState() - { - return this.ComputeNestedState(); - } + public List nestedState => this.ComputeNestedState(); /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -829,10 +683,7 @@ public List QueryNestedState() [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List QueryNestedTransition() - { - return this.ComputeNestedTransition(); - } + public List nestedTransition => this.ComputeNestedTransition(); /// /// The Usages that are ownedFeatures of this Usage. @@ -841,10 +692,7 @@ public List QueryNestedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List QueryNestedUsage() - { - return this.ComputeNestedUsage(); - } + public List nestedUsage => this.ComputeNestedUsage(); /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -852,10 +700,7 @@ public List QueryNestedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List QueryNestedUseCase() - { - return this.ComputeNestedUseCase(); - } + public List nestedUseCase => this.ComputeNestedUseCase(); /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -863,10 +708,7 @@ public List QueryNestedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List QueryNestedVerificationCase() - { - return this.ComputeNestedVerificationCase(); - } + public List nestedVerificationCase => this.ComputeNestedVerificationCase(); /// /// The ViewUsages that are nestedUsages of this Usage. @@ -874,10 +716,7 @@ public List QueryNestedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List QueryNestedView() - { - return this.ComputeNestedView(); - } + public List nestedView => this.ComputeNestedView(); /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -885,10 +724,7 @@ public List QueryNestedView() [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List QueryNestedViewpoint() - { - return this.ComputeNestedViewpoint(); - } + public List nestedViewpoint => this.ComputeNestedViewpoint(); /// /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, @@ -899,10 +735,7 @@ public List QueryNestedViewpoint() [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] [RedefinedByProperty("IActionUsage.ActionDefinition")] [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List QueryOccurrenceDefinition() - { - return this.ComputeOccurrenceDefinition(); - } + List Systems.Occurrences.IOccurrenceUsage.occurrenceDefinition => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -910,10 +743,7 @@ public List QueryOccurrenceDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -923,10 +753,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -935,10 +762,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -947,10 +771,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -960,10 +781,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -973,10 +791,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -984,10 +799,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -996,10 +808,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -1007,10 +816,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -1020,10 +826,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -1033,10 +836,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -1046,10 +846,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -1059,10 +856,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -1071,10 +865,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -1083,10 +874,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -1097,10 +885,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -1109,10 +894,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -1121,10 +903,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -1142,10 +921,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -1155,10 +931,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -1168,10 +941,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -1181,10 +951,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1193,10 +960,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1204,10 +968,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The Definition that owns this Usage (if any). @@ -1216,10 +977,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public IDefinition QueryOwningDefinition() - { - return this.ComputeOwningDefinition(); - } + public IDefinition owningDefinition => this.ComputeOwningDefinition(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1227,10 +985,7 @@ public IDefinition QueryOwningDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1239,10 +994,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1251,10 +1003,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -1272,10 +1021,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The Usage in which this Usage is nested (if any). @@ -1283,10 +1029,7 @@ public IType QueryOwningType() [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public IUsage QueryOwningUsage() - { - return this.ComputeOwningUsage(); - } + public IUsage owningUsage => this.ComputeOwningUsage(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -1295,10 +1038,7 @@ public IUsage QueryOwningUsage() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If @@ -1319,10 +1059,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1332,10 +1069,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -1344,10 +1078,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1358,10 +1089,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1372,10 +1100,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1383,10 +1108,7 @@ public List QueryUnioningType() [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1395,10 +1117,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1407,10 +1126,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/ActorMembership.cs b/SysML2.NET/Core/AutoGenPoco/ActorMembership.cs index a04586ed..3c6c50ed 100644 --- a/SysML2.NET/Core/AutoGenPoco/ActorMembership.cs +++ b/SysML2.NET/Core/AutoGenPoco/ActorMembership.cs @@ -85,10 +85,7 @@ public partial class ActorMembership : IActorMembership [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -122,10 +119,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. @@ -134,7 +128,11 @@ public bool QueryIsLibraryElement() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] [Implements(implementation: "IMembership.MemberElement")] - public IElement MemberElement { get; set; } + IElement Root.Namespaces.IMembership.MemberElement + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + } /// /// The elementId of the memberElement. @@ -142,10 +140,7 @@ public bool QueryIsLibraryElement() [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] [Implements(implementation: "IMembership.MemberElementId")] - public string QueryMemberElementId() - { - return this.ComputeMemberElementId(); - } + string Root.Namespaces.IMembership.memberElementId => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElementId"); /// /// The name of the memberElement relative to the membershipOwningNamespace. @@ -153,7 +148,11 @@ public string QueryMemberElementId() [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberName")] [Implements(implementation: "IMembership.MemberName")] - public string MemberName { get; set; } + string Root.Namespaces.IMembership.MemberName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + } /// /// The Namespace of which the memberElement becomes a member due to this Membership. @@ -164,10 +163,7 @@ public string QueryMemberElementId() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [RedefinedByProperty("IFeatureMembership.OwningType")] [Implements(implementation: "IMembership.MembershipOwningNamespace")] - public INamespace QueryMembershipOwningNamespace() - { - return this.ComputeMembershipOwningNamespace(); - } + INamespace Root.Namespaces.IMembership.membershipOwningNamespace => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwningType"); /// /// The short name of the memberElement relative to the membershipOwningNamespace. @@ -175,7 +171,11 @@ public INamespace QueryMembershipOwningNamespace() [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] [Implements(implementation: "IMembership.MemberShortName")] - public string MemberShortName { get; set; } + string Root.Namespaces.IMembership.MemberShortName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + } /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -185,10 +185,7 @@ public INamespace QueryMembershipOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The PartUsage specifying the actor. @@ -196,10 +193,7 @@ public string QueryName() [Property(xmiId: "_19_0_4_12e503d9_1621464305451_983612_1421", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1557528016548_548098_110830")] [Implements(implementation: "IActorMembership.OwnedActorParameter")] - public IPartUsage QueryOwnedActorParameter() - { - return this.ComputeOwnedActorParameter(); - } + public IPartUsage ownedActorParameter => this.ComputeOwnedActorParameter(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -209,10 +203,7 @@ public IPartUsage QueryOwnedActorParameter() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -220,10 +211,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this @@ -234,10 +222,7 @@ public List QueryOwnedElement() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] [RedefinedByProperty("IFeatureMembership.OwnedMemberFeature")] [Implements(implementation: "IOwningMembership.OwnedMemberElement")] - public IElement QueryOwnedMemberElement() - { - return this.ComputeOwnedMemberElement(); - } + IElement Root.Namespaces.IOwningMembership.ownedMemberElement => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwnedMemberFeature"); /// /// The elementId of the ownedMemberElement. @@ -245,10 +230,7 @@ public IElement QueryOwnedMemberElement() [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] - public string QueryOwnedMemberElementId() - { - return this.ComputeOwnedMemberElementId(); - } + public string ownedMemberElementId => this.ComputeOwnedMemberElementId(); /// /// The Feature that this FeatureMembership relates to its owningType, making it an ownedFeature of the @@ -258,10 +240,7 @@ public string QueryOwnedMemberElementId() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] [RedefinedByProperty("IParameterMembership.OwnedMemberParameter")] [Implements(implementation: "IFeatureMembership.OwnedMemberFeature")] - public IFeature QueryOwnedMemberFeature() - { - return this.ComputeOwnedMemberFeature(); - } + IFeature Core.Types.IFeatureMembership.ownedMemberFeature => throw new InvalidOperationException("Redefined by property IParameterMembership.OwnedMemberParameter"); /// /// The name of the ownedMemberElement. @@ -269,10 +248,7 @@ public IFeature QueryOwnedMemberFeature() [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] [Implements(implementation: "IOwningMembership.OwnedMemberName")] - public string QueryOwnedMemberName() - { - return this.ComputeOwnedMemberName(); - } + public string ownedMemberName => this.ComputeOwnedMemberName(); /// /// The Feature that is identified as a parameter by this ParameterMembership. @@ -281,10 +257,7 @@ public string QueryOwnedMemberName() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] [RedefinedByProperty("IActorMembership.OwnedActorParameter")] [Implements(implementation: "IParameterMembership.OwnedMemberParameter")] - public IFeature QueryOwnedMemberParameter() - { - return this.ComputeOwnedMemberParameter(); - } + IFeature Kernel.Behaviors.IParameterMembership.ownedMemberParameter => throw new InvalidOperationException("Redefined by property IActorMembership.OwnedActorParameter"); /// /// The shortName of the ownedMemberElement. @@ -292,10 +265,7 @@ public IFeature QueryOwnedMemberParameter() [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] - public string QueryOwnedMemberShortName() - { - return this.ComputeOwnedMemberShortName(); - } + public string ownedMemberShortName => this.ComputeOwnedMemberShortName(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -319,10 +289,7 @@ public string QueryOwnedMemberShortName() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -331,10 +298,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -343,10 +307,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -371,10 +332,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866524_738482_486")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] [Implements(implementation: "IFeatureMembership.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -386,10 +344,7 @@ public IType QueryOwningType() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -397,10 +352,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + public List relatedElement => this.ComputeRelatedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -410,10 +362,7 @@ public List QueryRelatedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -422,7 +371,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembership.MembershipOwningNamespace")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -431,7 +384,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembership.MemberElement")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + set => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + } /// /// The TextualRepresentations that annotate this Element. @@ -440,10 +397,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly diff --git a/SysML2.NET/Core/AutoGenPoco/AllocationDefinition.cs b/SysML2.NET/Core/AutoGenPoco/AllocationDefinition.cs index 68bc1ee8..859dd7ee 100644 --- a/SysML2.NET/Core/AutoGenPoco/AllocationDefinition.cs +++ b/SysML2.NET/Core/AutoGenPoco/AllocationDefinition.cs @@ -90,10 +90,7 @@ public partial class AllocationDefinition : IAllocationDefinition [Property(xmiId: "_19_0_4_12e503d9_1611430644481_402036_964", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IAllocationDefinition.Allocation")] - public List QueryAllocation() - { - return this.ComputeAllocation(); - } + public List allocation => this.ComputeAllocation(); /// /// The features of the Association that identify the things that can be related by it. A concrete @@ -104,10 +101,7 @@ public List QueryAllocation() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [RedefinedByProperty("IConnectionDefinition.ConnectionEnd")] [Implements(implementation: "IAssociation.AssociationEnd")] - public List QueryAssociationEnd() - { - return this.ComputeAssociationEnd(); - } + List Kernel.Associations.IAssociation.associationEnd => throw new InvalidOperationException("Redefined by property IConnectionDefinition.ConnectionEnd"); /// /// The Usages that define the things related by the ConnectionDefinition. @@ -115,10 +109,7 @@ public List QueryAssociationEnd() [Property(xmiId: "_19_0_2_12e503d9_1591476421094_685440_682", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562477648742_24204_22901")] [Implements(implementation: "IConnectionDefinition.ConnectionEnd")] - public List QueryConnectionEnd() - { - return this.ComputeConnectionEnd(); - } + public List connectionEnd => this.ComputeConnectionEnd(); /// /// The declared name of this Element. @@ -148,10 +139,7 @@ public List QueryConnectionEnd() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -159,10 +147,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// The usages of this Definition that are directedFeatures. @@ -171,10 +156,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// The Documentation owned by this Element. @@ -183,10 +165,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -203,10 +182,7 @@ public List QueryDocumentation() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IAssociation.AssociationEnd")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + List Core.Types.IType.endFeature => throw new InvalidOperationException("Redefined by property IAssociation.AssociationEnd"); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -214,10 +190,7 @@ public List QueryEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -226,10 +199,7 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -237,10 +207,7 @@ public List QueryFeatureMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -248,10 +215,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -260,10 +224,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -271,10 +232,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -287,10 +245,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -305,10 +260,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being @@ -341,10 +293,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// A ConnectionDefinition always has isSufficient = true. @@ -352,7 +301,7 @@ public bool QueryIsLibraryElement() [Property(xmiId: "_2022x_2_12e503d9_1734734871008_462076_156", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] [RedefinedProperty(propertyName: "_18_5_3_b9102da_1564072709069_937523_30797")] [Implements(implementation: "IConnectionDefinition.IsSufficient")] - bool Systems.Connections.IConnectionDefinition.IsSufficient { get; set; } + public bool IsSufficient { get; set; } /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -365,7 +314,11 @@ public bool QueryIsLibraryElement() [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IConnectionDefinition.IsSufficient")] [Implements(implementation: "IType.IsSufficient")] - bool Core.Types.IType.IsSufficient { get; set; } + bool Core.Types.IType.IsSufficient + { + get => throw new InvalidOperationException("Redefined by property IConnectionDefinition.IsSufficient"); + set => throw new InvalidOperationException("Redefined by property IConnectionDefinition.IsSufficient"); + } /// /// Whether this Definition is for a variation point or not. If true, then all the memberships of the @@ -381,10 +334,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -392,10 +342,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -405,10 +352,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -418,10 +362,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -429,10 +370,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ActionUsages that are ownedUsages of this Definition. @@ -440,10 +378,7 @@ public List QueryOutput() [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedAction")] - public List QueryOwnedAction() - { - return this.ComputeOwnedAction(); - } + public List ownedAction => this.ComputeOwnedAction(); /// /// The AllocationUsages that are ownedUsages of this Definition. @@ -451,10 +386,7 @@ public List QueryOwnedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedAllocation")] - public List QueryOwnedAllocation() - { - return this.ComputeOwnedAllocation(); - } + public List ownedAllocation => this.ComputeOwnedAllocation(); /// /// The AnalysisCaseUsages that are ownedUsages of this Definition. @@ -462,10 +394,7 @@ public List QueryOwnedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List QueryOwnedAnalysisCase() - { - return this.ComputeOwnedAnalysisCase(); - } + public List ownedAnalysisCase => this.ComputeOwnedAnalysisCase(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -475,10 +404,7 @@ public List QueryOwnedAnalysisCase() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The AttributeUsages that are ownedUsages of this Definition. @@ -486,10 +412,7 @@ public List QueryOwnedAnnotation() [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedAttribute")] - public List QueryOwnedAttribute() - { - return this.ComputeOwnedAttribute(); - } + public List ownedAttribute => this.ComputeOwnedAttribute(); /// /// The CalculationUsages that are ownedUsages of this Definition. @@ -497,10 +420,7 @@ public List QueryOwnedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedCalculation")] - public List QueryOwnedCalculation() - { - return this.ComputeOwnedCalculation(); - } + public List ownedCalculation => this.ComputeOwnedCalculation(); /// /// The code>CaseUsages that are ownedUsages of this Definition. @@ -508,10 +428,7 @@ public List QueryOwnedCalculation() [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] [Implements(implementation: "IDefinition.OwnedCase")] - public List QueryOwnedCase() - { - return this.ComputeOwnedCase(); - } + public List ownedCase => this.ComputeOwnedCase(); /// /// The ConcernUsages that are ownedUsages of this Definition. @@ -519,10 +436,7 @@ public List QueryOwnedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedConcern")] - public List QueryOwnedConcern() - { - return this.ComputeOwnedConcern(); - } + public List ownedConcern => this.ComputeOwnedConcern(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -531,10 +445,7 @@ public List QueryOwnedConcern() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes @@ -544,10 +455,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedConnection")] - public List QueryOwnedConnection() - { - return this.ComputeOwnedConnection(); - } + public List ownedConnection => this.ComputeOwnedConnection(); /// /// The ConstraintUsages that are ownedUsages of this Definition. @@ -555,10 +463,7 @@ public List QueryOwnedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedConstraint")] - public List QueryOwnedConstraint() - { - return this.ComputeOwnedConstraint(); - } + public List ownedConstraint => this.ComputeOwnedConstraint(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -568,10 +473,7 @@ public List QueryOwnedConstraint() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -581,10 +483,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -592,10 +491,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -604,10 +500,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The EnumerationUsages that are ownedUsages of this Definition. @@ -615,10 +508,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List QueryOwnedEnumeration() - { - return this.ComputeOwnedEnumeration(); - } + public List ownedEnumeration => this.ComputeOwnedEnumeration(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -626,10 +516,7 @@ public List QueryOwnedEnumeration() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -639,10 +526,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The FlowUsages that are ownedUsages of this Definition. @@ -650,10 +534,7 @@ public List QueryOwnedFeatureMembership() [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedFlow")] - public List QueryOwnedFlow() - { - return this.ComputeOwnedFlow(); - } + public List ownedFlow => this.ComputeOwnedFlow(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -663,10 +544,7 @@ public List QueryOwnedFlow() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The InterfaceUsages that are ownedUsages of this Definition. @@ -674,10 +552,7 @@ public List QueryOwnedImport() [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedInterface")] - public List QueryOwnedInterface() - { - return this.ComputeOwnedInterface(); - } + public List ownedInterface => this.ComputeOwnedInterface(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -686,10 +561,7 @@ public List QueryOwnedInterface() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The ItemUsages that are ownedUsages of this Definition. @@ -697,10 +569,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedItem")] - public List QueryOwnedItem() - { - return this.ComputeOwnedItem(); - } + public List ownedItem => this.ComputeOwnedItem(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -709,10 +578,7 @@ public List QueryOwnedItem() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -723,10 +589,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The MetadataUsages that are ownedUsages of this Definition. @@ -734,10 +597,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedMetadata")] - public List QueryOwnedMetadata() - { - return this.ComputeOwnedMetadata(); - } + public List ownedMetadata => this.ComputeOwnedMetadata(); /// /// The OccurrenceUsages that are ownedUsages of this Definition. @@ -745,10 +605,7 @@ public List QueryOwnedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List QueryOwnedOccurrence() - { - return this.ComputeOwnedOccurrence(); - } + public List ownedOccurrence => this.ComputeOwnedOccurrence(); /// /// The PartUsages that are ownedUsages of this Definition. @@ -756,10 +613,7 @@ public List QueryOwnedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedPart")] - public List QueryOwnedPart() - { - return this.ComputeOwnedPart(); - } + public List ownedPart => this.ComputeOwnedPart(); /// /// The PortUsages that are ownedUsages of this Definition. @@ -767,10 +621,7 @@ public List QueryOwnedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedPort")] - public List QueryOwnedPort() - { - return this.ComputeOwnedPort(); - } + public List ownedPort => this.ComputeOwnedPort(); /// /// The ReferenceUsages that are ownedUsages of this Definition. @@ -778,10 +629,7 @@ public List QueryOwnedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedReference")] - public List QueryOwnedReference() - { - return this.ComputeOwnedReference(); - } + public List ownedReference => this.ComputeOwnedReference(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -805,10 +653,7 @@ public List QueryOwnedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedRendering")] - public List QueryOwnedRendering() - { - return this.ComputeOwnedRendering(); - } + public List ownedRendering => this.ComputeOwnedRendering(); /// /// The RequirementUsages that are ownedUsages of this Definition. @@ -816,10 +661,7 @@ public List QueryOwnedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] [Implements(implementation: "IDefinition.OwnedRequirement")] - public List QueryOwnedRequirement() - { - return this.ComputeOwnedRequirement(); - } + public List ownedRequirement => this.ComputeOwnedRequirement(); /// /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific @@ -829,10 +671,7 @@ public List QueryOwnedRequirement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The StateUsages that are ownedUsages of this Definition. @@ -840,10 +679,7 @@ public List QueryOwnedSpecialization() [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedState")] - public List QueryOwnedState() - { - return this.ComputeOwnedState(); - } + public List ownedState => this.ComputeOwnedState(); /// /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier @@ -852,10 +688,7 @@ public List QueryOwnedState() [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List QueryOwnedSubclassification() - { - return this.ComputeOwnedSubclassification(); - } + public List ownedSubclassification => this.ComputeOwnedSubclassification(); /// /// The TransitionUsages that are ownedUsages of this Definition. @@ -863,10 +696,7 @@ public List QueryOwnedSubclassification() [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedTransition")] - public List QueryOwnedTransition() - { - return this.ComputeOwnedTransition(); - } + public List ownedTransition => this.ComputeOwnedTransition(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -875,10 +705,7 @@ public List QueryOwnedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The Usages that are ownedFeatures of this Definition. @@ -887,10 +714,7 @@ public List QueryOwnedUnioning() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.OwnedUsage")] - public List QueryOwnedUsage() - { - return this.ComputeOwnedUsage(); - } + public List ownedUsage => this.ComputeOwnedUsage(); /// /// The UseCaseUsages that are ownedUsages of this Definition. @@ -898,10 +722,7 @@ public List QueryOwnedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedUseCase")] - public List QueryOwnedUseCase() - { - return this.ComputeOwnedUseCase(); - } + public List ownedUseCase => this.ComputeOwnedUseCase(); /// /// The VerificationCaseUsages that are ownedUsages of this Definition. @@ -909,10 +730,7 @@ public List QueryOwnedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List QueryOwnedVerificationCase() - { - return this.ComputeOwnedVerificationCase(); - } + public List ownedVerificationCase => this.ComputeOwnedVerificationCase(); /// /// The ViewUsages that are ownedUsages of this Definition. @@ -920,10 +738,7 @@ public List QueryOwnedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedView")] - public List QueryOwnedView() - { - return this.ComputeOwnedView(); - } + public List ownedView => this.ComputeOwnedView(); /// /// The ViewpointUsages that are ownedUsages of this Definition. @@ -931,10 +746,7 @@ public List QueryOwnedView() [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List QueryOwnedViewpoint() - { - return this.ComputeOwnedViewpoint(); - } + public List ownedViewpoint => this.ComputeOwnedViewpoint(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -942,10 +754,7 @@ public List QueryOwnedViewpoint() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -954,10 +763,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -966,10 +772,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -997,10 +800,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -1009,10 +809,7 @@ public string QueryQualifiedName() [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedByProperty("IAssociation.RelatedType")] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + List Root.Elements.IRelationship.relatedElement => throw new InvalidOperationException("Redefined by property IAssociation.RelatedType"); /// /// The types of the associationEnds of the Association, which are the relatedElements of the @@ -1021,10 +818,7 @@ public List QueryRelatedElement() [Property(xmiId: "_18_5_3_12e503d9_1533160674994_4339_43349", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [Implements(implementation: "IAssociation.RelatedType")] - public List QueryRelatedType() - { - return this.ComputeRelatedType(); - } + public List relatedType => this.ComputeRelatedType(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1034,10 +828,7 @@ public List QueryRelatedType() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -1046,7 +837,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IAssociation.SourceType")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IAssociation.SourceType"); + set => throw new InvalidOperationException("Redefined by property IAssociation.SourceType"); + } /// /// The source relatedType for this Association. It is the first relatedType of the Association. @@ -1055,10 +850,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [Implements(implementation: "IAssociation.SourceType")] - public IType QuerySourceType() - { - return this.ComputeSourceType(); - } + public IType sourceType => this.ComputeSourceType(); /// /// The relatedElements to which this Relationship is considered to be directed. @@ -1067,7 +859,11 @@ public IType QuerySourceType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IAssociation.TargetType")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IAssociation.TargetType"); + set => throw new InvalidOperationException("Redefined by property IAssociation.TargetType"); + } /// /// The target relatedTypes for this Association. This includes all the relatedTypes other than the @@ -1077,10 +873,7 @@ public IType QuerySourceType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [Implements(implementation: "IAssociation.TargetType")] - public List QueryTargetType() - { - return this.ComputeTargetType(); - } + public List targetType => this.ComputeTargetType(); /// /// The TextualRepresentations that annotate this Element. @@ -1089,10 +882,7 @@ public List QueryTargetType() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1103,10 +893,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Definition (not necessarily owned). @@ -1114,10 +901,7 @@ public List QueryUnioningType() [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IDefinition.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Definition as a variation point Definition, if @@ -1126,10 +910,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IDefinition.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then @@ -1139,10 +920,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IDefinition.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/AllocationUsage.cs b/SysML2.NET/Core/AutoGenPoco/AllocationUsage.cs index f862e931..1e1d995e 100644 --- a/SysML2.NET/Core/AutoGenPoco/AllocationUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/AllocationUsage.cs @@ -91,10 +91,7 @@ public partial class AllocationUsage : IAllocationUsage [Property(xmiId: "_19_0_4_12e503d9_1611430742949_241425_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1594853499656_139435_802")] [Implements(implementation: "IAllocationUsage.AllocationDefinition")] - public List QueryAllocationDefinition() - { - return this.ComputeAllocationDefinition(); - } + public List allocationDefinition => this.ComputeAllocationDefinition(); /// /// The Associations that type the Connector. @@ -103,10 +100,7 @@ public List QueryAllocationDefinition() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IConnectionUsage.ConnectionDefinition")] [Implements(implementation: "IConnector.Association")] - public List QueryAssociation() - { - return this.ComputeAssociation(); - } + List Kernel.Connectors.IConnector.association => throw new InvalidOperationException("Redefined by property IConnectionUsage.ConnectionDefinition"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -118,10 +112,7 @@ public List QueryAssociation() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The AssociationStructures that are the types of this ConnectionUsage. Nominally, these are , but @@ -133,10 +124,7 @@ public List QueryChainingFeature() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674983_471497_43284")] [RedefinedByProperty("IAllocationUsage.AllocationDefinition")] [Implements(implementation: "IConnectionUsage.ConnectionDefinition")] - public List QueryConnectionDefinition() - { - return this.ComputeConnectionDefinition(); - } + List Systems.Connections.IConnectionUsage.connectionDefinition => throw new InvalidOperationException("Redefined by property IAllocationUsage.AllocationDefinition"); /// /// The endFeatures of a Connector, which redefine the endFeatures of the associations of the Connector. @@ -146,10 +134,7 @@ public List QueryConnectionDefinition() [Property(xmiId: "_18_5_3_12e503d9_1556735067666_827798_21922", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [Implements(implementation: "IConnector.ConnectorEnd")] - public List QueryConnectorEnd() - { - return this.ComputeConnectorEnd(); - } + public List connectorEnd => this.ComputeConnectorEnd(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -159,10 +144,7 @@ public List QueryConnectorEnd() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -188,10 +170,7 @@ public IFeature QueryCrossFeature() /// [Property(xmiId: "_2022x_2_12e503d9_1737751598145_444042_71", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IConnector.DefaultFeaturingType")] - public IType QueryDefaultFeaturingType() - { - return this.ComputeDefaultFeaturingType(); - } + public IType defaultFeaturingType => this.ComputeDefaultFeaturingType(); /// /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds @@ -202,10 +181,7 @@ public IType QueryDefaultFeaturingType() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] [Implements(implementation: "IUsage.Definition")] - public List QueryDefinition() - { - return this.ComputeDefinition(); - } + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -218,10 +194,7 @@ public List QueryDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -229,10 +202,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// The usages of this Usage that are directedFeatures. @@ -241,10 +211,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -261,10 +228,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -281,10 +245,7 @@ public List QueryDocumentation() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IConnector.ConnectorEnd")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + List Core.Types.IType.endFeature => throw new InvalidOperationException("Redefined by property IConnector.ConnectorEnd"); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -294,10 +255,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -305,10 +263,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -317,20 +272,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -340,10 +289,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -351,10 +297,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// The at most one occurrenceDefinition that has isIndividual = true. @@ -362,10 +305,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public IOccurrenceDefinition QueryIndividualDefinition() - { - return this.ComputeIndividualDefinition(); - } + public IOccurrenceDefinition individualDefinition => this.ComputeIndividualDefinition(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -373,10 +313,7 @@ public IOccurrenceDefinition QueryIndividualDefinition() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -385,10 +322,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -396,10 +330,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -412,10 +343,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -439,10 +367,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -505,10 +430,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -530,10 +452,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IUsage.IsReference")] - public bool QueryIsReference() - { - return this.ComputeIsReference(); - } + public bool isReference => this.ComputeIsReference(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -561,7 +480,11 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -579,10 +502,7 @@ public bool QueryIsReference() [Property(xmiId: "_18_5_3_12e503d9_1565471361757_649736_20796", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IItemUsage.ItemDefinition")] - public List QueryItemDefinition() - { - return this.ComputeItemDefinition(); - } + public List itemDefinition => this.ComputeItemDefinition(); /// /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its @@ -595,10 +515,7 @@ public List QueryItemDefinition() [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool QueryMayTimeVary() - { - return this.ComputeMayTimeVary(); - } + public bool mayTimeVary => this.ComputeMayTimeVary(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -606,10 +523,7 @@ public bool QueryMayTimeVary() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -617,10 +531,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -630,10 +541,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -643,10 +551,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ActionUsages that are nestedUsages of this Usage. @@ -654,10 +559,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List QueryNestedAction() - { - return this.ComputeNestedAction(); - } + public List nestedAction => this.ComputeNestedAction(); /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -665,10 +567,7 @@ public List QueryNestedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List QueryNestedAllocation() - { - return this.ComputeNestedAllocation(); - } + public List nestedAllocation => this.ComputeNestedAllocation(); /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -676,10 +575,7 @@ public List QueryNestedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List QueryNestedAnalysisCase() - { - return this.ComputeNestedAnalysisCase(); - } + public List nestedAnalysisCase => this.ComputeNestedAnalysisCase(); /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -687,10 +583,7 @@ public List QueryNestedAnalysisCase() [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List QueryNestedAttribute() - { - return this.ComputeNestedAttribute(); - } + public List nestedAttribute => this.ComputeNestedAttribute(); /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -698,10 +591,7 @@ public List QueryNestedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List QueryNestedCalculation() - { - return this.ComputeNestedCalculation(); - } + public List nestedCalculation => this.ComputeNestedCalculation(); /// /// The CaseUsages that are nestedUsages of this Usage. @@ -709,10 +599,7 @@ public List QueryNestedCalculation() [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List QueryNestedCase() - { - return this.ComputeNestedCase(); - } + public List nestedCase => this.ComputeNestedCase(); /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -720,10 +607,7 @@ public List QueryNestedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List QueryNestedConcern() - { - return this.ComputeNestedConcern(); - } + public List nestedConcern => this.ComputeNestedConcern(); /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -733,10 +617,7 @@ public List QueryNestedConcern() [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List QueryNestedConnection() - { - return this.ComputeNestedConnection(); - } + public List nestedConnection => this.ComputeNestedConnection(); /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -744,10 +625,7 @@ public List QueryNestedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List QueryNestedConstraint() - { - return this.ComputeNestedConstraint(); - } + public List nestedConstraint => this.ComputeNestedConstraint(); /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -755,10 +633,7 @@ public List QueryNestedConstraint() [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List QueryNestedEnumeration() - { - return this.ComputeNestedEnumeration(); - } + public List nestedEnumeration => this.ComputeNestedEnumeration(); /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -766,10 +641,7 @@ public List QueryNestedEnumeration() [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List QueryNestedFlow() - { - return this.ComputeNestedFlow(); - } + public List nestedFlow => this.ComputeNestedFlow(); /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -777,10 +649,7 @@ public List QueryNestedFlow() [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List QueryNestedInterface() - { - return this.ComputeNestedInterface(); - } + public List nestedInterface => this.ComputeNestedInterface(); /// /// The ItemUsages that are nestedUsages of this Usage. @@ -788,10 +657,7 @@ public List QueryNestedInterface() [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List QueryNestedItem() - { - return this.ComputeNestedItem(); - } + public List nestedItem => this.ComputeNestedItem(); /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -799,10 +665,7 @@ public List QueryNestedItem() [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List QueryNestedMetadata() - { - return this.ComputeNestedMetadata(); - } + public List nestedMetadata => this.ComputeNestedMetadata(); /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -810,10 +673,7 @@ public List QueryNestedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List QueryNestedOccurrence() - { - return this.ComputeNestedOccurrence(); - } + public List nestedOccurrence => this.ComputeNestedOccurrence(); /// /// The PartUsages that are nestedUsages of this Usage. @@ -821,10 +681,7 @@ public List QueryNestedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List QueryNestedPart() - { - return this.ComputeNestedPart(); - } + public List nestedPart => this.ComputeNestedPart(); /// /// The PortUsages that are nestedUsages of this Usage. @@ -832,10 +689,7 @@ public List QueryNestedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List QueryNestedPort() - { - return this.ComputeNestedPort(); - } + public List nestedPort => this.ComputeNestedPort(); /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -843,10 +697,7 @@ public List QueryNestedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List QueryNestedReference() - { - return this.ComputeNestedReference(); - } + public List nestedReference => this.ComputeNestedReference(); /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -854,10 +705,7 @@ public List QueryNestedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List QueryNestedRendering() - { - return this.ComputeNestedRendering(); - } + public List nestedRendering => this.ComputeNestedRendering(); /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -865,10 +713,7 @@ public List QueryNestedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List QueryNestedRequirement() - { - return this.ComputeNestedRequirement(); - } + public List nestedRequirement => this.ComputeNestedRequirement(); /// /// The StateUsages that are nestedUsages of this Usage. @@ -876,10 +721,7 @@ public List QueryNestedRequirement() [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List QueryNestedState() - { - return this.ComputeNestedState(); - } + public List nestedState => this.ComputeNestedState(); /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -887,10 +729,7 @@ public List QueryNestedState() [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List QueryNestedTransition() - { - return this.ComputeNestedTransition(); - } + public List nestedTransition => this.ComputeNestedTransition(); /// /// The Usages that are ownedFeatures of this Usage. @@ -899,10 +738,7 @@ public List QueryNestedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List QueryNestedUsage() - { - return this.ComputeNestedUsage(); - } + public List nestedUsage => this.ComputeNestedUsage(); /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -910,10 +746,7 @@ public List QueryNestedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List QueryNestedUseCase() - { - return this.ComputeNestedUseCase(); - } + public List nestedUseCase => this.ComputeNestedUseCase(); /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -921,10 +754,7 @@ public List QueryNestedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List QueryNestedVerificationCase() - { - return this.ComputeNestedVerificationCase(); - } + public List nestedVerificationCase => this.ComputeNestedVerificationCase(); /// /// The ViewUsages that are nestedUsages of this Usage. @@ -932,10 +762,7 @@ public List QueryNestedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List QueryNestedView() - { - return this.ComputeNestedView(); - } + public List nestedView => this.ComputeNestedView(); /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -943,10 +770,7 @@ public List QueryNestedView() [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List QueryNestedViewpoint() - { - return this.ComputeNestedViewpoint(); - } + public List nestedViewpoint => this.ComputeNestedViewpoint(); /// /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, @@ -956,10 +780,7 @@ public List QueryNestedViewpoint() [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List QueryOccurrenceDefinition() - { - return this.ComputeOccurrenceDefinition(); - } + public List occurrenceDefinition => this.ComputeOccurrenceDefinition(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -967,10 +788,7 @@ public List QueryOccurrenceDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -980,10 +798,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -992,10 +807,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -1004,10 +816,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -1017,10 +826,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -1030,10 +836,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -1041,10 +844,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -1053,10 +853,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -1064,10 +861,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -1077,10 +871,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -1090,10 +881,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -1103,10 +891,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -1116,10 +901,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -1128,10 +910,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -1140,10 +919,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -1154,10 +930,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -1166,10 +939,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -1178,10 +948,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -1207,10 +974,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -1220,10 +984,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -1233,10 +994,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -1246,10 +1004,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1258,10 +1013,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1269,10 +1021,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The Definition that owns this Usage (if any). @@ -1281,10 +1030,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public IDefinition QueryOwningDefinition() - { - return this.ComputeOwningDefinition(); - } + public IDefinition owningDefinition => this.ComputeOwningDefinition(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1292,10 +1038,7 @@ public IDefinition QueryOwningDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1304,10 +1047,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1316,10 +1056,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -1345,10 +1082,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The Usage in which this Usage is nested (if any). @@ -1356,10 +1090,7 @@ public IType QueryOwningType() [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public IUsage QueryOwningUsage() - { - return this.ComputeOwningUsage(); - } + public IUsage owningUsage => this.ComputeOwningUsage(); /// /// The itemDefinitions of this PartUsage that are PartDefinitions. @@ -1367,10 +1098,7 @@ public IUsage QueryOwningUsage() [Property(xmiId: "_19_0_2_12e503d9_1591475180488_929065_121", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565471361757_649736_20796")] [Implements(implementation: "IPartUsage.PartDefinition")] - public List QueryPartDefinition() - { - return this.ComputePartDefinition(); - } + public List partDefinition => this.ComputePartDefinition(); /// /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If @@ -1391,10 +1119,7 @@ public List QueryPartDefinition() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -1403,10 +1128,7 @@ public string QueryQualifiedName() [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedByProperty("IConnector.RelatedFeature")] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + List Root.Elements.IRelationship.relatedElement => throw new InvalidOperationException("Redefined by property IConnector.RelatedFeature"); /// /// The Features that are related by this Connector considered as a Relationship and that restrict the @@ -1415,10 +1137,7 @@ public List QueryRelatedElement() [Property(xmiId: "_18_5_3_12e503d9_1533160674968_916334_43210", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [Implements(implementation: "IConnector.RelatedFeature")] - public List QueryRelatedFeature() - { - return this.ComputeRelatedFeature(); - } + public List relatedFeature => this.ComputeRelatedFeature(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1428,10 +1147,7 @@ public List QueryRelatedFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -1440,7 +1156,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IConnector.SourceFeature")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + } /// /// The source relatedFeature for this Connector. It is the first relatedFeature. @@ -1449,10 +1169,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [Implements(implementation: "IConnector.SourceFeature")] - public IFeature QuerySourceFeature() - { - return this.ComputeSourceFeature(); - } + public IFeature sourceFeature => this.ComputeSourceFeature(); /// /// The relatedElements to which this Relationship is considered to be directed. @@ -1461,7 +1178,11 @@ public IFeature QuerySourceFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IConnector.TargetFeature")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + } /// /// The target relatedFeatures for this Connector. This includes all the relatedFeatures other than the @@ -1471,10 +1192,7 @@ public IFeature QuerySourceFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [Implements(implementation: "IConnector.TargetFeature")] - public List QueryTargetFeature() - { - return this.ComputeTargetFeature(); - } + public List targetFeature => this.ComputeTargetFeature(); /// /// The TextualRepresentations that annotate this Element. @@ -1483,10 +1201,7 @@ public List QueryTargetFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1497,10 +1212,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1511,10 +1223,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1522,10 +1231,7 @@ public List QueryUnioningType() [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1534,10 +1240,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1546,10 +1249,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/AnalysisCaseDefinition.cs b/SysML2.NET/Core/AutoGenPoco/AnalysisCaseDefinition.cs index 8842b31b..6fa2dcda 100644 --- a/SysML2.NET/Core/AutoGenPoco/AnalysisCaseDefinition.cs +++ b/SysML2.NET/Core/AutoGenPoco/AnalysisCaseDefinition.cs @@ -81,10 +81,7 @@ public partial class AnalysisCaseDefinition : IAnalysisCaseDefinition [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IActionDefinition.Action")] - public List QueryAction() - { - return this.ComputeAction(); - } + public List action => this.ComputeAction(); /// /// The parameters of this CaseDefinition that represent actors involved in the case. @@ -93,10 +90,7 @@ public List QueryAction() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "ICaseDefinition.ActorParameter")] - public List QueryActorParameter() - { - return this.ComputeActorParameter(); - } + public List actorParameter => this.ComputeActorParameter(); /// /// Various alternative identifiers for this Element. Generally, these will be set by tools. @@ -112,10 +106,7 @@ public List QueryActorParameter() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565500809065_170841_30688")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948400639_301251_20841")] [Implements(implementation: "ICalculationDefinition.Calculation")] - public List QueryCalculation() - { - return this.ComputeCalculation(); - } + public List calculation => this.ComputeCalculation(); /// /// The declared name of this Element. @@ -145,10 +136,7 @@ public List QueryCalculation() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -157,10 +145,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IBehavior.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IBehavior.Parameter"); /// /// The usages of this Definition that are directedFeatures. @@ -169,10 +154,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// The Documentation owned by this Element. @@ -181,10 +163,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -200,10 +179,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Expressions that are steps in the calculation of the result of this Function. @@ -211,10 +187,7 @@ public List QueryEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1543948400639_301251_20841", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] [Implements(implementation: "IFunction.Expression")] - public List QueryExpression() - { - return this.ComputeExpression(); - } + public List expression => this.ComputeExpression(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -222,10 +195,7 @@ public List QueryExpression() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -234,10 +204,7 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -245,10 +212,7 @@ public List QueryFeatureMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -256,10 +220,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -268,10 +229,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -279,10 +237,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -295,10 +250,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -313,10 +265,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// Whether all necessary implied Relationships have been included in the ownedRelationships of this @@ -341,10 +290,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether this Function can be used as the function of a model-level evaluable InvocationExpression. @@ -355,10 +301,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1617395221463_139517_26381", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFunction.IsModelLevelEvaluable")] - public bool QueryIsModelLevelEvaluable() - { - return this.ComputeIsModelLevelEvaluable(); - } + public bool isModelLevelEvaluable => this.ComputeIsModelLevelEvaluable(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -386,10 +329,7 @@ public bool QueryIsModelLevelEvaluable() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -397,10 +337,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -410,10 +347,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -423,10 +357,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The RequirementUsage representing the objective of this CaseDefinition. @@ -434,10 +365,7 @@ public string QueryName() [Property(xmiId: "_19_0_2_59601fc_1590259317710_27529_910", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "ICaseDefinition.ObjectiveRequirement")] - public IRequirementUsage QueryObjectiveRequirement() - { - return this.ComputeObjectiveRequirement(); - } + public IRequirementUsage objectiveRequirement => this.ComputeObjectiveRequirement(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -445,10 +373,7 @@ public IRequirementUsage QueryObjectiveRequirement() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ActionUsages that are ownedUsages of this Definition. @@ -456,10 +381,7 @@ public List QueryOutput() [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedAction")] - public List QueryOwnedAction() - { - return this.ComputeOwnedAction(); - } + public List ownedAction => this.ComputeOwnedAction(); /// /// The AllocationUsages that are ownedUsages of this Definition. @@ -467,10 +389,7 @@ public List QueryOwnedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedAllocation")] - public List QueryOwnedAllocation() - { - return this.ComputeOwnedAllocation(); - } + public List ownedAllocation => this.ComputeOwnedAllocation(); /// /// The AnalysisCaseUsages that are ownedUsages of this Definition. @@ -478,10 +397,7 @@ public List QueryOwnedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List QueryOwnedAnalysisCase() - { - return this.ComputeOwnedAnalysisCase(); - } + public List ownedAnalysisCase => this.ComputeOwnedAnalysisCase(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -491,10 +407,7 @@ public List QueryOwnedAnalysisCase() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The AttributeUsages that are ownedUsages of this Definition. @@ -502,10 +415,7 @@ public List QueryOwnedAnnotation() [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedAttribute")] - public List QueryOwnedAttribute() - { - return this.ComputeOwnedAttribute(); - } + public List ownedAttribute => this.ComputeOwnedAttribute(); /// /// The CalculationUsages that are ownedUsages of this Definition. @@ -513,10 +423,7 @@ public List QueryOwnedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedCalculation")] - public List QueryOwnedCalculation() - { - return this.ComputeOwnedCalculation(); - } + public List ownedCalculation => this.ComputeOwnedCalculation(); /// /// The code>CaseUsages that are ownedUsages of this Definition. @@ -524,10 +431,7 @@ public List QueryOwnedCalculation() [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] [Implements(implementation: "IDefinition.OwnedCase")] - public List QueryOwnedCase() - { - return this.ComputeOwnedCase(); - } + public List ownedCase => this.ComputeOwnedCase(); /// /// The ConcernUsages that are ownedUsages of this Definition. @@ -535,10 +439,7 @@ public List QueryOwnedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedConcern")] - public List QueryOwnedConcern() - { - return this.ComputeOwnedConcern(); - } + public List ownedConcern => this.ComputeOwnedConcern(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -547,10 +448,7 @@ public List QueryOwnedConcern() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes @@ -560,10 +458,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedConnection")] - public List QueryOwnedConnection() - { - return this.ComputeOwnedConnection(); - } + public List ownedConnection => this.ComputeOwnedConnection(); /// /// The ConstraintUsages that are ownedUsages of this Definition. @@ -571,10 +466,7 @@ public List QueryOwnedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedConstraint")] - public List QueryOwnedConstraint() - { - return this.ComputeOwnedConstraint(); - } + public List ownedConstraint => this.ComputeOwnedConstraint(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -584,10 +476,7 @@ public List QueryOwnedConstraint() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -597,10 +486,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -608,10 +494,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -620,10 +503,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The EnumerationUsages that are ownedUsages of this Definition. @@ -631,10 +511,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List QueryOwnedEnumeration() - { - return this.ComputeOwnedEnumeration(); - } + public List ownedEnumeration => this.ComputeOwnedEnumeration(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -642,10 +519,7 @@ public List QueryOwnedEnumeration() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -655,10 +529,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The FlowUsages that are ownedUsages of this Definition. @@ -666,10 +537,7 @@ public List QueryOwnedFeatureMembership() [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedFlow")] - public List QueryOwnedFlow() - { - return this.ComputeOwnedFlow(); - } + public List ownedFlow => this.ComputeOwnedFlow(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -679,10 +547,7 @@ public List QueryOwnedFlow() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The InterfaceUsages that are ownedUsages of this Definition. @@ -690,10 +555,7 @@ public List QueryOwnedImport() [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedInterface")] - public List QueryOwnedInterface() - { - return this.ComputeOwnedInterface(); - } + public List ownedInterface => this.ComputeOwnedInterface(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -702,10 +564,7 @@ public List QueryOwnedInterface() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The ItemUsages that are ownedUsages of this Definition. @@ -713,10 +572,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedItem")] - public List QueryOwnedItem() - { - return this.ComputeOwnedItem(); - } + public List ownedItem => this.ComputeOwnedItem(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -725,10 +581,7 @@ public List QueryOwnedItem() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -739,10 +592,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The MetadataUsages that are ownedUsages of this Definition. @@ -750,10 +600,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedMetadata")] - public List QueryOwnedMetadata() - { - return this.ComputeOwnedMetadata(); - } + public List ownedMetadata => this.ComputeOwnedMetadata(); /// /// The OccurrenceUsages that are ownedUsages of this Definition. @@ -761,10 +608,7 @@ public List QueryOwnedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List QueryOwnedOccurrence() - { - return this.ComputeOwnedOccurrence(); - } + public List ownedOccurrence => this.ComputeOwnedOccurrence(); /// /// The PartUsages that are ownedUsages of this Definition. @@ -772,10 +616,7 @@ public List QueryOwnedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedPart")] - public List QueryOwnedPart() - { - return this.ComputeOwnedPart(); - } + public List ownedPart => this.ComputeOwnedPart(); /// /// The PortUsages that are ownedUsages of this Definition. @@ -783,10 +624,7 @@ public List QueryOwnedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedPort")] - public List QueryOwnedPort() - { - return this.ComputeOwnedPort(); - } + public List ownedPort => this.ComputeOwnedPort(); /// /// The ReferenceUsages that are ownedUsages of this Definition. @@ -794,10 +632,7 @@ public List QueryOwnedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedReference")] - public List QueryOwnedReference() - { - return this.ComputeOwnedReference(); - } + public List ownedReference => this.ComputeOwnedReference(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -813,10 +648,7 @@ public List QueryOwnedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedRendering")] - public List QueryOwnedRendering() - { - return this.ComputeOwnedRendering(); - } + public List ownedRendering => this.ComputeOwnedRendering(); /// /// The RequirementUsages that are ownedUsages of this Definition. @@ -824,10 +656,7 @@ public List QueryOwnedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] [Implements(implementation: "IDefinition.OwnedRequirement")] - public List QueryOwnedRequirement() - { - return this.ComputeOwnedRequirement(); - } + public List ownedRequirement => this.ComputeOwnedRequirement(); /// /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific @@ -837,10 +666,7 @@ public List QueryOwnedRequirement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The StateUsages that are ownedUsages of this Definition. @@ -848,10 +674,7 @@ public List QueryOwnedSpecialization() [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedState")] - public List QueryOwnedState() - { - return this.ComputeOwnedState(); - } + public List ownedState => this.ComputeOwnedState(); /// /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier @@ -860,10 +683,7 @@ public List QueryOwnedState() [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List QueryOwnedSubclassification() - { - return this.ComputeOwnedSubclassification(); - } + public List ownedSubclassification => this.ComputeOwnedSubclassification(); /// /// The TransitionUsages that are ownedUsages of this Definition. @@ -871,10 +691,7 @@ public List QueryOwnedSubclassification() [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedTransition")] - public List QueryOwnedTransition() - { - return this.ComputeOwnedTransition(); - } + public List ownedTransition => this.ComputeOwnedTransition(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -883,10 +700,7 @@ public List QueryOwnedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The Usages that are ownedFeatures of this Definition. @@ -895,10 +709,7 @@ public List QueryOwnedUnioning() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.OwnedUsage")] - public List QueryOwnedUsage() - { - return this.ComputeOwnedUsage(); - } + public List ownedUsage => this.ComputeOwnedUsage(); /// /// The UseCaseUsages that are ownedUsages of this Definition. @@ -906,10 +717,7 @@ public List QueryOwnedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedUseCase")] - public List QueryOwnedUseCase() - { - return this.ComputeOwnedUseCase(); - } + public List ownedUseCase => this.ComputeOwnedUseCase(); /// /// The VerificationCaseUsages that are ownedUsages of this Definition. @@ -917,10 +725,7 @@ public List QueryOwnedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List QueryOwnedVerificationCase() - { - return this.ComputeOwnedVerificationCase(); - } + public List ownedVerificationCase => this.ComputeOwnedVerificationCase(); /// /// The ViewUsages that are ownedUsages of this Definition. @@ -928,10 +733,7 @@ public List QueryOwnedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedView")] - public List QueryOwnedView() - { - return this.ComputeOwnedView(); - } + public List ownedView => this.ComputeOwnedView(); /// /// The ViewpointUsages that are ownedUsages of this Definition. @@ -939,10 +741,7 @@ public List QueryOwnedView() [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List QueryOwnedViewpoint() - { - return this.ComputeOwnedViewpoint(); - } + public List ownedViewpoint => this.ComputeOwnedViewpoint(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -950,10 +749,7 @@ public List QueryOwnedViewpoint() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -962,10 +758,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -974,10 +767,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -994,10 +784,7 @@ public INamespace QueryOwningNamespace() [Property(xmiId: "_18_5_3_12e503d9_1543948010065_362066_20413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IBehavior.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -1009,10 +796,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The object or value that is the result of evaluating the Function. @@ -1021,10 +805,7 @@ public string QueryQualifiedName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] [Implements(implementation: "IFunction.Result")] - public IFeature QueryResult() - { - return this.ComputeResult(); - } + public IFeature result => this.ComputeResult(); /// /// An Expression used to compute the result of the AnalysisCaseDefinition, owned via a @@ -1034,10 +815,7 @@ public IFeature QueryResult() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948400639_301251_20841")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IAnalysisCaseDefinition.ResultExpression")] - public IExpression QueryResultExpression() - { - return this.ComputeResultExpression(); - } + public IExpression resultExpression => this.ComputeResultExpression(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1047,10 +825,7 @@ public IExpression QueryResultExpression() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The Steps that make up this Behavior. @@ -1058,10 +833,7 @@ public string QueryShortName() [Property(xmiId: "_18_5_3_b9102da_1536346067212_587255_17343", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IBehavior.Step")] - public List QueryStep() - { - return this.ComputeStep(); - } + public List step => this.ComputeStep(); /// /// The parameter of this CaseDefinition that represents its subject. @@ -1070,10 +842,7 @@ public List QueryStep() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "ICaseDefinition.SubjectParameter")] - public IUsage QuerySubjectParameter() - { - return this.ComputeSubjectParameter(); - } + public IUsage subjectParameter => this.ComputeSubjectParameter(); /// /// The TextualRepresentations that annotate this Element. @@ -1082,10 +851,7 @@ public IUsage QuerySubjectParameter() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1096,10 +862,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Definition (not necessarily owned). @@ -1107,10 +870,7 @@ public List QueryUnioningType() [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IDefinition.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Definition as a variation point Definition, if @@ -1119,10 +879,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IDefinition.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then @@ -1132,10 +889,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IDefinition.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/AnalysisCaseUsage.cs b/SysML2.NET/Core/AutoGenPoco/AnalysisCaseUsage.cs index 65ecefe8..fcf42290 100644 --- a/SysML2.NET/Core/AutoGenPoco/AnalysisCaseUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/AnalysisCaseUsage.cs @@ -86,10 +86,7 @@ public partial class AnalysisCaseUsage : IAnalysisCaseUsage [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [RedefinedByProperty("ICalculationUsage.CalculationDefinition")] [Implements(implementation: "IActionUsage.ActionDefinition")] - public List QueryActionDefinition() - { - return this.ComputeActionDefinition(); - } + List Systems.Actions.IActionUsage.actionDefinition => throw new InvalidOperationException("Redefined by property ICalculationUsage.CalculationDefinition"); /// /// The parameters of this CaseUsage that represent actors involved in the case. @@ -98,10 +95,7 @@ public List QueryActionDefinition() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "ICaseUsage.ActorParameter")] - public List QueryActorParameter() - { - return this.ComputeActorParameter(); - } + public List actorParameter => this.ComputeActorParameter(); /// /// Various alternative identifiers for this Element. Generally, these will be set by tools. @@ -116,10 +110,7 @@ public List QueryActorParameter() [Property(xmiId: "_19_0_2_12e503d9_1591152217935_225164_2921", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_59601fc_1590257465225_855208_512")] [Implements(implementation: "IAnalysisCaseUsage.AnalysisCaseDefinition")] - public IAnalysisCaseDefinition QueryAnalysisCaseDefinition() - { - return this.ComputeAnalysisCaseDefinition(); - } + public IAnalysisCaseDefinition analysisCaseDefinition => this.ComputeAnalysisCaseDefinition(); /// /// The Behaviors that type this Step. @@ -128,10 +119,7 @@ public IAnalysisCaseDefinition QueryAnalysisCaseDefinition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IExpression.Function")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); /// /// The Function that is the type of this CalculationUsage. Nominally, this would be a @@ -143,10 +131,7 @@ public List QueryBehavior() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1565500905804_589845_30779")] [RedefinedByProperty("ICaseUsage.CaseDefinition")] [Implements(implementation: "ICalculationUsage.CalculationDefinition")] - public IFunction QueryCalculationDefinition() - { - return this.ComputeCalculationDefinition(); - } + IFunction Systems.Calculations.ICalculationUsage.calculationDefinition => throw new InvalidOperationException("Redefined by property ICaseUsage.CaseDefinition"); /// /// The CaseDefinition that is the type of this CaseUsage. @@ -155,10 +140,7 @@ public IFunction QueryCalculationDefinition() [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1588213526305_899324_302")] [RedefinedByProperty("IAnalysisCaseUsage.AnalysisCaseDefinition")] [Implements(implementation: "ICaseUsage.CaseDefinition")] - public ICaseDefinition QueryCaseDefinition() - { - return this.ComputeCaseDefinition(); - } + ICaseDefinition Systems.Cases.ICaseUsage.caseDefinition => throw new InvalidOperationException("Redefined by property IAnalysisCaseUsage.AnalysisCaseDefinition"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -170,10 +152,7 @@ public ICaseDefinition QueryCaseDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -183,10 +162,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -214,10 +190,7 @@ public IFeature QueryCrossFeature() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] [Implements(implementation: "IUsage.Definition")] - public List QueryDefinition() - { - return this.ComputeDefinition(); - } + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -230,10 +203,7 @@ public List QueryDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -242,10 +212,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// The usages of this Usage that are directedFeatures. @@ -254,10 +221,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -274,10 +238,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -293,10 +254,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -306,10 +264,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -317,10 +272,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -329,20 +281,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -352,10 +298,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Function that types this Expression. @@ -364,10 +307,7 @@ public List QueryFeaturingType() [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [RedefinedByProperty("ICalculationUsage.CalculationDefinition")] [Implements(implementation: "IExpression.Function")] - public IFunction QueryFunction() - { - return this.ComputeFunction(); - } + IFunction Kernel.Functions.IExpression.function => throw new InvalidOperationException("Redefined by property ICalculationUsage.CalculationDefinition"); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -375,10 +315,7 @@ public IFunction QueryFunction() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// The at most one occurrenceDefinition that has isIndividual = true. @@ -386,10 +323,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public IOccurrenceDefinition QueryIndividualDefinition() - { - return this.ComputeIndividualDefinition(); - } + public IOccurrenceDefinition individualDefinition => this.ComputeIndividualDefinition(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -397,10 +331,7 @@ public IOccurrenceDefinition QueryIndividualDefinition() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -409,10 +340,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -420,10 +348,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -436,10 +361,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -463,10 +385,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -521,10 +440,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, @@ -532,10 +448,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool QueryIsModelLevelEvaluable() - { - return this.ComputeIsModelLevelEvaluable(); - } + public bool isModelLevelEvaluable => this.ComputeIsModelLevelEvaluable(); /// /// Whether an order exists for the values of this Feature or not. @@ -557,10 +470,7 @@ public bool QueryIsModelLevelEvaluable() /// [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IUsage.IsReference")] - public bool QueryIsReference() - { - return this.ComputeIsReference(); - } + public bool isReference => this.ComputeIsReference(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -588,7 +498,11 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -609,10 +523,7 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool QueryMayTimeVary() - { - return this.ComputeMayTimeVary(); - } + public bool mayTimeVary => this.ComputeMayTimeVary(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -620,10 +531,7 @@ public bool QueryMayTimeVary() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -631,10 +539,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -644,10 +549,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -657,10 +559,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ActionUsages that are nestedUsages of this Usage. @@ -668,10 +567,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List QueryNestedAction() - { - return this.ComputeNestedAction(); - } + public List nestedAction => this.ComputeNestedAction(); /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -679,10 +575,7 @@ public List QueryNestedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List QueryNestedAllocation() - { - return this.ComputeNestedAllocation(); - } + public List nestedAllocation => this.ComputeNestedAllocation(); /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -690,10 +583,7 @@ public List QueryNestedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List QueryNestedAnalysisCase() - { - return this.ComputeNestedAnalysisCase(); - } + public List nestedAnalysisCase => this.ComputeNestedAnalysisCase(); /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -701,10 +591,7 @@ public List QueryNestedAnalysisCase() [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List QueryNestedAttribute() - { - return this.ComputeNestedAttribute(); - } + public List nestedAttribute => this.ComputeNestedAttribute(); /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -712,10 +599,7 @@ public List QueryNestedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List QueryNestedCalculation() - { - return this.ComputeNestedCalculation(); - } + public List nestedCalculation => this.ComputeNestedCalculation(); /// /// The CaseUsages that are nestedUsages of this Usage. @@ -723,10 +607,7 @@ public List QueryNestedCalculation() [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List QueryNestedCase() - { - return this.ComputeNestedCase(); - } + public List nestedCase => this.ComputeNestedCase(); /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -734,10 +615,7 @@ public List QueryNestedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List QueryNestedConcern() - { - return this.ComputeNestedConcern(); - } + public List nestedConcern => this.ComputeNestedConcern(); /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -747,10 +625,7 @@ public List QueryNestedConcern() [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List QueryNestedConnection() - { - return this.ComputeNestedConnection(); - } + public List nestedConnection => this.ComputeNestedConnection(); /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -758,10 +633,7 @@ public List QueryNestedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List QueryNestedConstraint() - { - return this.ComputeNestedConstraint(); - } + public List nestedConstraint => this.ComputeNestedConstraint(); /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -769,10 +641,7 @@ public List QueryNestedConstraint() [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List QueryNestedEnumeration() - { - return this.ComputeNestedEnumeration(); - } + public List nestedEnumeration => this.ComputeNestedEnumeration(); /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -780,10 +649,7 @@ public List QueryNestedEnumeration() [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List QueryNestedFlow() - { - return this.ComputeNestedFlow(); - } + public List nestedFlow => this.ComputeNestedFlow(); /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -791,10 +657,7 @@ public List QueryNestedFlow() [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List QueryNestedInterface() - { - return this.ComputeNestedInterface(); - } + public List nestedInterface => this.ComputeNestedInterface(); /// /// The ItemUsages that are nestedUsages of this Usage. @@ -802,10 +665,7 @@ public List QueryNestedInterface() [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List QueryNestedItem() - { - return this.ComputeNestedItem(); - } + public List nestedItem => this.ComputeNestedItem(); /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -813,10 +673,7 @@ public List QueryNestedItem() [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List QueryNestedMetadata() - { - return this.ComputeNestedMetadata(); - } + public List nestedMetadata => this.ComputeNestedMetadata(); /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -824,10 +681,7 @@ public List QueryNestedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List QueryNestedOccurrence() - { - return this.ComputeNestedOccurrence(); - } + public List nestedOccurrence => this.ComputeNestedOccurrence(); /// /// The PartUsages that are nestedUsages of this Usage. @@ -835,10 +689,7 @@ public List QueryNestedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List QueryNestedPart() - { - return this.ComputeNestedPart(); - } + public List nestedPart => this.ComputeNestedPart(); /// /// The PortUsages that are nestedUsages of this Usage. @@ -846,10 +697,7 @@ public List QueryNestedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List QueryNestedPort() - { - return this.ComputeNestedPort(); - } + public List nestedPort => this.ComputeNestedPort(); /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -857,10 +705,7 @@ public List QueryNestedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List QueryNestedReference() - { - return this.ComputeNestedReference(); - } + public List nestedReference => this.ComputeNestedReference(); /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -868,10 +713,7 @@ public List QueryNestedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List QueryNestedRendering() - { - return this.ComputeNestedRendering(); - } + public List nestedRendering => this.ComputeNestedRendering(); /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -879,10 +721,7 @@ public List QueryNestedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List QueryNestedRequirement() - { - return this.ComputeNestedRequirement(); - } + public List nestedRequirement => this.ComputeNestedRequirement(); /// /// The StateUsages that are nestedUsages of this Usage. @@ -890,10 +729,7 @@ public List QueryNestedRequirement() [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List QueryNestedState() - { - return this.ComputeNestedState(); - } + public List nestedState => this.ComputeNestedState(); /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -901,10 +737,7 @@ public List QueryNestedState() [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List QueryNestedTransition() - { - return this.ComputeNestedTransition(); - } + public List nestedTransition => this.ComputeNestedTransition(); /// /// The Usages that are ownedFeatures of this Usage. @@ -913,10 +746,7 @@ public List QueryNestedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List QueryNestedUsage() - { - return this.ComputeNestedUsage(); - } + public List nestedUsage => this.ComputeNestedUsage(); /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -924,10 +754,7 @@ public List QueryNestedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List QueryNestedUseCase() - { - return this.ComputeNestedUseCase(); - } + public List nestedUseCase => this.ComputeNestedUseCase(); /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -935,10 +762,7 @@ public List QueryNestedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List QueryNestedVerificationCase() - { - return this.ComputeNestedVerificationCase(); - } + public List nestedVerificationCase => this.ComputeNestedVerificationCase(); /// /// The ViewUsages that are nestedUsages of this Usage. @@ -946,10 +770,7 @@ public List QueryNestedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List QueryNestedView() - { - return this.ComputeNestedView(); - } + public List nestedView => this.ComputeNestedView(); /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -957,10 +778,7 @@ public List QueryNestedView() [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List QueryNestedViewpoint() - { - return this.ComputeNestedViewpoint(); - } + public List nestedViewpoint => this.ComputeNestedViewpoint(); /// /// The RequirementUsage representing the objective of this CaseUsage. @@ -968,10 +786,7 @@ public List QueryNestedViewpoint() [Property(xmiId: "_19_0_2_12e503d9_1591138794257_404044_2145", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "ICaseUsage.ObjectiveRequirement")] - public IRequirementUsage QueryObjectiveRequirement() - { - return this.ComputeObjectiveRequirement(); - } + public IRequirementUsage objectiveRequirement => this.ComputeObjectiveRequirement(); /// /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, @@ -982,10 +797,7 @@ public IRequirementUsage QueryObjectiveRequirement() [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] [RedefinedByProperty("IActionUsage.ActionDefinition")] [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List QueryOccurrenceDefinition() - { - return this.ComputeOccurrenceDefinition(); - } + List Systems.Occurrences.IOccurrenceUsage.occurrenceDefinition => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -993,10 +805,7 @@ public List QueryOccurrenceDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -1006,10 +815,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -1018,10 +824,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -1030,10 +833,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -1043,10 +843,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -1056,10 +853,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -1067,10 +861,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -1079,10 +870,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -1090,10 +878,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -1103,10 +888,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -1116,10 +898,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -1129,10 +908,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -1142,10 +918,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -1154,10 +927,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -1166,10 +936,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -1180,10 +947,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -1192,10 +956,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -1204,10 +965,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -1225,10 +983,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -1238,10 +993,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -1251,10 +1003,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -1264,10 +1013,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1276,10 +1022,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1287,10 +1030,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The Definition that owns this Usage (if any). @@ -1299,10 +1039,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public IDefinition QueryOwningDefinition() - { - return this.ComputeOwningDefinition(); - } + public IDefinition owningDefinition => this.ComputeOwningDefinition(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1310,10 +1047,7 @@ public IDefinition QueryOwningDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1322,10 +1056,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1334,10 +1065,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -1355,10 +1083,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The Usage in which this Usage is nested (if any). @@ -1366,10 +1091,7 @@ public IType QueryOwningType() [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public IUsage QueryOwningUsage() - { - return this.ComputeOwningUsage(); - } + public IUsage owningUsage => this.ComputeOwningUsage(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -1378,10 +1100,7 @@ public IUsage QueryOwningUsage() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If @@ -1402,10 +1121,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// An output parameter of the Expression whose value is the result of the Expression. The result of an @@ -1416,10 +1132,7 @@ public string QueryQualifiedName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [Implements(implementation: "IExpression.Result")] - public IFeature QueryResult() - { - return this.ComputeResult(); - } + public IFeature result => this.ComputeResult(); /// /// An Expression used to compute the result of the AnalysisCaseUsage, owned via a @@ -1428,10 +1141,7 @@ public IFeature QueryResult() [Property(xmiId: "_19_0_2_12e503d9_1591151453868_910052_2600", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IAnalysisCaseUsage.ResultExpression")] - public IExpression QueryResultExpression() - { - return this.ComputeResultExpression(); - } + public IExpression resultExpression => this.ComputeResultExpression(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1441,10 +1151,7 @@ public IExpression QueryResultExpression() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The parameter of this CaseUsage that represents its subject. @@ -1453,10 +1160,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "ICaseUsage.SubjectParameter")] - public IUsage QuerySubjectParameter() - { - return this.ComputeSubjectParameter(); - } + public IUsage subjectParameter => this.ComputeSubjectParameter(); /// /// The TextualRepresentations that annotate this Element. @@ -1465,10 +1169,7 @@ public IUsage QuerySubjectParameter() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1479,10 +1180,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1493,10 +1191,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1504,10 +1199,7 @@ public List QueryUnioningType() [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1516,10 +1208,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1528,10 +1217,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/AnnotatingElement.cs b/SysML2.NET/Core/AutoGenPoco/AnnotatingElement.cs index c3efce52..817b69ea 100644 --- a/SysML2.NET/Core/AutoGenPoco/AnnotatingElement.cs +++ b/SysML2.NET/Core/AutoGenPoco/AnnotatingElement.cs @@ -62,10 +62,7 @@ public partial class AnnotatingElement : IAnnotatingElement /// [Property(xmiId: "_19_0_2_12e503d9_1594145755058_99428_86", aggregation: AggregationKind.None, lowerValue: 1, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IAnnotatingElement.AnnotatedElement")] - public List QueryAnnotatedElement() - { - return this.ComputeAnnotatedElement(); - } + public List annotatedElement => this.ComputeAnnotatedElement(); /// /// The Annotations that relate this AnnotatingElement to its annotatedElements. This includes the @@ -74,10 +71,7 @@ public List QueryAnnotatedElement() [Property(xmiId: "_18_5_3_12e503d9_1543094212714_953084_18407", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IAnnotatingElement.Annotation")] - public List QueryAnnotation() - { - return this.ComputeAnnotation(); - } + public List annotation => this.ComputeAnnotation(); /// /// The declared name of this Element. @@ -103,10 +97,7 @@ public List QueryAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -132,10 +123,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -145,10 +133,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this AnnotatingElement that are Annotations, for which this @@ -158,10 +143,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IAnnotatingElement.OwnedAnnotatingRelationship")] - public List QueryOwnedAnnotatingRelationship() - { - return this.ComputeOwnedAnnotatingRelationship(); - } + public List ownedAnnotatingRelationship => this.ComputeOwnedAnnotatingRelationship(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -171,10 +153,7 @@ public List QueryOwnedAnnotatingRelationship() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -182,10 +161,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -201,10 +177,7 @@ public List QueryOwnedElement() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this AnnotatingRelationship, if it is an Annotation @@ -213,10 +186,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] [Implements(implementation: "IAnnotatingElement.OwningAnnotatingRelationship")] - public IAnnotation QueryOwningAnnotatingRelationship() - { - return this.ComputeOwningAnnotatingRelationship(); - } + public IAnnotation owningAnnotatingRelationship => this.ComputeOwningAnnotatingRelationship(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -225,10 +195,7 @@ public IAnnotation QueryOwningAnnotatingRelationship() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -237,10 +204,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -260,10 +224,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -273,10 +234,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -285,10 +243,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/Annotation.cs b/SysML2.NET/Core/AutoGenPoco/Annotation.cs index e00112e5..e2776403 100644 --- a/SysML2.NET/Core/AutoGenPoco/Annotation.cs +++ b/SysML2.NET/Core/AutoGenPoco/Annotation.cs @@ -69,10 +69,7 @@ public partial class Annotation : IAnnotation [Property(xmiId: "_18_5_3_12e503d9_1543094212714_638255_18408", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [Implements(implementation: "IAnnotation.AnnotatingElement")] - public IAnnotatingElement QueryAnnotatingElement() - { - return this.ComputeAnnotatingElement(); - } + public IAnnotatingElement annotatingElement => this.ComputeAnnotatingElement(); /// /// The declared name of this Element. @@ -98,10 +95,7 @@ public IAnnotatingElement QueryAnnotatingElement() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -135,10 +129,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -148,10 +139,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The annotatingElement of this Annotation, when it is an ownedRelatedElement. @@ -160,10 +148,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_638255_18408")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_59873_43302")] [Implements(implementation: "IAnnotation.OwnedAnnotatingElement")] - public IAnnotatingElement QueryOwnedAnnotatingElement() - { - return this.ComputeOwnedAnnotatingElement(); - } + public IAnnotatingElement ownedAnnotatingElement => this.ComputeOwnedAnnotatingElement(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -173,10 +158,7 @@ public IAnnotatingElement QueryOwnedAnnotatingElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -184,10 +166,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -211,10 +190,7 @@ public List QueryOwnedElement() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The annotatedElement of this Annotation, when it is also the owningRelatedElement. @@ -223,10 +199,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_494140_18542")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] [Implements(implementation: "IAnnotation.OwningAnnotatedElement")] - public IElement QueryOwningAnnotatedElement() - { - return this.ComputeOwningAnnotatedElement(); - } + public IElement owningAnnotatedElement => this.ComputeOwningAnnotatedElement(); /// /// The annotatingElement of this Annotation, when it is the owningRelatedElement. @@ -235,10 +208,7 @@ public IElement QueryOwningAnnotatedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_638255_18408")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] [Implements(implementation: "IAnnotation.OwningAnnotatingElement")] - public IAnnotatingElement QueryOwningAnnotatingElement() - { - return this.ComputeOwningAnnotatingElement(); - } + public IAnnotatingElement owningAnnotatingElement => this.ComputeOwningAnnotatingElement(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -247,10 +217,7 @@ public IAnnotatingElement QueryOwningAnnotatingElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -259,10 +226,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -290,10 +254,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -301,10 +262,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + public List relatedElement => this.ComputeRelatedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -314,10 +272,7 @@ public List QueryRelatedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -326,7 +281,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IAnnotation.AnnotatingElement")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IAnnotation.AnnotatingElement"); + set => throw new InvalidOperationException("Redefined by property IAnnotation.AnnotatingElement"); + } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -335,7 +294,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IAnnotation.AnnotatedElement")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IAnnotation.AnnotatedElement"); + set => throw new InvalidOperationException("Redefined by property IAnnotation.AnnotatedElement"); + } /// /// The TextualRepresentations that annotate this Element. @@ -344,10 +307,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/AssertConstraintUsage.cs b/SysML2.NET/Core/AutoGenPoco/AssertConstraintUsage.cs index 4afd2477..cf736424 100644 --- a/SysML2.NET/Core/AutoGenPoco/AssertConstraintUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/AssertConstraintUsage.cs @@ -92,10 +92,7 @@ public partial class AssertConstraintUsage : IAssertConstraintUsage /// [Property(xmiId: "_19_0_2_12e503d9_1581045158665_239617_9458", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IAssertConstraintUsage.AssertedConstraint")] - public IConstraintUsage QueryAssertedConstraint() - { - return this.ComputeAssertedConstraint(); - } + public IConstraintUsage assertedConstraint => this.ComputeAssertedConstraint(); /// /// The Behaviors that type this Step. @@ -104,10 +101,7 @@ public IConstraintUsage QueryAssertedConstraint() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IExpression.Function")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -119,10 +113,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The (single) Predicate that is the type of this ConstraintUsage. Nominally, this will be a @@ -132,10 +123,7 @@ public List QueryChainingFeature() [Property(xmiId: "_19_0_2_12e503d9_1578067546711_751168_1745", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1578025035149_386_969")] [Implements(implementation: "IConstraintUsage.ConstraintDefinition")] - public IPredicate QueryConstraintDefinition() - { - return this.ComputeConstraintDefinition(); - } + public IPredicate constraintDefinition => this.ComputeConstraintDefinition(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -145,10 +133,7 @@ public IPredicate QueryConstraintDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -176,10 +161,7 @@ public IFeature QueryCrossFeature() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] [Implements(implementation: "IUsage.Definition")] - public List QueryDefinition() - { - return this.ComputeDefinition(); - } + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -192,10 +174,7 @@ public List QueryDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -204,10 +183,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// The usages of this Usage that are directedFeatures. @@ -216,10 +192,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -236,10 +209,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -255,10 +225,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -268,10 +235,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -279,10 +243,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -291,20 +252,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -314,10 +269,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Function that types this Expression. @@ -326,10 +278,7 @@ public List QueryFeaturingType() [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [RedefinedByProperty("IBooleanExpression.Predicate")] [Implements(implementation: "IExpression.Function")] - public IFunction QueryFunction() - { - return this.ComputeFunction(); - } + IFunction Kernel.Functions.IExpression.function => throw new InvalidOperationException("Redefined by property IBooleanExpression.Predicate"); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -337,10 +286,7 @@ public IFunction QueryFunction() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// The at most one occurrenceDefinition that has isIndividual = true. @@ -348,10 +294,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public IOccurrenceDefinition QueryIndividualDefinition() - { - return this.ComputeIndividualDefinition(); - } + public IOccurrenceDefinition individualDefinition => this.ComputeIndividualDefinition(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -359,10 +302,7 @@ public IOccurrenceDefinition QueryIndividualDefinition() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -371,10 +311,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -382,10 +319,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -398,10 +332,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -425,10 +356,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -483,10 +411,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, @@ -494,10 +419,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool QueryIsModelLevelEvaluable() - { - return this.ComputeIsModelLevelEvaluable(); - } + public bool isModelLevelEvaluable => this.ComputeIsModelLevelEvaluable(); /// /// Whether this Invariant is asserted to be false rather than true. @@ -526,10 +448,7 @@ public bool QueryIsModelLevelEvaluable() /// [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IUsage.IsReference")] - public bool QueryIsReference() - { - return this.ComputeIsReference(); - } + public bool isReference => this.ComputeIsReference(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -557,7 +476,11 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -578,10 +501,7 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool QueryMayTimeVary() - { - return this.ComputeMayTimeVary(); - } + public bool mayTimeVary => this.ComputeMayTimeVary(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -589,10 +509,7 @@ public bool QueryMayTimeVary() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -600,10 +517,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -613,10 +527,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -626,10 +537,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ActionUsages that are nestedUsages of this Usage. @@ -637,10 +545,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List QueryNestedAction() - { - return this.ComputeNestedAction(); - } + public List nestedAction => this.ComputeNestedAction(); /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -648,10 +553,7 @@ public List QueryNestedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List QueryNestedAllocation() - { - return this.ComputeNestedAllocation(); - } + public List nestedAllocation => this.ComputeNestedAllocation(); /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -659,10 +561,7 @@ public List QueryNestedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List QueryNestedAnalysisCase() - { - return this.ComputeNestedAnalysisCase(); - } + public List nestedAnalysisCase => this.ComputeNestedAnalysisCase(); /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -670,10 +569,7 @@ public List QueryNestedAnalysisCase() [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List QueryNestedAttribute() - { - return this.ComputeNestedAttribute(); - } + public List nestedAttribute => this.ComputeNestedAttribute(); /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -681,10 +577,7 @@ public List QueryNestedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List QueryNestedCalculation() - { - return this.ComputeNestedCalculation(); - } + public List nestedCalculation => this.ComputeNestedCalculation(); /// /// The CaseUsages that are nestedUsages of this Usage. @@ -692,10 +585,7 @@ public List QueryNestedCalculation() [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List QueryNestedCase() - { - return this.ComputeNestedCase(); - } + public List nestedCase => this.ComputeNestedCase(); /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -703,10 +593,7 @@ public List QueryNestedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List QueryNestedConcern() - { - return this.ComputeNestedConcern(); - } + public List nestedConcern => this.ComputeNestedConcern(); /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -716,10 +603,7 @@ public List QueryNestedConcern() [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List QueryNestedConnection() - { - return this.ComputeNestedConnection(); - } + public List nestedConnection => this.ComputeNestedConnection(); /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -727,10 +611,7 @@ public List QueryNestedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List QueryNestedConstraint() - { - return this.ComputeNestedConstraint(); - } + public List nestedConstraint => this.ComputeNestedConstraint(); /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -738,10 +619,7 @@ public List QueryNestedConstraint() [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List QueryNestedEnumeration() - { - return this.ComputeNestedEnumeration(); - } + public List nestedEnumeration => this.ComputeNestedEnumeration(); /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -749,10 +627,7 @@ public List QueryNestedEnumeration() [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List QueryNestedFlow() - { - return this.ComputeNestedFlow(); - } + public List nestedFlow => this.ComputeNestedFlow(); /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -760,10 +635,7 @@ public List QueryNestedFlow() [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List QueryNestedInterface() - { - return this.ComputeNestedInterface(); - } + public List nestedInterface => this.ComputeNestedInterface(); /// /// The ItemUsages that are nestedUsages of this Usage. @@ -771,10 +643,7 @@ public List QueryNestedInterface() [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List QueryNestedItem() - { - return this.ComputeNestedItem(); - } + public List nestedItem => this.ComputeNestedItem(); /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -782,10 +651,7 @@ public List QueryNestedItem() [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List QueryNestedMetadata() - { - return this.ComputeNestedMetadata(); - } + public List nestedMetadata => this.ComputeNestedMetadata(); /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -793,10 +659,7 @@ public List QueryNestedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List QueryNestedOccurrence() - { - return this.ComputeNestedOccurrence(); - } + public List nestedOccurrence => this.ComputeNestedOccurrence(); /// /// The PartUsages that are nestedUsages of this Usage. @@ -804,10 +667,7 @@ public List QueryNestedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List QueryNestedPart() - { - return this.ComputeNestedPart(); - } + public List nestedPart => this.ComputeNestedPart(); /// /// The PortUsages that are nestedUsages of this Usage. @@ -815,10 +675,7 @@ public List QueryNestedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List QueryNestedPort() - { - return this.ComputeNestedPort(); - } + public List nestedPort => this.ComputeNestedPort(); /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -826,10 +683,7 @@ public List QueryNestedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List QueryNestedReference() - { - return this.ComputeNestedReference(); - } + public List nestedReference => this.ComputeNestedReference(); /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -837,10 +691,7 @@ public List QueryNestedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List QueryNestedRendering() - { - return this.ComputeNestedRendering(); - } + public List nestedRendering => this.ComputeNestedRendering(); /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -848,10 +699,7 @@ public List QueryNestedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List QueryNestedRequirement() - { - return this.ComputeNestedRequirement(); - } + public List nestedRequirement => this.ComputeNestedRequirement(); /// /// The StateUsages that are nestedUsages of this Usage. @@ -859,10 +707,7 @@ public List QueryNestedRequirement() [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List QueryNestedState() - { - return this.ComputeNestedState(); - } + public List nestedState => this.ComputeNestedState(); /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -870,10 +715,7 @@ public List QueryNestedState() [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List QueryNestedTransition() - { - return this.ComputeNestedTransition(); - } + public List nestedTransition => this.ComputeNestedTransition(); /// /// The Usages that are ownedFeatures of this Usage. @@ -882,10 +724,7 @@ public List QueryNestedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List QueryNestedUsage() - { - return this.ComputeNestedUsage(); - } + public List nestedUsage => this.ComputeNestedUsage(); /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -893,10 +732,7 @@ public List QueryNestedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List QueryNestedUseCase() - { - return this.ComputeNestedUseCase(); - } + public List nestedUseCase => this.ComputeNestedUseCase(); /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -904,10 +740,7 @@ public List QueryNestedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List QueryNestedVerificationCase() - { - return this.ComputeNestedVerificationCase(); - } + public List nestedVerificationCase => this.ComputeNestedVerificationCase(); /// /// The ViewUsages that are nestedUsages of this Usage. @@ -915,10 +748,7 @@ public List QueryNestedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List QueryNestedView() - { - return this.ComputeNestedView(); - } + public List nestedView => this.ComputeNestedView(); /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -926,10 +756,7 @@ public List QueryNestedView() [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List QueryNestedViewpoint() - { - return this.ComputeNestedViewpoint(); - } + public List nestedViewpoint => this.ComputeNestedViewpoint(); /// /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, @@ -939,10 +766,7 @@ public List QueryNestedViewpoint() [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List QueryOccurrenceDefinition() - { - return this.ComputeOccurrenceDefinition(); - } + public List occurrenceDefinition => this.ComputeOccurrenceDefinition(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -950,10 +774,7 @@ public List QueryOccurrenceDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -963,10 +784,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -975,10 +793,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -987,10 +802,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -1000,10 +812,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -1013,10 +822,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -1024,10 +830,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -1036,10 +839,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -1047,10 +847,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -1060,10 +857,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -1073,10 +867,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -1086,10 +877,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -1099,10 +887,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -1111,10 +896,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -1123,10 +905,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -1137,10 +916,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -1149,10 +925,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -1161,10 +934,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -1182,10 +952,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -1195,10 +962,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -1208,10 +972,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -1221,10 +982,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1233,10 +991,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1244,10 +999,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The Definition that owns this Usage (if any). @@ -1256,10 +1008,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public IDefinition QueryOwningDefinition() - { - return this.ComputeOwningDefinition(); - } + public IDefinition owningDefinition => this.ComputeOwningDefinition(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1267,10 +1016,7 @@ public IDefinition QueryOwningDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1279,10 +1025,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1291,10 +1034,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -1312,10 +1052,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The Usage in which this Usage is nested (if any). @@ -1323,10 +1060,7 @@ public IType QueryOwningType() [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public IUsage QueryOwningUsage() - { - return this.ComputeOwningUsage(); - } + public IUsage owningUsage => this.ComputeOwningUsage(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -1335,10 +1069,7 @@ public IUsage QueryOwningUsage() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If @@ -1356,10 +1087,7 @@ public List QueryParameter() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1543948477241_299049_20934")] [RedefinedByProperty("IConstraintUsage.ConstraintDefinition")] [Implements(implementation: "IBooleanExpression.Predicate")] - public IPredicate QueryPredicate() - { - return this.ComputePredicate(); - } + IPredicate Kernel.Functions.IBooleanExpression.predicate => throw new InvalidOperationException("Redefined by property IConstraintUsage.ConstraintDefinition"); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -1371,10 +1099,7 @@ public IPredicate QueryPredicate() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// An output parameter of the Expression whose value is the result of the Expression. The result of an @@ -1385,10 +1110,7 @@ public string QueryQualifiedName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [Implements(implementation: "IExpression.Result")] - public IFeature QueryResult() - { - return this.ComputeResult(); - } + public IFeature result => this.ComputeResult(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1398,10 +1120,7 @@ public IFeature QueryResult() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -1410,10 +1129,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1424,10 +1140,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1438,10 +1151,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1449,10 +1159,7 @@ public List QueryUnioningType() [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1461,10 +1168,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1473,10 +1177,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/AssignmentActionUsage.cs b/SysML2.NET/Core/AutoGenPoco/AssignmentActionUsage.cs index 38030d78..b2eb0a18 100644 --- a/SysML2.NET/Core/AutoGenPoco/AssignmentActionUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/AssignmentActionUsage.cs @@ -88,10 +88,7 @@ public partial class AssignmentActionUsage : IAssignmentActionUsage [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IActionUsage.ActionDefinition")] - public List QueryActionDefinition() - { - return this.ComputeActionDefinition(); - } + public List actionDefinition => this.ComputeActionDefinition(); /// /// Various alternative identifiers for this Element. Generally, these will be set by tools. @@ -107,10 +104,7 @@ public List QueryActionDefinition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IActionUsage.ActionDefinition")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -122,10 +116,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -135,10 +126,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -166,10 +154,7 @@ public IFeature QueryCrossFeature() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] [Implements(implementation: "IUsage.Definition")] - public List QueryDefinition() - { - return this.ComputeDefinition(); - } + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -182,10 +167,7 @@ public List QueryDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -194,10 +176,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// The usages of this Usage that are directedFeatures. @@ -206,10 +185,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -226,10 +202,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -245,10 +218,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -258,10 +228,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -269,10 +236,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -281,20 +245,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -304,10 +262,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -315,10 +270,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// The at most one occurrenceDefinition that has isIndividual = true. @@ -326,10 +278,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public IOccurrenceDefinition QueryIndividualDefinition() - { - return this.ComputeIndividualDefinition(); - } + public IOccurrenceDefinition individualDefinition => this.ComputeIndividualDefinition(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -337,10 +286,7 @@ public IOccurrenceDefinition QueryIndividualDefinition() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -349,10 +295,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -360,10 +303,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -376,10 +316,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -403,10 +340,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -461,10 +395,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -486,10 +417,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IUsage.IsReference")] - public bool QueryIsReference() - { - return this.ComputeIsReference(); - } + public bool isReference => this.ComputeIsReference(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -517,7 +445,11 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -538,10 +470,7 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool QueryMayTimeVary() - { - return this.ComputeMayTimeVary(); - } + public bool mayTimeVary => this.ComputeMayTimeVary(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -549,10 +478,7 @@ public bool QueryMayTimeVary() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -560,10 +486,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -573,10 +496,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -586,10 +506,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ActionUsages that are nestedUsages of this Usage. @@ -597,10 +514,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List QueryNestedAction() - { - return this.ComputeNestedAction(); - } + public List nestedAction => this.ComputeNestedAction(); /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -608,10 +522,7 @@ public List QueryNestedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List QueryNestedAllocation() - { - return this.ComputeNestedAllocation(); - } + public List nestedAllocation => this.ComputeNestedAllocation(); /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -619,10 +530,7 @@ public List QueryNestedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List QueryNestedAnalysisCase() - { - return this.ComputeNestedAnalysisCase(); - } + public List nestedAnalysisCase => this.ComputeNestedAnalysisCase(); /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -630,10 +538,7 @@ public List QueryNestedAnalysisCase() [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List QueryNestedAttribute() - { - return this.ComputeNestedAttribute(); - } + public List nestedAttribute => this.ComputeNestedAttribute(); /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -641,10 +546,7 @@ public List QueryNestedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List QueryNestedCalculation() - { - return this.ComputeNestedCalculation(); - } + public List nestedCalculation => this.ComputeNestedCalculation(); /// /// The CaseUsages that are nestedUsages of this Usage. @@ -652,10 +554,7 @@ public List QueryNestedCalculation() [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List QueryNestedCase() - { - return this.ComputeNestedCase(); - } + public List nestedCase => this.ComputeNestedCase(); /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -663,10 +562,7 @@ public List QueryNestedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List QueryNestedConcern() - { - return this.ComputeNestedConcern(); - } + public List nestedConcern => this.ComputeNestedConcern(); /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -676,10 +572,7 @@ public List QueryNestedConcern() [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List QueryNestedConnection() - { - return this.ComputeNestedConnection(); - } + public List nestedConnection => this.ComputeNestedConnection(); /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -687,10 +580,7 @@ public List QueryNestedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List QueryNestedConstraint() - { - return this.ComputeNestedConstraint(); - } + public List nestedConstraint => this.ComputeNestedConstraint(); /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -698,10 +588,7 @@ public List QueryNestedConstraint() [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List QueryNestedEnumeration() - { - return this.ComputeNestedEnumeration(); - } + public List nestedEnumeration => this.ComputeNestedEnumeration(); /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -709,10 +596,7 @@ public List QueryNestedEnumeration() [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List QueryNestedFlow() - { - return this.ComputeNestedFlow(); - } + public List nestedFlow => this.ComputeNestedFlow(); /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -720,10 +604,7 @@ public List QueryNestedFlow() [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List QueryNestedInterface() - { - return this.ComputeNestedInterface(); - } + public List nestedInterface => this.ComputeNestedInterface(); /// /// The ItemUsages that are nestedUsages of this Usage. @@ -731,10 +612,7 @@ public List QueryNestedInterface() [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List QueryNestedItem() - { - return this.ComputeNestedItem(); - } + public List nestedItem => this.ComputeNestedItem(); /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -742,10 +620,7 @@ public List QueryNestedItem() [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List QueryNestedMetadata() - { - return this.ComputeNestedMetadata(); - } + public List nestedMetadata => this.ComputeNestedMetadata(); /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -753,10 +628,7 @@ public List QueryNestedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List QueryNestedOccurrence() - { - return this.ComputeNestedOccurrence(); - } + public List nestedOccurrence => this.ComputeNestedOccurrence(); /// /// The PartUsages that are nestedUsages of this Usage. @@ -764,10 +636,7 @@ public List QueryNestedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List QueryNestedPart() - { - return this.ComputeNestedPart(); - } + public List nestedPart => this.ComputeNestedPart(); /// /// The PortUsages that are nestedUsages of this Usage. @@ -775,10 +644,7 @@ public List QueryNestedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List QueryNestedPort() - { - return this.ComputeNestedPort(); - } + public List nestedPort => this.ComputeNestedPort(); /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -786,10 +652,7 @@ public List QueryNestedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List QueryNestedReference() - { - return this.ComputeNestedReference(); - } + public List nestedReference => this.ComputeNestedReference(); /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -797,10 +660,7 @@ public List QueryNestedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List QueryNestedRendering() - { - return this.ComputeNestedRendering(); - } + public List nestedRendering => this.ComputeNestedRendering(); /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -808,10 +668,7 @@ public List QueryNestedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List QueryNestedRequirement() - { - return this.ComputeNestedRequirement(); - } + public List nestedRequirement => this.ComputeNestedRequirement(); /// /// The StateUsages that are nestedUsages of this Usage. @@ -819,10 +676,7 @@ public List QueryNestedRequirement() [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List QueryNestedState() - { - return this.ComputeNestedState(); - } + public List nestedState => this.ComputeNestedState(); /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -830,10 +684,7 @@ public List QueryNestedState() [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List QueryNestedTransition() - { - return this.ComputeNestedTransition(); - } + public List nestedTransition => this.ComputeNestedTransition(); /// /// The Usages that are ownedFeatures of this Usage. @@ -842,10 +693,7 @@ public List QueryNestedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List QueryNestedUsage() - { - return this.ComputeNestedUsage(); - } + public List nestedUsage => this.ComputeNestedUsage(); /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -853,10 +701,7 @@ public List QueryNestedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List QueryNestedUseCase() - { - return this.ComputeNestedUseCase(); - } + public List nestedUseCase => this.ComputeNestedUseCase(); /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -864,10 +709,7 @@ public List QueryNestedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List QueryNestedVerificationCase() - { - return this.ComputeNestedVerificationCase(); - } + public List nestedVerificationCase => this.ComputeNestedVerificationCase(); /// /// The ViewUsages that are nestedUsages of this Usage. @@ -875,10 +717,7 @@ public List QueryNestedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List QueryNestedView() - { - return this.ComputeNestedView(); - } + public List nestedView => this.ComputeNestedView(); /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -886,10 +725,7 @@ public List QueryNestedView() [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List QueryNestedViewpoint() - { - return this.ComputeNestedViewpoint(); - } + public List nestedViewpoint => this.ComputeNestedViewpoint(); /// /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, @@ -900,10 +736,7 @@ public List QueryNestedViewpoint() [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] [RedefinedByProperty("IActionUsage.ActionDefinition")] [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List QueryOccurrenceDefinition() - { - return this.ComputeOccurrenceDefinition(); - } + List Systems.Occurrences.IOccurrenceUsage.occurrenceDefinition => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -911,10 +744,7 @@ public List QueryOccurrenceDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -924,10 +754,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -936,10 +763,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -948,10 +772,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -961,10 +782,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -974,10 +792,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -985,10 +800,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -997,10 +809,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -1008,10 +817,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -1021,10 +827,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -1034,10 +837,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -1047,10 +847,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -1060,10 +857,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -1072,10 +866,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -1084,10 +875,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -1098,10 +886,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -1110,10 +895,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -1122,10 +904,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -1143,10 +922,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -1156,10 +932,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -1169,10 +942,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -1182,10 +952,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1194,10 +961,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1205,10 +969,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The Definition that owns this Usage (if any). @@ -1217,10 +978,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public IDefinition QueryOwningDefinition() - { - return this.ComputeOwningDefinition(); - } + public IDefinition owningDefinition => this.ComputeOwningDefinition(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1228,10 +986,7 @@ public IDefinition QueryOwningDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1240,10 +995,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1252,10 +1004,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -1273,10 +1022,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The Usage in which this Usage is nested (if any). @@ -1284,10 +1030,7 @@ public IType QueryOwningType() [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public IUsage QueryOwningUsage() - { - return this.ComputeOwningUsage(); - } + public IUsage owningUsage => this.ComputeOwningUsage(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -1296,10 +1039,7 @@ public IUsage QueryOwningUsage() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If @@ -1320,10 +1060,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Feature whose value is to be set. @@ -1331,10 +1068,7 @@ public string QueryQualifiedName() [Property(xmiId: "_19_0_4_12e503d9_1624202269076_561550_3109", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IAssignmentActionUsage.Referent")] - public IFeature QueryReferent() - { - return this.ComputeReferent(); - } + public IFeature referent => this.ComputeReferent(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1344,10 +1078,7 @@ public IFeature QueryReferent() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The Expression whose value is an occurrence in the domain of the referent Feature, for which the @@ -1356,10 +1087,7 @@ public string QueryShortName() /// [Property(xmiId: "_19_0_4_12e503d9_1624201786354_844501_2835", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IAssignmentActionUsage.TargetArgument")] - public IExpression QueryTargetArgument() - { - return this.ComputeTargetArgument(); - } + public IExpression targetArgument => this.ComputeTargetArgument(); /// /// The TextualRepresentations that annotate this Element. @@ -1368,10 +1096,7 @@ public IExpression QueryTargetArgument() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1382,10 +1107,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1396,10 +1118,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1407,20 +1126,14 @@ public List QueryUnioningType() [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Expression whose result is to be assigned to the referent Feature. /// [Property(xmiId: "_19_0_4_12e503d9_1624201792996_104394_2856", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IAssignmentActionUsage.ValueExpression")] - public IExpression QueryValueExpression() - { - return this.ComputeValueExpression(); - } + public IExpression valueExpression => this.ComputeValueExpression(); /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1429,10 +1142,7 @@ public IExpression QueryValueExpression() [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1441,10 +1151,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/Association.cs b/SysML2.NET/Core/AutoGenPoco/Association.cs index 25b8b61d..b59851b0 100644 --- a/SysML2.NET/Core/AutoGenPoco/Association.cs +++ b/SysML2.NET/Core/AutoGenPoco/Association.cs @@ -67,10 +67,7 @@ public partial class Association : IAssociation [Property(xmiId: "_18_5_3_12e503d9_1562477648742_24204_22901", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [Implements(implementation: "IAssociation.AssociationEnd")] - public List QueryAssociationEnd() - { - return this.ComputeAssociationEnd(); - } + public List associationEnd => this.ComputeAssociationEnd(); /// /// The declared name of this Element. @@ -100,10 +97,7 @@ public List QueryAssociationEnd() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -111,10 +105,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// The Documentation owned by this Element. @@ -123,10 +114,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -143,10 +131,7 @@ public List QueryDocumentation() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IAssociation.AssociationEnd")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + List Core.Types.IType.endFeature => throw new InvalidOperationException("Redefined by property IAssociation.AssociationEnd"); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -154,10 +139,7 @@ public List QueryEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -166,10 +148,7 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -177,10 +156,7 @@ public List QueryFeatureMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -188,10 +164,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -200,10 +173,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -211,10 +181,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -227,10 +194,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -245,10 +209,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being @@ -274,10 +235,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -297,10 +255,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -308,10 +263,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -321,10 +273,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -334,10 +283,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -345,10 +291,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -358,10 +301,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -370,10 +310,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -383,10 +320,7 @@ public IConjugation QueryOwnedConjugator() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -396,10 +330,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -407,10 +338,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -419,10 +347,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -430,10 +355,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -443,10 +365,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -456,10 +375,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -468,10 +384,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -480,10 +393,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -494,10 +404,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -523,10 +430,7 @@ public List QueryOwnedMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier @@ -535,10 +439,7 @@ public List QueryOwnedSpecialization() [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List QueryOwnedSubclassification() - { - return this.ComputeOwnedSubclassification(); - } + public List ownedSubclassification => this.ComputeOwnedSubclassification(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -547,10 +448,7 @@ public List QueryOwnedSubclassification() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -558,10 +456,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -570,10 +465,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -582,10 +474,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -613,10 +502,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -625,10 +511,7 @@ public string QueryQualifiedName() [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedByProperty("IAssociation.RelatedType")] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + List Root.Elements.IRelationship.relatedElement => throw new InvalidOperationException("Redefined by property IAssociation.RelatedType"); /// /// The types of the associationEnds of the Association, which are the relatedElements of the @@ -637,10 +520,7 @@ public List QueryRelatedElement() [Property(xmiId: "_18_5_3_12e503d9_1533160674994_4339_43349", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [Implements(implementation: "IAssociation.RelatedType")] - public List QueryRelatedType() - { - return this.ComputeRelatedType(); - } + public List relatedType => this.ComputeRelatedType(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -650,10 +530,7 @@ public List QueryRelatedType() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -662,7 +539,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IAssociation.SourceType")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IAssociation.SourceType"); + set => throw new InvalidOperationException("Redefined by property IAssociation.SourceType"); + } /// /// The source relatedType for this Association. It is the first relatedType of the Association. @@ -671,10 +552,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [Implements(implementation: "IAssociation.SourceType")] - public IType QuerySourceType() - { - return this.ComputeSourceType(); - } + public IType sourceType => this.ComputeSourceType(); /// /// The relatedElements to which this Relationship is considered to be directed. @@ -683,7 +561,11 @@ public IType QuerySourceType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IAssociation.TargetType")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IAssociation.TargetType"); + set => throw new InvalidOperationException("Redefined by property IAssociation.TargetType"); + } /// /// The target relatedTypes for this Association. This includes all the relatedTypes other than the @@ -693,10 +575,7 @@ public IType QuerySourceType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [Implements(implementation: "IAssociation.TargetType")] - public List QueryTargetType() - { - return this.ComputeTargetType(); - } + public List targetType => this.ComputeTargetType(); /// /// The TextualRepresentations that annotate this Element. @@ -705,10 +584,7 @@ public List QueryTargetType() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -719,10 +595,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/AssociationStructure.cs b/SysML2.NET/Core/AutoGenPoco/AssociationStructure.cs index 3379e3d2..f81b7945 100644 --- a/SysML2.NET/Core/AutoGenPoco/AssociationStructure.cs +++ b/SysML2.NET/Core/AutoGenPoco/AssociationStructure.cs @@ -69,10 +69,7 @@ public partial class AssociationStructure : IAssociationStructure [Property(xmiId: "_18_5_3_12e503d9_1562477648742_24204_22901", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [Implements(implementation: "IAssociation.AssociationEnd")] - public List QueryAssociationEnd() - { - return this.ComputeAssociationEnd(); - } + public List associationEnd => this.ComputeAssociationEnd(); /// /// The declared name of this Element. @@ -102,10 +99,7 @@ public List QueryAssociationEnd() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -113,10 +107,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// The Documentation owned by this Element. @@ -125,10 +116,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -145,10 +133,7 @@ public List QueryDocumentation() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IAssociation.AssociationEnd")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + List Core.Types.IType.endFeature => throw new InvalidOperationException("Redefined by property IAssociation.AssociationEnd"); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -156,10 +141,7 @@ public List QueryEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -168,10 +150,7 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -179,10 +158,7 @@ public List QueryFeatureMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -190,10 +166,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -202,10 +175,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -213,10 +183,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -229,10 +196,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -247,10 +211,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being @@ -276,10 +237,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -299,10 +257,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -310,10 +265,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -323,10 +275,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -336,10 +285,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -347,10 +293,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -360,10 +303,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -372,10 +312,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -385,10 +322,7 @@ public IConjugation QueryOwnedConjugator() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -398,10 +332,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -409,10 +340,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -421,10 +349,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -432,10 +357,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -445,10 +367,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -458,10 +377,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -470,10 +386,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -482,10 +395,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -496,10 +406,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -525,10 +432,7 @@ public List QueryOwnedMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier @@ -537,10 +441,7 @@ public List QueryOwnedSpecialization() [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List QueryOwnedSubclassification() - { - return this.ComputeOwnedSubclassification(); - } + public List ownedSubclassification => this.ComputeOwnedSubclassification(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -549,10 +450,7 @@ public List QueryOwnedSubclassification() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -560,10 +458,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -572,10 +467,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -584,10 +476,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -615,10 +504,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -627,10 +513,7 @@ public string QueryQualifiedName() [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedByProperty("IAssociation.RelatedType")] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + List Root.Elements.IRelationship.relatedElement => throw new InvalidOperationException("Redefined by property IAssociation.RelatedType"); /// /// The types of the associationEnds of the Association, which are the relatedElements of the @@ -639,10 +522,7 @@ public List QueryRelatedElement() [Property(xmiId: "_18_5_3_12e503d9_1533160674994_4339_43349", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [Implements(implementation: "IAssociation.RelatedType")] - public List QueryRelatedType() - { - return this.ComputeRelatedType(); - } + public List relatedType => this.ComputeRelatedType(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -652,10 +532,7 @@ public List QueryRelatedType() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -664,7 +541,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IAssociation.SourceType")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IAssociation.SourceType"); + set => throw new InvalidOperationException("Redefined by property IAssociation.SourceType"); + } /// /// The source relatedType for this Association. It is the first relatedType of the Association. @@ -673,10 +554,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [Implements(implementation: "IAssociation.SourceType")] - public IType QuerySourceType() - { - return this.ComputeSourceType(); - } + public IType sourceType => this.ComputeSourceType(); /// /// The relatedElements to which this Relationship is considered to be directed. @@ -685,7 +563,11 @@ public IType QuerySourceType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IAssociation.TargetType")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IAssociation.TargetType"); + set => throw new InvalidOperationException("Redefined by property IAssociation.TargetType"); + } /// /// The target relatedTypes for this Association. This includes all the relatedTypes other than the @@ -695,10 +577,7 @@ public IType QuerySourceType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [Implements(implementation: "IAssociation.TargetType")] - public List QueryTargetType() - { - return this.ComputeTargetType(); - } + public List targetType => this.ComputeTargetType(); /// /// The TextualRepresentations that annotate this Element. @@ -707,10 +586,7 @@ public List QueryTargetType() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -721,10 +597,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/AttributeDefinition.cs b/SysML2.NET/Core/AutoGenPoco/AttributeDefinition.cs index 24234405..237ab779 100644 --- a/SysML2.NET/Core/AutoGenPoco/AttributeDefinition.cs +++ b/SysML2.NET/Core/AutoGenPoco/AttributeDefinition.cs @@ -111,10 +111,7 @@ public partial class AttributeDefinition : IAttributeDefinition /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -122,10 +119,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// The usages of this Definition that are directedFeatures. @@ -134,10 +128,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// The Documentation owned by this Element. @@ -146,10 +137,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -165,10 +153,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -176,10 +161,7 @@ public List QueryEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -188,10 +170,7 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -199,10 +178,7 @@ public List QueryFeatureMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -210,10 +186,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -222,10 +195,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -233,10 +203,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -249,10 +216,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -267,10 +231,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// Whether all necessary implied Relationships have been included in the ownedRelationships of this @@ -288,10 +249,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -319,10 +277,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -330,10 +285,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -343,10 +295,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -356,10 +305,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -367,10 +313,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ActionUsages that are ownedUsages of this Definition. @@ -378,10 +321,7 @@ public List QueryOutput() [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedAction")] - public List QueryOwnedAction() - { - return this.ComputeOwnedAction(); - } + public List ownedAction => this.ComputeOwnedAction(); /// /// The AllocationUsages that are ownedUsages of this Definition. @@ -389,10 +329,7 @@ public List QueryOwnedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedAllocation")] - public List QueryOwnedAllocation() - { - return this.ComputeOwnedAllocation(); - } + public List ownedAllocation => this.ComputeOwnedAllocation(); /// /// The AnalysisCaseUsages that are ownedUsages of this Definition. @@ -400,10 +337,7 @@ public List QueryOwnedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List QueryOwnedAnalysisCase() - { - return this.ComputeOwnedAnalysisCase(); - } + public List ownedAnalysisCase => this.ComputeOwnedAnalysisCase(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -413,10 +347,7 @@ public List QueryOwnedAnalysisCase() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The AttributeUsages that are ownedUsages of this Definition. @@ -424,10 +355,7 @@ public List QueryOwnedAnnotation() [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedAttribute")] - public List QueryOwnedAttribute() - { - return this.ComputeOwnedAttribute(); - } + public List ownedAttribute => this.ComputeOwnedAttribute(); /// /// The CalculationUsages that are ownedUsages of this Definition. @@ -435,10 +363,7 @@ public List QueryOwnedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedCalculation")] - public List QueryOwnedCalculation() - { - return this.ComputeOwnedCalculation(); - } + public List ownedCalculation => this.ComputeOwnedCalculation(); /// /// The code>CaseUsages that are ownedUsages of this Definition. @@ -446,10 +371,7 @@ public List QueryOwnedCalculation() [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] [Implements(implementation: "IDefinition.OwnedCase")] - public List QueryOwnedCase() - { - return this.ComputeOwnedCase(); - } + public List ownedCase => this.ComputeOwnedCase(); /// /// The ConcernUsages that are ownedUsages of this Definition. @@ -457,10 +379,7 @@ public List QueryOwnedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedConcern")] - public List QueryOwnedConcern() - { - return this.ComputeOwnedConcern(); - } + public List ownedConcern => this.ComputeOwnedConcern(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -469,10 +388,7 @@ public List QueryOwnedConcern() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes @@ -482,10 +398,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedConnection")] - public List QueryOwnedConnection() - { - return this.ComputeOwnedConnection(); - } + public List ownedConnection => this.ComputeOwnedConnection(); /// /// The ConstraintUsages that are ownedUsages of this Definition. @@ -493,10 +406,7 @@ public List QueryOwnedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedConstraint")] - public List QueryOwnedConstraint() - { - return this.ComputeOwnedConstraint(); - } + public List ownedConstraint => this.ComputeOwnedConstraint(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -506,10 +416,7 @@ public List QueryOwnedConstraint() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -519,10 +426,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -530,10 +434,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -542,10 +443,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The EnumerationUsages that are ownedUsages of this Definition. @@ -553,10 +451,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List QueryOwnedEnumeration() - { - return this.ComputeOwnedEnumeration(); - } + public List ownedEnumeration => this.ComputeOwnedEnumeration(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -564,10 +459,7 @@ public List QueryOwnedEnumeration() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -577,10 +469,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The FlowUsages that are ownedUsages of this Definition. @@ -588,10 +477,7 @@ public List QueryOwnedFeatureMembership() [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedFlow")] - public List QueryOwnedFlow() - { - return this.ComputeOwnedFlow(); - } + public List ownedFlow => this.ComputeOwnedFlow(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -601,10 +487,7 @@ public List QueryOwnedFlow() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The InterfaceUsages that are ownedUsages of this Definition. @@ -612,10 +495,7 @@ public List QueryOwnedImport() [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedInterface")] - public List QueryOwnedInterface() - { - return this.ComputeOwnedInterface(); - } + public List ownedInterface => this.ComputeOwnedInterface(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -624,10 +504,7 @@ public List QueryOwnedInterface() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The ItemUsages that are ownedUsages of this Definition. @@ -635,10 +512,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedItem")] - public List QueryOwnedItem() - { - return this.ComputeOwnedItem(); - } + public List ownedItem => this.ComputeOwnedItem(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -647,10 +521,7 @@ public List QueryOwnedItem() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -661,10 +532,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The MetadataUsages that are ownedUsages of this Definition. @@ -672,10 +540,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedMetadata")] - public List QueryOwnedMetadata() - { - return this.ComputeOwnedMetadata(); - } + public List ownedMetadata => this.ComputeOwnedMetadata(); /// /// The OccurrenceUsages that are ownedUsages of this Definition. @@ -683,10 +548,7 @@ public List QueryOwnedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List QueryOwnedOccurrence() - { - return this.ComputeOwnedOccurrence(); - } + public List ownedOccurrence => this.ComputeOwnedOccurrence(); /// /// The PartUsages that are ownedUsages of this Definition. @@ -694,10 +556,7 @@ public List QueryOwnedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedPart")] - public List QueryOwnedPart() - { - return this.ComputeOwnedPart(); - } + public List ownedPart => this.ComputeOwnedPart(); /// /// The PortUsages that are ownedUsages of this Definition. @@ -705,10 +564,7 @@ public List QueryOwnedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedPort")] - public List QueryOwnedPort() - { - return this.ComputeOwnedPort(); - } + public List ownedPort => this.ComputeOwnedPort(); /// /// The ReferenceUsages that are ownedUsages of this Definition. @@ -716,10 +572,7 @@ public List QueryOwnedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedReference")] - public List QueryOwnedReference() - { - return this.ComputeOwnedReference(); - } + public List ownedReference => this.ComputeOwnedReference(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -735,10 +588,7 @@ public List QueryOwnedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedRendering")] - public List QueryOwnedRendering() - { - return this.ComputeOwnedRendering(); - } + public List ownedRendering => this.ComputeOwnedRendering(); /// /// The RequirementUsages that are ownedUsages of this Definition. @@ -746,10 +596,7 @@ public List QueryOwnedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] [Implements(implementation: "IDefinition.OwnedRequirement")] - public List QueryOwnedRequirement() - { - return this.ComputeOwnedRequirement(); - } + public List ownedRequirement => this.ComputeOwnedRequirement(); /// /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific @@ -759,10 +606,7 @@ public List QueryOwnedRequirement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The StateUsages that are ownedUsages of this Definition. @@ -770,10 +614,7 @@ public List QueryOwnedSpecialization() [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedState")] - public List QueryOwnedState() - { - return this.ComputeOwnedState(); - } + public List ownedState => this.ComputeOwnedState(); /// /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier @@ -782,10 +623,7 @@ public List QueryOwnedState() [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List QueryOwnedSubclassification() - { - return this.ComputeOwnedSubclassification(); - } + public List ownedSubclassification => this.ComputeOwnedSubclassification(); /// /// The TransitionUsages that are ownedUsages of this Definition. @@ -793,10 +631,7 @@ public List QueryOwnedSubclassification() [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedTransition")] - public List QueryOwnedTransition() - { - return this.ComputeOwnedTransition(); - } + public List ownedTransition => this.ComputeOwnedTransition(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -805,10 +640,7 @@ public List QueryOwnedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The Usages that are ownedFeatures of this Definition. @@ -817,10 +649,7 @@ public List QueryOwnedUnioning() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.OwnedUsage")] - public List QueryOwnedUsage() - { - return this.ComputeOwnedUsage(); - } + public List ownedUsage => this.ComputeOwnedUsage(); /// /// The UseCaseUsages that are ownedUsages of this Definition. @@ -828,10 +657,7 @@ public List QueryOwnedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedUseCase")] - public List QueryOwnedUseCase() - { - return this.ComputeOwnedUseCase(); - } + public List ownedUseCase => this.ComputeOwnedUseCase(); /// /// The VerificationCaseUsages that are ownedUsages of this Definition. @@ -839,10 +665,7 @@ public List QueryOwnedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List QueryOwnedVerificationCase() - { - return this.ComputeOwnedVerificationCase(); - } + public List ownedVerificationCase => this.ComputeOwnedVerificationCase(); /// /// The ViewUsages that are ownedUsages of this Definition. @@ -850,10 +673,7 @@ public List QueryOwnedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedView")] - public List QueryOwnedView() - { - return this.ComputeOwnedView(); - } + public List ownedView => this.ComputeOwnedView(); /// /// The ViewpointUsages that are ownedUsages of this Definition. @@ -861,10 +681,7 @@ public List QueryOwnedView() [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List QueryOwnedViewpoint() - { - return this.ComputeOwnedViewpoint(); - } + public List ownedViewpoint => this.ComputeOwnedViewpoint(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -872,10 +689,7 @@ public List QueryOwnedViewpoint() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -884,10 +698,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -896,10 +707,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -919,10 +727,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -932,10 +737,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -944,10 +746,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -958,10 +757,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Definition (not necessarily owned). @@ -969,10 +765,7 @@ public List QueryUnioningType() [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IDefinition.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Definition as a variation point Definition, if @@ -981,10 +774,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IDefinition.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then @@ -994,10 +784,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IDefinition.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/AttributeUsage.cs b/SysML2.NET/Core/AutoGenPoco/AttributeUsage.cs index 20803ee6..db6d07b2 100644 --- a/SysML2.NET/Core/AutoGenPoco/AttributeUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/AttributeUsage.cs @@ -93,10 +93,7 @@ public partial class AttributeUsage : IAttributeUsage [Property(xmiId: "_18_5_3_12e503d9_1565471811429_523492_20975", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] [Implements(implementation: "IAttributeUsage.AttributeDefinition")] - public List QueryAttributeDefinition() - { - return this.ComputeAttributeDefinition(); - } + public List attributeDefinition => this.ComputeAttributeDefinition(); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -108,10 +105,7 @@ public List QueryAttributeDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -121,10 +115,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -152,10 +143,7 @@ public IFeature QueryCrossFeature() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IAttributeUsage.AttributeDefinition")] [Implements(implementation: "IUsage.Definition")] - public List QueryDefinition() - { - return this.ComputeDefinition(); - } + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IAttributeUsage.AttributeDefinition"); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -168,10 +156,7 @@ public List QueryDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -179,10 +164,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// The usages of this Usage that are directedFeatures. @@ -191,10 +173,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -211,10 +190,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -230,10 +206,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -243,10 +216,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -254,10 +224,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -266,20 +233,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -289,10 +250,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -300,10 +258,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -311,10 +266,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -323,10 +275,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -334,10 +283,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -350,10 +296,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -377,10 +320,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -427,10 +367,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -453,10 +390,7 @@ public bool QueryIsLibraryElement() [Property(xmiId: "_19_0_4_12e503d9_1624050661138_649455_27", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: "true")] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1624035114787_488767_41423")] [Implements(implementation: "IAttributeUsage.IsReference")] - bool IAttributeUsage.QueryIsReference() - { - return this.ComputeIsReference(); - } + public bool isReference => this.ComputeIsReference(); /// /// Whether this Usage is a referential Usage, that is, it has isComposite = false. @@ -464,10 +398,7 @@ bool IAttributeUsage.QueryIsReference() [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IAttributeUsage.IsReference")] [Implements(implementation: "IUsage.IsReference")] - bool Systems.DefinitionAndUsage.IUsage.QueryIsReference() - { - return this.ComputeIsReference(); - } + bool Systems.DefinitionAndUsage.IUsage.isReference => throw new InvalidOperationException("Redefined by property IAttributeUsage.IsReference"); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -495,7 +426,11 @@ bool Systems.DefinitionAndUsage.IUsage.QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -516,10 +451,7 @@ bool Systems.DefinitionAndUsage.IUsage.QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool QueryMayTimeVary() - { - return this.ComputeMayTimeVary(); - } + public bool mayTimeVary => this.ComputeMayTimeVary(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -527,10 +459,7 @@ public bool QueryMayTimeVary() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -538,10 +467,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -551,10 +477,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -564,10 +487,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ActionUsages that are nestedUsages of this Usage. @@ -575,10 +495,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List QueryNestedAction() - { - return this.ComputeNestedAction(); - } + public List nestedAction => this.ComputeNestedAction(); /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -586,10 +503,7 @@ public List QueryNestedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List QueryNestedAllocation() - { - return this.ComputeNestedAllocation(); - } + public List nestedAllocation => this.ComputeNestedAllocation(); /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -597,10 +511,7 @@ public List QueryNestedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List QueryNestedAnalysisCase() - { - return this.ComputeNestedAnalysisCase(); - } + public List nestedAnalysisCase => this.ComputeNestedAnalysisCase(); /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -608,10 +519,7 @@ public List QueryNestedAnalysisCase() [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List QueryNestedAttribute() - { - return this.ComputeNestedAttribute(); - } + public List nestedAttribute => this.ComputeNestedAttribute(); /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -619,10 +527,7 @@ public List QueryNestedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List QueryNestedCalculation() - { - return this.ComputeNestedCalculation(); - } + public List nestedCalculation => this.ComputeNestedCalculation(); /// /// The CaseUsages that are nestedUsages of this Usage. @@ -630,10 +535,7 @@ public List QueryNestedCalculation() [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List QueryNestedCase() - { - return this.ComputeNestedCase(); - } + public List nestedCase => this.ComputeNestedCase(); /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -641,10 +543,7 @@ public List QueryNestedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List QueryNestedConcern() - { - return this.ComputeNestedConcern(); - } + public List nestedConcern => this.ComputeNestedConcern(); /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -654,10 +553,7 @@ public List QueryNestedConcern() [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List QueryNestedConnection() - { - return this.ComputeNestedConnection(); - } + public List nestedConnection => this.ComputeNestedConnection(); /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -665,10 +561,7 @@ public List QueryNestedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List QueryNestedConstraint() - { - return this.ComputeNestedConstraint(); - } + public List nestedConstraint => this.ComputeNestedConstraint(); /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -676,10 +569,7 @@ public List QueryNestedConstraint() [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List QueryNestedEnumeration() - { - return this.ComputeNestedEnumeration(); - } + public List nestedEnumeration => this.ComputeNestedEnumeration(); /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -687,10 +577,7 @@ public List QueryNestedEnumeration() [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List QueryNestedFlow() - { - return this.ComputeNestedFlow(); - } + public List nestedFlow => this.ComputeNestedFlow(); /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -698,10 +585,7 @@ public List QueryNestedFlow() [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List QueryNestedInterface() - { - return this.ComputeNestedInterface(); - } + public List nestedInterface => this.ComputeNestedInterface(); /// /// The ItemUsages that are nestedUsages of this Usage. @@ -709,10 +593,7 @@ public List QueryNestedInterface() [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List QueryNestedItem() - { - return this.ComputeNestedItem(); - } + public List nestedItem => this.ComputeNestedItem(); /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -720,10 +601,7 @@ public List QueryNestedItem() [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List QueryNestedMetadata() - { - return this.ComputeNestedMetadata(); - } + public List nestedMetadata => this.ComputeNestedMetadata(); /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -731,10 +609,7 @@ public List QueryNestedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List QueryNestedOccurrence() - { - return this.ComputeNestedOccurrence(); - } + public List nestedOccurrence => this.ComputeNestedOccurrence(); /// /// The PartUsages that are nestedUsages of this Usage. @@ -742,10 +617,7 @@ public List QueryNestedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List QueryNestedPart() - { - return this.ComputeNestedPart(); - } + public List nestedPart => this.ComputeNestedPart(); /// /// The PortUsages that are nestedUsages of this Usage. @@ -753,10 +625,7 @@ public List QueryNestedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List QueryNestedPort() - { - return this.ComputeNestedPort(); - } + public List nestedPort => this.ComputeNestedPort(); /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -764,10 +633,7 @@ public List QueryNestedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List QueryNestedReference() - { - return this.ComputeNestedReference(); - } + public List nestedReference => this.ComputeNestedReference(); /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -775,10 +641,7 @@ public List QueryNestedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List QueryNestedRendering() - { - return this.ComputeNestedRendering(); - } + public List nestedRendering => this.ComputeNestedRendering(); /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -786,10 +649,7 @@ public List QueryNestedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List QueryNestedRequirement() - { - return this.ComputeNestedRequirement(); - } + public List nestedRequirement => this.ComputeNestedRequirement(); /// /// The StateUsages that are nestedUsages of this Usage. @@ -797,10 +657,7 @@ public List QueryNestedRequirement() [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List QueryNestedState() - { - return this.ComputeNestedState(); - } + public List nestedState => this.ComputeNestedState(); /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -808,10 +665,7 @@ public List QueryNestedState() [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List QueryNestedTransition() - { - return this.ComputeNestedTransition(); - } + public List nestedTransition => this.ComputeNestedTransition(); /// /// The Usages that are ownedFeatures of this Usage. @@ -820,10 +674,7 @@ public List QueryNestedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List QueryNestedUsage() - { - return this.ComputeNestedUsage(); - } + public List nestedUsage => this.ComputeNestedUsage(); /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -831,10 +682,7 @@ public List QueryNestedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List QueryNestedUseCase() - { - return this.ComputeNestedUseCase(); - } + public List nestedUseCase => this.ComputeNestedUseCase(); /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -842,10 +690,7 @@ public List QueryNestedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List QueryNestedVerificationCase() - { - return this.ComputeNestedVerificationCase(); - } + public List nestedVerificationCase => this.ComputeNestedVerificationCase(); /// /// The ViewUsages that are nestedUsages of this Usage. @@ -853,10 +698,7 @@ public List QueryNestedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List QueryNestedView() - { - return this.ComputeNestedView(); - } + public List nestedView => this.ComputeNestedView(); /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -864,10 +706,7 @@ public List QueryNestedView() [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List QueryNestedViewpoint() - { - return this.ComputeNestedViewpoint(); - } + public List nestedViewpoint => this.ComputeNestedViewpoint(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -875,10 +714,7 @@ public List QueryNestedViewpoint() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -888,10 +724,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -900,10 +733,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -912,10 +742,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -925,10 +752,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -938,10 +762,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -949,10 +770,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -961,10 +779,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -972,10 +787,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -985,10 +797,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -998,10 +807,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -1011,10 +817,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -1024,10 +827,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -1036,10 +836,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -1048,10 +845,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -1062,10 +856,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -1074,10 +865,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -1086,10 +874,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -1107,10 +892,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -1120,10 +902,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -1133,10 +912,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -1146,10 +922,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1158,10 +931,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1169,10 +939,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The Definition that owns this Usage (if any). @@ -1181,10 +948,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public IDefinition QueryOwningDefinition() - { - return this.ComputeOwningDefinition(); - } + public IDefinition owningDefinition => this.ComputeOwningDefinition(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1192,10 +956,7 @@ public IDefinition QueryOwningDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1204,10 +965,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1216,10 +974,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -1237,10 +992,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The Usage in which this Usage is nested (if any). @@ -1248,10 +1000,7 @@ public IType QueryOwningType() [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public IUsage QueryOwningUsage() - { - return this.ComputeOwningUsage(); - } + public IUsage owningUsage => this.ComputeOwningUsage(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -1263,10 +1012,7 @@ public IUsage QueryOwningUsage() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1276,10 +1022,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -1288,10 +1031,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1302,10 +1042,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1316,10 +1053,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1327,10 +1061,7 @@ public List QueryUnioningType() [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1339,10 +1070,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1351,10 +1079,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/Behavior.cs b/SysML2.NET/Core/AutoGenPoco/Behavior.cs index eec33bea..e4c2d68f 100644 --- a/SysML2.NET/Core/AutoGenPoco/Behavior.cs +++ b/SysML2.NET/Core/AutoGenPoco/Behavior.cs @@ -87,10 +87,7 @@ public partial class Behavior : IBehavior /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -99,10 +96,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IBehavior.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IBehavior.Parameter"); /// /// The Documentation owned by this Element. @@ -111,10 +105,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -130,10 +121,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -141,10 +129,7 @@ public List QueryEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -153,10 +138,7 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -164,10 +146,7 @@ public List QueryFeatureMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -175,10 +154,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -187,10 +163,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -198,10 +171,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -214,10 +184,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -232,10 +199,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// Whether all necessary implied Relationships have been included in the ownedRelationships of this @@ -253,10 +217,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -276,10 +237,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -287,10 +245,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -300,10 +255,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -313,10 +265,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -324,10 +273,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -337,10 +283,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -349,10 +292,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -362,10 +302,7 @@ public IConjugation QueryOwnedConjugator() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -375,10 +312,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -386,10 +320,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -398,10 +329,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -409,10 +337,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -422,10 +347,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -435,10 +357,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -447,10 +366,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -459,10 +375,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -473,10 +386,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -494,10 +404,7 @@ public List QueryOwnedMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier @@ -506,10 +413,7 @@ public List QueryOwnedSpecialization() [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List QueryOwnedSubclassification() - { - return this.ComputeOwnedSubclassification(); - } + public List ownedSubclassification => this.ComputeOwnedSubclassification(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -518,10 +422,7 @@ public List QueryOwnedSubclassification() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -529,10 +430,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -541,10 +439,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -553,10 +448,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -573,10 +465,7 @@ public INamespace QueryOwningNamespace() [Property(xmiId: "_18_5_3_12e503d9_1543948010065_362066_20413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IBehavior.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -588,10 +477,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -601,10 +487,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The Steps that make up this Behavior. @@ -612,10 +495,7 @@ public string QueryShortName() [Property(xmiId: "_18_5_3_b9102da_1536346067212_587255_17343", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IBehavior.Step")] - public List QueryStep() - { - return this.ComputeStep(); - } + public List step => this.ComputeStep(); /// /// The TextualRepresentations that annotate this Element. @@ -624,10 +504,7 @@ public List QueryStep() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -638,10 +515,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/BindingConnector.cs b/SysML2.NET/Core/AutoGenPoco/BindingConnector.cs index 7a355272..0beed5d2 100644 --- a/SysML2.NET/Core/AutoGenPoco/BindingConnector.cs +++ b/SysML2.NET/Core/AutoGenPoco/BindingConnector.cs @@ -65,10 +65,7 @@ public partial class BindingConnector : IBindingConnector [Property(xmiId: "_18_5_3_12e503d9_1533160674983_471497_43284", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [Implements(implementation: "IConnector.Association")] - public List QueryAssociation() - { - return this.ComputeAssociation(); - } + public List association => this.ComputeAssociation(); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -80,10 +77,7 @@ public List QueryAssociation() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The endFeatures of a Connector, which redefine the endFeatures of the associations of the Connector. @@ -93,10 +87,7 @@ public List QueryChainingFeature() [Property(xmiId: "_18_5_3_12e503d9_1556735067666_827798_21922", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [Implements(implementation: "IConnector.ConnectorEnd")] - public List QueryConnectorEnd() - { - return this.ComputeConnectorEnd(); - } + public List connectorEnd => this.ComputeConnectorEnd(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -106,10 +97,7 @@ public List QueryConnectorEnd() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -135,10 +123,7 @@ public IFeature QueryCrossFeature() /// [Property(xmiId: "_2022x_2_12e503d9_1737751598145_444042_71", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IConnector.DefaultFeaturingType")] - public IType QueryDefaultFeaturingType() - { - return this.ComputeDefaultFeaturingType(); - } + public IType defaultFeaturingType => this.ComputeDefaultFeaturingType(); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -151,10 +136,7 @@ public IType QueryDefaultFeaturingType() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -162,10 +144,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -182,10 +161,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -202,10 +178,7 @@ public List QueryDocumentation() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IConnector.ConnectorEnd")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + List Core.Types.IType.endFeature => throw new InvalidOperationException("Redefined by property IConnector.ConnectorEnd"); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -215,10 +188,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -226,10 +196,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -238,20 +205,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -261,10 +222,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -272,10 +230,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -283,10 +238,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -295,10 +247,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -306,10 +255,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -322,10 +268,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -349,10 +292,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -407,10 +347,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -460,10 +397,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -471,10 +405,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -484,10 +415,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -497,10 +425,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -508,10 +433,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -521,10 +443,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -533,10 +452,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -545,10 +461,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -558,10 +471,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -571,10 +481,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -582,10 +489,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -594,10 +498,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -605,10 +506,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -618,10 +516,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -631,10 +526,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -644,10 +536,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -657,10 +546,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -669,10 +555,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -681,10 +564,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -695,10 +575,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -707,10 +584,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -719,10 +593,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -748,10 +619,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -761,10 +629,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -774,10 +639,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -787,10 +649,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -799,10 +658,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -810,10 +666,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -821,10 +674,7 @@ public IElement QueryOwner() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -833,10 +683,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -845,10 +692,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -874,10 +718,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -889,10 +730,7 @@ public IType QueryOwningType() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -901,10 +739,7 @@ public string QueryQualifiedName() [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedByProperty("IConnector.RelatedFeature")] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + List Root.Elements.IRelationship.relatedElement => throw new InvalidOperationException("Redefined by property IConnector.RelatedFeature"); /// /// The Features that are related by this Connector considered as a Relationship and that restrict the @@ -913,10 +748,7 @@ public List QueryRelatedElement() [Property(xmiId: "_18_5_3_12e503d9_1533160674968_916334_43210", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [Implements(implementation: "IConnector.RelatedFeature")] - public List QueryRelatedFeature() - { - return this.ComputeRelatedFeature(); - } + public List relatedFeature => this.ComputeRelatedFeature(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -926,10 +758,7 @@ public List QueryRelatedFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -938,7 +767,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IConnector.SourceFeature")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + } /// /// The source relatedFeature for this Connector. It is the first relatedFeature. @@ -947,10 +780,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [Implements(implementation: "IConnector.SourceFeature")] - public IFeature QuerySourceFeature() - { - return this.ComputeSourceFeature(); - } + public IFeature sourceFeature => this.ComputeSourceFeature(); /// /// The relatedElements to which this Relationship is considered to be directed. @@ -959,7 +789,11 @@ public IFeature QuerySourceFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IConnector.TargetFeature")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + } /// /// The target relatedFeatures for this Connector. This includes all the relatedFeatures other than the @@ -969,10 +803,7 @@ public IFeature QuerySourceFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [Implements(implementation: "IConnector.TargetFeature")] - public List QueryTargetFeature() - { - return this.ComputeTargetFeature(); - } + public List targetFeature => this.ComputeTargetFeature(); /// /// The TextualRepresentations that annotate this Element. @@ -981,10 +812,7 @@ public List QueryTargetFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -995,10 +823,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IConnector.Association")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IConnector.Association"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1009,10 +834,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/BindingConnectorAsUsage.cs b/SysML2.NET/Core/AutoGenPoco/BindingConnectorAsUsage.cs index 0585d558..b1c1141d 100644 --- a/SysML2.NET/Core/AutoGenPoco/BindingConnectorAsUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/BindingConnectorAsUsage.cs @@ -87,10 +87,7 @@ public partial class BindingConnectorAsUsage : IBindingConnectorAsUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674983_471497_43284", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [Implements(implementation: "IConnector.Association")] - public List QueryAssociation() - { - return this.ComputeAssociation(); - } + public List association => this.ComputeAssociation(); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -102,10 +99,7 @@ public List QueryAssociation() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The endFeatures of a Connector, which redefine the endFeatures of the associations of the Connector. @@ -115,10 +109,7 @@ public List QueryChainingFeature() [Property(xmiId: "_18_5_3_12e503d9_1556735067666_827798_21922", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [Implements(implementation: "IConnector.ConnectorEnd")] - public List QueryConnectorEnd() - { - return this.ComputeConnectorEnd(); - } + public List connectorEnd => this.ComputeConnectorEnd(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -128,10 +119,7 @@ public List QueryConnectorEnd() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -157,10 +145,7 @@ public IFeature QueryCrossFeature() /// [Property(xmiId: "_2022x_2_12e503d9_1737751598145_444042_71", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IConnector.DefaultFeaturingType")] - public IType QueryDefaultFeaturingType() - { - return this.ComputeDefaultFeaturingType(); - } + public IType defaultFeaturingType => this.ComputeDefaultFeaturingType(); /// /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds @@ -170,10 +155,7 @@ public IType QueryDefaultFeaturingType() [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [Implements(implementation: "IUsage.Definition")] - public List QueryDefinition() - { - return this.ComputeDefinition(); - } + public List definition => this.ComputeDefinition(); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -186,10 +168,7 @@ public List QueryDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -197,10 +176,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// The usages of this Usage that are directedFeatures. @@ -209,10 +185,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -229,10 +202,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -249,10 +219,7 @@ public List QueryDocumentation() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IConnector.ConnectorEnd")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + List Core.Types.IType.endFeature => throw new InvalidOperationException("Redefined by property IConnector.ConnectorEnd"); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -262,10 +229,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -273,10 +237,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -285,20 +246,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -308,10 +263,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -319,10 +271,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -330,10 +279,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -342,10 +288,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -353,10 +296,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -369,10 +309,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -396,10 +333,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -454,10 +388,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -479,10 +410,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IUsage.IsReference")] - public bool QueryIsReference() - { - return this.ComputeIsReference(); - } + public bool isReference => this.ComputeIsReference(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -510,7 +438,11 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -531,10 +463,7 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool QueryMayTimeVary() - { - return this.ComputeMayTimeVary(); - } + public bool mayTimeVary => this.ComputeMayTimeVary(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -542,10 +471,7 @@ public bool QueryMayTimeVary() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -553,10 +479,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -566,10 +489,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -579,10 +499,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ActionUsages that are nestedUsages of this Usage. @@ -590,10 +507,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List QueryNestedAction() - { - return this.ComputeNestedAction(); - } + public List nestedAction => this.ComputeNestedAction(); /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -601,10 +515,7 @@ public List QueryNestedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List QueryNestedAllocation() - { - return this.ComputeNestedAllocation(); - } + public List nestedAllocation => this.ComputeNestedAllocation(); /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -612,10 +523,7 @@ public List QueryNestedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List QueryNestedAnalysisCase() - { - return this.ComputeNestedAnalysisCase(); - } + public List nestedAnalysisCase => this.ComputeNestedAnalysisCase(); /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -623,10 +531,7 @@ public List QueryNestedAnalysisCase() [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List QueryNestedAttribute() - { - return this.ComputeNestedAttribute(); - } + public List nestedAttribute => this.ComputeNestedAttribute(); /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -634,10 +539,7 @@ public List QueryNestedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List QueryNestedCalculation() - { - return this.ComputeNestedCalculation(); - } + public List nestedCalculation => this.ComputeNestedCalculation(); /// /// The CaseUsages that are nestedUsages of this Usage. @@ -645,10 +547,7 @@ public List QueryNestedCalculation() [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List QueryNestedCase() - { - return this.ComputeNestedCase(); - } + public List nestedCase => this.ComputeNestedCase(); /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -656,10 +555,7 @@ public List QueryNestedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List QueryNestedConcern() - { - return this.ComputeNestedConcern(); - } + public List nestedConcern => this.ComputeNestedConcern(); /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -669,10 +565,7 @@ public List QueryNestedConcern() [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List QueryNestedConnection() - { - return this.ComputeNestedConnection(); - } + public List nestedConnection => this.ComputeNestedConnection(); /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -680,10 +573,7 @@ public List QueryNestedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List QueryNestedConstraint() - { - return this.ComputeNestedConstraint(); - } + public List nestedConstraint => this.ComputeNestedConstraint(); /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -691,10 +581,7 @@ public List QueryNestedConstraint() [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List QueryNestedEnumeration() - { - return this.ComputeNestedEnumeration(); - } + public List nestedEnumeration => this.ComputeNestedEnumeration(); /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -702,10 +589,7 @@ public List QueryNestedEnumeration() [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List QueryNestedFlow() - { - return this.ComputeNestedFlow(); - } + public List nestedFlow => this.ComputeNestedFlow(); /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -713,10 +597,7 @@ public List QueryNestedFlow() [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List QueryNestedInterface() - { - return this.ComputeNestedInterface(); - } + public List nestedInterface => this.ComputeNestedInterface(); /// /// The ItemUsages that are nestedUsages of this Usage. @@ -724,10 +605,7 @@ public List QueryNestedInterface() [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List QueryNestedItem() - { - return this.ComputeNestedItem(); - } + public List nestedItem => this.ComputeNestedItem(); /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -735,10 +613,7 @@ public List QueryNestedItem() [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List QueryNestedMetadata() - { - return this.ComputeNestedMetadata(); - } + public List nestedMetadata => this.ComputeNestedMetadata(); /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -746,10 +621,7 @@ public List QueryNestedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List QueryNestedOccurrence() - { - return this.ComputeNestedOccurrence(); - } + public List nestedOccurrence => this.ComputeNestedOccurrence(); /// /// The PartUsages that are nestedUsages of this Usage. @@ -757,10 +629,7 @@ public List QueryNestedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List QueryNestedPart() - { - return this.ComputeNestedPart(); - } + public List nestedPart => this.ComputeNestedPart(); /// /// The PortUsages that are nestedUsages of this Usage. @@ -768,10 +637,7 @@ public List QueryNestedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List QueryNestedPort() - { - return this.ComputeNestedPort(); - } + public List nestedPort => this.ComputeNestedPort(); /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -779,10 +645,7 @@ public List QueryNestedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List QueryNestedReference() - { - return this.ComputeNestedReference(); - } + public List nestedReference => this.ComputeNestedReference(); /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -790,10 +653,7 @@ public List QueryNestedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List QueryNestedRendering() - { - return this.ComputeNestedRendering(); - } + public List nestedRendering => this.ComputeNestedRendering(); /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -801,10 +661,7 @@ public List QueryNestedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List QueryNestedRequirement() - { - return this.ComputeNestedRequirement(); - } + public List nestedRequirement => this.ComputeNestedRequirement(); /// /// The StateUsages that are nestedUsages of this Usage. @@ -812,10 +669,7 @@ public List QueryNestedRequirement() [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List QueryNestedState() - { - return this.ComputeNestedState(); - } + public List nestedState => this.ComputeNestedState(); /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -823,10 +677,7 @@ public List QueryNestedState() [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List QueryNestedTransition() - { - return this.ComputeNestedTransition(); - } + public List nestedTransition => this.ComputeNestedTransition(); /// /// The Usages that are ownedFeatures of this Usage. @@ -835,10 +686,7 @@ public List QueryNestedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List QueryNestedUsage() - { - return this.ComputeNestedUsage(); - } + public List nestedUsage => this.ComputeNestedUsage(); /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -846,10 +694,7 @@ public List QueryNestedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List QueryNestedUseCase() - { - return this.ComputeNestedUseCase(); - } + public List nestedUseCase => this.ComputeNestedUseCase(); /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -857,10 +702,7 @@ public List QueryNestedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List QueryNestedVerificationCase() - { - return this.ComputeNestedVerificationCase(); - } + public List nestedVerificationCase => this.ComputeNestedVerificationCase(); /// /// The ViewUsages that are nestedUsages of this Usage. @@ -868,10 +710,7 @@ public List QueryNestedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List QueryNestedView() - { - return this.ComputeNestedView(); - } + public List nestedView => this.ComputeNestedView(); /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -879,10 +718,7 @@ public List QueryNestedView() [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List QueryNestedViewpoint() - { - return this.ComputeNestedViewpoint(); - } + public List nestedViewpoint => this.ComputeNestedViewpoint(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -890,10 +726,7 @@ public List QueryNestedViewpoint() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -903,10 +736,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -915,10 +745,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -927,10 +754,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -940,10 +764,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -953,10 +774,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -964,10 +782,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -976,10 +791,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -987,10 +799,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -1000,10 +809,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -1013,10 +819,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -1026,10 +829,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -1039,10 +839,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -1051,10 +848,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -1063,10 +857,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -1077,10 +868,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -1089,10 +877,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -1101,10 +886,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -1130,10 +912,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -1143,10 +922,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -1156,10 +932,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -1169,10 +942,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1181,10 +951,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1192,10 +959,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The Definition that owns this Usage (if any). @@ -1204,10 +968,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public IDefinition QueryOwningDefinition() - { - return this.ComputeOwningDefinition(); - } + public IDefinition owningDefinition => this.ComputeOwningDefinition(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1215,10 +976,7 @@ public IDefinition QueryOwningDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1227,10 +985,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1239,10 +994,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -1268,10 +1020,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The Usage in which this Usage is nested (if any). @@ -1279,10 +1028,7 @@ public IType QueryOwningType() [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public IUsage QueryOwningUsage() - { - return this.ComputeOwningUsage(); - } + public IUsage owningUsage => this.ComputeOwningUsage(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -1294,10 +1040,7 @@ public IUsage QueryOwningUsage() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -1306,10 +1049,7 @@ public string QueryQualifiedName() [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedByProperty("IConnector.RelatedFeature")] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + List Root.Elements.IRelationship.relatedElement => throw new InvalidOperationException("Redefined by property IConnector.RelatedFeature"); /// /// The Features that are related by this Connector considered as a Relationship and that restrict the @@ -1318,10 +1058,7 @@ public List QueryRelatedElement() [Property(xmiId: "_18_5_3_12e503d9_1533160674968_916334_43210", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [Implements(implementation: "IConnector.RelatedFeature")] - public List QueryRelatedFeature() - { - return this.ComputeRelatedFeature(); - } + public List relatedFeature => this.ComputeRelatedFeature(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1331,10 +1068,7 @@ public List QueryRelatedFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -1343,7 +1077,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IConnector.SourceFeature")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + } /// /// The source relatedFeature for this Connector. It is the first relatedFeature. @@ -1352,10 +1090,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [Implements(implementation: "IConnector.SourceFeature")] - public IFeature QuerySourceFeature() - { - return this.ComputeSourceFeature(); - } + public IFeature sourceFeature => this.ComputeSourceFeature(); /// /// The relatedElements to which this Relationship is considered to be directed. @@ -1364,7 +1099,11 @@ public IFeature QuerySourceFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IConnector.TargetFeature")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + } /// /// The target relatedFeatures for this Connector. This includes all the relatedFeatures other than the @@ -1374,10 +1113,7 @@ public IFeature QuerySourceFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [Implements(implementation: "IConnector.TargetFeature")] - public List QueryTargetFeature() - { - return this.ComputeTargetFeature(); - } + public List targetFeature => this.ComputeTargetFeature(); /// /// The TextualRepresentations that annotate this Element. @@ -1386,10 +1122,7 @@ public List QueryTargetFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1400,10 +1133,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IConnector.Association")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IConnector.Association"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1414,10 +1144,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1425,10 +1152,7 @@ public List QueryUnioningType() [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1437,10 +1161,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1449,10 +1170,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/BooleanExpression.cs b/SysML2.NET/Core/AutoGenPoco/BooleanExpression.cs index 151aae4b..4198b6d0 100644 --- a/SysML2.NET/Core/AutoGenPoco/BooleanExpression.cs +++ b/SysML2.NET/Core/AutoGenPoco/BooleanExpression.cs @@ -66,10 +66,7 @@ public partial class BooleanExpression : IBooleanExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IExpression.Function")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -81,10 +78,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -94,10 +88,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -127,10 +118,7 @@ public IFeature QueryCrossFeature() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -139,10 +127,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -159,10 +144,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -178,10 +160,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -191,10 +170,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -202,10 +178,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -214,20 +187,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -237,10 +204,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Function that types this Expression. @@ -249,10 +213,7 @@ public List QueryFeaturingType() [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [RedefinedByProperty("IBooleanExpression.Predicate")] [Implements(implementation: "IExpression.Function")] - public IFunction QueryFunction() - { - return this.ComputeFunction(); - } + IFunction IExpression.function => throw new InvalidOperationException("Redefined by property IBooleanExpression.Predicate"); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -260,10 +221,7 @@ public IFunction QueryFunction() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -271,10 +229,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -283,10 +238,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -294,10 +246,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -310,10 +259,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -337,10 +283,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -387,10 +330,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, @@ -398,10 +338,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool QueryIsModelLevelEvaluable() - { - return this.ComputeIsModelLevelEvaluable(); - } + public bool isModelLevelEvaluable => this.ComputeIsModelLevelEvaluable(); /// /// Whether an order exists for the values of this Feature or not. @@ -451,10 +388,7 @@ public bool QueryIsModelLevelEvaluable() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -462,10 +396,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -475,10 +406,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -488,10 +416,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -499,10 +424,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -512,10 +434,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -524,10 +443,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -536,10 +452,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -549,10 +462,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -562,10 +472,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -573,10 +480,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -585,10 +489,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -596,10 +497,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -609,10 +507,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -622,10 +517,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -635,10 +527,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -648,10 +537,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -660,10 +546,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -672,10 +555,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -686,10 +566,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -698,10 +575,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -710,10 +584,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -731,10 +602,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -744,10 +612,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -757,10 +622,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -770,10 +632,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -782,10 +641,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -793,10 +649,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -804,10 +657,7 @@ public IElement QueryOwner() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -816,10 +666,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -828,10 +675,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -849,10 +693,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -861,10 +702,7 @@ public IType QueryOwningType() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The Predicate that types the Expression. @@ -872,10 +710,7 @@ public List QueryParameter() [Property(xmiId: "_19_0_2_12e503d9_1578025035149_386_969", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1543948477241_299049_20934")] [Implements(implementation: "IBooleanExpression.Predicate")] - public IPredicate QueryPredicate() - { - return this.ComputePredicate(); - } + public IPredicate predicate => this.ComputePredicate(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -887,10 +722,7 @@ public IPredicate QueryPredicate() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// An output parameter of the Expression whose value is the result of the Expression. The result of an @@ -901,10 +733,7 @@ public string QueryQualifiedName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [Implements(implementation: "IExpression.Result")] - public IFeature QueryResult() - { - return this.ComputeResult(); - } + public IFeature result => this.ComputeResult(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -914,10 +743,7 @@ public IFeature QueryResult() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -926,10 +752,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -939,10 +762,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + public List type => this.ComputeType(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -953,10 +773,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/CalculationDefinition.cs b/SysML2.NET/Core/AutoGenPoco/CalculationDefinition.cs index bb9364dd..25f5eda8 100644 --- a/SysML2.NET/Core/AutoGenPoco/CalculationDefinition.cs +++ b/SysML2.NET/Core/AutoGenPoco/CalculationDefinition.cs @@ -82,10 +82,7 @@ public partial class CalculationDefinition : ICalculationDefinition [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IActionDefinition.Action")] - public List QueryAction() - { - return this.ComputeAction(); - } + public List action => this.ComputeAction(); /// /// Various alternative identifiers for this Element. Generally, these will be set by tools. @@ -101,10 +98,7 @@ public List QueryAction() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565500809065_170841_30688")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948400639_301251_20841")] [Implements(implementation: "ICalculationDefinition.Calculation")] - public List QueryCalculation() - { - return this.ComputeCalculation(); - } + public List calculation => this.ComputeCalculation(); /// /// The declared name of this Element. @@ -134,10 +128,7 @@ public List QueryCalculation() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -146,10 +137,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IBehavior.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IBehavior.Parameter"); /// /// The usages of this Definition that are directedFeatures. @@ -158,10 +146,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// The Documentation owned by this Element. @@ -170,10 +155,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -189,10 +171,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Expressions that are steps in the calculation of the result of this Function. @@ -200,10 +179,7 @@ public List QueryEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1543948400639_301251_20841", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] [Implements(implementation: "IFunction.Expression")] - public List QueryExpression() - { - return this.ComputeExpression(); - } + public List expression => this.ComputeExpression(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -211,10 +187,7 @@ public List QueryExpression() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -223,10 +196,7 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -234,10 +204,7 @@ public List QueryFeatureMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -245,10 +212,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -257,10 +221,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -268,10 +229,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -284,10 +242,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -302,10 +257,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// Whether all necessary implied Relationships have been included in the ownedRelationships of this @@ -330,10 +282,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether this Function can be used as the function of a model-level evaluable InvocationExpression. @@ -344,10 +293,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1617395221463_139517_26381", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFunction.IsModelLevelEvaluable")] - public bool QueryIsModelLevelEvaluable() - { - return this.ComputeIsModelLevelEvaluable(); - } + public bool isModelLevelEvaluable => this.ComputeIsModelLevelEvaluable(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -375,10 +321,7 @@ public bool QueryIsModelLevelEvaluable() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -386,10 +329,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -399,10 +339,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -412,10 +349,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -423,10 +357,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ActionUsages that are ownedUsages of this Definition. @@ -434,10 +365,7 @@ public List QueryOutput() [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedAction")] - public List QueryOwnedAction() - { - return this.ComputeOwnedAction(); - } + public List ownedAction => this.ComputeOwnedAction(); /// /// The AllocationUsages that are ownedUsages of this Definition. @@ -445,10 +373,7 @@ public List QueryOwnedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedAllocation")] - public List QueryOwnedAllocation() - { - return this.ComputeOwnedAllocation(); - } + public List ownedAllocation => this.ComputeOwnedAllocation(); /// /// The AnalysisCaseUsages that are ownedUsages of this Definition. @@ -456,10 +381,7 @@ public List QueryOwnedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List QueryOwnedAnalysisCase() - { - return this.ComputeOwnedAnalysisCase(); - } + public List ownedAnalysisCase => this.ComputeOwnedAnalysisCase(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -469,10 +391,7 @@ public List QueryOwnedAnalysisCase() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The AttributeUsages that are ownedUsages of this Definition. @@ -480,10 +399,7 @@ public List QueryOwnedAnnotation() [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedAttribute")] - public List QueryOwnedAttribute() - { - return this.ComputeOwnedAttribute(); - } + public List ownedAttribute => this.ComputeOwnedAttribute(); /// /// The CalculationUsages that are ownedUsages of this Definition. @@ -491,10 +407,7 @@ public List QueryOwnedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedCalculation")] - public List QueryOwnedCalculation() - { - return this.ComputeOwnedCalculation(); - } + public List ownedCalculation => this.ComputeOwnedCalculation(); /// /// The code>CaseUsages that are ownedUsages of this Definition. @@ -502,10 +415,7 @@ public List QueryOwnedCalculation() [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] [Implements(implementation: "IDefinition.OwnedCase")] - public List QueryOwnedCase() - { - return this.ComputeOwnedCase(); - } + public List ownedCase => this.ComputeOwnedCase(); /// /// The ConcernUsages that are ownedUsages of this Definition. @@ -513,10 +423,7 @@ public List QueryOwnedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedConcern")] - public List QueryOwnedConcern() - { - return this.ComputeOwnedConcern(); - } + public List ownedConcern => this.ComputeOwnedConcern(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -525,10 +432,7 @@ public List QueryOwnedConcern() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes @@ -538,10 +442,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedConnection")] - public List QueryOwnedConnection() - { - return this.ComputeOwnedConnection(); - } + public List ownedConnection => this.ComputeOwnedConnection(); /// /// The ConstraintUsages that are ownedUsages of this Definition. @@ -549,10 +450,7 @@ public List QueryOwnedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedConstraint")] - public List QueryOwnedConstraint() - { - return this.ComputeOwnedConstraint(); - } + public List ownedConstraint => this.ComputeOwnedConstraint(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -562,10 +460,7 @@ public List QueryOwnedConstraint() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -575,10 +470,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -586,10 +478,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -598,10 +487,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The EnumerationUsages that are ownedUsages of this Definition. @@ -609,10 +495,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List QueryOwnedEnumeration() - { - return this.ComputeOwnedEnumeration(); - } + public List ownedEnumeration => this.ComputeOwnedEnumeration(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -620,10 +503,7 @@ public List QueryOwnedEnumeration() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -633,10 +513,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The FlowUsages that are ownedUsages of this Definition. @@ -644,10 +521,7 @@ public List QueryOwnedFeatureMembership() [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedFlow")] - public List QueryOwnedFlow() - { - return this.ComputeOwnedFlow(); - } + public List ownedFlow => this.ComputeOwnedFlow(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -657,10 +531,7 @@ public List QueryOwnedFlow() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The InterfaceUsages that are ownedUsages of this Definition. @@ -668,10 +539,7 @@ public List QueryOwnedImport() [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedInterface")] - public List QueryOwnedInterface() - { - return this.ComputeOwnedInterface(); - } + public List ownedInterface => this.ComputeOwnedInterface(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -680,10 +548,7 @@ public List QueryOwnedInterface() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The ItemUsages that are ownedUsages of this Definition. @@ -691,10 +556,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedItem")] - public List QueryOwnedItem() - { - return this.ComputeOwnedItem(); - } + public List ownedItem => this.ComputeOwnedItem(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -703,10 +565,7 @@ public List QueryOwnedItem() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -717,10 +576,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The MetadataUsages that are ownedUsages of this Definition. @@ -728,10 +584,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedMetadata")] - public List QueryOwnedMetadata() - { - return this.ComputeOwnedMetadata(); - } + public List ownedMetadata => this.ComputeOwnedMetadata(); /// /// The OccurrenceUsages that are ownedUsages of this Definition. @@ -739,10 +592,7 @@ public List QueryOwnedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List QueryOwnedOccurrence() - { - return this.ComputeOwnedOccurrence(); - } + public List ownedOccurrence => this.ComputeOwnedOccurrence(); /// /// The PartUsages that are ownedUsages of this Definition. @@ -750,10 +600,7 @@ public List QueryOwnedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedPart")] - public List QueryOwnedPart() - { - return this.ComputeOwnedPart(); - } + public List ownedPart => this.ComputeOwnedPart(); /// /// The PortUsages that are ownedUsages of this Definition. @@ -761,10 +608,7 @@ public List QueryOwnedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedPort")] - public List QueryOwnedPort() - { - return this.ComputeOwnedPort(); - } + public List ownedPort => this.ComputeOwnedPort(); /// /// The ReferenceUsages that are ownedUsages of this Definition. @@ -772,10 +616,7 @@ public List QueryOwnedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedReference")] - public List QueryOwnedReference() - { - return this.ComputeOwnedReference(); - } + public List ownedReference => this.ComputeOwnedReference(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -791,10 +632,7 @@ public List QueryOwnedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedRendering")] - public List QueryOwnedRendering() - { - return this.ComputeOwnedRendering(); - } + public List ownedRendering => this.ComputeOwnedRendering(); /// /// The RequirementUsages that are ownedUsages of this Definition. @@ -802,10 +640,7 @@ public List QueryOwnedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] [Implements(implementation: "IDefinition.OwnedRequirement")] - public List QueryOwnedRequirement() - { - return this.ComputeOwnedRequirement(); - } + public List ownedRequirement => this.ComputeOwnedRequirement(); /// /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific @@ -815,10 +650,7 @@ public List QueryOwnedRequirement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The StateUsages that are ownedUsages of this Definition. @@ -826,10 +658,7 @@ public List QueryOwnedSpecialization() [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedState")] - public List QueryOwnedState() - { - return this.ComputeOwnedState(); - } + public List ownedState => this.ComputeOwnedState(); /// /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier @@ -838,10 +667,7 @@ public List QueryOwnedState() [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List QueryOwnedSubclassification() - { - return this.ComputeOwnedSubclassification(); - } + public List ownedSubclassification => this.ComputeOwnedSubclassification(); /// /// The TransitionUsages that are ownedUsages of this Definition. @@ -849,10 +675,7 @@ public List QueryOwnedSubclassification() [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedTransition")] - public List QueryOwnedTransition() - { - return this.ComputeOwnedTransition(); - } + public List ownedTransition => this.ComputeOwnedTransition(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -861,10 +684,7 @@ public List QueryOwnedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The Usages that are ownedFeatures of this Definition. @@ -873,10 +693,7 @@ public List QueryOwnedUnioning() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.OwnedUsage")] - public List QueryOwnedUsage() - { - return this.ComputeOwnedUsage(); - } + public List ownedUsage => this.ComputeOwnedUsage(); /// /// The UseCaseUsages that are ownedUsages of this Definition. @@ -884,10 +701,7 @@ public List QueryOwnedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedUseCase")] - public List QueryOwnedUseCase() - { - return this.ComputeOwnedUseCase(); - } + public List ownedUseCase => this.ComputeOwnedUseCase(); /// /// The VerificationCaseUsages that are ownedUsages of this Definition. @@ -895,10 +709,7 @@ public List QueryOwnedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List QueryOwnedVerificationCase() - { - return this.ComputeOwnedVerificationCase(); - } + public List ownedVerificationCase => this.ComputeOwnedVerificationCase(); /// /// The ViewUsages that are ownedUsages of this Definition. @@ -906,10 +717,7 @@ public List QueryOwnedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedView")] - public List QueryOwnedView() - { - return this.ComputeOwnedView(); - } + public List ownedView => this.ComputeOwnedView(); /// /// The ViewpointUsages that are ownedUsages of this Definition. @@ -917,10 +725,7 @@ public List QueryOwnedView() [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List QueryOwnedViewpoint() - { - return this.ComputeOwnedViewpoint(); - } + public List ownedViewpoint => this.ComputeOwnedViewpoint(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -928,10 +733,7 @@ public List QueryOwnedViewpoint() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -940,10 +742,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -952,10 +751,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -972,10 +768,7 @@ public INamespace QueryOwningNamespace() [Property(xmiId: "_18_5_3_12e503d9_1543948010065_362066_20413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IBehavior.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -987,10 +780,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The object or value that is the result of evaluating the Function. @@ -999,10 +789,7 @@ public string QueryQualifiedName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] [Implements(implementation: "IFunction.Result")] - public IFeature QueryResult() - { - return this.ComputeResult(); - } + public IFeature result => this.ComputeResult(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1012,10 +799,7 @@ public IFeature QueryResult() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The Steps that make up this Behavior. @@ -1023,10 +807,7 @@ public string QueryShortName() [Property(xmiId: "_18_5_3_b9102da_1536346067212_587255_17343", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IBehavior.Step")] - public List QueryStep() - { - return this.ComputeStep(); - } + public List step => this.ComputeStep(); /// /// The TextualRepresentations that annotate this Element. @@ -1035,10 +816,7 @@ public List QueryStep() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1049,10 +827,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Definition (not necessarily owned). @@ -1060,10 +835,7 @@ public List QueryUnioningType() [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IDefinition.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Definition as a variation point Definition, if @@ -1072,10 +844,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IDefinition.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then @@ -1085,10 +854,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IDefinition.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/CalculationUsage.cs b/SysML2.NET/Core/AutoGenPoco/CalculationUsage.cs index 3e948e00..36ef6787 100644 --- a/SysML2.NET/Core/AutoGenPoco/CalculationUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/CalculationUsage.cs @@ -89,10 +89,7 @@ public partial class CalculationUsage : ICalculationUsage [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [RedefinedByProperty("ICalculationUsage.CalculationDefinition")] [Implements(implementation: "IActionUsage.ActionDefinition")] - public List QueryActionDefinition() - { - return this.ComputeActionDefinition(); - } + List Systems.Actions.IActionUsage.actionDefinition => throw new InvalidOperationException("Redefined by property ICalculationUsage.CalculationDefinition"); /// /// Various alternative identifiers for this Element. Generally, these will be set by tools. @@ -108,10 +105,7 @@ public List QueryActionDefinition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IExpression.Function")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); /// /// The Function that is the type of this CalculationUsage. Nominally, this would be a @@ -122,10 +116,7 @@ public List QueryBehavior() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1543948477241_299049_20934")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1565500905804_589845_30779")] [Implements(implementation: "ICalculationUsage.CalculationDefinition")] - public IFunction QueryCalculationDefinition() - { - return this.ComputeCalculationDefinition(); - } + public IFunction calculationDefinition => this.ComputeCalculationDefinition(); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -137,10 +128,7 @@ public IFunction QueryCalculationDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -150,10 +138,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -181,10 +166,7 @@ public IFeature QueryCrossFeature() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] [Implements(implementation: "IUsage.Definition")] - public List QueryDefinition() - { - return this.ComputeDefinition(); - } + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -197,10 +179,7 @@ public List QueryDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -209,10 +188,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// The usages of this Usage that are directedFeatures. @@ -221,10 +197,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -241,10 +214,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -260,10 +230,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -273,10 +240,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -284,10 +248,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -296,20 +257,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -319,10 +274,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Function that types this Expression. @@ -331,10 +283,7 @@ public List QueryFeaturingType() [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [RedefinedByProperty("ICalculationUsage.CalculationDefinition")] [Implements(implementation: "IExpression.Function")] - public IFunction QueryFunction() - { - return this.ComputeFunction(); - } + IFunction Kernel.Functions.IExpression.function => throw new InvalidOperationException("Redefined by property ICalculationUsage.CalculationDefinition"); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -342,10 +291,7 @@ public IFunction QueryFunction() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// The at most one occurrenceDefinition that has isIndividual = true. @@ -353,10 +299,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public IOccurrenceDefinition QueryIndividualDefinition() - { - return this.ComputeIndividualDefinition(); - } + public IOccurrenceDefinition individualDefinition => this.ComputeIndividualDefinition(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -364,10 +307,7 @@ public IOccurrenceDefinition QueryIndividualDefinition() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -376,10 +316,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -387,10 +324,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -403,10 +337,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -430,10 +361,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -488,10 +416,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, @@ -499,10 +424,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool QueryIsModelLevelEvaluable() - { - return this.ComputeIsModelLevelEvaluable(); - } + public bool isModelLevelEvaluable => this.ComputeIsModelLevelEvaluable(); /// /// Whether an order exists for the values of this Feature or not. @@ -524,10 +446,7 @@ public bool QueryIsModelLevelEvaluable() /// [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IUsage.IsReference")] - public bool QueryIsReference() - { - return this.ComputeIsReference(); - } + public bool isReference => this.ComputeIsReference(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -555,7 +474,11 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -576,10 +499,7 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool QueryMayTimeVary() - { - return this.ComputeMayTimeVary(); - } + public bool mayTimeVary => this.ComputeMayTimeVary(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -587,10 +507,7 @@ public bool QueryMayTimeVary() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -598,10 +515,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -611,10 +525,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -624,10 +535,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ActionUsages that are nestedUsages of this Usage. @@ -635,10 +543,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List QueryNestedAction() - { - return this.ComputeNestedAction(); - } + public List nestedAction => this.ComputeNestedAction(); /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -646,10 +551,7 @@ public List QueryNestedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List QueryNestedAllocation() - { - return this.ComputeNestedAllocation(); - } + public List nestedAllocation => this.ComputeNestedAllocation(); /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -657,10 +559,7 @@ public List QueryNestedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List QueryNestedAnalysisCase() - { - return this.ComputeNestedAnalysisCase(); - } + public List nestedAnalysisCase => this.ComputeNestedAnalysisCase(); /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -668,10 +567,7 @@ public List QueryNestedAnalysisCase() [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List QueryNestedAttribute() - { - return this.ComputeNestedAttribute(); - } + public List nestedAttribute => this.ComputeNestedAttribute(); /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -679,10 +575,7 @@ public List QueryNestedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List QueryNestedCalculation() - { - return this.ComputeNestedCalculation(); - } + public List nestedCalculation => this.ComputeNestedCalculation(); /// /// The CaseUsages that are nestedUsages of this Usage. @@ -690,10 +583,7 @@ public List QueryNestedCalculation() [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List QueryNestedCase() - { - return this.ComputeNestedCase(); - } + public List nestedCase => this.ComputeNestedCase(); /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -701,10 +591,7 @@ public List QueryNestedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List QueryNestedConcern() - { - return this.ComputeNestedConcern(); - } + public List nestedConcern => this.ComputeNestedConcern(); /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -714,10 +601,7 @@ public List QueryNestedConcern() [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List QueryNestedConnection() - { - return this.ComputeNestedConnection(); - } + public List nestedConnection => this.ComputeNestedConnection(); /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -725,10 +609,7 @@ public List QueryNestedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List QueryNestedConstraint() - { - return this.ComputeNestedConstraint(); - } + public List nestedConstraint => this.ComputeNestedConstraint(); /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -736,10 +617,7 @@ public List QueryNestedConstraint() [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List QueryNestedEnumeration() - { - return this.ComputeNestedEnumeration(); - } + public List nestedEnumeration => this.ComputeNestedEnumeration(); /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -747,10 +625,7 @@ public List QueryNestedEnumeration() [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List QueryNestedFlow() - { - return this.ComputeNestedFlow(); - } + public List nestedFlow => this.ComputeNestedFlow(); /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -758,10 +633,7 @@ public List QueryNestedFlow() [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List QueryNestedInterface() - { - return this.ComputeNestedInterface(); - } + public List nestedInterface => this.ComputeNestedInterface(); /// /// The ItemUsages that are nestedUsages of this Usage. @@ -769,10 +641,7 @@ public List QueryNestedInterface() [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List QueryNestedItem() - { - return this.ComputeNestedItem(); - } + public List nestedItem => this.ComputeNestedItem(); /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -780,10 +649,7 @@ public List QueryNestedItem() [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List QueryNestedMetadata() - { - return this.ComputeNestedMetadata(); - } + public List nestedMetadata => this.ComputeNestedMetadata(); /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -791,10 +657,7 @@ public List QueryNestedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List QueryNestedOccurrence() - { - return this.ComputeNestedOccurrence(); - } + public List nestedOccurrence => this.ComputeNestedOccurrence(); /// /// The PartUsages that are nestedUsages of this Usage. @@ -802,10 +665,7 @@ public List QueryNestedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List QueryNestedPart() - { - return this.ComputeNestedPart(); - } + public List nestedPart => this.ComputeNestedPart(); /// /// The PortUsages that are nestedUsages of this Usage. @@ -813,10 +673,7 @@ public List QueryNestedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List QueryNestedPort() - { - return this.ComputeNestedPort(); - } + public List nestedPort => this.ComputeNestedPort(); /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -824,10 +681,7 @@ public List QueryNestedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List QueryNestedReference() - { - return this.ComputeNestedReference(); - } + public List nestedReference => this.ComputeNestedReference(); /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -835,10 +689,7 @@ public List QueryNestedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List QueryNestedRendering() - { - return this.ComputeNestedRendering(); - } + public List nestedRendering => this.ComputeNestedRendering(); /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -846,10 +697,7 @@ public List QueryNestedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List QueryNestedRequirement() - { - return this.ComputeNestedRequirement(); - } + public List nestedRequirement => this.ComputeNestedRequirement(); /// /// The StateUsages that are nestedUsages of this Usage. @@ -857,10 +705,7 @@ public List QueryNestedRequirement() [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List QueryNestedState() - { - return this.ComputeNestedState(); - } + public List nestedState => this.ComputeNestedState(); /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -868,10 +713,7 @@ public List QueryNestedState() [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List QueryNestedTransition() - { - return this.ComputeNestedTransition(); - } + public List nestedTransition => this.ComputeNestedTransition(); /// /// The Usages that are ownedFeatures of this Usage. @@ -880,10 +722,7 @@ public List QueryNestedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List QueryNestedUsage() - { - return this.ComputeNestedUsage(); - } + public List nestedUsage => this.ComputeNestedUsage(); /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -891,10 +730,7 @@ public List QueryNestedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List QueryNestedUseCase() - { - return this.ComputeNestedUseCase(); - } + public List nestedUseCase => this.ComputeNestedUseCase(); /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -902,10 +738,7 @@ public List QueryNestedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List QueryNestedVerificationCase() - { - return this.ComputeNestedVerificationCase(); - } + public List nestedVerificationCase => this.ComputeNestedVerificationCase(); /// /// The ViewUsages that are nestedUsages of this Usage. @@ -913,10 +746,7 @@ public List QueryNestedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List QueryNestedView() - { - return this.ComputeNestedView(); - } + public List nestedView => this.ComputeNestedView(); /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -924,10 +754,7 @@ public List QueryNestedView() [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List QueryNestedViewpoint() - { - return this.ComputeNestedViewpoint(); - } + public List nestedViewpoint => this.ComputeNestedViewpoint(); /// /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, @@ -938,10 +765,7 @@ public List QueryNestedViewpoint() [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] [RedefinedByProperty("IActionUsage.ActionDefinition")] [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List QueryOccurrenceDefinition() - { - return this.ComputeOccurrenceDefinition(); - } + List Systems.Occurrences.IOccurrenceUsage.occurrenceDefinition => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -949,10 +773,7 @@ public List QueryOccurrenceDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -962,10 +783,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -974,10 +792,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -986,10 +801,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -999,10 +811,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -1012,10 +821,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -1023,10 +829,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -1035,10 +838,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -1046,10 +846,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -1059,10 +856,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -1072,10 +866,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -1085,10 +876,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -1098,10 +886,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -1110,10 +895,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -1122,10 +904,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -1136,10 +915,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -1148,10 +924,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -1160,10 +933,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -1181,10 +951,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -1194,10 +961,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -1207,10 +971,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -1220,10 +981,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1232,10 +990,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1243,10 +998,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The Definition that owns this Usage (if any). @@ -1255,10 +1007,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public IDefinition QueryOwningDefinition() - { - return this.ComputeOwningDefinition(); - } + public IDefinition owningDefinition => this.ComputeOwningDefinition(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1266,10 +1015,7 @@ public IDefinition QueryOwningDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1278,10 +1024,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1290,10 +1033,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -1311,10 +1051,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The Usage in which this Usage is nested (if any). @@ -1322,10 +1059,7 @@ public IType QueryOwningType() [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public IUsage QueryOwningUsage() - { - return this.ComputeOwningUsage(); - } + public IUsage owningUsage => this.ComputeOwningUsage(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -1334,10 +1068,7 @@ public IUsage QueryOwningUsage() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If @@ -1358,10 +1089,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// An output parameter of the Expression whose value is the result of the Expression. The result of an @@ -1372,10 +1100,7 @@ public string QueryQualifiedName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [Implements(implementation: "IExpression.Result")] - public IFeature QueryResult() - { - return this.ComputeResult(); - } + public IFeature result => this.ComputeResult(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1385,10 +1110,7 @@ public IFeature QueryResult() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -1397,10 +1119,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1411,10 +1130,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1425,10 +1141,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1436,10 +1149,7 @@ public List QueryUnioningType() [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1448,10 +1158,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1460,10 +1167,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/CaseDefinition.cs b/SysML2.NET/Core/AutoGenPoco/CaseDefinition.cs index 694fac58..6ec939b5 100644 --- a/SysML2.NET/Core/AutoGenPoco/CaseDefinition.cs +++ b/SysML2.NET/Core/AutoGenPoco/CaseDefinition.cs @@ -83,10 +83,7 @@ public partial class CaseDefinition : ICaseDefinition [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IActionDefinition.Action")] - public List QueryAction() - { - return this.ComputeAction(); - } + public List action => this.ComputeAction(); /// /// The parameters of this CaseDefinition that represent actors involved in the case. @@ -95,10 +92,7 @@ public List QueryAction() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "ICaseDefinition.ActorParameter")] - public List QueryActorParameter() - { - return this.ComputeActorParameter(); - } + public List actorParameter => this.ComputeActorParameter(); /// /// Various alternative identifiers for this Element. Generally, these will be set by tools. @@ -114,10 +108,7 @@ public List QueryActorParameter() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565500809065_170841_30688")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948400639_301251_20841")] [Implements(implementation: "ICalculationDefinition.Calculation")] - public List QueryCalculation() - { - return this.ComputeCalculation(); - } + public List calculation => this.ComputeCalculation(); /// /// The declared name of this Element. @@ -147,10 +138,7 @@ public List QueryCalculation() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -159,10 +147,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IBehavior.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IBehavior.Parameter"); /// /// The usages of this Definition that are directedFeatures. @@ -171,10 +156,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// The Documentation owned by this Element. @@ -183,10 +165,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -202,10 +181,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Expressions that are steps in the calculation of the result of this Function. @@ -213,10 +189,7 @@ public List QueryEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1543948400639_301251_20841", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] [Implements(implementation: "IFunction.Expression")] - public List QueryExpression() - { - return this.ComputeExpression(); - } + public List expression => this.ComputeExpression(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -224,10 +197,7 @@ public List QueryExpression() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -236,10 +206,7 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -247,10 +214,7 @@ public List QueryFeatureMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -258,10 +222,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -270,10 +231,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -281,10 +239,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -297,10 +252,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -315,10 +267,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// Whether all necessary implied Relationships have been included in the ownedRelationships of this @@ -343,10 +292,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether this Function can be used as the function of a model-level evaluable InvocationExpression. @@ -357,10 +303,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1617395221463_139517_26381", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFunction.IsModelLevelEvaluable")] - public bool QueryIsModelLevelEvaluable() - { - return this.ComputeIsModelLevelEvaluable(); - } + public bool isModelLevelEvaluable => this.ComputeIsModelLevelEvaluable(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -388,10 +331,7 @@ public bool QueryIsModelLevelEvaluable() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -399,10 +339,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -412,10 +349,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -425,10 +359,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The RequirementUsage representing the objective of this CaseDefinition. @@ -436,10 +367,7 @@ public string QueryName() [Property(xmiId: "_19_0_2_59601fc_1590259317710_27529_910", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "ICaseDefinition.ObjectiveRequirement")] - public IRequirementUsage QueryObjectiveRequirement() - { - return this.ComputeObjectiveRequirement(); - } + public IRequirementUsage objectiveRequirement => this.ComputeObjectiveRequirement(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -447,10 +375,7 @@ public IRequirementUsage QueryObjectiveRequirement() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ActionUsages that are ownedUsages of this Definition. @@ -458,10 +383,7 @@ public List QueryOutput() [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedAction")] - public List QueryOwnedAction() - { - return this.ComputeOwnedAction(); - } + public List ownedAction => this.ComputeOwnedAction(); /// /// The AllocationUsages that are ownedUsages of this Definition. @@ -469,10 +391,7 @@ public List QueryOwnedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedAllocation")] - public List QueryOwnedAllocation() - { - return this.ComputeOwnedAllocation(); - } + public List ownedAllocation => this.ComputeOwnedAllocation(); /// /// The AnalysisCaseUsages that are ownedUsages of this Definition. @@ -480,10 +399,7 @@ public List QueryOwnedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List QueryOwnedAnalysisCase() - { - return this.ComputeOwnedAnalysisCase(); - } + public List ownedAnalysisCase => this.ComputeOwnedAnalysisCase(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -493,10 +409,7 @@ public List QueryOwnedAnalysisCase() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The AttributeUsages that are ownedUsages of this Definition. @@ -504,10 +417,7 @@ public List QueryOwnedAnnotation() [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedAttribute")] - public List QueryOwnedAttribute() - { - return this.ComputeOwnedAttribute(); - } + public List ownedAttribute => this.ComputeOwnedAttribute(); /// /// The CalculationUsages that are ownedUsages of this Definition. @@ -515,10 +425,7 @@ public List QueryOwnedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedCalculation")] - public List QueryOwnedCalculation() - { - return this.ComputeOwnedCalculation(); - } + public List ownedCalculation => this.ComputeOwnedCalculation(); /// /// The code>CaseUsages that are ownedUsages of this Definition. @@ -526,10 +433,7 @@ public List QueryOwnedCalculation() [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] [Implements(implementation: "IDefinition.OwnedCase")] - public List QueryOwnedCase() - { - return this.ComputeOwnedCase(); - } + public List ownedCase => this.ComputeOwnedCase(); /// /// The ConcernUsages that are ownedUsages of this Definition. @@ -537,10 +441,7 @@ public List QueryOwnedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedConcern")] - public List QueryOwnedConcern() - { - return this.ComputeOwnedConcern(); - } + public List ownedConcern => this.ComputeOwnedConcern(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -549,10 +450,7 @@ public List QueryOwnedConcern() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes @@ -562,10 +460,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedConnection")] - public List QueryOwnedConnection() - { - return this.ComputeOwnedConnection(); - } + public List ownedConnection => this.ComputeOwnedConnection(); /// /// The ConstraintUsages that are ownedUsages of this Definition. @@ -573,10 +468,7 @@ public List QueryOwnedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedConstraint")] - public List QueryOwnedConstraint() - { - return this.ComputeOwnedConstraint(); - } + public List ownedConstraint => this.ComputeOwnedConstraint(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -586,10 +478,7 @@ public List QueryOwnedConstraint() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -599,10 +488,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -610,10 +496,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -622,10 +505,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The EnumerationUsages that are ownedUsages of this Definition. @@ -633,10 +513,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List QueryOwnedEnumeration() - { - return this.ComputeOwnedEnumeration(); - } + public List ownedEnumeration => this.ComputeOwnedEnumeration(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -644,10 +521,7 @@ public List QueryOwnedEnumeration() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -657,10 +531,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The FlowUsages that are ownedUsages of this Definition. @@ -668,10 +539,7 @@ public List QueryOwnedFeatureMembership() [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedFlow")] - public List QueryOwnedFlow() - { - return this.ComputeOwnedFlow(); - } + public List ownedFlow => this.ComputeOwnedFlow(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -681,10 +549,7 @@ public List QueryOwnedFlow() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The InterfaceUsages that are ownedUsages of this Definition. @@ -692,10 +557,7 @@ public List QueryOwnedImport() [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedInterface")] - public List QueryOwnedInterface() - { - return this.ComputeOwnedInterface(); - } + public List ownedInterface => this.ComputeOwnedInterface(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -704,10 +566,7 @@ public List QueryOwnedInterface() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The ItemUsages that are ownedUsages of this Definition. @@ -715,10 +574,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedItem")] - public List QueryOwnedItem() - { - return this.ComputeOwnedItem(); - } + public List ownedItem => this.ComputeOwnedItem(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -727,10 +583,7 @@ public List QueryOwnedItem() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -741,10 +594,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The MetadataUsages that are ownedUsages of this Definition. @@ -752,10 +602,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedMetadata")] - public List QueryOwnedMetadata() - { - return this.ComputeOwnedMetadata(); - } + public List ownedMetadata => this.ComputeOwnedMetadata(); /// /// The OccurrenceUsages that are ownedUsages of this Definition. @@ -763,10 +610,7 @@ public List QueryOwnedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List QueryOwnedOccurrence() - { - return this.ComputeOwnedOccurrence(); - } + public List ownedOccurrence => this.ComputeOwnedOccurrence(); /// /// The PartUsages that are ownedUsages of this Definition. @@ -774,10 +618,7 @@ public List QueryOwnedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedPart")] - public List QueryOwnedPart() - { - return this.ComputeOwnedPart(); - } + public List ownedPart => this.ComputeOwnedPart(); /// /// The PortUsages that are ownedUsages of this Definition. @@ -785,10 +626,7 @@ public List QueryOwnedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedPort")] - public List QueryOwnedPort() - { - return this.ComputeOwnedPort(); - } + public List ownedPort => this.ComputeOwnedPort(); /// /// The ReferenceUsages that are ownedUsages of this Definition. @@ -796,10 +634,7 @@ public List QueryOwnedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedReference")] - public List QueryOwnedReference() - { - return this.ComputeOwnedReference(); - } + public List ownedReference => this.ComputeOwnedReference(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -815,10 +650,7 @@ public List QueryOwnedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedRendering")] - public List QueryOwnedRendering() - { - return this.ComputeOwnedRendering(); - } + public List ownedRendering => this.ComputeOwnedRendering(); /// /// The RequirementUsages that are ownedUsages of this Definition. @@ -826,10 +658,7 @@ public List QueryOwnedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] [Implements(implementation: "IDefinition.OwnedRequirement")] - public List QueryOwnedRequirement() - { - return this.ComputeOwnedRequirement(); - } + public List ownedRequirement => this.ComputeOwnedRequirement(); /// /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific @@ -839,10 +668,7 @@ public List QueryOwnedRequirement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The StateUsages that are ownedUsages of this Definition. @@ -850,10 +676,7 @@ public List QueryOwnedSpecialization() [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedState")] - public List QueryOwnedState() - { - return this.ComputeOwnedState(); - } + public List ownedState => this.ComputeOwnedState(); /// /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier @@ -862,10 +685,7 @@ public List QueryOwnedState() [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List QueryOwnedSubclassification() - { - return this.ComputeOwnedSubclassification(); - } + public List ownedSubclassification => this.ComputeOwnedSubclassification(); /// /// The TransitionUsages that are ownedUsages of this Definition. @@ -873,10 +693,7 @@ public List QueryOwnedSubclassification() [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedTransition")] - public List QueryOwnedTransition() - { - return this.ComputeOwnedTransition(); - } + public List ownedTransition => this.ComputeOwnedTransition(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -885,10 +702,7 @@ public List QueryOwnedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The Usages that are ownedFeatures of this Definition. @@ -897,10 +711,7 @@ public List QueryOwnedUnioning() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.OwnedUsage")] - public List QueryOwnedUsage() - { - return this.ComputeOwnedUsage(); - } + public List ownedUsage => this.ComputeOwnedUsage(); /// /// The UseCaseUsages that are ownedUsages of this Definition. @@ -908,10 +719,7 @@ public List QueryOwnedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedUseCase")] - public List QueryOwnedUseCase() - { - return this.ComputeOwnedUseCase(); - } + public List ownedUseCase => this.ComputeOwnedUseCase(); /// /// The VerificationCaseUsages that are ownedUsages of this Definition. @@ -919,10 +727,7 @@ public List QueryOwnedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List QueryOwnedVerificationCase() - { - return this.ComputeOwnedVerificationCase(); - } + public List ownedVerificationCase => this.ComputeOwnedVerificationCase(); /// /// The ViewUsages that are ownedUsages of this Definition. @@ -930,10 +735,7 @@ public List QueryOwnedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedView")] - public List QueryOwnedView() - { - return this.ComputeOwnedView(); - } + public List ownedView => this.ComputeOwnedView(); /// /// The ViewpointUsages that are ownedUsages of this Definition. @@ -941,10 +743,7 @@ public List QueryOwnedView() [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List QueryOwnedViewpoint() - { - return this.ComputeOwnedViewpoint(); - } + public List ownedViewpoint => this.ComputeOwnedViewpoint(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -952,10 +751,7 @@ public List QueryOwnedViewpoint() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -964,10 +760,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -976,10 +769,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -996,10 +786,7 @@ public INamespace QueryOwningNamespace() [Property(xmiId: "_18_5_3_12e503d9_1543948010065_362066_20413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IBehavior.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -1011,10 +798,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The object or value that is the result of evaluating the Function. @@ -1023,10 +807,7 @@ public string QueryQualifiedName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] [Implements(implementation: "IFunction.Result")] - public IFeature QueryResult() - { - return this.ComputeResult(); - } + public IFeature result => this.ComputeResult(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1036,10 +817,7 @@ public IFeature QueryResult() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The Steps that make up this Behavior. @@ -1047,10 +825,7 @@ public string QueryShortName() [Property(xmiId: "_18_5_3_b9102da_1536346067212_587255_17343", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IBehavior.Step")] - public List QueryStep() - { - return this.ComputeStep(); - } + public List step => this.ComputeStep(); /// /// The parameter of this CaseDefinition that represents its subject. @@ -1059,10 +834,7 @@ public List QueryStep() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "ICaseDefinition.SubjectParameter")] - public IUsage QuerySubjectParameter() - { - return this.ComputeSubjectParameter(); - } + public IUsage subjectParameter => this.ComputeSubjectParameter(); /// /// The TextualRepresentations that annotate this Element. @@ -1071,10 +843,7 @@ public IUsage QuerySubjectParameter() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1085,10 +854,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Definition (not necessarily owned). @@ -1096,10 +862,7 @@ public List QueryUnioningType() [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IDefinition.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Definition as a variation point Definition, if @@ -1108,10 +871,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IDefinition.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then @@ -1121,10 +881,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IDefinition.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/CaseUsage.cs b/SysML2.NET/Core/AutoGenPoco/CaseUsage.cs index f0da5123..71827d87 100644 --- a/SysML2.NET/Core/AutoGenPoco/CaseUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/CaseUsage.cs @@ -86,10 +86,7 @@ public partial class CaseUsage : ICaseUsage [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [RedefinedByProperty("ICalculationUsage.CalculationDefinition")] [Implements(implementation: "IActionUsage.ActionDefinition")] - public List QueryActionDefinition() - { - return this.ComputeActionDefinition(); - } + List Systems.Actions.IActionUsage.actionDefinition => throw new InvalidOperationException("Redefined by property ICalculationUsage.CalculationDefinition"); /// /// The parameters of this CaseUsage that represent actors involved in the case. @@ -98,10 +95,7 @@ public List QueryActionDefinition() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "ICaseUsage.ActorParameter")] - public List QueryActorParameter() - { - return this.ComputeActorParameter(); - } + public List actorParameter => this.ComputeActorParameter(); /// /// Various alternative identifiers for this Element. Generally, these will be set by tools. @@ -117,10 +111,7 @@ public List QueryActorParameter() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IExpression.Function")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); /// /// The Function that is the type of this CalculationUsage. Nominally, this would be a @@ -132,10 +123,7 @@ public List QueryBehavior() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1565500905804_589845_30779")] [RedefinedByProperty("ICaseUsage.CaseDefinition")] [Implements(implementation: "ICalculationUsage.CalculationDefinition")] - public IFunction QueryCalculationDefinition() - { - return this.ComputeCalculationDefinition(); - } + IFunction Systems.Calculations.ICalculationUsage.calculationDefinition => throw new InvalidOperationException("Redefined by property ICaseUsage.CaseDefinition"); /// /// The CaseDefinition that is the type of this CaseUsage. @@ -143,10 +131,7 @@ public IFunction QueryCalculationDefinition() [Property(xmiId: "_19_0_2_59601fc_1590257465225_855208_512", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1588213526305_899324_302")] [Implements(implementation: "ICaseUsage.CaseDefinition")] - public ICaseDefinition QueryCaseDefinition() - { - return this.ComputeCaseDefinition(); - } + public ICaseDefinition caseDefinition => this.ComputeCaseDefinition(); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -158,10 +143,7 @@ public ICaseDefinition QueryCaseDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -171,10 +153,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -202,10 +181,7 @@ public IFeature QueryCrossFeature() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] [Implements(implementation: "IUsage.Definition")] - public List QueryDefinition() - { - return this.ComputeDefinition(); - } + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -218,10 +194,7 @@ public List QueryDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -230,10 +203,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// The usages of this Usage that are directedFeatures. @@ -242,10 +212,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -262,10 +229,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -281,10 +245,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -294,10 +255,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -305,10 +263,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -317,20 +272,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -340,10 +289,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Function that types this Expression. @@ -352,10 +298,7 @@ public List QueryFeaturingType() [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [RedefinedByProperty("ICalculationUsage.CalculationDefinition")] [Implements(implementation: "IExpression.Function")] - public IFunction QueryFunction() - { - return this.ComputeFunction(); - } + IFunction Kernel.Functions.IExpression.function => throw new InvalidOperationException("Redefined by property ICalculationUsage.CalculationDefinition"); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -363,10 +306,7 @@ public IFunction QueryFunction() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// The at most one occurrenceDefinition that has isIndividual = true. @@ -374,10 +314,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public IOccurrenceDefinition QueryIndividualDefinition() - { - return this.ComputeIndividualDefinition(); - } + public IOccurrenceDefinition individualDefinition => this.ComputeIndividualDefinition(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -385,10 +322,7 @@ public IOccurrenceDefinition QueryIndividualDefinition() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -397,10 +331,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -408,10 +339,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -424,10 +352,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -451,10 +376,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -509,10 +431,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, @@ -520,10 +439,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool QueryIsModelLevelEvaluable() - { - return this.ComputeIsModelLevelEvaluable(); - } + public bool isModelLevelEvaluable => this.ComputeIsModelLevelEvaluable(); /// /// Whether an order exists for the values of this Feature or not. @@ -545,10 +461,7 @@ public bool QueryIsModelLevelEvaluable() /// [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IUsage.IsReference")] - public bool QueryIsReference() - { - return this.ComputeIsReference(); - } + public bool isReference => this.ComputeIsReference(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -576,7 +489,11 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -597,10 +514,7 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool QueryMayTimeVary() - { - return this.ComputeMayTimeVary(); - } + public bool mayTimeVary => this.ComputeMayTimeVary(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -608,10 +522,7 @@ public bool QueryMayTimeVary() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -619,10 +530,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -632,10 +540,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -645,10 +550,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ActionUsages that are nestedUsages of this Usage. @@ -656,10 +558,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List QueryNestedAction() - { - return this.ComputeNestedAction(); - } + public List nestedAction => this.ComputeNestedAction(); /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -667,10 +566,7 @@ public List QueryNestedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List QueryNestedAllocation() - { - return this.ComputeNestedAllocation(); - } + public List nestedAllocation => this.ComputeNestedAllocation(); /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -678,10 +574,7 @@ public List QueryNestedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List QueryNestedAnalysisCase() - { - return this.ComputeNestedAnalysisCase(); - } + public List nestedAnalysisCase => this.ComputeNestedAnalysisCase(); /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -689,10 +582,7 @@ public List QueryNestedAnalysisCase() [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List QueryNestedAttribute() - { - return this.ComputeNestedAttribute(); - } + public List nestedAttribute => this.ComputeNestedAttribute(); /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -700,10 +590,7 @@ public List QueryNestedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List QueryNestedCalculation() - { - return this.ComputeNestedCalculation(); - } + public List nestedCalculation => this.ComputeNestedCalculation(); /// /// The CaseUsages that are nestedUsages of this Usage. @@ -711,10 +598,7 @@ public List QueryNestedCalculation() [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List QueryNestedCase() - { - return this.ComputeNestedCase(); - } + public List nestedCase => this.ComputeNestedCase(); /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -722,10 +606,7 @@ public List QueryNestedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List QueryNestedConcern() - { - return this.ComputeNestedConcern(); - } + public List nestedConcern => this.ComputeNestedConcern(); /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -735,10 +616,7 @@ public List QueryNestedConcern() [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List QueryNestedConnection() - { - return this.ComputeNestedConnection(); - } + public List nestedConnection => this.ComputeNestedConnection(); /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -746,10 +624,7 @@ public List QueryNestedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List QueryNestedConstraint() - { - return this.ComputeNestedConstraint(); - } + public List nestedConstraint => this.ComputeNestedConstraint(); /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -757,10 +632,7 @@ public List QueryNestedConstraint() [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List QueryNestedEnumeration() - { - return this.ComputeNestedEnumeration(); - } + public List nestedEnumeration => this.ComputeNestedEnumeration(); /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -768,10 +640,7 @@ public List QueryNestedEnumeration() [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List QueryNestedFlow() - { - return this.ComputeNestedFlow(); - } + public List nestedFlow => this.ComputeNestedFlow(); /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -779,10 +648,7 @@ public List QueryNestedFlow() [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List QueryNestedInterface() - { - return this.ComputeNestedInterface(); - } + public List nestedInterface => this.ComputeNestedInterface(); /// /// The ItemUsages that are nestedUsages of this Usage. @@ -790,10 +656,7 @@ public List QueryNestedInterface() [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List QueryNestedItem() - { - return this.ComputeNestedItem(); - } + public List nestedItem => this.ComputeNestedItem(); /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -801,10 +664,7 @@ public List QueryNestedItem() [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List QueryNestedMetadata() - { - return this.ComputeNestedMetadata(); - } + public List nestedMetadata => this.ComputeNestedMetadata(); /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -812,10 +672,7 @@ public List QueryNestedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List QueryNestedOccurrence() - { - return this.ComputeNestedOccurrence(); - } + public List nestedOccurrence => this.ComputeNestedOccurrence(); /// /// The PartUsages that are nestedUsages of this Usage. @@ -823,10 +680,7 @@ public List QueryNestedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List QueryNestedPart() - { - return this.ComputeNestedPart(); - } + public List nestedPart => this.ComputeNestedPart(); /// /// The PortUsages that are nestedUsages of this Usage. @@ -834,10 +688,7 @@ public List QueryNestedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List QueryNestedPort() - { - return this.ComputeNestedPort(); - } + public List nestedPort => this.ComputeNestedPort(); /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -845,10 +696,7 @@ public List QueryNestedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List QueryNestedReference() - { - return this.ComputeNestedReference(); - } + public List nestedReference => this.ComputeNestedReference(); /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -856,10 +704,7 @@ public List QueryNestedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List QueryNestedRendering() - { - return this.ComputeNestedRendering(); - } + public List nestedRendering => this.ComputeNestedRendering(); /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -867,10 +712,7 @@ public List QueryNestedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List QueryNestedRequirement() - { - return this.ComputeNestedRequirement(); - } + public List nestedRequirement => this.ComputeNestedRequirement(); /// /// The StateUsages that are nestedUsages of this Usage. @@ -878,10 +720,7 @@ public List QueryNestedRequirement() [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List QueryNestedState() - { - return this.ComputeNestedState(); - } + public List nestedState => this.ComputeNestedState(); /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -889,10 +728,7 @@ public List QueryNestedState() [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List QueryNestedTransition() - { - return this.ComputeNestedTransition(); - } + public List nestedTransition => this.ComputeNestedTransition(); /// /// The Usages that are ownedFeatures of this Usage. @@ -901,10 +737,7 @@ public List QueryNestedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List QueryNestedUsage() - { - return this.ComputeNestedUsage(); - } + public List nestedUsage => this.ComputeNestedUsage(); /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -912,10 +745,7 @@ public List QueryNestedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List QueryNestedUseCase() - { - return this.ComputeNestedUseCase(); - } + public List nestedUseCase => this.ComputeNestedUseCase(); /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -923,10 +753,7 @@ public List QueryNestedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List QueryNestedVerificationCase() - { - return this.ComputeNestedVerificationCase(); - } + public List nestedVerificationCase => this.ComputeNestedVerificationCase(); /// /// The ViewUsages that are nestedUsages of this Usage. @@ -934,10 +761,7 @@ public List QueryNestedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List QueryNestedView() - { - return this.ComputeNestedView(); - } + public List nestedView => this.ComputeNestedView(); /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -945,10 +769,7 @@ public List QueryNestedView() [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List QueryNestedViewpoint() - { - return this.ComputeNestedViewpoint(); - } + public List nestedViewpoint => this.ComputeNestedViewpoint(); /// /// The RequirementUsage representing the objective of this CaseUsage. @@ -956,10 +777,7 @@ public List QueryNestedViewpoint() [Property(xmiId: "_19_0_2_12e503d9_1591138794257_404044_2145", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "ICaseUsage.ObjectiveRequirement")] - public IRequirementUsage QueryObjectiveRequirement() - { - return this.ComputeObjectiveRequirement(); - } + public IRequirementUsage objectiveRequirement => this.ComputeObjectiveRequirement(); /// /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, @@ -970,10 +788,7 @@ public IRequirementUsage QueryObjectiveRequirement() [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] [RedefinedByProperty("IActionUsage.ActionDefinition")] [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List QueryOccurrenceDefinition() - { - return this.ComputeOccurrenceDefinition(); - } + List Systems.Occurrences.IOccurrenceUsage.occurrenceDefinition => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -981,10 +796,7 @@ public List QueryOccurrenceDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -994,10 +806,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -1006,10 +815,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -1018,10 +824,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -1031,10 +834,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -1044,10 +844,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -1055,10 +852,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -1067,10 +861,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -1078,10 +869,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -1091,10 +879,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -1104,10 +889,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -1117,10 +899,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -1130,10 +909,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -1142,10 +918,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -1154,10 +927,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -1168,10 +938,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -1180,10 +947,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -1192,10 +956,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -1213,10 +974,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -1226,10 +984,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -1239,10 +994,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -1252,10 +1004,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1264,10 +1013,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1275,10 +1021,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The Definition that owns this Usage (if any). @@ -1287,10 +1030,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public IDefinition QueryOwningDefinition() - { - return this.ComputeOwningDefinition(); - } + public IDefinition owningDefinition => this.ComputeOwningDefinition(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1298,10 +1038,7 @@ public IDefinition QueryOwningDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1310,10 +1047,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1322,10 +1056,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -1343,10 +1074,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The Usage in which this Usage is nested (if any). @@ -1354,10 +1082,7 @@ public IType QueryOwningType() [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public IUsage QueryOwningUsage() - { - return this.ComputeOwningUsage(); - } + public IUsage owningUsage => this.ComputeOwningUsage(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -1366,10 +1091,7 @@ public IUsage QueryOwningUsage() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If @@ -1390,10 +1112,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// An output parameter of the Expression whose value is the result of the Expression. The result of an @@ -1404,10 +1123,7 @@ public string QueryQualifiedName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [Implements(implementation: "IExpression.Result")] - public IFeature QueryResult() - { - return this.ComputeResult(); - } + public IFeature result => this.ComputeResult(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1417,10 +1133,7 @@ public IFeature QueryResult() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The parameter of this CaseUsage that represents its subject. @@ -1429,10 +1142,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "ICaseUsage.SubjectParameter")] - public IUsage QuerySubjectParameter() - { - return this.ComputeSubjectParameter(); - } + public IUsage subjectParameter => this.ComputeSubjectParameter(); /// /// The TextualRepresentations that annotate this Element. @@ -1441,10 +1151,7 @@ public IUsage QuerySubjectParameter() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1455,10 +1162,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1469,10 +1173,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1480,10 +1181,7 @@ public List QueryUnioningType() [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1492,10 +1190,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1504,10 +1199,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/Class.cs b/SysML2.NET/Core/AutoGenPoco/Class.cs index 696490d0..8d2ca956 100644 --- a/SysML2.NET/Core/AutoGenPoco/Class.cs +++ b/SysML2.NET/Core/AutoGenPoco/Class.cs @@ -87,10 +87,7 @@ public partial class Class : IClass /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -98,10 +95,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// The Documentation owned by this Element. @@ -110,10 +104,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -129,10 +120,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -140,10 +128,7 @@ public List QueryEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -152,10 +137,7 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -163,10 +145,7 @@ public List QueryFeatureMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -174,10 +153,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -186,10 +162,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -197,10 +170,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -213,10 +183,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -231,10 +198,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// Whether all necessary implied Relationships have been included in the ownedRelationships of this @@ -252,10 +216,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -275,10 +236,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -286,10 +244,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -299,10 +254,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -312,10 +264,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -323,10 +272,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -336,10 +282,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -348,10 +291,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -361,10 +301,7 @@ public IConjugation QueryOwnedConjugator() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -374,10 +311,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -385,10 +319,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -397,10 +328,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -408,10 +336,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -421,10 +346,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -434,10 +356,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -446,10 +365,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -458,10 +374,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -472,10 +385,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -493,10 +403,7 @@ public List QueryOwnedMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier @@ -505,10 +412,7 @@ public List QueryOwnedSpecialization() [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List QueryOwnedSubclassification() - { - return this.ComputeOwnedSubclassification(); - } + public List ownedSubclassification => this.ComputeOwnedSubclassification(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -517,10 +421,7 @@ public List QueryOwnedSubclassification() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -528,10 +429,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -540,10 +438,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -552,10 +447,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -575,10 +467,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -588,10 +477,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -600,10 +486,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -614,10 +497,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/Classifier.cs b/SysML2.NET/Core/AutoGenPoco/Classifier.cs index 988f30ba..bec9e7cc 100644 --- a/SysML2.NET/Core/AutoGenPoco/Classifier.cs +++ b/SysML2.NET/Core/AutoGenPoco/Classifier.cs @@ -89,10 +89,7 @@ public partial class Classifier : IClassifier /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -100,10 +97,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// The Documentation owned by this Element. @@ -112,10 +106,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -131,10 +122,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -142,10 +130,7 @@ public List QueryEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -154,10 +139,7 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -165,10 +147,7 @@ public List QueryFeatureMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -176,10 +155,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -188,10 +164,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -199,10 +172,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -215,10 +185,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -233,10 +200,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// Whether all necessary implied Relationships have been included in the ownedRelationships of this @@ -254,10 +218,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -277,10 +238,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -288,10 +246,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -301,10 +256,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -314,10 +266,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -325,10 +274,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -338,10 +284,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -350,10 +293,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -363,10 +303,7 @@ public IConjugation QueryOwnedConjugator() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -376,10 +313,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -387,10 +321,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -399,10 +330,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -410,10 +338,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -423,10 +348,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -436,10 +358,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -448,10 +367,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -460,10 +376,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -474,10 +387,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -495,10 +405,7 @@ public List QueryOwnedMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier @@ -507,10 +414,7 @@ public List QueryOwnedSpecialization() [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List QueryOwnedSubclassification() - { - return this.ComputeOwnedSubclassification(); - } + public List ownedSubclassification => this.ComputeOwnedSubclassification(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -519,10 +423,7 @@ public List QueryOwnedSubclassification() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -530,10 +431,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -542,10 +440,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -554,10 +449,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -577,10 +469,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -590,10 +479,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -602,10 +488,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -616,10 +499,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/CollectExpression.cs b/SysML2.NET/Core/AutoGenPoco/CollectExpression.cs index 944c561e..9f4251f2 100644 --- a/SysML2.NET/Core/AutoGenPoco/CollectExpression.cs +++ b/SysML2.NET/Core/AutoGenPoco/CollectExpression.cs @@ -68,10 +68,7 @@ public partial class CollectExpression : ICollectExpression /// [Property(xmiId: "_2022x_2_12e503d9_1739134437590_328753_108", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IInstantiationExpression.Argument")] - public List QueryArgument() - { - return this.ComputeArgument(); - } + public List argument => this.ComputeArgument(); /// /// The Behaviors that type this Step. @@ -80,10 +77,7 @@ public List QueryArgument() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IExpression.Function")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -95,10 +89,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -108,10 +99,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -141,10 +129,7 @@ public IFeature QueryCrossFeature() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -153,10 +138,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -173,10 +155,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -192,10 +171,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -205,10 +181,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -216,10 +189,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -228,20 +198,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -251,10 +215,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Function that types this Expression. @@ -262,10 +223,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [Implements(implementation: "IExpression.Function")] - public IFunction QueryFunction() - { - return this.ComputeFunction(); - } + public IFunction function => this.ComputeFunction(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -273,10 +231,7 @@ public IFunction QueryFunction() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -284,10 +239,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -296,10 +248,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -307,10 +256,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The Type that is being instantiated. @@ -318,10 +264,7 @@ public List QueryInput() [Property(xmiId: "_2022x_2_12e503d9_1739134352572_416088_80", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IInstantiationExpression.InstantiatedType")] - public IType QueryInstantiatedType() - { - return this.ComputeInstantiatedType(); - } + public IType instantiatedType => this.ComputeInstantiatedType(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -334,10 +277,7 @@ public IType QueryInstantiatedType() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -361,10 +301,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -411,10 +348,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, @@ -422,10 +356,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool QueryIsModelLevelEvaluable() - { - return this.ComputeIsModelLevelEvaluable(); - } + public bool isModelLevelEvaluable => this.ComputeIsModelLevelEvaluable(); /// /// Whether an order exists for the values of this Feature or not. @@ -475,10 +406,7 @@ public bool QueryIsModelLevelEvaluable() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -486,10 +414,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -499,10 +424,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -512,17 +434,14 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// [Property(xmiId: "_18_5_3_12e503d9_1559596670531_992404_29068", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "collect")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1557528808100_646606_111674")] [Implements(implementation: "ICollectExpression.Operator")] - string ICollectExpression.Operator { get; set; } + public string Operator { get; set; } /// /// An operator symbol that names a corresponding Function from one of the standard packages from the @@ -531,7 +450,11 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1557528808100_646606_111674", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("ICollectExpression.Operator")] [Implements(implementation: "IOperatorExpression.Operator")] - string IOperatorExpression.Operator { get; set; } + string IOperatorExpression.Operator + { + get => throw new InvalidOperationException("Redefined by property ICollectExpression.Operator"); + set => throw new InvalidOperationException("Redefined by property ICollectExpression.Operator"); + } /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -539,10 +462,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -552,10 +472,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -564,10 +481,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -576,10 +490,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -589,10 +500,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -602,10 +510,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -613,10 +518,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -625,10 +527,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -636,10 +535,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -649,10 +545,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -662,10 +555,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -675,10 +565,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -688,10 +575,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -700,10 +584,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -712,10 +593,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -726,10 +604,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -738,10 +613,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -750,10 +622,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -771,10 +640,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -784,10 +650,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -797,10 +660,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -810,10 +670,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -822,10 +679,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -833,10 +687,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -844,10 +695,7 @@ public IElement QueryOwner() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -856,10 +704,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -868,10 +713,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -889,10 +731,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -901,10 +740,7 @@ public IType QueryOwningType() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -916,10 +752,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// An output parameter of the Expression whose value is the result of the Expression. The result of an @@ -930,10 +763,7 @@ public string QueryQualifiedName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [Implements(implementation: "IExpression.Result")] - public IFeature QueryResult() - { - return this.ComputeResult(); - } + public IFeature result => this.ComputeResult(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -943,10 +773,7 @@ public IFeature QueryResult() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -955,10 +782,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -968,10 +792,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + public List type => this.ComputeType(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -982,10 +803,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/Comment.cs b/SysML2.NET/Core/AutoGenPoco/Comment.cs index eca54c1b..c5e4722b 100644 --- a/SysML2.NET/Core/AutoGenPoco/Comment.cs +++ b/SysML2.NET/Core/AutoGenPoco/Comment.cs @@ -60,10 +60,7 @@ public partial class Comment : IComment /// [Property(xmiId: "_19_0_2_12e503d9_1594145755058_99428_86", aggregation: AggregationKind.None, lowerValue: 1, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IAnnotatingElement.AnnotatedElement")] - public List QueryAnnotatedElement() - { - return this.ComputeAnnotatedElement(); - } + public List annotatedElement => this.ComputeAnnotatedElement(); /// /// The Annotations that relate this AnnotatingElement to its annotatedElements. This includes the @@ -72,10 +69,7 @@ public List QueryAnnotatedElement() [Property(xmiId: "_18_5_3_12e503d9_1543094212714_953084_18407", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IAnnotatingElement.Annotation")] - public List QueryAnnotation() - { - return this.ComputeAnnotation(); - } + public List annotation => this.ComputeAnnotation(); /// /// The annotation text for the Comment. @@ -108,10 +102,7 @@ public List QueryAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -137,10 +128,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Identification of the language of the body text and, optionally, the region and/or encoding. The @@ -159,10 +147,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this AnnotatingElement that are Annotations, for which this @@ -172,10 +157,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IAnnotatingElement.OwnedAnnotatingRelationship")] - public List QueryOwnedAnnotatingRelationship() - { - return this.ComputeOwnedAnnotatingRelationship(); - } + public List ownedAnnotatingRelationship => this.ComputeOwnedAnnotatingRelationship(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -185,10 +167,7 @@ public List QueryOwnedAnnotatingRelationship() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -196,10 +175,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -215,10 +191,7 @@ public List QueryOwnedElement() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this AnnotatingRelationship, if it is an Annotation @@ -227,10 +200,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] [Implements(implementation: "IAnnotatingElement.OwningAnnotatingRelationship")] - public IAnnotation QueryOwningAnnotatingRelationship() - { - return this.ComputeOwningAnnotatingRelationship(); - } + public IAnnotation owningAnnotatingRelationship => this.ComputeOwningAnnotatingRelationship(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -239,10 +209,7 @@ public IAnnotation QueryOwningAnnotatingRelationship() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -251,10 +218,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -274,10 +238,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -287,10 +248,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -299,10 +257,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/ConcernDefinition.cs b/SysML2.NET/Core/AutoGenPoco/ConcernDefinition.cs index cd303fb7..dd8809b1 100644 --- a/SysML2.NET/Core/AutoGenPoco/ConcernDefinition.cs +++ b/SysML2.NET/Core/AutoGenPoco/ConcernDefinition.cs @@ -82,10 +82,7 @@ public partial class ConcernDefinition : IConcernDefinition [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IRequirementDefinition.ActorParameter")] - public List QueryActorParameter() - { - return this.ComputeActorParameter(); - } + public List actorParameter => this.ComputeActorParameter(); /// /// Various alternative identifiers for this Element. Generally, these will be set by tools. @@ -102,10 +99,7 @@ public List QueryActorParameter() [Property(xmiId: "_19_0_2_12e503d9_1583376806647_629021_133", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IRequirementDefinition.AssumedConstraint")] - public List QueryAssumedConstraint() - { - return this.ComputeAssumedConstraint(); - } + public List assumedConstraint => this.ComputeAssumedConstraint(); /// /// The declared name of this Element. @@ -123,7 +117,11 @@ public List QueryAssumedConstraint() [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IRequirementDefinition.ReqId")] [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } + string Root.Elements.IElement.DeclaredShortName + { + get => throw new InvalidOperationException("Redefined by property IRequirementDefinition.ReqId"); + set => throw new InvalidOperationException("Redefined by property IRequirementDefinition.ReqId"); + } /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -136,10 +134,7 @@ public List QueryAssumedConstraint() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -148,10 +143,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IBehavior.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IBehavior.Parameter"); /// /// The usages of this Definition that are directedFeatures. @@ -160,10 +152,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// The Documentation owned by this Element. @@ -172,10 +161,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -191,10 +177,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Expressions that are steps in the calculation of the result of this Function. @@ -202,10 +185,7 @@ public List QueryEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1543948400639_301251_20841", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] [Implements(implementation: "IFunction.Expression")] - public List QueryExpression() - { - return this.ComputeExpression(); - } + public List expression => this.ComputeExpression(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -213,10 +193,7 @@ public List QueryExpression() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -225,10 +202,7 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The ConcernUsages framed by this RequirementDefinition, which are the ownedConcerns of all @@ -237,10 +211,7 @@ public List QueryFeatureMembership() [Property(xmiId: "_19_0_4_12e503d9_1617116733499_587735_3242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583376932997_792124_158")] [Implements(implementation: "IRequirementDefinition.FramedConcern")] - public List QueryFramedConcern() - { - return this.ComputeFramedConcern(); - } + public List framedConcern => this.ComputeFramedConcern(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -248,10 +219,7 @@ public List QueryFramedConcern() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -259,10 +227,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -271,10 +236,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -282,10 +244,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -298,10 +257,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -316,10 +272,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// Whether all necessary implied Relationships have been included in the ownedRelationships of this @@ -344,10 +297,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether this Function can be used as the function of a model-level evaluable InvocationExpression. @@ -358,10 +308,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1617395221463_139517_26381", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFunction.IsModelLevelEvaluable")] - public bool QueryIsModelLevelEvaluable() - { - return this.ComputeIsModelLevelEvaluable(); - } + public bool isModelLevelEvaluable => this.ComputeIsModelLevelEvaluable(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -389,10 +336,7 @@ public bool QueryIsModelLevelEvaluable() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -400,10 +344,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -413,10 +354,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -426,10 +364,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -437,10 +372,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ActionUsages that are ownedUsages of this Definition. @@ -448,10 +380,7 @@ public List QueryOutput() [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedAction")] - public List QueryOwnedAction() - { - return this.ComputeOwnedAction(); - } + public List ownedAction => this.ComputeOwnedAction(); /// /// The AllocationUsages that are ownedUsages of this Definition. @@ -459,10 +388,7 @@ public List QueryOwnedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedAllocation")] - public List QueryOwnedAllocation() - { - return this.ComputeOwnedAllocation(); - } + public List ownedAllocation => this.ComputeOwnedAllocation(); /// /// The AnalysisCaseUsages that are ownedUsages of this Definition. @@ -470,10 +396,7 @@ public List QueryOwnedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List QueryOwnedAnalysisCase() - { - return this.ComputeOwnedAnalysisCase(); - } + public List ownedAnalysisCase => this.ComputeOwnedAnalysisCase(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -483,10 +406,7 @@ public List QueryOwnedAnalysisCase() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The AttributeUsages that are ownedUsages of this Definition. @@ -494,10 +414,7 @@ public List QueryOwnedAnnotation() [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedAttribute")] - public List QueryOwnedAttribute() - { - return this.ComputeOwnedAttribute(); - } + public List ownedAttribute => this.ComputeOwnedAttribute(); /// /// The CalculationUsages that are ownedUsages of this Definition. @@ -505,10 +422,7 @@ public List QueryOwnedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedCalculation")] - public List QueryOwnedCalculation() - { - return this.ComputeOwnedCalculation(); - } + public List ownedCalculation => this.ComputeOwnedCalculation(); /// /// The code>CaseUsages that are ownedUsages of this Definition. @@ -516,10 +430,7 @@ public List QueryOwnedCalculation() [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] [Implements(implementation: "IDefinition.OwnedCase")] - public List QueryOwnedCase() - { - return this.ComputeOwnedCase(); - } + public List ownedCase => this.ComputeOwnedCase(); /// /// The ConcernUsages that are ownedUsages of this Definition. @@ -527,10 +438,7 @@ public List QueryOwnedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedConcern")] - public List QueryOwnedConcern() - { - return this.ComputeOwnedConcern(); - } + public List ownedConcern => this.ComputeOwnedConcern(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -539,10 +447,7 @@ public List QueryOwnedConcern() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes @@ -552,10 +457,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedConnection")] - public List QueryOwnedConnection() - { - return this.ComputeOwnedConnection(); - } + public List ownedConnection => this.ComputeOwnedConnection(); /// /// The ConstraintUsages that are ownedUsages of this Definition. @@ -563,10 +465,7 @@ public List QueryOwnedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedConstraint")] - public List QueryOwnedConstraint() - { - return this.ComputeOwnedConstraint(); - } + public List ownedConstraint => this.ComputeOwnedConstraint(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -576,10 +475,7 @@ public List QueryOwnedConstraint() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -589,10 +485,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -600,10 +493,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -612,10 +502,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The EnumerationUsages that are ownedUsages of this Definition. @@ -623,10 +510,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List QueryOwnedEnumeration() - { - return this.ComputeOwnedEnumeration(); - } + public List ownedEnumeration => this.ComputeOwnedEnumeration(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -634,10 +518,7 @@ public List QueryOwnedEnumeration() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -647,10 +528,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The FlowUsages that are ownedUsages of this Definition. @@ -658,10 +536,7 @@ public List QueryOwnedFeatureMembership() [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedFlow")] - public List QueryOwnedFlow() - { - return this.ComputeOwnedFlow(); - } + public List ownedFlow => this.ComputeOwnedFlow(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -671,10 +546,7 @@ public List QueryOwnedFlow() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The InterfaceUsages that are ownedUsages of this Definition. @@ -682,10 +554,7 @@ public List QueryOwnedImport() [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedInterface")] - public List QueryOwnedInterface() - { - return this.ComputeOwnedInterface(); - } + public List ownedInterface => this.ComputeOwnedInterface(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -694,10 +563,7 @@ public List QueryOwnedInterface() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The ItemUsages that are ownedUsages of this Definition. @@ -705,10 +571,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedItem")] - public List QueryOwnedItem() - { - return this.ComputeOwnedItem(); - } + public List ownedItem => this.ComputeOwnedItem(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -717,10 +580,7 @@ public List QueryOwnedItem() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -731,10 +591,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The MetadataUsages that are ownedUsages of this Definition. @@ -742,10 +599,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedMetadata")] - public List QueryOwnedMetadata() - { - return this.ComputeOwnedMetadata(); - } + public List ownedMetadata => this.ComputeOwnedMetadata(); /// /// The OccurrenceUsages that are ownedUsages of this Definition. @@ -753,10 +607,7 @@ public List QueryOwnedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List QueryOwnedOccurrence() - { - return this.ComputeOwnedOccurrence(); - } + public List ownedOccurrence => this.ComputeOwnedOccurrence(); /// /// The PartUsages that are ownedUsages of this Definition. @@ -764,10 +615,7 @@ public List QueryOwnedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedPart")] - public List QueryOwnedPart() - { - return this.ComputeOwnedPart(); - } + public List ownedPart => this.ComputeOwnedPart(); /// /// The PortUsages that are ownedUsages of this Definition. @@ -775,10 +623,7 @@ public List QueryOwnedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedPort")] - public List QueryOwnedPort() - { - return this.ComputeOwnedPort(); - } + public List ownedPort => this.ComputeOwnedPort(); /// /// The ReferenceUsages that are ownedUsages of this Definition. @@ -786,10 +631,7 @@ public List QueryOwnedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedReference")] - public List QueryOwnedReference() - { - return this.ComputeOwnedReference(); - } + public List ownedReference => this.ComputeOwnedReference(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -805,10 +647,7 @@ public List QueryOwnedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedRendering")] - public List QueryOwnedRendering() - { - return this.ComputeOwnedRendering(); - } + public List ownedRendering => this.ComputeOwnedRendering(); /// /// The RequirementUsages that are ownedUsages of this Definition. @@ -816,10 +655,7 @@ public List QueryOwnedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] [Implements(implementation: "IDefinition.OwnedRequirement")] - public List QueryOwnedRequirement() - { - return this.ComputeOwnedRequirement(); - } + public List ownedRequirement => this.ComputeOwnedRequirement(); /// /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific @@ -829,10 +665,7 @@ public List QueryOwnedRequirement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The StateUsages that are ownedUsages of this Definition. @@ -840,10 +673,7 @@ public List QueryOwnedSpecialization() [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedState")] - public List QueryOwnedState() - { - return this.ComputeOwnedState(); - } + public List ownedState => this.ComputeOwnedState(); /// /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier @@ -852,10 +682,7 @@ public List QueryOwnedState() [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List QueryOwnedSubclassification() - { - return this.ComputeOwnedSubclassification(); - } + public List ownedSubclassification => this.ComputeOwnedSubclassification(); /// /// The TransitionUsages that are ownedUsages of this Definition. @@ -863,10 +690,7 @@ public List QueryOwnedSubclassification() [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedTransition")] - public List QueryOwnedTransition() - { - return this.ComputeOwnedTransition(); - } + public List ownedTransition => this.ComputeOwnedTransition(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -875,10 +699,7 @@ public List QueryOwnedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The Usages that are ownedFeatures of this Definition. @@ -887,10 +708,7 @@ public List QueryOwnedUnioning() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.OwnedUsage")] - public List QueryOwnedUsage() - { - return this.ComputeOwnedUsage(); - } + public List ownedUsage => this.ComputeOwnedUsage(); /// /// The UseCaseUsages that are ownedUsages of this Definition. @@ -898,10 +716,7 @@ public List QueryOwnedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedUseCase")] - public List QueryOwnedUseCase() - { - return this.ComputeOwnedUseCase(); - } + public List ownedUseCase => this.ComputeOwnedUseCase(); /// /// The VerificationCaseUsages that are ownedUsages of this Definition. @@ -909,10 +724,7 @@ public List QueryOwnedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List QueryOwnedVerificationCase() - { - return this.ComputeOwnedVerificationCase(); - } + public List ownedVerificationCase => this.ComputeOwnedVerificationCase(); /// /// The ViewUsages that are ownedUsages of this Definition. @@ -920,10 +732,7 @@ public List QueryOwnedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedView")] - public List QueryOwnedView() - { - return this.ComputeOwnedView(); - } + public List ownedView => this.ComputeOwnedView(); /// /// The ViewpointUsages that are ownedUsages of this Definition. @@ -931,10 +740,7 @@ public List QueryOwnedView() [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List QueryOwnedViewpoint() - { - return this.ComputeOwnedViewpoint(); - } + public List ownedViewpoint => this.ComputeOwnedViewpoint(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -942,10 +748,7 @@ public List QueryOwnedViewpoint() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -954,10 +757,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -966,10 +766,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -986,10 +783,7 @@ public INamespace QueryOwningNamespace() [Property(xmiId: "_18_5_3_12e503d9_1543948010065_362066_20413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IBehavior.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -1001,10 +795,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// An optional modeler-specified identifier for this RequirementDefinition (used, e.g., to link it to @@ -1024,10 +815,7 @@ public string QueryQualifiedName() [Property(xmiId: "_19_0_2_12e503d9_1583376932997_792124_158", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IRequirementDefinition.RequiredConstraint")] - public List QueryRequiredConstraint() - { - return this.ComputeRequiredConstraint(); - } + public List requiredConstraint => this.ComputeRequiredConstraint(); /// /// The object or value that is the result of evaluating the Function. @@ -1036,10 +824,7 @@ public List QueryRequiredConstraint() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] [Implements(implementation: "IFunction.Result")] - public IFeature QueryResult() - { - return this.ComputeResult(); - } + public IFeature result => this.ComputeResult(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1049,10 +834,7 @@ public IFeature QueryResult() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The parameters of this RequirementDefinition that represent stakeholders for th requirement. @@ -1061,10 +843,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IRequirementDefinition.StakeholderParameter")] - public List QueryStakeholderParameter() - { - return this.ComputeStakeholderParameter(); - } + public List stakeholderParameter => this.ComputeStakeholderParameter(); /// /// The Steps that make up this Behavior. @@ -1072,10 +851,7 @@ public List QueryStakeholderParameter() [Property(xmiId: "_18_5_3_b9102da_1536346067212_587255_17343", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IBehavior.Step")] - public List QueryStep() - { - return this.ComputeStep(); - } + public List step => this.ComputeStep(); /// /// The parameter of this RequirementDefinition that represents its subject. @@ -1084,10 +860,7 @@ public List QueryStep() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IRequirementDefinition.SubjectParameter")] - public IUsage QuerySubjectParameter() - { - return this.ComputeSubjectParameter(); - } + public IUsage subjectParameter => this.ComputeSubjectParameter(); /// /// An optional textual statement of the requirement represented by this RequirementDefinition, derived @@ -1095,10 +868,7 @@ public IUsage QuerySubjectParameter() /// [Property(xmiId: "_19_0_2_12e503d9_1583376433122_189839_94", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IRequirementDefinition.Text")] - public List QueryText() - { - return this.ComputeText(); - } + public List text => this.ComputeText(); /// /// The TextualRepresentations that annotate this Element. @@ -1107,10 +877,7 @@ public List QueryText() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1121,10 +888,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Definition (not necessarily owned). @@ -1132,10 +896,7 @@ public List QueryUnioningType() [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IDefinition.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Definition as a variation point Definition, if @@ -1144,10 +905,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IDefinition.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then @@ -1157,10 +915,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IDefinition.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/ConcernUsage.cs b/SysML2.NET/Core/AutoGenPoco/ConcernUsage.cs index 70e3d322..94b047ca 100644 --- a/SysML2.NET/Core/AutoGenPoco/ConcernUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/ConcernUsage.cs @@ -86,10 +86,7 @@ public partial class ConcernUsage : IConcernUsage [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IRequirementUsage.ActorParameter")] - public List QueryActorParameter() - { - return this.ComputeActorParameter(); - } + public List actorParameter => this.ComputeActorParameter(); /// /// Various alternative identifiers for this Element. Generally, these will be set by tools. @@ -106,10 +103,7 @@ public List QueryActorParameter() [Property(xmiId: "_19_0_2_12e503d9_1583377612865_991722_535", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IRequirementUsage.AssumedConstraint")] - public List QueryAssumedConstraint() - { - return this.ComputeAssumedConstraint(); - } + public List assumedConstraint => this.ComputeAssumedConstraint(); /// /// The Behaviors that type this Step. @@ -118,10 +112,7 @@ public List QueryAssumedConstraint() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IExpression.Function")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -133,10 +124,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The ConcernDefinition that is the single type of this ConcernUsage. @@ -144,10 +132,7 @@ public List QueryChainingFeature() [Property(xmiId: "_19_0_4_12e503d9_1617052514912_780627_2256", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1583000408905_769743_1223")] [Implements(implementation: "IConcernUsage.ConcernDefinition")] - public IConcernDefinition QueryConcernDefinition() - { - return this.ComputeConcernDefinition(); - } + public IConcernDefinition concernDefinition => this.ComputeConcernDefinition(); /// /// The (single) Predicate that is the type of this ConstraintUsage. Nominally, this will be a @@ -158,10 +143,7 @@ public IConcernDefinition QueryConcernDefinition() [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1578025035149_386_969")] [RedefinedByProperty("IRequirementUsage.RequirementDefinition")] [Implements(implementation: "IConstraintUsage.ConstraintDefinition")] - public IPredicate QueryConstraintDefinition() - { - return this.ComputeConstraintDefinition(); - } + IPredicate Systems.Constraints.IConstraintUsage.constraintDefinition => throw new InvalidOperationException("Redefined by property IRequirementUsage.RequirementDefinition"); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -171,10 +153,7 @@ public IPredicate QueryConstraintDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -192,7 +171,11 @@ public IFeature QueryCrossFeature() [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IRequirementUsage.ReqId")] [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } + string Root.Elements.IElement.DeclaredShortName + { + get => throw new InvalidOperationException("Redefined by property IRequirementUsage.ReqId"); + set => throw new InvalidOperationException("Redefined by property IRequirementUsage.ReqId"); + } /// /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds @@ -203,10 +186,7 @@ public IFeature QueryCrossFeature() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] [Implements(implementation: "IUsage.Definition")] - public List QueryDefinition() - { - return this.ComputeDefinition(); - } + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -219,10 +199,7 @@ public List QueryDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -231,10 +208,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// The usages of this Usage that are directedFeatures. @@ -243,10 +217,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -263,10 +234,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -282,10 +250,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -295,10 +260,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -306,10 +268,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -318,20 +277,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -341,10 +294,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The ConcernUsages framed by this RequirementUsage, which are the ownedConcerns of all @@ -353,10 +303,7 @@ public List QueryFeaturingType() [Property(xmiId: "_19_0_4_12e503d9_1617116922864_514612_3264", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583377448339_252740_390")] [Implements(implementation: "IRequirementUsage.FramedConcern")] - public List QueryFramedConcern() - { - return this.ComputeFramedConcern(); - } + public List framedConcern => this.ComputeFramedConcern(); /// /// The Function that types this Expression. @@ -365,10 +312,7 @@ public List QueryFramedConcern() [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [RedefinedByProperty("IBooleanExpression.Predicate")] [Implements(implementation: "IExpression.Function")] - public IFunction QueryFunction() - { - return this.ComputeFunction(); - } + IFunction Kernel.Functions.IExpression.function => throw new InvalidOperationException("Redefined by property IBooleanExpression.Predicate"); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -376,10 +320,7 @@ public IFunction QueryFunction() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// The at most one occurrenceDefinition that has isIndividual = true. @@ -387,10 +328,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public IOccurrenceDefinition QueryIndividualDefinition() - { - return this.ComputeIndividualDefinition(); - } + public IOccurrenceDefinition individualDefinition => this.ComputeIndividualDefinition(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -398,10 +336,7 @@ public IOccurrenceDefinition QueryIndividualDefinition() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -410,10 +345,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -421,10 +353,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -437,10 +366,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -464,10 +390,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -522,10 +445,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, @@ -533,10 +453,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool QueryIsModelLevelEvaluable() - { - return this.ComputeIsModelLevelEvaluable(); - } + public bool isModelLevelEvaluable => this.ComputeIsModelLevelEvaluable(); /// /// Whether an order exists for the values of this Feature or not. @@ -558,10 +475,7 @@ public bool QueryIsModelLevelEvaluable() /// [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IUsage.IsReference")] - public bool QueryIsReference() - { - return this.ComputeIsReference(); - } + public bool isReference => this.ComputeIsReference(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -589,7 +503,11 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -610,10 +528,7 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool QueryMayTimeVary() - { - return this.ComputeMayTimeVary(); - } + public bool mayTimeVary => this.ComputeMayTimeVary(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -621,10 +536,7 @@ public bool QueryMayTimeVary() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -632,10 +544,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -645,10 +554,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -658,10 +564,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ActionUsages that are nestedUsages of this Usage. @@ -669,10 +572,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List QueryNestedAction() - { - return this.ComputeNestedAction(); - } + public List nestedAction => this.ComputeNestedAction(); /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -680,10 +580,7 @@ public List QueryNestedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List QueryNestedAllocation() - { - return this.ComputeNestedAllocation(); - } + public List nestedAllocation => this.ComputeNestedAllocation(); /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -691,10 +588,7 @@ public List QueryNestedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List QueryNestedAnalysisCase() - { - return this.ComputeNestedAnalysisCase(); - } + public List nestedAnalysisCase => this.ComputeNestedAnalysisCase(); /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -702,10 +596,7 @@ public List QueryNestedAnalysisCase() [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List QueryNestedAttribute() - { - return this.ComputeNestedAttribute(); - } + public List nestedAttribute => this.ComputeNestedAttribute(); /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -713,10 +604,7 @@ public List QueryNestedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List QueryNestedCalculation() - { - return this.ComputeNestedCalculation(); - } + public List nestedCalculation => this.ComputeNestedCalculation(); /// /// The CaseUsages that are nestedUsages of this Usage. @@ -724,10 +612,7 @@ public List QueryNestedCalculation() [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List QueryNestedCase() - { - return this.ComputeNestedCase(); - } + public List nestedCase => this.ComputeNestedCase(); /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -735,10 +620,7 @@ public List QueryNestedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List QueryNestedConcern() - { - return this.ComputeNestedConcern(); - } + public List nestedConcern => this.ComputeNestedConcern(); /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -748,10 +630,7 @@ public List QueryNestedConcern() [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List QueryNestedConnection() - { - return this.ComputeNestedConnection(); - } + public List nestedConnection => this.ComputeNestedConnection(); /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -759,10 +638,7 @@ public List QueryNestedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List QueryNestedConstraint() - { - return this.ComputeNestedConstraint(); - } + public List nestedConstraint => this.ComputeNestedConstraint(); /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -770,10 +646,7 @@ public List QueryNestedConstraint() [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List QueryNestedEnumeration() - { - return this.ComputeNestedEnumeration(); - } + public List nestedEnumeration => this.ComputeNestedEnumeration(); /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -781,10 +654,7 @@ public List QueryNestedEnumeration() [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List QueryNestedFlow() - { - return this.ComputeNestedFlow(); - } + public List nestedFlow => this.ComputeNestedFlow(); /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -792,10 +662,7 @@ public List QueryNestedFlow() [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List QueryNestedInterface() - { - return this.ComputeNestedInterface(); - } + public List nestedInterface => this.ComputeNestedInterface(); /// /// The ItemUsages that are nestedUsages of this Usage. @@ -803,10 +670,7 @@ public List QueryNestedInterface() [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List QueryNestedItem() - { - return this.ComputeNestedItem(); - } + public List nestedItem => this.ComputeNestedItem(); /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -814,10 +678,7 @@ public List QueryNestedItem() [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List QueryNestedMetadata() - { - return this.ComputeNestedMetadata(); - } + public List nestedMetadata => this.ComputeNestedMetadata(); /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -825,10 +686,7 @@ public List QueryNestedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List QueryNestedOccurrence() - { - return this.ComputeNestedOccurrence(); - } + public List nestedOccurrence => this.ComputeNestedOccurrence(); /// /// The PartUsages that are nestedUsages of this Usage. @@ -836,10 +694,7 @@ public List QueryNestedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List QueryNestedPart() - { - return this.ComputeNestedPart(); - } + public List nestedPart => this.ComputeNestedPart(); /// /// The PortUsages that are nestedUsages of this Usage. @@ -847,10 +702,7 @@ public List QueryNestedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List QueryNestedPort() - { - return this.ComputeNestedPort(); - } + public List nestedPort => this.ComputeNestedPort(); /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -858,10 +710,7 @@ public List QueryNestedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List QueryNestedReference() - { - return this.ComputeNestedReference(); - } + public List nestedReference => this.ComputeNestedReference(); /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -869,10 +718,7 @@ public List QueryNestedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List QueryNestedRendering() - { - return this.ComputeNestedRendering(); - } + public List nestedRendering => this.ComputeNestedRendering(); /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -880,10 +726,7 @@ public List QueryNestedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List QueryNestedRequirement() - { - return this.ComputeNestedRequirement(); - } + public List nestedRequirement => this.ComputeNestedRequirement(); /// /// The StateUsages that are nestedUsages of this Usage. @@ -891,10 +734,7 @@ public List QueryNestedRequirement() [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List QueryNestedState() - { - return this.ComputeNestedState(); - } + public List nestedState => this.ComputeNestedState(); /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -902,10 +742,7 @@ public List QueryNestedState() [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List QueryNestedTransition() - { - return this.ComputeNestedTransition(); - } + public List nestedTransition => this.ComputeNestedTransition(); /// /// The Usages that are ownedFeatures of this Usage. @@ -914,10 +751,7 @@ public List QueryNestedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List QueryNestedUsage() - { - return this.ComputeNestedUsage(); - } + public List nestedUsage => this.ComputeNestedUsage(); /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -925,10 +759,7 @@ public List QueryNestedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List QueryNestedUseCase() - { - return this.ComputeNestedUseCase(); - } + public List nestedUseCase => this.ComputeNestedUseCase(); /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -936,10 +767,7 @@ public List QueryNestedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List QueryNestedVerificationCase() - { - return this.ComputeNestedVerificationCase(); - } + public List nestedVerificationCase => this.ComputeNestedVerificationCase(); /// /// The ViewUsages that are nestedUsages of this Usage. @@ -947,10 +775,7 @@ public List QueryNestedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List QueryNestedView() - { - return this.ComputeNestedView(); - } + public List nestedView => this.ComputeNestedView(); /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -958,10 +783,7 @@ public List QueryNestedView() [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List QueryNestedViewpoint() - { - return this.ComputeNestedViewpoint(); - } + public List nestedViewpoint => this.ComputeNestedViewpoint(); /// /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, @@ -971,10 +793,7 @@ public List QueryNestedViewpoint() [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List QueryOccurrenceDefinition() - { - return this.ComputeOccurrenceDefinition(); - } + public List occurrenceDefinition => this.ComputeOccurrenceDefinition(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -982,10 +801,7 @@ public List QueryOccurrenceDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -995,10 +811,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -1007,10 +820,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -1019,10 +829,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -1032,10 +839,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -1045,10 +849,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -1056,10 +857,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -1068,10 +866,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -1079,10 +874,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -1092,10 +884,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -1105,10 +894,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -1118,10 +904,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -1131,10 +914,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -1143,10 +923,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -1155,10 +932,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -1169,10 +943,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -1181,10 +952,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -1193,10 +961,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -1214,10 +979,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -1227,10 +989,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -1240,10 +999,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -1253,10 +1009,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1265,10 +1018,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1276,10 +1026,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The Definition that owns this Usage (if any). @@ -1288,10 +1035,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public IDefinition QueryOwningDefinition() - { - return this.ComputeOwningDefinition(); - } + public IDefinition owningDefinition => this.ComputeOwningDefinition(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1299,10 +1043,7 @@ public IDefinition QueryOwningDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1311,10 +1052,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1323,10 +1061,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -1344,10 +1079,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The Usage in which this Usage is nested (if any). @@ -1355,10 +1087,7 @@ public IType QueryOwningType() [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public IUsage QueryOwningUsage() - { - return this.ComputeOwningUsage(); - } + public IUsage owningUsage => this.ComputeOwningUsage(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -1367,10 +1096,7 @@ public IUsage QueryOwningUsage() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If @@ -1388,10 +1114,7 @@ public List QueryParameter() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1543948477241_299049_20934")] [RedefinedByProperty("IConstraintUsage.ConstraintDefinition")] [Implements(implementation: "IBooleanExpression.Predicate")] - public IPredicate QueryPredicate() - { - return this.ComputePredicate(); - } + IPredicate Kernel.Functions.IBooleanExpression.predicate => throw new InvalidOperationException("Redefined by property IConstraintUsage.ConstraintDefinition"); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -1403,10 +1126,7 @@ public IPredicate QueryPredicate() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// An optional modeler-specified identifier for this RequirementUsage (used, e.g., to link it to an @@ -1426,10 +1146,7 @@ public string QueryQualifiedName() [Property(xmiId: "_19_0_2_12e503d9_1583377448339_252740_390", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IRequirementUsage.RequiredConstraint")] - public List QueryRequiredConstraint() - { - return this.ComputeRequiredConstraint(); - } + public List requiredConstraint => this.ComputeRequiredConstraint(); /// /// The RequirementDefinition that is the single definition of this RequirementUsage. @@ -1438,10 +1155,7 @@ public List QueryRequiredConstraint() [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1578067546711_751168_1745")] [RedefinedByProperty("IConcernUsage.ConcernDefinition")] [Implements(implementation: "IRequirementUsage.RequirementDefinition")] - public IRequirementDefinition QueryRequirementDefinition() - { - return this.ComputeRequirementDefinition(); - } + IRequirementDefinition IRequirementUsage.requirementDefinition => throw new InvalidOperationException("Redefined by property IConcernUsage.ConcernDefinition"); /// /// An output parameter of the Expression whose value is the result of the Expression. The result of an @@ -1452,10 +1166,7 @@ public IRequirementDefinition QueryRequirementDefinition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [Implements(implementation: "IExpression.Result")] - public IFeature QueryResult() - { - return this.ComputeResult(); - } + public IFeature result => this.ComputeResult(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1465,10 +1176,7 @@ public IFeature QueryResult() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The parameters of this RequirementUsage that represent stakeholders for the requirement. @@ -1477,10 +1185,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IRequirementUsage.StakeholderParameter")] - public List QueryStakeholderParameter() - { - return this.ComputeStakeholderParameter(); - } + public List stakeholderParameter => this.ComputeStakeholderParameter(); /// /// The parameter of this RequirementUsage that represents its subject. @@ -1489,10 +1194,7 @@ public List QueryStakeholderParameter() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IRequirementUsage.SubjectParameter")] - public IUsage QuerySubjectParameter() - { - return this.ComputeSubjectParameter(); - } + public IUsage subjectParameter => this.ComputeSubjectParameter(); /// /// An optional textual statement of the requirement represented by this RequirementUsage, derived from @@ -1500,10 +1202,7 @@ public IUsage QuerySubjectParameter() /// [Property(xmiId: "_19_0_2_12e503d9_1583376480942_745679_99", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IRequirementUsage.Text")] - public List QueryText() - { - return this.ComputeText(); - } + public List text => this.ComputeText(); /// /// The TextualRepresentations that annotate this Element. @@ -1512,10 +1211,7 @@ public List QueryText() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1526,10 +1222,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1540,10 +1233,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1551,10 +1241,7 @@ public List QueryUnioningType() [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1563,10 +1250,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1575,10 +1259,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/ConjugatedPortDefinition.cs b/SysML2.NET/Core/AutoGenPoco/ConjugatedPortDefinition.cs index aad35060..3a32b933 100644 --- a/SysML2.NET/Core/AutoGenPoco/ConjugatedPortDefinition.cs +++ b/SysML2.NET/Core/AutoGenPoco/ConjugatedPortDefinition.cs @@ -90,10 +90,7 @@ public partial class ConjugatedPortDefinition : IConjugatedPortDefinition [Property(xmiId: "_19_0_2_12e503d9_1575484364015_206236_989", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IPortDefinition.ConjugatedPortDefinition")] - public IConjugatedPortDefinition QueryConjugatedPortDefinition() - { - return this.ComputeConjugatedPortDefinition(); - } + public IConjugatedPortDefinition conjugatedPortDefinition => this.ComputeConjugatedPortDefinition(); /// /// The declared name of this Element. @@ -123,10 +120,7 @@ public IConjugatedPortDefinition QueryConjugatedPortDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -134,10 +128,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// The usages of this Definition that are directedFeatures. @@ -146,10 +137,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// The Documentation owned by this Element. @@ -158,10 +146,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -177,10 +162,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -188,10 +170,7 @@ public List QueryEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -200,10 +179,7 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -211,10 +187,7 @@ public List QueryFeatureMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -222,10 +195,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -234,10 +204,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -245,10 +212,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -261,10 +225,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -279,10 +240,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// Whether all necessary implied Relationships have been included in the ownedRelationships of this @@ -307,10 +265,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -338,10 +293,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -349,10 +301,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -362,10 +311,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -375,10 +321,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The original PortDefinition for this ConjugatedPortDefinition, which is the owningNamespace of the @@ -387,10 +330,7 @@ public string QueryName() [Property(xmiId: "_19_0_2_12e503d9_1575484364017_387810_990", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [Implements(implementation: "IConjugatedPortDefinition.OriginalPortDefinition")] - public IPortDefinition QueryOriginalPortDefinition() - { - return this.ComputeOriginalPortDefinition(); - } + public IPortDefinition originalPortDefinition => this.ComputeOriginalPortDefinition(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -398,10 +338,7 @@ public IPortDefinition QueryOriginalPortDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ActionUsages that are ownedUsages of this Definition. @@ -409,10 +346,7 @@ public List QueryOutput() [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedAction")] - public List QueryOwnedAction() - { - return this.ComputeOwnedAction(); - } + public List ownedAction => this.ComputeOwnedAction(); /// /// The AllocationUsages that are ownedUsages of this Definition. @@ -420,10 +354,7 @@ public List QueryOwnedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedAllocation")] - public List QueryOwnedAllocation() - { - return this.ComputeOwnedAllocation(); - } + public List ownedAllocation => this.ComputeOwnedAllocation(); /// /// The AnalysisCaseUsages that are ownedUsages of this Definition. @@ -431,10 +362,7 @@ public List QueryOwnedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List QueryOwnedAnalysisCase() - { - return this.ComputeOwnedAnalysisCase(); - } + public List ownedAnalysisCase => this.ComputeOwnedAnalysisCase(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -444,10 +372,7 @@ public List QueryOwnedAnalysisCase() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The AttributeUsages that are ownedUsages of this Definition. @@ -455,10 +380,7 @@ public List QueryOwnedAnnotation() [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedAttribute")] - public List QueryOwnedAttribute() - { - return this.ComputeOwnedAttribute(); - } + public List ownedAttribute => this.ComputeOwnedAttribute(); /// /// The CalculationUsages that are ownedUsages of this Definition. @@ -466,10 +388,7 @@ public List QueryOwnedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedCalculation")] - public List QueryOwnedCalculation() - { - return this.ComputeOwnedCalculation(); - } + public List ownedCalculation => this.ComputeOwnedCalculation(); /// /// The code>CaseUsages that are ownedUsages of this Definition. @@ -477,10 +396,7 @@ public List QueryOwnedCalculation() [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] [Implements(implementation: "IDefinition.OwnedCase")] - public List QueryOwnedCase() - { - return this.ComputeOwnedCase(); - } + public List ownedCase => this.ComputeOwnedCase(); /// /// The ConcernUsages that are ownedUsages of this Definition. @@ -488,10 +404,7 @@ public List QueryOwnedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedConcern")] - public List QueryOwnedConcern() - { - return this.ComputeOwnedConcern(); - } + public List ownedConcern => this.ComputeOwnedConcern(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -501,10 +414,7 @@ public List QueryOwnedConcern() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [RedefinedByProperty("IConjugatedPortDefinition.OwnedPortConjugator")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + IConjugation Core.Types.IType.ownedConjugator => throw new InvalidOperationException("Redefined by property IConjugatedPortDefinition.OwnedPortConjugator"); /// /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes @@ -514,10 +424,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedConnection")] - public List QueryOwnedConnection() - { - return this.ComputeOwnedConnection(); - } + public List ownedConnection => this.ComputeOwnedConnection(); /// /// The ConstraintUsages that are ownedUsages of this Definition. @@ -525,10 +432,7 @@ public List QueryOwnedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedConstraint")] - public List QueryOwnedConstraint() - { - return this.ComputeOwnedConstraint(); - } + public List ownedConstraint => this.ComputeOwnedConstraint(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -538,10 +442,7 @@ public List QueryOwnedConstraint() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -551,10 +452,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -562,10 +460,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -574,10 +469,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The EnumerationUsages that are ownedUsages of this Definition. @@ -585,10 +477,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List QueryOwnedEnumeration() - { - return this.ComputeOwnedEnumeration(); - } + public List ownedEnumeration => this.ComputeOwnedEnumeration(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -596,10 +485,7 @@ public List QueryOwnedEnumeration() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -609,10 +495,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The FlowUsages that are ownedUsages of this Definition. @@ -620,10 +503,7 @@ public List QueryOwnedFeatureMembership() [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedFlow")] - public List QueryOwnedFlow() - { - return this.ComputeOwnedFlow(); - } + public List ownedFlow => this.ComputeOwnedFlow(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -633,10 +513,7 @@ public List QueryOwnedFlow() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The InterfaceUsages that are ownedUsages of this Definition. @@ -644,10 +521,7 @@ public List QueryOwnedImport() [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedInterface")] - public List QueryOwnedInterface() - { - return this.ComputeOwnedInterface(); - } + public List ownedInterface => this.ComputeOwnedInterface(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -656,10 +530,7 @@ public List QueryOwnedInterface() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The ItemUsages that are ownedUsages of this Definition. @@ -667,10 +538,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedItem")] - public List QueryOwnedItem() - { - return this.ComputeOwnedItem(); - } + public List ownedItem => this.ComputeOwnedItem(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -679,10 +547,7 @@ public List QueryOwnedItem() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -693,10 +558,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The MetadataUsages that are ownedUsages of this Definition. @@ -704,10 +566,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedMetadata")] - public List QueryOwnedMetadata() - { - return this.ComputeOwnedMetadata(); - } + public List ownedMetadata => this.ComputeOwnedMetadata(); /// /// The OccurrenceUsages that are ownedUsages of this Definition. @@ -715,10 +574,7 @@ public List QueryOwnedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List QueryOwnedOccurrence() - { - return this.ComputeOwnedOccurrence(); - } + public List ownedOccurrence => this.ComputeOwnedOccurrence(); /// /// The PartUsages that are ownedUsages of this Definition. @@ -726,10 +582,7 @@ public List QueryOwnedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedPart")] - public List QueryOwnedPart() - { - return this.ComputeOwnedPart(); - } + public List ownedPart => this.ComputeOwnedPart(); /// /// The PortUsages that are ownedUsages of this Definition. @@ -737,10 +590,7 @@ public List QueryOwnedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedPort")] - public List QueryOwnedPort() - { - return this.ComputeOwnedPort(); - } + public List ownedPort => this.ComputeOwnedPort(); /// /// The PortConjugation that is the ownedConjugator of this ConjugatedPortDefinition, linking it to its @@ -749,10 +599,7 @@ public List QueryOwnedPort() [Property(xmiId: "_19_0_2_12e503d9_1575484344901_850046_947", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1575482646809_280165_440")] [Implements(implementation: "IConjugatedPortDefinition.OwnedPortConjugator")] - public IPortConjugation QueryOwnedPortConjugator() - { - return this.ComputeOwnedPortConjugator(); - } + public IPortConjugation ownedPortConjugator => this.ComputeOwnedPortConjugator(); /// /// The ReferenceUsages that are ownedUsages of this Definition. @@ -760,10 +607,7 @@ public IPortConjugation QueryOwnedPortConjugator() [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedReference")] - public List QueryOwnedReference() - { - return this.ComputeOwnedReference(); - } + public List ownedReference => this.ComputeOwnedReference(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -779,10 +623,7 @@ public List QueryOwnedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedRendering")] - public List QueryOwnedRendering() - { - return this.ComputeOwnedRendering(); - } + public List ownedRendering => this.ComputeOwnedRendering(); /// /// The RequirementUsages that are ownedUsages of this Definition. @@ -790,10 +631,7 @@ public List QueryOwnedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] [Implements(implementation: "IDefinition.OwnedRequirement")] - public List QueryOwnedRequirement() - { - return this.ComputeOwnedRequirement(); - } + public List ownedRequirement => this.ComputeOwnedRequirement(); /// /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific @@ -803,10 +641,7 @@ public List QueryOwnedRequirement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The StateUsages that are ownedUsages of this Definition. @@ -814,10 +649,7 @@ public List QueryOwnedSpecialization() [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedState")] - public List QueryOwnedState() - { - return this.ComputeOwnedState(); - } + public List ownedState => this.ComputeOwnedState(); /// /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier @@ -826,10 +658,7 @@ public List QueryOwnedState() [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List QueryOwnedSubclassification() - { - return this.ComputeOwnedSubclassification(); - } + public List ownedSubclassification => this.ComputeOwnedSubclassification(); /// /// The TransitionUsages that are ownedUsages of this Definition. @@ -837,10 +666,7 @@ public List QueryOwnedSubclassification() [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedTransition")] - public List QueryOwnedTransition() - { - return this.ComputeOwnedTransition(); - } + public List ownedTransition => this.ComputeOwnedTransition(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -849,10 +675,7 @@ public List QueryOwnedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The Usages that are ownedFeatures of this Definition. @@ -861,10 +684,7 @@ public List QueryOwnedUnioning() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.OwnedUsage")] - public List QueryOwnedUsage() - { - return this.ComputeOwnedUsage(); - } + public List ownedUsage => this.ComputeOwnedUsage(); /// /// The UseCaseUsages that are ownedUsages of this Definition. @@ -872,10 +692,7 @@ public List QueryOwnedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedUseCase")] - public List QueryOwnedUseCase() - { - return this.ComputeOwnedUseCase(); - } + public List ownedUseCase => this.ComputeOwnedUseCase(); /// /// The VerificationCaseUsages that are ownedUsages of this Definition. @@ -883,10 +700,7 @@ public List QueryOwnedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List QueryOwnedVerificationCase() - { - return this.ComputeOwnedVerificationCase(); - } + public List ownedVerificationCase => this.ComputeOwnedVerificationCase(); /// /// The ViewUsages that are ownedUsages of this Definition. @@ -894,10 +708,7 @@ public List QueryOwnedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedView")] - public List QueryOwnedView() - { - return this.ComputeOwnedView(); - } + public List ownedView => this.ComputeOwnedView(); /// /// The ViewpointUsages that are ownedUsages of this Definition. @@ -905,10 +716,7 @@ public List QueryOwnedView() [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List QueryOwnedViewpoint() - { - return this.ComputeOwnedViewpoint(); - } + public List ownedViewpoint => this.ComputeOwnedViewpoint(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -916,10 +724,7 @@ public List QueryOwnedViewpoint() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -928,10 +733,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -941,10 +743,7 @@ public IOwningMembership QueryOwningMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [RedefinedByProperty("IConjugatedPortDefinition.OriginalPortDefinition")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + INamespace Root.Elements.IElement.owningNamespace => throw new InvalidOperationException("Redefined by property IConjugatedPortDefinition.OriginalPortDefinition"); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -964,10 +763,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -977,10 +773,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -989,10 +782,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1003,10 +793,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Definition (not necessarily owned). @@ -1014,10 +801,7 @@ public List QueryUnioningType() [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IDefinition.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Definition as a variation point Definition, if @@ -1026,10 +810,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IDefinition.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then @@ -1039,10 +820,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IDefinition.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/ConjugatedPortTyping.cs b/SysML2.NET/Core/AutoGenPoco/ConjugatedPortTyping.cs index 5f95a981..3fceaca4 100644 --- a/SysML2.NET/Core/AutoGenPoco/ConjugatedPortTyping.cs +++ b/SysML2.NET/Core/AutoGenPoco/ConjugatedPortTyping.cs @@ -91,10 +91,7 @@ public partial class ConjugatedPortTyping : IConjugatedPortTyping [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -111,7 +108,11 @@ public List QueryDocumentation() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [RedefinedByProperty("IFeatureTyping.Type")] [Implements(implementation: "ISpecialization.General")] - public IType General { get; set; } + IType Core.Types.ISpecialization.General + { + get => throw new InvalidOperationException("Redefined by property IFeatureTyping.Type"); + set => throw new InvalidOperationException("Redefined by property IFeatureTyping.Type"); + } /// /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being @@ -137,10 +138,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -150,10 +148,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -163,10 +158,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -174,10 +166,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -201,10 +190,7 @@ public List QueryOwnedElement() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// A typedFeature that is also the owningRelatedElement of this FeatureTyping. @@ -213,10 +199,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_13273_21101")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_573157_43226")] [Implements(implementation: "IFeatureTyping.OwningFeature")] - public IFeature QueryOwningFeature() - { - return this.ComputeOwningFeature(); - } + public IFeature owningFeature => this.ComputeOwningFeature(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -225,10 +208,7 @@ public IFeature QueryOwningFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -237,10 +217,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -266,20 +243,14 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] [RedefinedByProperty("IFeatureTyping.OwningFeature")] [Implements(implementation: "ISpecialization.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + IType Core.Types.ISpecialization.owningType => throw new InvalidOperationException("Redefined by property IFeatureTyping.OwningFeature"); /// /// The originalPortDefinition of the conjugatedPortDefinition of this ConjugatedPortTyping. /// [Property(xmiId: "_19_0_2_12e503d9_1577915013583_787601_133", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IConjugatedPortTyping.PortDefinition")] - public IPortDefinition QueryPortDefinition() - { - return this.ComputePortDefinition(); - } + public IPortDefinition portDefinition => this.ComputePortDefinition(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -291,10 +262,7 @@ public IPortDefinition QueryPortDefinition() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -302,10 +270,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + public List relatedElement => this.ComputeRelatedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -315,10 +280,7 @@ public List QueryRelatedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -327,7 +289,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("ISpecialization.Specific")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property ISpecialization.Specific"); + set => throw new InvalidOperationException("Redefined by property ISpecialization.Specific"); + } /// /// A Type with a subset of all instances of the general Type, which might be the same set. @@ -336,7 +302,11 @@ public string QueryShortName() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [RedefinedByProperty("IFeatureTyping.TypedFeature")] [Implements(implementation: "ISpecialization.Specific")] - public IType Specific { get; set; } + IType Core.Types.ISpecialization.Specific + { + get => throw new InvalidOperationException("Redefined by property IFeatureTyping.TypedFeature"); + set => throw new InvalidOperationException("Redefined by property IFeatureTyping.TypedFeature"); + } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -345,7 +315,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("ISpecialization.General")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property ISpecialization.General"); + set => throw new InvalidOperationException("Redefined by property ISpecialization.General"); + } /// /// The TextualRepresentations that annotate this Element. @@ -354,10 +328,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// The Type that is being applied by this FeatureTyping. @@ -366,7 +337,11 @@ public List QueryTextualRepresentation() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_563969_43273")] [RedefinedByProperty("IConjugatedPortTyping.ConjugatedPortDefinition")] [Implements(implementation: "IFeatureTyping.Type")] - public IType Type { get; set; } + IType Core.Features.IFeatureTyping.Type + { + get => throw new InvalidOperationException("Redefined by property IConjugatedPortTyping.ConjugatedPortDefinition"); + set => throw new InvalidOperationException("Redefined by property IConjugatedPortTyping.ConjugatedPortDefinition"); + } /// /// The Feature that has a type determined by this FeatureTyping. diff --git a/SysML2.NET/Core/AutoGenPoco/Conjugation.cs b/SysML2.NET/Core/AutoGenPoco/Conjugation.cs index 2f6f524e..8b6ace12 100644 --- a/SysML2.NET/Core/AutoGenPoco/Conjugation.cs +++ b/SysML2.NET/Core/AutoGenPoco/Conjugation.cs @@ -93,10 +93,7 @@ public partial class Conjugation : IConjugation [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -130,10 +127,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -143,10 +137,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The Type to be conjugated. @@ -164,10 +155,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -175,10 +163,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -202,10 +187,7 @@ public List QueryOwnedElement() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -214,10 +196,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -226,10 +205,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -254,10 +230,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490143_721644_299")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] [Implements(implementation: "IConjugation.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -269,10 +242,7 @@ public IType QueryOwningType() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -280,10 +250,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + public List relatedElement => this.ComputeRelatedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -293,10 +260,7 @@ public List QueryRelatedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -305,7 +269,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IConjugation.ConjugatedType")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IConjugation.ConjugatedType"); + set => throw new InvalidOperationException("Redefined by property IConjugation.ConjugatedType"); + } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -314,7 +282,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IConjugation.OriginalType")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IConjugation.OriginalType"); + set => throw new InvalidOperationException("Redefined by property IConjugation.OriginalType"); + } /// /// The TextualRepresentations that annotate this Element. @@ -323,10 +295,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/ConnectionDefinition.cs b/SysML2.NET/Core/AutoGenPoco/ConnectionDefinition.cs index af42ec03..87693ac5 100644 --- a/SysML2.NET/Core/AutoGenPoco/ConnectionDefinition.cs +++ b/SysML2.NET/Core/AutoGenPoco/ConnectionDefinition.cs @@ -89,10 +89,7 @@ public partial class ConnectionDefinition : IConnectionDefinition [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [RedefinedByProperty("IConnectionDefinition.ConnectionEnd")] [Implements(implementation: "IAssociation.AssociationEnd")] - public List QueryAssociationEnd() - { - return this.ComputeAssociationEnd(); - } + List Kernel.Associations.IAssociation.associationEnd => throw new InvalidOperationException("Redefined by property IConnectionDefinition.ConnectionEnd"); /// /// The Usages that define the things related by the ConnectionDefinition. @@ -100,10 +97,7 @@ public List QueryAssociationEnd() [Property(xmiId: "_19_0_2_12e503d9_1591476421094_685440_682", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562477648742_24204_22901")] [Implements(implementation: "IConnectionDefinition.ConnectionEnd")] - public List QueryConnectionEnd() - { - return this.ComputeConnectionEnd(); - } + public List connectionEnd => this.ComputeConnectionEnd(); /// /// The declared name of this Element. @@ -133,10 +127,7 @@ public List QueryConnectionEnd() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -144,10 +135,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// The usages of this Definition that are directedFeatures. @@ -156,10 +144,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// The Documentation owned by this Element. @@ -168,10 +153,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -188,10 +170,7 @@ public List QueryDocumentation() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IAssociation.AssociationEnd")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + List Core.Types.IType.endFeature => throw new InvalidOperationException("Redefined by property IAssociation.AssociationEnd"); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -199,10 +178,7 @@ public List QueryEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -211,10 +187,7 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -222,10 +195,7 @@ public List QueryFeatureMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -233,10 +203,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -245,10 +212,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -256,10 +220,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -272,10 +233,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -290,10 +248,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being @@ -326,10 +281,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// A ConnectionDefinition always has isSufficient = true. @@ -337,7 +289,7 @@ public bool QueryIsLibraryElement() [Property(xmiId: "_2022x_2_12e503d9_1734734871008_462076_156", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] [RedefinedProperty(propertyName: "_18_5_3_b9102da_1564072709069_937523_30797")] [Implements(implementation: "IConnectionDefinition.IsSufficient")] - bool IConnectionDefinition.IsSufficient { get; set; } + public bool IsSufficient { get; set; } /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -350,7 +302,11 @@ public bool QueryIsLibraryElement() [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IConnectionDefinition.IsSufficient")] [Implements(implementation: "IType.IsSufficient")] - bool Core.Types.IType.IsSufficient { get; set; } + bool Core.Types.IType.IsSufficient + { + get => throw new InvalidOperationException("Redefined by property IConnectionDefinition.IsSufficient"); + set => throw new InvalidOperationException("Redefined by property IConnectionDefinition.IsSufficient"); + } /// /// Whether this Definition is for a variation point or not. If true, then all the memberships of the @@ -366,10 +322,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -377,10 +330,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -390,10 +340,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -403,10 +350,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -414,10 +358,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ActionUsages that are ownedUsages of this Definition. @@ -425,10 +366,7 @@ public List QueryOutput() [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedAction")] - public List QueryOwnedAction() - { - return this.ComputeOwnedAction(); - } + public List ownedAction => this.ComputeOwnedAction(); /// /// The AllocationUsages that are ownedUsages of this Definition. @@ -436,10 +374,7 @@ public List QueryOwnedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedAllocation")] - public List QueryOwnedAllocation() - { - return this.ComputeOwnedAllocation(); - } + public List ownedAllocation => this.ComputeOwnedAllocation(); /// /// The AnalysisCaseUsages that are ownedUsages of this Definition. @@ -447,10 +382,7 @@ public List QueryOwnedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List QueryOwnedAnalysisCase() - { - return this.ComputeOwnedAnalysisCase(); - } + public List ownedAnalysisCase => this.ComputeOwnedAnalysisCase(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -460,10 +392,7 @@ public List QueryOwnedAnalysisCase() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The AttributeUsages that are ownedUsages of this Definition. @@ -471,10 +400,7 @@ public List QueryOwnedAnnotation() [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedAttribute")] - public List QueryOwnedAttribute() - { - return this.ComputeOwnedAttribute(); - } + public List ownedAttribute => this.ComputeOwnedAttribute(); /// /// The CalculationUsages that are ownedUsages of this Definition. @@ -482,10 +408,7 @@ public List QueryOwnedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedCalculation")] - public List QueryOwnedCalculation() - { - return this.ComputeOwnedCalculation(); - } + public List ownedCalculation => this.ComputeOwnedCalculation(); /// /// The code>CaseUsages that are ownedUsages of this Definition. @@ -493,10 +416,7 @@ public List QueryOwnedCalculation() [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] [Implements(implementation: "IDefinition.OwnedCase")] - public List QueryOwnedCase() - { - return this.ComputeOwnedCase(); - } + public List ownedCase => this.ComputeOwnedCase(); /// /// The ConcernUsages that are ownedUsages of this Definition. @@ -504,10 +424,7 @@ public List QueryOwnedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedConcern")] - public List QueryOwnedConcern() - { - return this.ComputeOwnedConcern(); - } + public List ownedConcern => this.ComputeOwnedConcern(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -516,10 +433,7 @@ public List QueryOwnedConcern() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes @@ -529,10 +443,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedConnection")] - public List QueryOwnedConnection() - { - return this.ComputeOwnedConnection(); - } + public List ownedConnection => this.ComputeOwnedConnection(); /// /// The ConstraintUsages that are ownedUsages of this Definition. @@ -540,10 +451,7 @@ public List QueryOwnedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedConstraint")] - public List QueryOwnedConstraint() - { - return this.ComputeOwnedConstraint(); - } + public List ownedConstraint => this.ComputeOwnedConstraint(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -553,10 +461,7 @@ public List QueryOwnedConstraint() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -566,10 +471,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -577,10 +479,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -589,10 +488,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The EnumerationUsages that are ownedUsages of this Definition. @@ -600,10 +496,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List QueryOwnedEnumeration() - { - return this.ComputeOwnedEnumeration(); - } + public List ownedEnumeration => this.ComputeOwnedEnumeration(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -611,10 +504,7 @@ public List QueryOwnedEnumeration() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -624,10 +514,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The FlowUsages that are ownedUsages of this Definition. @@ -635,10 +522,7 @@ public List QueryOwnedFeatureMembership() [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedFlow")] - public List QueryOwnedFlow() - { - return this.ComputeOwnedFlow(); - } + public List ownedFlow => this.ComputeOwnedFlow(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -648,10 +532,7 @@ public List QueryOwnedFlow() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The InterfaceUsages that are ownedUsages of this Definition. @@ -659,10 +540,7 @@ public List QueryOwnedImport() [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedInterface")] - public List QueryOwnedInterface() - { - return this.ComputeOwnedInterface(); - } + public List ownedInterface => this.ComputeOwnedInterface(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -671,10 +549,7 @@ public List QueryOwnedInterface() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The ItemUsages that are ownedUsages of this Definition. @@ -682,10 +557,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedItem")] - public List QueryOwnedItem() - { - return this.ComputeOwnedItem(); - } + public List ownedItem => this.ComputeOwnedItem(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -694,10 +566,7 @@ public List QueryOwnedItem() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -708,10 +577,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The MetadataUsages that are ownedUsages of this Definition. @@ -719,10 +585,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedMetadata")] - public List QueryOwnedMetadata() - { - return this.ComputeOwnedMetadata(); - } + public List ownedMetadata => this.ComputeOwnedMetadata(); /// /// The OccurrenceUsages that are ownedUsages of this Definition. @@ -730,10 +593,7 @@ public List QueryOwnedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List QueryOwnedOccurrence() - { - return this.ComputeOwnedOccurrence(); - } + public List ownedOccurrence => this.ComputeOwnedOccurrence(); /// /// The PartUsages that are ownedUsages of this Definition. @@ -741,10 +601,7 @@ public List QueryOwnedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedPart")] - public List QueryOwnedPart() - { - return this.ComputeOwnedPart(); - } + public List ownedPart => this.ComputeOwnedPart(); /// /// The PortUsages that are ownedUsages of this Definition. @@ -752,10 +609,7 @@ public List QueryOwnedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedPort")] - public List QueryOwnedPort() - { - return this.ComputeOwnedPort(); - } + public List ownedPort => this.ComputeOwnedPort(); /// /// The ReferenceUsages that are ownedUsages of this Definition. @@ -763,10 +617,7 @@ public List QueryOwnedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedReference")] - public List QueryOwnedReference() - { - return this.ComputeOwnedReference(); - } + public List ownedReference => this.ComputeOwnedReference(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -790,10 +641,7 @@ public List QueryOwnedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedRendering")] - public List QueryOwnedRendering() - { - return this.ComputeOwnedRendering(); - } + public List ownedRendering => this.ComputeOwnedRendering(); /// /// The RequirementUsages that are ownedUsages of this Definition. @@ -801,10 +649,7 @@ public List QueryOwnedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] [Implements(implementation: "IDefinition.OwnedRequirement")] - public List QueryOwnedRequirement() - { - return this.ComputeOwnedRequirement(); - } + public List ownedRequirement => this.ComputeOwnedRequirement(); /// /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific @@ -814,10 +659,7 @@ public List QueryOwnedRequirement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The StateUsages that are ownedUsages of this Definition. @@ -825,10 +667,7 @@ public List QueryOwnedSpecialization() [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedState")] - public List QueryOwnedState() - { - return this.ComputeOwnedState(); - } + public List ownedState => this.ComputeOwnedState(); /// /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier @@ -837,10 +676,7 @@ public List QueryOwnedState() [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List QueryOwnedSubclassification() - { - return this.ComputeOwnedSubclassification(); - } + public List ownedSubclassification => this.ComputeOwnedSubclassification(); /// /// The TransitionUsages that are ownedUsages of this Definition. @@ -848,10 +684,7 @@ public List QueryOwnedSubclassification() [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedTransition")] - public List QueryOwnedTransition() - { - return this.ComputeOwnedTransition(); - } + public List ownedTransition => this.ComputeOwnedTransition(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -860,10 +693,7 @@ public List QueryOwnedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The Usages that are ownedFeatures of this Definition. @@ -872,10 +702,7 @@ public List QueryOwnedUnioning() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.OwnedUsage")] - public List QueryOwnedUsage() - { - return this.ComputeOwnedUsage(); - } + public List ownedUsage => this.ComputeOwnedUsage(); /// /// The UseCaseUsages that are ownedUsages of this Definition. @@ -883,10 +710,7 @@ public List QueryOwnedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedUseCase")] - public List QueryOwnedUseCase() - { - return this.ComputeOwnedUseCase(); - } + public List ownedUseCase => this.ComputeOwnedUseCase(); /// /// The VerificationCaseUsages that are ownedUsages of this Definition. @@ -894,10 +718,7 @@ public List QueryOwnedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List QueryOwnedVerificationCase() - { - return this.ComputeOwnedVerificationCase(); - } + public List ownedVerificationCase => this.ComputeOwnedVerificationCase(); /// /// The ViewUsages that are ownedUsages of this Definition. @@ -905,10 +726,7 @@ public List QueryOwnedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedView")] - public List QueryOwnedView() - { - return this.ComputeOwnedView(); - } + public List ownedView => this.ComputeOwnedView(); /// /// The ViewpointUsages that are ownedUsages of this Definition. @@ -916,10 +734,7 @@ public List QueryOwnedView() [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List QueryOwnedViewpoint() - { - return this.ComputeOwnedViewpoint(); - } + public List ownedViewpoint => this.ComputeOwnedViewpoint(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -927,10 +742,7 @@ public List QueryOwnedViewpoint() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -939,10 +751,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -951,10 +760,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -982,10 +788,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -994,10 +797,7 @@ public string QueryQualifiedName() [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedByProperty("IAssociation.RelatedType")] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + List Root.Elements.IRelationship.relatedElement => throw new InvalidOperationException("Redefined by property IAssociation.RelatedType"); /// /// The types of the associationEnds of the Association, which are the relatedElements of the @@ -1006,10 +806,7 @@ public List QueryRelatedElement() [Property(xmiId: "_18_5_3_12e503d9_1533160674994_4339_43349", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [Implements(implementation: "IAssociation.RelatedType")] - public List QueryRelatedType() - { - return this.ComputeRelatedType(); - } + public List relatedType => this.ComputeRelatedType(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1019,10 +816,7 @@ public List QueryRelatedType() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -1031,7 +825,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IAssociation.SourceType")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IAssociation.SourceType"); + set => throw new InvalidOperationException("Redefined by property IAssociation.SourceType"); + } /// /// The source relatedType for this Association. It is the first relatedType of the Association. @@ -1040,10 +838,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [Implements(implementation: "IAssociation.SourceType")] - public IType QuerySourceType() - { - return this.ComputeSourceType(); - } + public IType sourceType => this.ComputeSourceType(); /// /// The relatedElements to which this Relationship is considered to be directed. @@ -1052,7 +847,11 @@ public IType QuerySourceType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IAssociation.TargetType")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IAssociation.TargetType"); + set => throw new InvalidOperationException("Redefined by property IAssociation.TargetType"); + } /// /// The target relatedTypes for this Association. This includes all the relatedTypes other than the @@ -1062,10 +861,7 @@ public IType QuerySourceType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [Implements(implementation: "IAssociation.TargetType")] - public List QueryTargetType() - { - return this.ComputeTargetType(); - } + public List targetType => this.ComputeTargetType(); /// /// The TextualRepresentations that annotate this Element. @@ -1074,10 +870,7 @@ public List QueryTargetType() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1088,10 +881,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Definition (not necessarily owned). @@ -1099,10 +889,7 @@ public List QueryUnioningType() [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IDefinition.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Definition as a variation point Definition, if @@ -1111,10 +898,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IDefinition.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then @@ -1124,10 +908,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IDefinition.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/ConnectionUsage.cs b/SysML2.NET/Core/AutoGenPoco/ConnectionUsage.cs index 9ead8203..90f99e13 100644 --- a/SysML2.NET/Core/AutoGenPoco/ConnectionUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/ConnectionUsage.cs @@ -94,10 +94,7 @@ public partial class ConnectionUsage : IConnectionUsage [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IConnectionUsage.ConnectionDefinition")] [Implements(implementation: "IConnector.Association")] - public List QueryAssociation() - { - return this.ComputeAssociation(); - } + List Kernel.Connectors.IConnector.association => throw new InvalidOperationException("Redefined by property IConnectionUsage.ConnectionDefinition"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -109,10 +106,7 @@ public List QueryAssociation() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The AssociationStructures that are the types of this ConnectionUsage. Nominally, these are , but @@ -123,10 +117,7 @@ public List QueryChainingFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565471361757_649736_20796")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674983_471497_43284")] [Implements(implementation: "IConnectionUsage.ConnectionDefinition")] - public List QueryConnectionDefinition() - { - return this.ComputeConnectionDefinition(); - } + public List connectionDefinition => this.ComputeConnectionDefinition(); /// /// The endFeatures of a Connector, which redefine the endFeatures of the associations of the Connector. @@ -136,10 +127,7 @@ public List QueryConnectionDefinition() [Property(xmiId: "_18_5_3_12e503d9_1556735067666_827798_21922", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [Implements(implementation: "IConnector.ConnectorEnd")] - public List QueryConnectorEnd() - { - return this.ComputeConnectorEnd(); - } + public List connectorEnd => this.ComputeConnectorEnd(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -149,10 +137,7 @@ public List QueryConnectorEnd() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -178,10 +163,7 @@ public IFeature QueryCrossFeature() /// [Property(xmiId: "_2022x_2_12e503d9_1737751598145_444042_71", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IConnector.DefaultFeaturingType")] - public IType QueryDefaultFeaturingType() - { - return this.ComputeDefaultFeaturingType(); - } + public IType defaultFeaturingType => this.ComputeDefaultFeaturingType(); /// /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds @@ -192,10 +174,7 @@ public IType QueryDefaultFeaturingType() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] [Implements(implementation: "IUsage.Definition")] - public List QueryDefinition() - { - return this.ComputeDefinition(); - } + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -208,10 +187,7 @@ public List QueryDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -219,10 +195,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// The usages of this Usage that are directedFeatures. @@ -231,10 +204,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -251,10 +221,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -271,10 +238,7 @@ public List QueryDocumentation() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IConnector.ConnectorEnd")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + List Core.Types.IType.endFeature => throw new InvalidOperationException("Redefined by property IConnector.ConnectorEnd"); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -284,10 +248,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -295,10 +256,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -307,20 +265,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -330,10 +282,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -341,10 +290,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// The at most one occurrenceDefinition that has isIndividual = true. @@ -352,10 +298,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public IOccurrenceDefinition QueryIndividualDefinition() - { - return this.ComputeIndividualDefinition(); - } + public IOccurrenceDefinition individualDefinition => this.ComputeIndividualDefinition(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -363,10 +306,7 @@ public IOccurrenceDefinition QueryIndividualDefinition() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -375,10 +315,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -386,10 +323,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -402,10 +336,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -429,10 +360,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -495,10 +423,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -520,10 +445,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IUsage.IsReference")] - public bool QueryIsReference() - { - return this.ComputeIsReference(); - } + public bool isReference => this.ComputeIsReference(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -551,7 +473,11 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -569,10 +495,7 @@ public bool QueryIsReference() [Property(xmiId: "_18_5_3_12e503d9_1565471361757_649736_20796", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IItemUsage.ItemDefinition")] - public List QueryItemDefinition() - { - return this.ComputeItemDefinition(); - } + public List itemDefinition => this.ComputeItemDefinition(); /// /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its @@ -585,10 +508,7 @@ public List QueryItemDefinition() [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool QueryMayTimeVary() - { - return this.ComputeMayTimeVary(); - } + public bool mayTimeVary => this.ComputeMayTimeVary(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -596,10 +516,7 @@ public bool QueryMayTimeVary() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -607,10 +524,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -620,10 +534,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -633,10 +544,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ActionUsages that are nestedUsages of this Usage. @@ -644,10 +552,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List QueryNestedAction() - { - return this.ComputeNestedAction(); - } + public List nestedAction => this.ComputeNestedAction(); /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -655,10 +560,7 @@ public List QueryNestedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List QueryNestedAllocation() - { - return this.ComputeNestedAllocation(); - } + public List nestedAllocation => this.ComputeNestedAllocation(); /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -666,10 +568,7 @@ public List QueryNestedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List QueryNestedAnalysisCase() - { - return this.ComputeNestedAnalysisCase(); - } + public List nestedAnalysisCase => this.ComputeNestedAnalysisCase(); /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -677,10 +576,7 @@ public List QueryNestedAnalysisCase() [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List QueryNestedAttribute() - { - return this.ComputeNestedAttribute(); - } + public List nestedAttribute => this.ComputeNestedAttribute(); /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -688,10 +584,7 @@ public List QueryNestedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List QueryNestedCalculation() - { - return this.ComputeNestedCalculation(); - } + public List nestedCalculation => this.ComputeNestedCalculation(); /// /// The CaseUsages that are nestedUsages of this Usage. @@ -699,10 +592,7 @@ public List QueryNestedCalculation() [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List QueryNestedCase() - { - return this.ComputeNestedCase(); - } + public List nestedCase => this.ComputeNestedCase(); /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -710,10 +600,7 @@ public List QueryNestedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List QueryNestedConcern() - { - return this.ComputeNestedConcern(); - } + public List nestedConcern => this.ComputeNestedConcern(); /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -723,10 +610,7 @@ public List QueryNestedConcern() [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List QueryNestedConnection() - { - return this.ComputeNestedConnection(); - } + public List nestedConnection => this.ComputeNestedConnection(); /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -734,10 +618,7 @@ public List QueryNestedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List QueryNestedConstraint() - { - return this.ComputeNestedConstraint(); - } + public List nestedConstraint => this.ComputeNestedConstraint(); /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -745,10 +626,7 @@ public List QueryNestedConstraint() [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List QueryNestedEnumeration() - { - return this.ComputeNestedEnumeration(); - } + public List nestedEnumeration => this.ComputeNestedEnumeration(); /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -756,10 +634,7 @@ public List QueryNestedEnumeration() [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List QueryNestedFlow() - { - return this.ComputeNestedFlow(); - } + public List nestedFlow => this.ComputeNestedFlow(); /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -767,10 +642,7 @@ public List QueryNestedFlow() [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List QueryNestedInterface() - { - return this.ComputeNestedInterface(); - } + public List nestedInterface => this.ComputeNestedInterface(); /// /// The ItemUsages that are nestedUsages of this Usage. @@ -778,10 +650,7 @@ public List QueryNestedInterface() [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List QueryNestedItem() - { - return this.ComputeNestedItem(); - } + public List nestedItem => this.ComputeNestedItem(); /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -789,10 +658,7 @@ public List QueryNestedItem() [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List QueryNestedMetadata() - { - return this.ComputeNestedMetadata(); - } + public List nestedMetadata => this.ComputeNestedMetadata(); /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -800,10 +666,7 @@ public List QueryNestedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List QueryNestedOccurrence() - { - return this.ComputeNestedOccurrence(); - } + public List nestedOccurrence => this.ComputeNestedOccurrence(); /// /// The PartUsages that are nestedUsages of this Usage. @@ -811,10 +674,7 @@ public List QueryNestedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List QueryNestedPart() - { - return this.ComputeNestedPart(); - } + public List nestedPart => this.ComputeNestedPart(); /// /// The PortUsages that are nestedUsages of this Usage. @@ -822,10 +682,7 @@ public List QueryNestedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List QueryNestedPort() - { - return this.ComputeNestedPort(); - } + public List nestedPort => this.ComputeNestedPort(); /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -833,10 +690,7 @@ public List QueryNestedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List QueryNestedReference() - { - return this.ComputeNestedReference(); - } + public List nestedReference => this.ComputeNestedReference(); /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -844,10 +698,7 @@ public List QueryNestedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List QueryNestedRendering() - { - return this.ComputeNestedRendering(); - } + public List nestedRendering => this.ComputeNestedRendering(); /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -855,10 +706,7 @@ public List QueryNestedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List QueryNestedRequirement() - { - return this.ComputeNestedRequirement(); - } + public List nestedRequirement => this.ComputeNestedRequirement(); /// /// The StateUsages that are nestedUsages of this Usage. @@ -866,10 +714,7 @@ public List QueryNestedRequirement() [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List QueryNestedState() - { - return this.ComputeNestedState(); - } + public List nestedState => this.ComputeNestedState(); /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -877,10 +722,7 @@ public List QueryNestedState() [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List QueryNestedTransition() - { - return this.ComputeNestedTransition(); - } + public List nestedTransition => this.ComputeNestedTransition(); /// /// The Usages that are ownedFeatures of this Usage. @@ -889,10 +731,7 @@ public List QueryNestedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List QueryNestedUsage() - { - return this.ComputeNestedUsage(); - } + public List nestedUsage => this.ComputeNestedUsage(); /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -900,10 +739,7 @@ public List QueryNestedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List QueryNestedUseCase() - { - return this.ComputeNestedUseCase(); - } + public List nestedUseCase => this.ComputeNestedUseCase(); /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -911,10 +747,7 @@ public List QueryNestedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List QueryNestedVerificationCase() - { - return this.ComputeNestedVerificationCase(); - } + public List nestedVerificationCase => this.ComputeNestedVerificationCase(); /// /// The ViewUsages that are nestedUsages of this Usage. @@ -922,10 +755,7 @@ public List QueryNestedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List QueryNestedView() - { - return this.ComputeNestedView(); - } + public List nestedView => this.ComputeNestedView(); /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -933,10 +763,7 @@ public List QueryNestedView() [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List QueryNestedViewpoint() - { - return this.ComputeNestedViewpoint(); - } + public List nestedViewpoint => this.ComputeNestedViewpoint(); /// /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, @@ -946,10 +773,7 @@ public List QueryNestedViewpoint() [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List QueryOccurrenceDefinition() - { - return this.ComputeOccurrenceDefinition(); - } + public List occurrenceDefinition => this.ComputeOccurrenceDefinition(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -957,10 +781,7 @@ public List QueryOccurrenceDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -970,10 +791,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -982,10 +800,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -994,10 +809,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -1007,10 +819,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -1020,10 +829,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -1031,10 +837,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -1043,10 +846,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -1054,10 +854,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -1067,10 +864,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -1080,10 +874,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -1093,10 +884,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -1106,10 +894,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -1118,10 +903,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -1130,10 +912,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -1144,10 +923,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -1156,10 +932,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -1168,10 +941,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -1197,10 +967,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -1210,10 +977,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -1223,10 +987,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -1236,10 +997,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1248,10 +1006,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1259,10 +1014,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The Definition that owns this Usage (if any). @@ -1271,10 +1023,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public IDefinition QueryOwningDefinition() - { - return this.ComputeOwningDefinition(); - } + public IDefinition owningDefinition => this.ComputeOwningDefinition(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1282,10 +1031,7 @@ public IDefinition QueryOwningDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1294,10 +1040,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1306,10 +1049,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -1335,10 +1075,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The Usage in which this Usage is nested (if any). @@ -1346,10 +1083,7 @@ public IType QueryOwningType() [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public IUsage QueryOwningUsage() - { - return this.ComputeOwningUsage(); - } + public IUsage owningUsage => this.ComputeOwningUsage(); /// /// The itemDefinitions of this PartUsage that are PartDefinitions. @@ -1357,10 +1091,7 @@ public IUsage QueryOwningUsage() [Property(xmiId: "_19_0_2_12e503d9_1591475180488_929065_121", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565471361757_649736_20796")] [Implements(implementation: "IPartUsage.PartDefinition")] - public List QueryPartDefinition() - { - return this.ComputePartDefinition(); - } + public List partDefinition => this.ComputePartDefinition(); /// /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If @@ -1381,10 +1112,7 @@ public List QueryPartDefinition() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -1393,10 +1121,7 @@ public string QueryQualifiedName() [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedByProperty("IConnector.RelatedFeature")] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + List Root.Elements.IRelationship.relatedElement => throw new InvalidOperationException("Redefined by property IConnector.RelatedFeature"); /// /// The Features that are related by this Connector considered as a Relationship and that restrict the @@ -1405,10 +1130,7 @@ public List QueryRelatedElement() [Property(xmiId: "_18_5_3_12e503d9_1533160674968_916334_43210", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [Implements(implementation: "IConnector.RelatedFeature")] - public List QueryRelatedFeature() - { - return this.ComputeRelatedFeature(); - } + public List relatedFeature => this.ComputeRelatedFeature(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1418,10 +1140,7 @@ public List QueryRelatedFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -1430,7 +1149,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IConnector.SourceFeature")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + } /// /// The source relatedFeature for this Connector. It is the first relatedFeature. @@ -1439,10 +1162,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [Implements(implementation: "IConnector.SourceFeature")] - public IFeature QuerySourceFeature() - { - return this.ComputeSourceFeature(); - } + public IFeature sourceFeature => this.ComputeSourceFeature(); /// /// The relatedElements to which this Relationship is considered to be directed. @@ -1451,7 +1171,11 @@ public IFeature QuerySourceFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IConnector.TargetFeature")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + } /// /// The target relatedFeatures for this Connector. This includes all the relatedFeatures other than the @@ -1461,10 +1185,7 @@ public IFeature QuerySourceFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [Implements(implementation: "IConnector.TargetFeature")] - public List QueryTargetFeature() - { - return this.ComputeTargetFeature(); - } + public List targetFeature => this.ComputeTargetFeature(); /// /// The TextualRepresentations that annotate this Element. @@ -1473,10 +1194,7 @@ public List QueryTargetFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1487,10 +1205,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1501,10 +1216,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1512,10 +1224,7 @@ public List QueryUnioningType() [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1524,10 +1233,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1536,10 +1242,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/Connector.cs b/SysML2.NET/Core/AutoGenPoco/Connector.cs index 3b8847fd..1d543d85 100644 --- a/SysML2.NET/Core/AutoGenPoco/Connector.cs +++ b/SysML2.NET/Core/AutoGenPoco/Connector.cs @@ -67,10 +67,7 @@ public partial class Connector : IConnector [Property(xmiId: "_18_5_3_12e503d9_1533160674983_471497_43284", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [Implements(implementation: "IConnector.Association")] - public List QueryAssociation() - { - return this.ComputeAssociation(); - } + public List association => this.ComputeAssociation(); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -82,10 +79,7 @@ public List QueryAssociation() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The endFeatures of a Connector, which redefine the endFeatures of the associations of the Connector. @@ -95,10 +89,7 @@ public List QueryChainingFeature() [Property(xmiId: "_18_5_3_12e503d9_1556735067666_827798_21922", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [Implements(implementation: "IConnector.ConnectorEnd")] - public List QueryConnectorEnd() - { - return this.ComputeConnectorEnd(); - } + public List connectorEnd => this.ComputeConnectorEnd(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -108,10 +99,7 @@ public List QueryConnectorEnd() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -137,10 +125,7 @@ public IFeature QueryCrossFeature() /// [Property(xmiId: "_2022x_2_12e503d9_1737751598145_444042_71", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IConnector.DefaultFeaturingType")] - public IType QueryDefaultFeaturingType() - { - return this.ComputeDefaultFeaturingType(); - } + public IType defaultFeaturingType => this.ComputeDefaultFeaturingType(); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -153,10 +138,7 @@ public IType QueryDefaultFeaturingType() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -164,10 +146,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -184,10 +163,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -204,10 +180,7 @@ public List QueryDocumentation() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IConnector.ConnectorEnd")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + List Core.Types.IType.endFeature => throw new InvalidOperationException("Redefined by property IConnector.ConnectorEnd"); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -217,10 +190,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -228,10 +198,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -240,20 +207,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -263,10 +224,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -274,10 +232,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -285,10 +240,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -297,10 +249,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -308,10 +257,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -324,10 +270,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -351,10 +294,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -409,10 +349,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -462,10 +399,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -473,10 +407,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -486,10 +417,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -499,10 +427,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -510,10 +435,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -523,10 +445,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -535,10 +454,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -547,10 +463,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -560,10 +473,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -573,10 +483,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -584,10 +491,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -596,10 +500,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -607,10 +508,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -620,10 +518,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -633,10 +528,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -646,10 +538,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -659,10 +548,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -671,10 +557,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -683,10 +566,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -697,10 +577,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -709,10 +586,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -721,10 +595,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -750,10 +621,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -763,10 +631,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -776,10 +641,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -789,10 +651,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -801,10 +660,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -812,10 +668,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -823,10 +676,7 @@ public IElement QueryOwner() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -835,10 +685,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -847,10 +694,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -876,10 +720,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -891,10 +732,7 @@ public IType QueryOwningType() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -903,10 +741,7 @@ public string QueryQualifiedName() [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedByProperty("IConnector.RelatedFeature")] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + List Root.Elements.IRelationship.relatedElement => throw new InvalidOperationException("Redefined by property IConnector.RelatedFeature"); /// /// The Features that are related by this Connector considered as a Relationship and that restrict the @@ -915,10 +750,7 @@ public List QueryRelatedElement() [Property(xmiId: "_18_5_3_12e503d9_1533160674968_916334_43210", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [Implements(implementation: "IConnector.RelatedFeature")] - public List QueryRelatedFeature() - { - return this.ComputeRelatedFeature(); - } + public List relatedFeature => this.ComputeRelatedFeature(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -928,10 +760,7 @@ public List QueryRelatedFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -940,7 +769,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IConnector.SourceFeature")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + } /// /// The source relatedFeature for this Connector. It is the first relatedFeature. @@ -949,10 +782,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [Implements(implementation: "IConnector.SourceFeature")] - public IFeature QuerySourceFeature() - { - return this.ComputeSourceFeature(); - } + public IFeature sourceFeature => this.ComputeSourceFeature(); /// /// The relatedElements to which this Relationship is considered to be directed. @@ -961,7 +791,11 @@ public IFeature QuerySourceFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IConnector.TargetFeature")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + } /// /// The target relatedFeatures for this Connector. This includes all the relatedFeatures other than the @@ -971,10 +805,7 @@ public IFeature QuerySourceFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [Implements(implementation: "IConnector.TargetFeature")] - public List QueryTargetFeature() - { - return this.ComputeTargetFeature(); - } + public List targetFeature => this.ComputeTargetFeature(); /// /// The TextualRepresentations that annotate this Element. @@ -983,10 +814,7 @@ public List QueryTargetFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -997,10 +825,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IConnector.Association")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IConnector.Association"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1011,10 +836,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/ConnectorAsUsage.cs b/SysML2.NET/Core/AutoGenPoco/ConnectorAsUsage.cs index d7371883..00544485 100644 --- a/SysML2.NET/Core/AutoGenPoco/ConnectorAsUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/ConnectorAsUsage.cs @@ -89,10 +89,7 @@ public partial class ConnectorAsUsage : IConnectorAsUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674983_471497_43284", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [Implements(implementation: "IConnector.Association")] - public List QueryAssociation() - { - return this.ComputeAssociation(); - } + public List association => this.ComputeAssociation(); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -104,10 +101,7 @@ public List QueryAssociation() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The endFeatures of a Connector, which redefine the endFeatures of the associations of the Connector. @@ -117,10 +111,7 @@ public List QueryChainingFeature() [Property(xmiId: "_18_5_3_12e503d9_1556735067666_827798_21922", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [Implements(implementation: "IConnector.ConnectorEnd")] - public List QueryConnectorEnd() - { - return this.ComputeConnectorEnd(); - } + public List connectorEnd => this.ComputeConnectorEnd(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -130,10 +121,7 @@ public List QueryConnectorEnd() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -159,10 +147,7 @@ public IFeature QueryCrossFeature() /// [Property(xmiId: "_2022x_2_12e503d9_1737751598145_444042_71", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IConnector.DefaultFeaturingType")] - public IType QueryDefaultFeaturingType() - { - return this.ComputeDefaultFeaturingType(); - } + public IType defaultFeaturingType => this.ComputeDefaultFeaturingType(); /// /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds @@ -172,10 +157,7 @@ public IType QueryDefaultFeaturingType() [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [Implements(implementation: "IUsage.Definition")] - public List QueryDefinition() - { - return this.ComputeDefinition(); - } + public List definition => this.ComputeDefinition(); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -188,10 +170,7 @@ public List QueryDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -199,10 +178,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// The usages of this Usage that are directedFeatures. @@ -211,10 +187,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -231,10 +204,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -251,10 +221,7 @@ public List QueryDocumentation() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IConnector.ConnectorEnd")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + List Core.Types.IType.endFeature => throw new InvalidOperationException("Redefined by property IConnector.ConnectorEnd"); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -264,10 +231,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -275,10 +239,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -287,20 +248,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -310,10 +265,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -321,10 +273,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -332,10 +281,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -344,10 +290,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -355,10 +298,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -371,10 +311,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -398,10 +335,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -456,10 +390,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -481,10 +412,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IUsage.IsReference")] - public bool QueryIsReference() - { - return this.ComputeIsReference(); - } + public bool isReference => this.ComputeIsReference(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -512,7 +440,11 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -533,10 +465,7 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool QueryMayTimeVary() - { - return this.ComputeMayTimeVary(); - } + public bool mayTimeVary => this.ComputeMayTimeVary(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -544,10 +473,7 @@ public bool QueryMayTimeVary() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -555,10 +481,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -568,10 +491,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -581,10 +501,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ActionUsages that are nestedUsages of this Usage. @@ -592,10 +509,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List QueryNestedAction() - { - return this.ComputeNestedAction(); - } + public List nestedAction => this.ComputeNestedAction(); /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -603,10 +517,7 @@ public List QueryNestedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List QueryNestedAllocation() - { - return this.ComputeNestedAllocation(); - } + public List nestedAllocation => this.ComputeNestedAllocation(); /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -614,10 +525,7 @@ public List QueryNestedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List QueryNestedAnalysisCase() - { - return this.ComputeNestedAnalysisCase(); - } + public List nestedAnalysisCase => this.ComputeNestedAnalysisCase(); /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -625,10 +533,7 @@ public List QueryNestedAnalysisCase() [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List QueryNestedAttribute() - { - return this.ComputeNestedAttribute(); - } + public List nestedAttribute => this.ComputeNestedAttribute(); /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -636,10 +541,7 @@ public List QueryNestedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List QueryNestedCalculation() - { - return this.ComputeNestedCalculation(); - } + public List nestedCalculation => this.ComputeNestedCalculation(); /// /// The CaseUsages that are nestedUsages of this Usage. @@ -647,10 +549,7 @@ public List QueryNestedCalculation() [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List QueryNestedCase() - { - return this.ComputeNestedCase(); - } + public List nestedCase => this.ComputeNestedCase(); /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -658,10 +557,7 @@ public List QueryNestedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List QueryNestedConcern() - { - return this.ComputeNestedConcern(); - } + public List nestedConcern => this.ComputeNestedConcern(); /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -671,10 +567,7 @@ public List QueryNestedConcern() [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List QueryNestedConnection() - { - return this.ComputeNestedConnection(); - } + public List nestedConnection => this.ComputeNestedConnection(); /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -682,10 +575,7 @@ public List QueryNestedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List QueryNestedConstraint() - { - return this.ComputeNestedConstraint(); - } + public List nestedConstraint => this.ComputeNestedConstraint(); /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -693,10 +583,7 @@ public List QueryNestedConstraint() [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List QueryNestedEnumeration() - { - return this.ComputeNestedEnumeration(); - } + public List nestedEnumeration => this.ComputeNestedEnumeration(); /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -704,10 +591,7 @@ public List QueryNestedEnumeration() [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List QueryNestedFlow() - { - return this.ComputeNestedFlow(); - } + public List nestedFlow => this.ComputeNestedFlow(); /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -715,10 +599,7 @@ public List QueryNestedFlow() [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List QueryNestedInterface() - { - return this.ComputeNestedInterface(); - } + public List nestedInterface => this.ComputeNestedInterface(); /// /// The ItemUsages that are nestedUsages of this Usage. @@ -726,10 +607,7 @@ public List QueryNestedInterface() [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List QueryNestedItem() - { - return this.ComputeNestedItem(); - } + public List nestedItem => this.ComputeNestedItem(); /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -737,10 +615,7 @@ public List QueryNestedItem() [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List QueryNestedMetadata() - { - return this.ComputeNestedMetadata(); - } + public List nestedMetadata => this.ComputeNestedMetadata(); /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -748,10 +623,7 @@ public List QueryNestedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List QueryNestedOccurrence() - { - return this.ComputeNestedOccurrence(); - } + public List nestedOccurrence => this.ComputeNestedOccurrence(); /// /// The PartUsages that are nestedUsages of this Usage. @@ -759,10 +631,7 @@ public List QueryNestedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List QueryNestedPart() - { - return this.ComputeNestedPart(); - } + public List nestedPart => this.ComputeNestedPart(); /// /// The PortUsages that are nestedUsages of this Usage. @@ -770,10 +639,7 @@ public List QueryNestedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List QueryNestedPort() - { - return this.ComputeNestedPort(); - } + public List nestedPort => this.ComputeNestedPort(); /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -781,10 +647,7 @@ public List QueryNestedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List QueryNestedReference() - { - return this.ComputeNestedReference(); - } + public List nestedReference => this.ComputeNestedReference(); /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -792,10 +655,7 @@ public List QueryNestedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List QueryNestedRendering() - { - return this.ComputeNestedRendering(); - } + public List nestedRendering => this.ComputeNestedRendering(); /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -803,10 +663,7 @@ public List QueryNestedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List QueryNestedRequirement() - { - return this.ComputeNestedRequirement(); - } + public List nestedRequirement => this.ComputeNestedRequirement(); /// /// The StateUsages that are nestedUsages of this Usage. @@ -814,10 +671,7 @@ public List QueryNestedRequirement() [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List QueryNestedState() - { - return this.ComputeNestedState(); - } + public List nestedState => this.ComputeNestedState(); /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -825,10 +679,7 @@ public List QueryNestedState() [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List QueryNestedTransition() - { - return this.ComputeNestedTransition(); - } + public List nestedTransition => this.ComputeNestedTransition(); /// /// The Usages that are ownedFeatures of this Usage. @@ -837,10 +688,7 @@ public List QueryNestedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List QueryNestedUsage() - { - return this.ComputeNestedUsage(); - } + public List nestedUsage => this.ComputeNestedUsage(); /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -848,10 +696,7 @@ public List QueryNestedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List QueryNestedUseCase() - { - return this.ComputeNestedUseCase(); - } + public List nestedUseCase => this.ComputeNestedUseCase(); /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -859,10 +704,7 @@ public List QueryNestedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List QueryNestedVerificationCase() - { - return this.ComputeNestedVerificationCase(); - } + public List nestedVerificationCase => this.ComputeNestedVerificationCase(); /// /// The ViewUsages that are nestedUsages of this Usage. @@ -870,10 +712,7 @@ public List QueryNestedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List QueryNestedView() - { - return this.ComputeNestedView(); - } + public List nestedView => this.ComputeNestedView(); /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -881,10 +720,7 @@ public List QueryNestedView() [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List QueryNestedViewpoint() - { - return this.ComputeNestedViewpoint(); - } + public List nestedViewpoint => this.ComputeNestedViewpoint(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -892,10 +728,7 @@ public List QueryNestedViewpoint() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -905,10 +738,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -917,10 +747,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -929,10 +756,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -942,10 +766,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -955,10 +776,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -966,10 +784,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -978,10 +793,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -989,10 +801,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -1002,10 +811,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -1015,10 +821,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -1028,10 +831,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -1041,10 +841,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -1053,10 +850,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -1065,10 +859,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -1079,10 +870,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -1091,10 +879,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -1103,10 +888,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -1132,10 +914,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -1145,10 +924,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -1158,10 +934,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -1171,10 +944,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1183,10 +953,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1194,10 +961,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The Definition that owns this Usage (if any). @@ -1206,10 +970,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public IDefinition QueryOwningDefinition() - { - return this.ComputeOwningDefinition(); - } + public IDefinition owningDefinition => this.ComputeOwningDefinition(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1217,10 +978,7 @@ public IDefinition QueryOwningDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1229,10 +987,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1241,10 +996,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -1270,10 +1022,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The Usage in which this Usage is nested (if any). @@ -1281,10 +1030,7 @@ public IType QueryOwningType() [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public IUsage QueryOwningUsage() - { - return this.ComputeOwningUsage(); - } + public IUsage owningUsage => this.ComputeOwningUsage(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -1296,10 +1042,7 @@ public IUsage QueryOwningUsage() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -1308,10 +1051,7 @@ public string QueryQualifiedName() [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedByProperty("IConnector.RelatedFeature")] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + List Root.Elements.IRelationship.relatedElement => throw new InvalidOperationException("Redefined by property IConnector.RelatedFeature"); /// /// The Features that are related by this Connector considered as a Relationship and that restrict the @@ -1320,10 +1060,7 @@ public List QueryRelatedElement() [Property(xmiId: "_18_5_3_12e503d9_1533160674968_916334_43210", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [Implements(implementation: "IConnector.RelatedFeature")] - public List QueryRelatedFeature() - { - return this.ComputeRelatedFeature(); - } + public List relatedFeature => this.ComputeRelatedFeature(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1333,10 +1070,7 @@ public List QueryRelatedFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -1345,7 +1079,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IConnector.SourceFeature")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + } /// /// The source relatedFeature for this Connector. It is the first relatedFeature. @@ -1354,10 +1092,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [Implements(implementation: "IConnector.SourceFeature")] - public IFeature QuerySourceFeature() - { - return this.ComputeSourceFeature(); - } + public IFeature sourceFeature => this.ComputeSourceFeature(); /// /// The relatedElements to which this Relationship is considered to be directed. @@ -1366,7 +1101,11 @@ public IFeature QuerySourceFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IConnector.TargetFeature")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + } /// /// The target relatedFeatures for this Connector. This includes all the relatedFeatures other than the @@ -1376,10 +1115,7 @@ public IFeature QuerySourceFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [Implements(implementation: "IConnector.TargetFeature")] - public List QueryTargetFeature() - { - return this.ComputeTargetFeature(); - } + public List targetFeature => this.ComputeTargetFeature(); /// /// The TextualRepresentations that annotate this Element. @@ -1388,10 +1124,7 @@ public List QueryTargetFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1402,10 +1135,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1416,10 +1146,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1427,10 +1154,7 @@ public List QueryUnioningType() [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1439,10 +1163,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1451,10 +1172,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/ConstraintDefinition.cs b/SysML2.NET/Core/AutoGenPoco/ConstraintDefinition.cs index 6d8aafa9..49c83c11 100644 --- a/SysML2.NET/Core/AutoGenPoco/ConstraintDefinition.cs +++ b/SysML2.NET/Core/AutoGenPoco/ConstraintDefinition.cs @@ -109,10 +109,7 @@ public partial class ConstraintDefinition : IConstraintDefinition /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -121,10 +118,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IBehavior.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IBehavior.Parameter"); /// /// The usages of this Definition that are directedFeatures. @@ -133,10 +127,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// The Documentation owned by this Element. @@ -145,10 +136,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -164,10 +152,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Expressions that are steps in the calculation of the result of this Function. @@ -175,10 +160,7 @@ public List QueryEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1543948400639_301251_20841", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] [Implements(implementation: "IFunction.Expression")] - public List QueryExpression() - { - return this.ComputeExpression(); - } + public List expression => this.ComputeExpression(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -186,10 +168,7 @@ public List QueryExpression() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -198,10 +177,7 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -209,10 +185,7 @@ public List QueryFeatureMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -220,10 +193,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -232,10 +202,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -243,10 +210,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -259,10 +223,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -277,10 +238,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// Whether all necessary implied Relationships have been included in the ownedRelationships of this @@ -305,10 +263,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether this Function can be used as the function of a model-level evaluable InvocationExpression. @@ -319,10 +274,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1617395221463_139517_26381", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFunction.IsModelLevelEvaluable")] - public bool QueryIsModelLevelEvaluable() - { - return this.ComputeIsModelLevelEvaluable(); - } + public bool isModelLevelEvaluable => this.ComputeIsModelLevelEvaluable(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -350,10 +302,7 @@ public bool QueryIsModelLevelEvaluable() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -361,10 +310,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -374,10 +320,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -387,10 +330,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -398,10 +338,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ActionUsages that are ownedUsages of this Definition. @@ -409,10 +346,7 @@ public List QueryOutput() [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedAction")] - public List QueryOwnedAction() - { - return this.ComputeOwnedAction(); - } + public List ownedAction => this.ComputeOwnedAction(); /// /// The AllocationUsages that are ownedUsages of this Definition. @@ -420,10 +354,7 @@ public List QueryOwnedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedAllocation")] - public List QueryOwnedAllocation() - { - return this.ComputeOwnedAllocation(); - } + public List ownedAllocation => this.ComputeOwnedAllocation(); /// /// The AnalysisCaseUsages that are ownedUsages of this Definition. @@ -431,10 +362,7 @@ public List QueryOwnedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List QueryOwnedAnalysisCase() - { - return this.ComputeOwnedAnalysisCase(); - } + public List ownedAnalysisCase => this.ComputeOwnedAnalysisCase(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -444,10 +372,7 @@ public List QueryOwnedAnalysisCase() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The AttributeUsages that are ownedUsages of this Definition. @@ -455,10 +380,7 @@ public List QueryOwnedAnnotation() [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedAttribute")] - public List QueryOwnedAttribute() - { - return this.ComputeOwnedAttribute(); - } + public List ownedAttribute => this.ComputeOwnedAttribute(); /// /// The CalculationUsages that are ownedUsages of this Definition. @@ -466,10 +388,7 @@ public List QueryOwnedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedCalculation")] - public List QueryOwnedCalculation() - { - return this.ComputeOwnedCalculation(); - } + public List ownedCalculation => this.ComputeOwnedCalculation(); /// /// The code>CaseUsages that are ownedUsages of this Definition. @@ -477,10 +396,7 @@ public List QueryOwnedCalculation() [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] [Implements(implementation: "IDefinition.OwnedCase")] - public List QueryOwnedCase() - { - return this.ComputeOwnedCase(); - } + public List ownedCase => this.ComputeOwnedCase(); /// /// The ConcernUsages that are ownedUsages of this Definition. @@ -488,10 +404,7 @@ public List QueryOwnedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedConcern")] - public List QueryOwnedConcern() - { - return this.ComputeOwnedConcern(); - } + public List ownedConcern => this.ComputeOwnedConcern(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -500,10 +413,7 @@ public List QueryOwnedConcern() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes @@ -513,10 +423,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedConnection")] - public List QueryOwnedConnection() - { - return this.ComputeOwnedConnection(); - } + public List ownedConnection => this.ComputeOwnedConnection(); /// /// The ConstraintUsages that are ownedUsages of this Definition. @@ -524,10 +431,7 @@ public List QueryOwnedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedConstraint")] - public List QueryOwnedConstraint() - { - return this.ComputeOwnedConstraint(); - } + public List ownedConstraint => this.ComputeOwnedConstraint(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -537,10 +441,7 @@ public List QueryOwnedConstraint() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -550,10 +451,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -561,10 +459,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -573,10 +468,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The EnumerationUsages that are ownedUsages of this Definition. @@ -584,10 +476,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List QueryOwnedEnumeration() - { - return this.ComputeOwnedEnumeration(); - } + public List ownedEnumeration => this.ComputeOwnedEnumeration(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -595,10 +484,7 @@ public List QueryOwnedEnumeration() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -608,10 +494,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The FlowUsages that are ownedUsages of this Definition. @@ -619,10 +502,7 @@ public List QueryOwnedFeatureMembership() [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedFlow")] - public List QueryOwnedFlow() - { - return this.ComputeOwnedFlow(); - } + public List ownedFlow => this.ComputeOwnedFlow(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -632,10 +512,7 @@ public List QueryOwnedFlow() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The InterfaceUsages that are ownedUsages of this Definition. @@ -643,10 +520,7 @@ public List QueryOwnedImport() [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedInterface")] - public List QueryOwnedInterface() - { - return this.ComputeOwnedInterface(); - } + public List ownedInterface => this.ComputeOwnedInterface(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -655,10 +529,7 @@ public List QueryOwnedInterface() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The ItemUsages that are ownedUsages of this Definition. @@ -666,10 +537,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedItem")] - public List QueryOwnedItem() - { - return this.ComputeOwnedItem(); - } + public List ownedItem => this.ComputeOwnedItem(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -678,10 +546,7 @@ public List QueryOwnedItem() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -692,10 +557,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The MetadataUsages that are ownedUsages of this Definition. @@ -703,10 +565,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedMetadata")] - public List QueryOwnedMetadata() - { - return this.ComputeOwnedMetadata(); - } + public List ownedMetadata => this.ComputeOwnedMetadata(); /// /// The OccurrenceUsages that are ownedUsages of this Definition. @@ -714,10 +573,7 @@ public List QueryOwnedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List QueryOwnedOccurrence() - { - return this.ComputeOwnedOccurrence(); - } + public List ownedOccurrence => this.ComputeOwnedOccurrence(); /// /// The PartUsages that are ownedUsages of this Definition. @@ -725,10 +581,7 @@ public List QueryOwnedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedPart")] - public List QueryOwnedPart() - { - return this.ComputeOwnedPart(); - } + public List ownedPart => this.ComputeOwnedPart(); /// /// The PortUsages that are ownedUsages of this Definition. @@ -736,10 +589,7 @@ public List QueryOwnedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedPort")] - public List QueryOwnedPort() - { - return this.ComputeOwnedPort(); - } + public List ownedPort => this.ComputeOwnedPort(); /// /// The ReferenceUsages that are ownedUsages of this Definition. @@ -747,10 +597,7 @@ public List QueryOwnedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedReference")] - public List QueryOwnedReference() - { - return this.ComputeOwnedReference(); - } + public List ownedReference => this.ComputeOwnedReference(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -766,10 +613,7 @@ public List QueryOwnedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedRendering")] - public List QueryOwnedRendering() - { - return this.ComputeOwnedRendering(); - } + public List ownedRendering => this.ComputeOwnedRendering(); /// /// The RequirementUsages that are ownedUsages of this Definition. @@ -777,10 +621,7 @@ public List QueryOwnedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] [Implements(implementation: "IDefinition.OwnedRequirement")] - public List QueryOwnedRequirement() - { - return this.ComputeOwnedRequirement(); - } + public List ownedRequirement => this.ComputeOwnedRequirement(); /// /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific @@ -790,10 +631,7 @@ public List QueryOwnedRequirement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The StateUsages that are ownedUsages of this Definition. @@ -801,10 +639,7 @@ public List QueryOwnedSpecialization() [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedState")] - public List QueryOwnedState() - { - return this.ComputeOwnedState(); - } + public List ownedState => this.ComputeOwnedState(); /// /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier @@ -813,10 +648,7 @@ public List QueryOwnedState() [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List QueryOwnedSubclassification() - { - return this.ComputeOwnedSubclassification(); - } + public List ownedSubclassification => this.ComputeOwnedSubclassification(); /// /// The TransitionUsages that are ownedUsages of this Definition. @@ -824,10 +656,7 @@ public List QueryOwnedSubclassification() [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedTransition")] - public List QueryOwnedTransition() - { - return this.ComputeOwnedTransition(); - } + public List ownedTransition => this.ComputeOwnedTransition(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -836,10 +665,7 @@ public List QueryOwnedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The Usages that are ownedFeatures of this Definition. @@ -848,10 +674,7 @@ public List QueryOwnedUnioning() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.OwnedUsage")] - public List QueryOwnedUsage() - { - return this.ComputeOwnedUsage(); - } + public List ownedUsage => this.ComputeOwnedUsage(); /// /// The UseCaseUsages that are ownedUsages of this Definition. @@ -859,10 +682,7 @@ public List QueryOwnedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedUseCase")] - public List QueryOwnedUseCase() - { - return this.ComputeOwnedUseCase(); - } + public List ownedUseCase => this.ComputeOwnedUseCase(); /// /// The VerificationCaseUsages that are ownedUsages of this Definition. @@ -870,10 +690,7 @@ public List QueryOwnedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List QueryOwnedVerificationCase() - { - return this.ComputeOwnedVerificationCase(); - } + public List ownedVerificationCase => this.ComputeOwnedVerificationCase(); /// /// The ViewUsages that are ownedUsages of this Definition. @@ -881,10 +698,7 @@ public List QueryOwnedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedView")] - public List QueryOwnedView() - { - return this.ComputeOwnedView(); - } + public List ownedView => this.ComputeOwnedView(); /// /// The ViewpointUsages that are ownedUsages of this Definition. @@ -892,10 +706,7 @@ public List QueryOwnedView() [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List QueryOwnedViewpoint() - { - return this.ComputeOwnedViewpoint(); - } + public List ownedViewpoint => this.ComputeOwnedViewpoint(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -903,10 +714,7 @@ public List QueryOwnedViewpoint() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -915,10 +723,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -927,10 +732,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -947,10 +749,7 @@ public INamespace QueryOwningNamespace() [Property(xmiId: "_18_5_3_12e503d9_1543948010065_362066_20413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IBehavior.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -962,10 +761,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The object or value that is the result of evaluating the Function. @@ -974,10 +770,7 @@ public string QueryQualifiedName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] [Implements(implementation: "IFunction.Result")] - public IFeature QueryResult() - { - return this.ComputeResult(); - } + public IFeature result => this.ComputeResult(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -987,10 +780,7 @@ public IFeature QueryResult() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The Steps that make up this Behavior. @@ -998,10 +788,7 @@ public string QueryShortName() [Property(xmiId: "_18_5_3_b9102da_1536346067212_587255_17343", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IBehavior.Step")] - public List QueryStep() - { - return this.ComputeStep(); - } + public List step => this.ComputeStep(); /// /// The TextualRepresentations that annotate this Element. @@ -1010,10 +797,7 @@ public List QueryStep() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1024,10 +808,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Definition (not necessarily owned). @@ -1035,10 +816,7 @@ public List QueryUnioningType() [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IDefinition.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Definition as a variation point Definition, if @@ -1047,10 +825,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IDefinition.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then @@ -1060,10 +835,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IDefinition.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/ConstraintUsage.cs b/SysML2.NET/Core/AutoGenPoco/ConstraintUsage.cs index 9929a857..68667cd5 100644 --- a/SysML2.NET/Core/AutoGenPoco/ConstraintUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/ConstraintUsage.cs @@ -93,10 +93,7 @@ public partial class ConstraintUsage : IConstraintUsage [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IExpression.Function")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -108,10 +105,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The (single) Predicate that is the type of this ConstraintUsage. Nominally, this will be a @@ -121,10 +115,7 @@ public List QueryChainingFeature() [Property(xmiId: "_19_0_2_12e503d9_1578067546711_751168_1745", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1578025035149_386_969")] [Implements(implementation: "IConstraintUsage.ConstraintDefinition")] - public IPredicate QueryConstraintDefinition() - { - return this.ComputeConstraintDefinition(); - } + public IPredicate constraintDefinition => this.ComputeConstraintDefinition(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -134,10 +125,7 @@ public IPredicate QueryConstraintDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -165,10 +153,7 @@ public IFeature QueryCrossFeature() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] [Implements(implementation: "IUsage.Definition")] - public List QueryDefinition() - { - return this.ComputeDefinition(); - } + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -181,10 +166,7 @@ public List QueryDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -193,10 +175,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// The usages of this Usage that are directedFeatures. @@ -205,10 +184,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -225,10 +201,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -244,10 +217,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -257,10 +227,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -268,10 +235,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -280,20 +244,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -303,10 +261,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Function that types this Expression. @@ -315,10 +270,7 @@ public List QueryFeaturingType() [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [RedefinedByProperty("IBooleanExpression.Predicate")] [Implements(implementation: "IExpression.Function")] - public IFunction QueryFunction() - { - return this.ComputeFunction(); - } + IFunction Kernel.Functions.IExpression.function => throw new InvalidOperationException("Redefined by property IBooleanExpression.Predicate"); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -326,10 +278,7 @@ public IFunction QueryFunction() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// The at most one occurrenceDefinition that has isIndividual = true. @@ -337,10 +286,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public IOccurrenceDefinition QueryIndividualDefinition() - { - return this.ComputeIndividualDefinition(); - } + public IOccurrenceDefinition individualDefinition => this.ComputeIndividualDefinition(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -348,10 +294,7 @@ public IOccurrenceDefinition QueryIndividualDefinition() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -360,10 +303,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -371,10 +311,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -387,10 +324,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -414,10 +348,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -472,10 +403,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, @@ -483,10 +411,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool QueryIsModelLevelEvaluable() - { - return this.ComputeIsModelLevelEvaluable(); - } + public bool isModelLevelEvaluable => this.ComputeIsModelLevelEvaluable(); /// /// Whether an order exists for the values of this Feature or not. @@ -508,10 +433,7 @@ public bool QueryIsModelLevelEvaluable() /// [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IUsage.IsReference")] - public bool QueryIsReference() - { - return this.ComputeIsReference(); - } + public bool isReference => this.ComputeIsReference(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -539,7 +461,11 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -560,10 +486,7 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool QueryMayTimeVary() - { - return this.ComputeMayTimeVary(); - } + public bool mayTimeVary => this.ComputeMayTimeVary(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -571,10 +494,7 @@ public bool QueryMayTimeVary() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -582,10 +502,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -595,10 +512,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -608,10 +522,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ActionUsages that are nestedUsages of this Usage. @@ -619,10 +530,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List QueryNestedAction() - { - return this.ComputeNestedAction(); - } + public List nestedAction => this.ComputeNestedAction(); /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -630,10 +538,7 @@ public List QueryNestedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List QueryNestedAllocation() - { - return this.ComputeNestedAllocation(); - } + public List nestedAllocation => this.ComputeNestedAllocation(); /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -641,10 +546,7 @@ public List QueryNestedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List QueryNestedAnalysisCase() - { - return this.ComputeNestedAnalysisCase(); - } + public List nestedAnalysisCase => this.ComputeNestedAnalysisCase(); /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -652,10 +554,7 @@ public List QueryNestedAnalysisCase() [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List QueryNestedAttribute() - { - return this.ComputeNestedAttribute(); - } + public List nestedAttribute => this.ComputeNestedAttribute(); /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -663,10 +562,7 @@ public List QueryNestedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List QueryNestedCalculation() - { - return this.ComputeNestedCalculation(); - } + public List nestedCalculation => this.ComputeNestedCalculation(); /// /// The CaseUsages that are nestedUsages of this Usage. @@ -674,10 +570,7 @@ public List QueryNestedCalculation() [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List QueryNestedCase() - { - return this.ComputeNestedCase(); - } + public List nestedCase => this.ComputeNestedCase(); /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -685,10 +578,7 @@ public List QueryNestedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List QueryNestedConcern() - { - return this.ComputeNestedConcern(); - } + public List nestedConcern => this.ComputeNestedConcern(); /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -698,10 +588,7 @@ public List QueryNestedConcern() [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List QueryNestedConnection() - { - return this.ComputeNestedConnection(); - } + public List nestedConnection => this.ComputeNestedConnection(); /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -709,10 +596,7 @@ public List QueryNestedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List QueryNestedConstraint() - { - return this.ComputeNestedConstraint(); - } + public List nestedConstraint => this.ComputeNestedConstraint(); /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -720,10 +604,7 @@ public List QueryNestedConstraint() [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List QueryNestedEnumeration() - { - return this.ComputeNestedEnumeration(); - } + public List nestedEnumeration => this.ComputeNestedEnumeration(); /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -731,10 +612,7 @@ public List QueryNestedEnumeration() [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List QueryNestedFlow() - { - return this.ComputeNestedFlow(); - } + public List nestedFlow => this.ComputeNestedFlow(); /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -742,10 +620,7 @@ public List QueryNestedFlow() [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List QueryNestedInterface() - { - return this.ComputeNestedInterface(); - } + public List nestedInterface => this.ComputeNestedInterface(); /// /// The ItemUsages that are nestedUsages of this Usage. @@ -753,10 +628,7 @@ public List QueryNestedInterface() [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List QueryNestedItem() - { - return this.ComputeNestedItem(); - } + public List nestedItem => this.ComputeNestedItem(); /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -764,10 +636,7 @@ public List QueryNestedItem() [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List QueryNestedMetadata() - { - return this.ComputeNestedMetadata(); - } + public List nestedMetadata => this.ComputeNestedMetadata(); /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -775,10 +644,7 @@ public List QueryNestedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List QueryNestedOccurrence() - { - return this.ComputeNestedOccurrence(); - } + public List nestedOccurrence => this.ComputeNestedOccurrence(); /// /// The PartUsages that are nestedUsages of this Usage. @@ -786,10 +652,7 @@ public List QueryNestedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List QueryNestedPart() - { - return this.ComputeNestedPart(); - } + public List nestedPart => this.ComputeNestedPart(); /// /// The PortUsages that are nestedUsages of this Usage. @@ -797,10 +660,7 @@ public List QueryNestedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List QueryNestedPort() - { - return this.ComputeNestedPort(); - } + public List nestedPort => this.ComputeNestedPort(); /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -808,10 +668,7 @@ public List QueryNestedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List QueryNestedReference() - { - return this.ComputeNestedReference(); - } + public List nestedReference => this.ComputeNestedReference(); /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -819,10 +676,7 @@ public List QueryNestedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List QueryNestedRendering() - { - return this.ComputeNestedRendering(); - } + public List nestedRendering => this.ComputeNestedRendering(); /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -830,10 +684,7 @@ public List QueryNestedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List QueryNestedRequirement() - { - return this.ComputeNestedRequirement(); - } + public List nestedRequirement => this.ComputeNestedRequirement(); /// /// The StateUsages that are nestedUsages of this Usage. @@ -841,10 +692,7 @@ public List QueryNestedRequirement() [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List QueryNestedState() - { - return this.ComputeNestedState(); - } + public List nestedState => this.ComputeNestedState(); /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -852,10 +700,7 @@ public List QueryNestedState() [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List QueryNestedTransition() - { - return this.ComputeNestedTransition(); - } + public List nestedTransition => this.ComputeNestedTransition(); /// /// The Usages that are ownedFeatures of this Usage. @@ -864,10 +709,7 @@ public List QueryNestedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List QueryNestedUsage() - { - return this.ComputeNestedUsage(); - } + public List nestedUsage => this.ComputeNestedUsage(); /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -875,10 +717,7 @@ public List QueryNestedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List QueryNestedUseCase() - { - return this.ComputeNestedUseCase(); - } + public List nestedUseCase => this.ComputeNestedUseCase(); /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -886,10 +725,7 @@ public List QueryNestedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List QueryNestedVerificationCase() - { - return this.ComputeNestedVerificationCase(); - } + public List nestedVerificationCase => this.ComputeNestedVerificationCase(); /// /// The ViewUsages that are nestedUsages of this Usage. @@ -897,10 +733,7 @@ public List QueryNestedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List QueryNestedView() - { - return this.ComputeNestedView(); - } + public List nestedView => this.ComputeNestedView(); /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -908,10 +741,7 @@ public List QueryNestedView() [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List QueryNestedViewpoint() - { - return this.ComputeNestedViewpoint(); - } + public List nestedViewpoint => this.ComputeNestedViewpoint(); /// /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, @@ -921,10 +751,7 @@ public List QueryNestedViewpoint() [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List QueryOccurrenceDefinition() - { - return this.ComputeOccurrenceDefinition(); - } + public List occurrenceDefinition => this.ComputeOccurrenceDefinition(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -932,10 +759,7 @@ public List QueryOccurrenceDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -945,10 +769,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -957,10 +778,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -969,10 +787,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -982,10 +797,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -995,10 +807,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -1006,10 +815,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -1018,10 +824,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -1029,10 +832,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -1042,10 +842,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -1055,10 +852,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -1068,10 +862,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -1081,10 +872,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -1093,10 +881,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -1105,10 +890,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -1119,10 +901,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -1131,10 +910,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -1143,10 +919,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -1164,10 +937,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -1177,10 +947,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -1190,10 +957,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -1203,10 +967,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1215,10 +976,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1226,10 +984,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The Definition that owns this Usage (if any). @@ -1238,10 +993,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public IDefinition QueryOwningDefinition() - { - return this.ComputeOwningDefinition(); - } + public IDefinition owningDefinition => this.ComputeOwningDefinition(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1249,10 +1001,7 @@ public IDefinition QueryOwningDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1261,10 +1010,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1273,10 +1019,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -1294,10 +1037,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The Usage in which this Usage is nested (if any). @@ -1305,10 +1045,7 @@ public IType QueryOwningType() [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public IUsage QueryOwningUsage() - { - return this.ComputeOwningUsage(); - } + public IUsage owningUsage => this.ComputeOwningUsage(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -1317,10 +1054,7 @@ public IUsage QueryOwningUsage() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If @@ -1338,10 +1072,7 @@ public List QueryParameter() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1543948477241_299049_20934")] [RedefinedByProperty("IConstraintUsage.ConstraintDefinition")] [Implements(implementation: "IBooleanExpression.Predicate")] - public IPredicate QueryPredicate() - { - return this.ComputePredicate(); - } + IPredicate Kernel.Functions.IBooleanExpression.predicate => throw new InvalidOperationException("Redefined by property IConstraintUsage.ConstraintDefinition"); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -1353,10 +1084,7 @@ public IPredicate QueryPredicate() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// An output parameter of the Expression whose value is the result of the Expression. The result of an @@ -1367,10 +1095,7 @@ public string QueryQualifiedName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [Implements(implementation: "IExpression.Result")] - public IFeature QueryResult() - { - return this.ComputeResult(); - } + public IFeature result => this.ComputeResult(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1380,10 +1105,7 @@ public IFeature QueryResult() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -1392,10 +1114,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1406,10 +1125,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1420,10 +1136,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1431,10 +1144,7 @@ public List QueryUnioningType() [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1443,10 +1153,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1455,10 +1162,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/ConstructorExpression.cs b/SysML2.NET/Core/AutoGenPoco/ConstructorExpression.cs index 3e0134e4..8c8aa0fe 100644 --- a/SysML2.NET/Core/AutoGenPoco/ConstructorExpression.cs +++ b/SysML2.NET/Core/AutoGenPoco/ConstructorExpression.cs @@ -69,10 +69,7 @@ public partial class ConstructorExpression : IConstructorExpression /// [Property(xmiId: "_2022x_2_12e503d9_1739134437590_328753_108", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IInstantiationExpression.Argument")] - public List QueryArgument() - { - return this.ComputeArgument(); - } + public List argument => this.ComputeArgument(); /// /// The Behaviors that type this Step. @@ -81,10 +78,7 @@ public List QueryArgument() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IExpression.Function")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -96,10 +90,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -109,10 +100,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -142,10 +130,7 @@ public IFeature QueryCrossFeature() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -154,10 +139,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -174,10 +156,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -193,10 +172,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -206,10 +182,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -217,10 +190,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -229,20 +199,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -252,10 +216,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Function that types this Expression. @@ -263,10 +224,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [Implements(implementation: "IExpression.Function")] - public IFunction QueryFunction() - { - return this.ComputeFunction(); - } + public IFunction function => this.ComputeFunction(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -274,10 +232,7 @@ public IFunction QueryFunction() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -285,10 +240,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -297,10 +249,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -308,10 +257,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The Type that is being instantiated. @@ -319,10 +265,7 @@ public List QueryInput() [Property(xmiId: "_2022x_2_12e503d9_1739134352572_416088_80", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IInstantiationExpression.InstantiatedType")] - public IType QueryInstantiatedType() - { - return this.ComputeInstantiatedType(); - } + public IType instantiatedType => this.ComputeInstantiatedType(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -335,10 +278,7 @@ public IType QueryInstantiatedType() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -362,10 +302,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -412,10 +349,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, @@ -423,10 +357,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool QueryIsModelLevelEvaluable() - { - return this.ComputeIsModelLevelEvaluable(); - } + public bool isModelLevelEvaluable => this.ComputeIsModelLevelEvaluable(); /// /// Whether an order exists for the values of this Feature or not. @@ -476,10 +407,7 @@ public bool QueryIsModelLevelEvaluable() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -487,10 +415,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -500,10 +425,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -513,10 +435,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -524,10 +443,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -537,10 +453,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -549,10 +462,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -561,10 +471,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -574,10 +481,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -587,10 +491,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -598,10 +499,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -610,10 +508,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -621,10 +516,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -634,10 +526,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -647,10 +536,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -660,10 +546,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -673,10 +556,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -685,10 +565,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -697,10 +574,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -711,10 +585,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -723,10 +594,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -735,10 +603,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -756,10 +621,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -769,10 +631,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -782,10 +641,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -795,10 +651,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -807,10 +660,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -818,10 +668,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -829,10 +676,7 @@ public IElement QueryOwner() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -841,10 +685,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -853,10 +694,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -874,10 +712,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -886,10 +721,7 @@ public IType QueryOwningType() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -901,10 +733,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// An output parameter of the Expression whose value is the result of the Expression. The result of an @@ -915,10 +744,7 @@ public string QueryQualifiedName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [Implements(implementation: "IExpression.Result")] - public IFeature QueryResult() - { - return this.ComputeResult(); - } + public IFeature result => this.ComputeResult(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -928,10 +754,7 @@ public IFeature QueryResult() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -940,10 +763,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -953,10 +773,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + public List type => this.ComputeType(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -967,10 +784,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/ControlNode.cs b/SysML2.NET/Core/AutoGenPoco/ControlNode.cs index 99756c7d..a8231b7b 100644 --- a/SysML2.NET/Core/AutoGenPoco/ControlNode.cs +++ b/SysML2.NET/Core/AutoGenPoco/ControlNode.cs @@ -86,10 +86,7 @@ public partial class ControlNode : IControlNode [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IActionUsage.ActionDefinition")] - public List QueryActionDefinition() - { - return this.ComputeActionDefinition(); - } + public List actionDefinition => this.ComputeActionDefinition(); /// /// Various alternative identifiers for this Element. Generally, these will be set by tools. @@ -105,10 +102,7 @@ public List QueryActionDefinition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IActionUsage.ActionDefinition")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -120,10 +114,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -133,10 +124,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -164,10 +152,7 @@ public IFeature QueryCrossFeature() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] [Implements(implementation: "IUsage.Definition")] - public List QueryDefinition() - { - return this.ComputeDefinition(); - } + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -180,10 +165,7 @@ public List QueryDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -192,10 +174,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// The usages of this Usage that are directedFeatures. @@ -204,10 +183,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -224,10 +200,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -243,10 +216,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -256,10 +226,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -267,10 +234,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -279,20 +243,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -302,10 +260,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -313,10 +268,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// The at most one occurrenceDefinition that has isIndividual = true. @@ -324,10 +276,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public IOccurrenceDefinition QueryIndividualDefinition() - { - return this.ComputeIndividualDefinition(); - } + public IOccurrenceDefinition individualDefinition => this.ComputeIndividualDefinition(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -335,10 +284,7 @@ public IOccurrenceDefinition QueryIndividualDefinition() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -347,10 +293,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -358,10 +301,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -374,10 +314,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -401,10 +338,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -459,10 +393,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -484,10 +415,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IUsage.IsReference")] - public bool QueryIsReference() - { - return this.ComputeIsReference(); - } + public bool isReference => this.ComputeIsReference(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -515,7 +443,11 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -536,10 +468,7 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool QueryMayTimeVary() - { - return this.ComputeMayTimeVary(); - } + public bool mayTimeVary => this.ComputeMayTimeVary(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -547,10 +476,7 @@ public bool QueryMayTimeVary() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -558,10 +484,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -571,10 +494,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -584,10 +504,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ActionUsages that are nestedUsages of this Usage. @@ -595,10 +512,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List QueryNestedAction() - { - return this.ComputeNestedAction(); - } + public List nestedAction => this.ComputeNestedAction(); /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -606,10 +520,7 @@ public List QueryNestedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List QueryNestedAllocation() - { - return this.ComputeNestedAllocation(); - } + public List nestedAllocation => this.ComputeNestedAllocation(); /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -617,10 +528,7 @@ public List QueryNestedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List QueryNestedAnalysisCase() - { - return this.ComputeNestedAnalysisCase(); - } + public List nestedAnalysisCase => this.ComputeNestedAnalysisCase(); /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -628,10 +536,7 @@ public List QueryNestedAnalysisCase() [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List QueryNestedAttribute() - { - return this.ComputeNestedAttribute(); - } + public List nestedAttribute => this.ComputeNestedAttribute(); /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -639,10 +544,7 @@ public List QueryNestedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List QueryNestedCalculation() - { - return this.ComputeNestedCalculation(); - } + public List nestedCalculation => this.ComputeNestedCalculation(); /// /// The CaseUsages that are nestedUsages of this Usage. @@ -650,10 +552,7 @@ public List QueryNestedCalculation() [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List QueryNestedCase() - { - return this.ComputeNestedCase(); - } + public List nestedCase => this.ComputeNestedCase(); /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -661,10 +560,7 @@ public List QueryNestedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List QueryNestedConcern() - { - return this.ComputeNestedConcern(); - } + public List nestedConcern => this.ComputeNestedConcern(); /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -674,10 +570,7 @@ public List QueryNestedConcern() [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List QueryNestedConnection() - { - return this.ComputeNestedConnection(); - } + public List nestedConnection => this.ComputeNestedConnection(); /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -685,10 +578,7 @@ public List QueryNestedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List QueryNestedConstraint() - { - return this.ComputeNestedConstraint(); - } + public List nestedConstraint => this.ComputeNestedConstraint(); /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -696,10 +586,7 @@ public List QueryNestedConstraint() [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List QueryNestedEnumeration() - { - return this.ComputeNestedEnumeration(); - } + public List nestedEnumeration => this.ComputeNestedEnumeration(); /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -707,10 +594,7 @@ public List QueryNestedEnumeration() [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List QueryNestedFlow() - { - return this.ComputeNestedFlow(); - } + public List nestedFlow => this.ComputeNestedFlow(); /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -718,10 +602,7 @@ public List QueryNestedFlow() [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List QueryNestedInterface() - { - return this.ComputeNestedInterface(); - } + public List nestedInterface => this.ComputeNestedInterface(); /// /// The ItemUsages that are nestedUsages of this Usage. @@ -729,10 +610,7 @@ public List QueryNestedInterface() [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List QueryNestedItem() - { - return this.ComputeNestedItem(); - } + public List nestedItem => this.ComputeNestedItem(); /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -740,10 +618,7 @@ public List QueryNestedItem() [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List QueryNestedMetadata() - { - return this.ComputeNestedMetadata(); - } + public List nestedMetadata => this.ComputeNestedMetadata(); /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -751,10 +626,7 @@ public List QueryNestedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List QueryNestedOccurrence() - { - return this.ComputeNestedOccurrence(); - } + public List nestedOccurrence => this.ComputeNestedOccurrence(); /// /// The PartUsages that are nestedUsages of this Usage. @@ -762,10 +634,7 @@ public List QueryNestedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List QueryNestedPart() - { - return this.ComputeNestedPart(); - } + public List nestedPart => this.ComputeNestedPart(); /// /// The PortUsages that are nestedUsages of this Usage. @@ -773,10 +642,7 @@ public List QueryNestedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List QueryNestedPort() - { - return this.ComputeNestedPort(); - } + public List nestedPort => this.ComputeNestedPort(); /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -784,10 +650,7 @@ public List QueryNestedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List QueryNestedReference() - { - return this.ComputeNestedReference(); - } + public List nestedReference => this.ComputeNestedReference(); /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -795,10 +658,7 @@ public List QueryNestedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List QueryNestedRendering() - { - return this.ComputeNestedRendering(); - } + public List nestedRendering => this.ComputeNestedRendering(); /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -806,10 +666,7 @@ public List QueryNestedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List QueryNestedRequirement() - { - return this.ComputeNestedRequirement(); - } + public List nestedRequirement => this.ComputeNestedRequirement(); /// /// The StateUsages that are nestedUsages of this Usage. @@ -817,10 +674,7 @@ public List QueryNestedRequirement() [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List QueryNestedState() - { - return this.ComputeNestedState(); - } + public List nestedState => this.ComputeNestedState(); /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -828,10 +682,7 @@ public List QueryNestedState() [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List QueryNestedTransition() - { - return this.ComputeNestedTransition(); - } + public List nestedTransition => this.ComputeNestedTransition(); /// /// The Usages that are ownedFeatures of this Usage. @@ -840,10 +691,7 @@ public List QueryNestedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List QueryNestedUsage() - { - return this.ComputeNestedUsage(); - } + public List nestedUsage => this.ComputeNestedUsage(); /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -851,10 +699,7 @@ public List QueryNestedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List QueryNestedUseCase() - { - return this.ComputeNestedUseCase(); - } + public List nestedUseCase => this.ComputeNestedUseCase(); /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -862,10 +707,7 @@ public List QueryNestedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List QueryNestedVerificationCase() - { - return this.ComputeNestedVerificationCase(); - } + public List nestedVerificationCase => this.ComputeNestedVerificationCase(); /// /// The ViewUsages that are nestedUsages of this Usage. @@ -873,10 +715,7 @@ public List QueryNestedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List QueryNestedView() - { - return this.ComputeNestedView(); - } + public List nestedView => this.ComputeNestedView(); /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -884,10 +723,7 @@ public List QueryNestedView() [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List QueryNestedViewpoint() - { - return this.ComputeNestedViewpoint(); - } + public List nestedViewpoint => this.ComputeNestedViewpoint(); /// /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, @@ -898,10 +734,7 @@ public List QueryNestedViewpoint() [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] [RedefinedByProperty("IActionUsage.ActionDefinition")] [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List QueryOccurrenceDefinition() - { - return this.ComputeOccurrenceDefinition(); - } + List Systems.Occurrences.IOccurrenceUsage.occurrenceDefinition => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -909,10 +742,7 @@ public List QueryOccurrenceDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -922,10 +752,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -934,10 +761,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -946,10 +770,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -959,10 +780,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -972,10 +790,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -983,10 +798,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -995,10 +807,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -1006,10 +815,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -1019,10 +825,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -1032,10 +835,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -1045,10 +845,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -1058,10 +855,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -1070,10 +864,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -1082,10 +873,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -1096,10 +884,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -1108,10 +893,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -1120,10 +902,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -1141,10 +920,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -1154,10 +930,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -1167,10 +940,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -1180,10 +950,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1192,10 +959,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1203,10 +967,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The Definition that owns this Usage (if any). @@ -1215,10 +976,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public IDefinition QueryOwningDefinition() - { - return this.ComputeOwningDefinition(); - } + public IDefinition owningDefinition => this.ComputeOwningDefinition(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1226,10 +984,7 @@ public IDefinition QueryOwningDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1238,10 +993,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1250,10 +1002,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -1271,10 +1020,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The Usage in which this Usage is nested (if any). @@ -1282,10 +1028,7 @@ public IType QueryOwningType() [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public IUsage QueryOwningUsage() - { - return this.ComputeOwningUsage(); - } + public IUsage owningUsage => this.ComputeOwningUsage(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -1294,10 +1037,7 @@ public IUsage QueryOwningUsage() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If @@ -1318,10 +1058,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1331,10 +1068,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -1343,10 +1077,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1357,10 +1088,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1371,10 +1099,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1382,10 +1107,7 @@ public List QueryUnioningType() [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1394,10 +1116,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1406,10 +1125,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/CrossSubsetting.cs b/SysML2.NET/Core/AutoGenPoco/CrossSubsetting.cs index 8c56d0b0..277036fa 100644 --- a/SysML2.NET/Core/AutoGenPoco/CrossSubsetting.cs +++ b/SysML2.NET/Core/AutoGenPoco/CrossSubsetting.cs @@ -83,10 +83,7 @@ public partial class CrossSubsetting : ICrossSubsetting [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_236250_43311")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674967_140305_43206")] [Implements(implementation: "ICrossSubsetting.CrossingFeature")] - public IFeature QueryCrossingFeature() - { - return this.ComputeCrossingFeature(); - } + public IFeature crossingFeature => this.ComputeCrossingFeature(); /// /// The declared name of this Element. @@ -112,10 +109,7 @@ public IFeature QueryCrossingFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -132,7 +126,11 @@ public List QueryDocumentation() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [RedefinedByProperty("ISubsetting.SubsettedFeature")] [Implements(implementation: "ISpecialization.General")] - public IType General { get; set; } + IType Core.Types.ISpecialization.General + { + get => throw new InvalidOperationException("Redefined by property ISubsetting.SubsettedFeature"); + set => throw new InvalidOperationException("Redefined by property ISubsetting.SubsettedFeature"); + } /// /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being @@ -158,10 +156,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -171,10 +166,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -184,10 +176,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -195,10 +184,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -222,10 +208,7 @@ public List QueryOwnedElement() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// A subsettingFeature that is also the owningRelatedElement of this Subsetting. @@ -235,10 +218,7 @@ public IElement QueryOwner() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_573157_43226")] [RedefinedByProperty("ICrossSubsetting.CrossingFeature")] [Implements(implementation: "ISubsetting.OwningFeature")] - public IFeature QueryOwningFeature() - { - return this.ComputeOwningFeature(); - } + IFeature ISubsetting.owningFeature => throw new InvalidOperationException("Redefined by property ICrossSubsetting.CrossingFeature"); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -247,10 +227,7 @@ public IFeature QueryOwningFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -259,10 +236,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -288,10 +262,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] [RedefinedByProperty("ISubsetting.OwningFeature")] [Implements(implementation: "ISpecialization.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + IType Core.Types.ISpecialization.owningType => throw new InvalidOperationException("Redefined by property ISubsetting.OwningFeature"); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -303,10 +274,7 @@ public IType QueryOwningType() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -314,10 +282,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + public List relatedElement => this.ComputeRelatedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -327,10 +292,7 @@ public List QueryRelatedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -339,7 +301,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("ISpecialization.Specific")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property ISpecialization.Specific"); + set => throw new InvalidOperationException("Redefined by property ISpecialization.Specific"); + } /// /// A Type with a subset of all instances of the general Type, which might be the same set. @@ -348,7 +314,11 @@ public string QueryShortName() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [RedefinedByProperty("ISubsetting.SubsettingFeature")] [Implements(implementation: "ISpecialization.Specific")] - public IType Specific { get; set; } + IType Core.Types.ISpecialization.Specific + { + get => throw new InvalidOperationException("Redefined by property ISubsetting.SubsettingFeature"); + set => throw new InvalidOperationException("Redefined by property ISubsetting.SubsettingFeature"); + } /// /// The Feature that is subsetted by the subsettingFeature of this Subsetting. @@ -357,7 +327,11 @@ public string QueryShortName() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_563969_43273")] [RedefinedByProperty("ICrossSubsetting.CrossedFeature")] [Implements(implementation: "ISubsetting.SubsettedFeature")] - public IFeature SubsettedFeature { get; set; } + IFeature ISubsetting.SubsettedFeature + { + get => throw new InvalidOperationException("Redefined by property ICrossSubsetting.CrossedFeature"); + set => throw new InvalidOperationException("Redefined by property ICrossSubsetting.CrossedFeature"); + } /// /// The Feature that is a subset of the subsettedFeature of this Subsetting. @@ -366,7 +340,11 @@ public string QueryShortName() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] [RedefinedByProperty("ICrossSubsetting.CrossingFeature")] [Implements(implementation: "ISubsetting.SubsettingFeature")] - public IFeature SubsettingFeature { get; set; } + IFeature ISubsetting.SubsettingFeature + { + get => throw new InvalidOperationException("Redefined by property ICrossSubsetting.CrossingFeature"); + set => throw new InvalidOperationException("Redefined by property ICrossSubsetting.CrossingFeature"); + } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -375,7 +353,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("ISpecialization.General")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property ISpecialization.General"); + set => throw new InvalidOperationException("Redefined by property ISpecialization.General"); + } /// /// The TextualRepresentations that annotate this Element. @@ -384,10 +366,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/DataType.cs b/SysML2.NET/Core/AutoGenPoco/DataType.cs index fc19e0e7..60451784 100644 --- a/SysML2.NET/Core/AutoGenPoco/DataType.cs +++ b/SysML2.NET/Core/AutoGenPoco/DataType.cs @@ -90,10 +90,7 @@ public partial class DataType : IDataType /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -101,10 +98,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// The Documentation owned by this Element. @@ -113,10 +107,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -132,10 +123,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -143,10 +131,7 @@ public List QueryEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -155,10 +140,7 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -166,10 +148,7 @@ public List QueryFeatureMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -177,10 +156,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -189,10 +165,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -200,10 +173,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -216,10 +186,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -234,10 +201,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// Whether all necessary implied Relationships have been included in the ownedRelationships of this @@ -255,10 +219,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -278,10 +239,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -289,10 +247,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -302,10 +257,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -315,10 +267,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -326,10 +275,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -339,10 +285,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -351,10 +294,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -364,10 +304,7 @@ public IConjugation QueryOwnedConjugator() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -377,10 +314,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -388,10 +322,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -400,10 +331,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -411,10 +339,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -424,10 +349,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -437,10 +359,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -449,10 +368,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -461,10 +377,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -475,10 +388,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -496,10 +406,7 @@ public List QueryOwnedMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier @@ -508,10 +415,7 @@ public List QueryOwnedSpecialization() [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List QueryOwnedSubclassification() - { - return this.ComputeOwnedSubclassification(); - } + public List ownedSubclassification => this.ComputeOwnedSubclassification(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -520,10 +424,7 @@ public List QueryOwnedSubclassification() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -531,10 +432,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -543,10 +441,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -555,10 +450,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -578,10 +470,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -591,10 +480,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -603,10 +489,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -617,10 +500,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/DecisionNode.cs b/SysML2.NET/Core/AutoGenPoco/DecisionNode.cs index c16dd0f1..7a86ddac 100644 --- a/SysML2.NET/Core/AutoGenPoco/DecisionNode.cs +++ b/SysML2.NET/Core/AutoGenPoco/DecisionNode.cs @@ -84,10 +84,7 @@ public partial class DecisionNode : IDecisionNode [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IActionUsage.ActionDefinition")] - public List QueryActionDefinition() - { - return this.ComputeActionDefinition(); - } + public List actionDefinition => this.ComputeActionDefinition(); /// /// Various alternative identifiers for this Element. Generally, these will be set by tools. @@ -103,10 +100,7 @@ public List QueryActionDefinition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IActionUsage.ActionDefinition")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -118,10 +112,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -131,10 +122,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -162,10 +150,7 @@ public IFeature QueryCrossFeature() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] [Implements(implementation: "IUsage.Definition")] - public List QueryDefinition() - { - return this.ComputeDefinition(); - } + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -178,10 +163,7 @@ public List QueryDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -190,10 +172,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// The usages of this Usage that are directedFeatures. @@ -202,10 +181,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -222,10 +198,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -241,10 +214,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -254,10 +224,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -265,10 +232,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -277,20 +241,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -300,10 +258,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -311,10 +266,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// The at most one occurrenceDefinition that has isIndividual = true. @@ -322,10 +274,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public IOccurrenceDefinition QueryIndividualDefinition() - { - return this.ComputeIndividualDefinition(); - } + public IOccurrenceDefinition individualDefinition => this.ComputeIndividualDefinition(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -333,10 +282,7 @@ public IOccurrenceDefinition QueryIndividualDefinition() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -345,10 +291,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -356,10 +299,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -372,10 +312,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -399,10 +336,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -457,10 +391,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -482,10 +413,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IUsage.IsReference")] - public bool QueryIsReference() - { - return this.ComputeIsReference(); - } + public bool isReference => this.ComputeIsReference(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -513,7 +441,11 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -534,10 +466,7 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool QueryMayTimeVary() - { - return this.ComputeMayTimeVary(); - } + public bool mayTimeVary => this.ComputeMayTimeVary(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -545,10 +474,7 @@ public bool QueryMayTimeVary() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -556,10 +482,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -569,10 +492,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -582,10 +502,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ActionUsages that are nestedUsages of this Usage. @@ -593,10 +510,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List QueryNestedAction() - { - return this.ComputeNestedAction(); - } + public List nestedAction => this.ComputeNestedAction(); /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -604,10 +518,7 @@ public List QueryNestedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List QueryNestedAllocation() - { - return this.ComputeNestedAllocation(); - } + public List nestedAllocation => this.ComputeNestedAllocation(); /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -615,10 +526,7 @@ public List QueryNestedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List QueryNestedAnalysisCase() - { - return this.ComputeNestedAnalysisCase(); - } + public List nestedAnalysisCase => this.ComputeNestedAnalysisCase(); /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -626,10 +534,7 @@ public List QueryNestedAnalysisCase() [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List QueryNestedAttribute() - { - return this.ComputeNestedAttribute(); - } + public List nestedAttribute => this.ComputeNestedAttribute(); /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -637,10 +542,7 @@ public List QueryNestedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List QueryNestedCalculation() - { - return this.ComputeNestedCalculation(); - } + public List nestedCalculation => this.ComputeNestedCalculation(); /// /// The CaseUsages that are nestedUsages of this Usage. @@ -648,10 +550,7 @@ public List QueryNestedCalculation() [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List QueryNestedCase() - { - return this.ComputeNestedCase(); - } + public List nestedCase => this.ComputeNestedCase(); /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -659,10 +558,7 @@ public List QueryNestedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List QueryNestedConcern() - { - return this.ComputeNestedConcern(); - } + public List nestedConcern => this.ComputeNestedConcern(); /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -672,10 +568,7 @@ public List QueryNestedConcern() [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List QueryNestedConnection() - { - return this.ComputeNestedConnection(); - } + public List nestedConnection => this.ComputeNestedConnection(); /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -683,10 +576,7 @@ public List QueryNestedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List QueryNestedConstraint() - { - return this.ComputeNestedConstraint(); - } + public List nestedConstraint => this.ComputeNestedConstraint(); /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -694,10 +584,7 @@ public List QueryNestedConstraint() [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List QueryNestedEnumeration() - { - return this.ComputeNestedEnumeration(); - } + public List nestedEnumeration => this.ComputeNestedEnumeration(); /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -705,10 +592,7 @@ public List QueryNestedEnumeration() [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List QueryNestedFlow() - { - return this.ComputeNestedFlow(); - } + public List nestedFlow => this.ComputeNestedFlow(); /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -716,10 +600,7 @@ public List QueryNestedFlow() [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List QueryNestedInterface() - { - return this.ComputeNestedInterface(); - } + public List nestedInterface => this.ComputeNestedInterface(); /// /// The ItemUsages that are nestedUsages of this Usage. @@ -727,10 +608,7 @@ public List QueryNestedInterface() [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List QueryNestedItem() - { - return this.ComputeNestedItem(); - } + public List nestedItem => this.ComputeNestedItem(); /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -738,10 +616,7 @@ public List QueryNestedItem() [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List QueryNestedMetadata() - { - return this.ComputeNestedMetadata(); - } + public List nestedMetadata => this.ComputeNestedMetadata(); /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -749,10 +624,7 @@ public List QueryNestedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List QueryNestedOccurrence() - { - return this.ComputeNestedOccurrence(); - } + public List nestedOccurrence => this.ComputeNestedOccurrence(); /// /// The PartUsages that are nestedUsages of this Usage. @@ -760,10 +632,7 @@ public List QueryNestedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List QueryNestedPart() - { - return this.ComputeNestedPart(); - } + public List nestedPart => this.ComputeNestedPart(); /// /// The PortUsages that are nestedUsages of this Usage. @@ -771,10 +640,7 @@ public List QueryNestedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List QueryNestedPort() - { - return this.ComputeNestedPort(); - } + public List nestedPort => this.ComputeNestedPort(); /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -782,10 +648,7 @@ public List QueryNestedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List QueryNestedReference() - { - return this.ComputeNestedReference(); - } + public List nestedReference => this.ComputeNestedReference(); /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -793,10 +656,7 @@ public List QueryNestedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List QueryNestedRendering() - { - return this.ComputeNestedRendering(); - } + public List nestedRendering => this.ComputeNestedRendering(); /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -804,10 +664,7 @@ public List QueryNestedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List QueryNestedRequirement() - { - return this.ComputeNestedRequirement(); - } + public List nestedRequirement => this.ComputeNestedRequirement(); /// /// The StateUsages that are nestedUsages of this Usage. @@ -815,10 +672,7 @@ public List QueryNestedRequirement() [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List QueryNestedState() - { - return this.ComputeNestedState(); - } + public List nestedState => this.ComputeNestedState(); /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -826,10 +680,7 @@ public List QueryNestedState() [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List QueryNestedTransition() - { - return this.ComputeNestedTransition(); - } + public List nestedTransition => this.ComputeNestedTransition(); /// /// The Usages that are ownedFeatures of this Usage. @@ -838,10 +689,7 @@ public List QueryNestedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List QueryNestedUsage() - { - return this.ComputeNestedUsage(); - } + public List nestedUsage => this.ComputeNestedUsage(); /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -849,10 +697,7 @@ public List QueryNestedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List QueryNestedUseCase() - { - return this.ComputeNestedUseCase(); - } + public List nestedUseCase => this.ComputeNestedUseCase(); /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -860,10 +705,7 @@ public List QueryNestedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List QueryNestedVerificationCase() - { - return this.ComputeNestedVerificationCase(); - } + public List nestedVerificationCase => this.ComputeNestedVerificationCase(); /// /// The ViewUsages that are nestedUsages of this Usage. @@ -871,10 +713,7 @@ public List QueryNestedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List QueryNestedView() - { - return this.ComputeNestedView(); - } + public List nestedView => this.ComputeNestedView(); /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -882,10 +721,7 @@ public List QueryNestedView() [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List QueryNestedViewpoint() - { - return this.ComputeNestedViewpoint(); - } + public List nestedViewpoint => this.ComputeNestedViewpoint(); /// /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, @@ -896,10 +732,7 @@ public List QueryNestedViewpoint() [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] [RedefinedByProperty("IActionUsage.ActionDefinition")] [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List QueryOccurrenceDefinition() - { - return this.ComputeOccurrenceDefinition(); - } + List Systems.Occurrences.IOccurrenceUsage.occurrenceDefinition => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -907,10 +740,7 @@ public List QueryOccurrenceDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -920,10 +750,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -932,10 +759,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -944,10 +768,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -957,10 +778,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -970,10 +788,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -981,10 +796,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -993,10 +805,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -1004,10 +813,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -1017,10 +823,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -1030,10 +833,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -1043,10 +843,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -1056,10 +853,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -1068,10 +862,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -1080,10 +871,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -1094,10 +882,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -1106,10 +891,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -1118,10 +900,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -1139,10 +918,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -1152,10 +928,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -1165,10 +938,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -1178,10 +948,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1190,10 +957,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1201,10 +965,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The Definition that owns this Usage (if any). @@ -1213,10 +974,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public IDefinition QueryOwningDefinition() - { - return this.ComputeOwningDefinition(); - } + public IDefinition owningDefinition => this.ComputeOwningDefinition(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1224,10 +982,7 @@ public IDefinition QueryOwningDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1236,10 +991,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1248,10 +1000,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -1269,10 +1018,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The Usage in which this Usage is nested (if any). @@ -1280,10 +1026,7 @@ public IType QueryOwningType() [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public IUsage QueryOwningUsage() - { - return this.ComputeOwningUsage(); - } + public IUsage owningUsage => this.ComputeOwningUsage(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -1292,10 +1035,7 @@ public IUsage QueryOwningUsage() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If @@ -1316,10 +1056,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1329,10 +1066,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -1341,10 +1075,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1355,10 +1086,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1369,10 +1097,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1380,10 +1105,7 @@ public List QueryUnioningType() [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1392,10 +1114,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1404,10 +1123,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/Definition.cs b/SysML2.NET/Core/AutoGenPoco/Definition.cs index f1bbdf56..0c019193 100644 --- a/SysML2.NET/Core/AutoGenPoco/Definition.cs +++ b/SysML2.NET/Core/AutoGenPoco/Definition.cs @@ -115,10 +115,7 @@ public partial class Definition : IDefinition /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -126,10 +123,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// The usages of this Definition that are directedFeatures. @@ -138,10 +132,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// The Documentation owned by this Element. @@ -150,10 +141,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -169,10 +157,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -180,10 +165,7 @@ public List QueryEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -192,10 +174,7 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -203,10 +182,7 @@ public List QueryFeatureMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -214,10 +190,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -226,10 +199,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -237,10 +207,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -253,10 +220,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -271,10 +235,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// Whether all necessary implied Relationships have been included in the ownedRelationships of this @@ -292,10 +253,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -323,10 +281,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -334,10 +289,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -347,10 +299,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -360,10 +309,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -371,10 +317,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ActionUsages that are ownedUsages of this Definition. @@ -382,10 +325,7 @@ public List QueryOutput() [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedAction")] - public List QueryOwnedAction() - { - return this.ComputeOwnedAction(); - } + public List ownedAction => this.ComputeOwnedAction(); /// /// The AllocationUsages that are ownedUsages of this Definition. @@ -393,10 +333,7 @@ public List QueryOwnedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedAllocation")] - public List QueryOwnedAllocation() - { - return this.ComputeOwnedAllocation(); - } + public List ownedAllocation => this.ComputeOwnedAllocation(); /// /// The AnalysisCaseUsages that are ownedUsages of this Definition. @@ -404,10 +341,7 @@ public List QueryOwnedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List QueryOwnedAnalysisCase() - { - return this.ComputeOwnedAnalysisCase(); - } + public List ownedAnalysisCase => this.ComputeOwnedAnalysisCase(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -417,10 +351,7 @@ public List QueryOwnedAnalysisCase() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The AttributeUsages that are ownedUsages of this Definition. @@ -428,10 +359,7 @@ public List QueryOwnedAnnotation() [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedAttribute")] - public List QueryOwnedAttribute() - { - return this.ComputeOwnedAttribute(); - } + public List ownedAttribute => this.ComputeOwnedAttribute(); /// /// The CalculationUsages that are ownedUsages of this Definition. @@ -439,10 +367,7 @@ public List QueryOwnedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedCalculation")] - public List QueryOwnedCalculation() - { - return this.ComputeOwnedCalculation(); - } + public List ownedCalculation => this.ComputeOwnedCalculation(); /// /// The code>CaseUsages that are ownedUsages of this Definition. @@ -450,10 +375,7 @@ public List QueryOwnedCalculation() [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] [Implements(implementation: "IDefinition.OwnedCase")] - public List QueryOwnedCase() - { - return this.ComputeOwnedCase(); - } + public List ownedCase => this.ComputeOwnedCase(); /// /// The ConcernUsages that are ownedUsages of this Definition. @@ -461,10 +383,7 @@ public List QueryOwnedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedConcern")] - public List QueryOwnedConcern() - { - return this.ComputeOwnedConcern(); - } + public List ownedConcern => this.ComputeOwnedConcern(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -473,10 +392,7 @@ public List QueryOwnedConcern() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes @@ -486,10 +402,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedConnection")] - public List QueryOwnedConnection() - { - return this.ComputeOwnedConnection(); - } + public List ownedConnection => this.ComputeOwnedConnection(); /// /// The ConstraintUsages that are ownedUsages of this Definition. @@ -497,10 +410,7 @@ public List QueryOwnedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedConstraint")] - public List QueryOwnedConstraint() - { - return this.ComputeOwnedConstraint(); - } + public List ownedConstraint => this.ComputeOwnedConstraint(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -510,10 +420,7 @@ public List QueryOwnedConstraint() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -523,10 +430,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -534,10 +438,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -546,10 +447,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The EnumerationUsages that are ownedUsages of this Definition. @@ -557,10 +455,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List QueryOwnedEnumeration() - { - return this.ComputeOwnedEnumeration(); - } + public List ownedEnumeration => this.ComputeOwnedEnumeration(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -568,10 +463,7 @@ public List QueryOwnedEnumeration() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -581,10 +473,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The FlowUsages that are ownedUsages of this Definition. @@ -592,10 +481,7 @@ public List QueryOwnedFeatureMembership() [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedFlow")] - public List QueryOwnedFlow() - { - return this.ComputeOwnedFlow(); - } + public List ownedFlow => this.ComputeOwnedFlow(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -605,10 +491,7 @@ public List QueryOwnedFlow() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The InterfaceUsages that are ownedUsages of this Definition. @@ -616,10 +499,7 @@ public List QueryOwnedImport() [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedInterface")] - public List QueryOwnedInterface() - { - return this.ComputeOwnedInterface(); - } + public List ownedInterface => this.ComputeOwnedInterface(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -628,10 +508,7 @@ public List QueryOwnedInterface() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The ItemUsages that are ownedUsages of this Definition. @@ -639,10 +516,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedItem")] - public List QueryOwnedItem() - { - return this.ComputeOwnedItem(); - } + public List ownedItem => this.ComputeOwnedItem(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -651,10 +525,7 @@ public List QueryOwnedItem() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -665,10 +536,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The MetadataUsages that are ownedUsages of this Definition. @@ -676,10 +544,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedMetadata")] - public List QueryOwnedMetadata() - { - return this.ComputeOwnedMetadata(); - } + public List ownedMetadata => this.ComputeOwnedMetadata(); /// /// The OccurrenceUsages that are ownedUsages of this Definition. @@ -687,10 +552,7 @@ public List QueryOwnedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List QueryOwnedOccurrence() - { - return this.ComputeOwnedOccurrence(); - } + public List ownedOccurrence => this.ComputeOwnedOccurrence(); /// /// The PartUsages that are ownedUsages of this Definition. @@ -698,10 +560,7 @@ public List QueryOwnedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedPart")] - public List QueryOwnedPart() - { - return this.ComputeOwnedPart(); - } + public List ownedPart => this.ComputeOwnedPart(); /// /// The PortUsages that are ownedUsages of this Definition. @@ -709,10 +568,7 @@ public List QueryOwnedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedPort")] - public List QueryOwnedPort() - { - return this.ComputeOwnedPort(); - } + public List ownedPort => this.ComputeOwnedPort(); /// /// The ReferenceUsages that are ownedUsages of this Definition. @@ -720,10 +576,7 @@ public List QueryOwnedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedReference")] - public List QueryOwnedReference() - { - return this.ComputeOwnedReference(); - } + public List ownedReference => this.ComputeOwnedReference(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -739,10 +592,7 @@ public List QueryOwnedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedRendering")] - public List QueryOwnedRendering() - { - return this.ComputeOwnedRendering(); - } + public List ownedRendering => this.ComputeOwnedRendering(); /// /// The RequirementUsages that are ownedUsages of this Definition. @@ -750,10 +600,7 @@ public List QueryOwnedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] [Implements(implementation: "IDefinition.OwnedRequirement")] - public List QueryOwnedRequirement() - { - return this.ComputeOwnedRequirement(); - } + public List ownedRequirement => this.ComputeOwnedRequirement(); /// /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific @@ -763,10 +610,7 @@ public List QueryOwnedRequirement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The StateUsages that are ownedUsages of this Definition. @@ -774,10 +618,7 @@ public List QueryOwnedSpecialization() [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedState")] - public List QueryOwnedState() - { - return this.ComputeOwnedState(); - } + public List ownedState => this.ComputeOwnedState(); /// /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier @@ -786,10 +627,7 @@ public List QueryOwnedState() [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List QueryOwnedSubclassification() - { - return this.ComputeOwnedSubclassification(); - } + public List ownedSubclassification => this.ComputeOwnedSubclassification(); /// /// The TransitionUsages that are ownedUsages of this Definition. @@ -797,10 +635,7 @@ public List QueryOwnedSubclassification() [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedTransition")] - public List QueryOwnedTransition() - { - return this.ComputeOwnedTransition(); - } + public List ownedTransition => this.ComputeOwnedTransition(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -809,10 +644,7 @@ public List QueryOwnedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The Usages that are ownedFeatures of this Definition. @@ -821,10 +653,7 @@ public List QueryOwnedUnioning() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.OwnedUsage")] - public List QueryOwnedUsage() - { - return this.ComputeOwnedUsage(); - } + public List ownedUsage => this.ComputeOwnedUsage(); /// /// The UseCaseUsages that are ownedUsages of this Definition. @@ -832,10 +661,7 @@ public List QueryOwnedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedUseCase")] - public List QueryOwnedUseCase() - { - return this.ComputeOwnedUseCase(); - } + public List ownedUseCase => this.ComputeOwnedUseCase(); /// /// The VerificationCaseUsages that are ownedUsages of this Definition. @@ -843,10 +669,7 @@ public List QueryOwnedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List QueryOwnedVerificationCase() - { - return this.ComputeOwnedVerificationCase(); - } + public List ownedVerificationCase => this.ComputeOwnedVerificationCase(); /// /// The ViewUsages that are ownedUsages of this Definition. @@ -854,10 +677,7 @@ public List QueryOwnedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedView")] - public List QueryOwnedView() - { - return this.ComputeOwnedView(); - } + public List ownedView => this.ComputeOwnedView(); /// /// The ViewpointUsages that are ownedUsages of this Definition. @@ -865,10 +685,7 @@ public List QueryOwnedView() [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List QueryOwnedViewpoint() - { - return this.ComputeOwnedViewpoint(); - } + public List ownedViewpoint => this.ComputeOwnedViewpoint(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -876,10 +693,7 @@ public List QueryOwnedViewpoint() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -888,10 +702,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -900,10 +711,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -923,10 +731,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -936,10 +741,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -948,10 +750,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -962,10 +761,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Definition (not necessarily owned). @@ -973,10 +769,7 @@ public List QueryUnioningType() [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IDefinition.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Definition as a variation point Definition, if @@ -985,10 +778,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IDefinition.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then @@ -998,10 +788,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IDefinition.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/Dependency.cs b/SysML2.NET/Core/AutoGenPoco/Dependency.cs index 94547805..957873ac 100644 --- a/SysML2.NET/Core/AutoGenPoco/Dependency.cs +++ b/SysML2.NET/Core/AutoGenPoco/Dependency.cs @@ -89,10 +89,7 @@ public partial class Dependency : IDependency [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -126,10 +123,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -139,10 +133,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -152,10 +143,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -163,10 +151,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -190,10 +175,7 @@ public List QueryOwnedElement() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -202,10 +184,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -214,10 +193,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -245,10 +221,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -256,10 +229,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + public List relatedElement => this.ComputeRelatedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -269,10 +239,7 @@ public List QueryRelatedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -281,7 +248,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IDependency.Client")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IDependency.Client"); + set => throw new InvalidOperationException("Redefined by property IDependency.Client"); + } /// /// The Element or Elements on which the client Elements depend in some respect. @@ -298,7 +269,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IDependency.Supplier")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IDependency.Supplier"); + set => throw new InvalidOperationException("Redefined by property IDependency.Supplier"); + } /// /// The TextualRepresentations that annotate this Element. @@ -307,10 +282,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/Differencing.cs b/SysML2.NET/Core/AutoGenPoco/Differencing.cs index 10db74b1..bb31bb01 100644 --- a/SysML2.NET/Core/AutoGenPoco/Differencing.cs +++ b/SysML2.NET/Core/AutoGenPoco/Differencing.cs @@ -88,10 +88,7 @@ public partial class Differencing : IDifferencing [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -125,10 +122,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -138,10 +132,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -151,10 +142,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -162,10 +150,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -189,10 +174,7 @@ public List QueryOwnedElement() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -201,10 +183,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -213,10 +192,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -244,10 +220,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -255,10 +228,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + public List relatedElement => this.ComputeRelatedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -268,10 +238,7 @@ public List QueryRelatedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -280,7 +247,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IDifferencing.TypeDifferenced")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IDifferencing.TypeDifferenced"); + set => throw new InvalidOperationException("Redefined by property IDifferencing.TypeDifferenced"); + } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -289,7 +260,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IDifferencing.DifferencingType")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IDifferencing.DifferencingType"); + set => throw new InvalidOperationException("Redefined by property IDifferencing.DifferencingType"); + } /// /// The TextualRepresentations that annotate this Element. @@ -298,10 +273,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Type with interpretations partly determined by differencingType, as described in @@ -311,10 +283,7 @@ public List QueryTextualRepresentation() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [Implements(implementation: "IDifferencing.TypeDifferenced")] - public IType QueryTypeDifferenced() - { - return this.ComputeTypeDifferenced(); - } + public IType typeDifferenced => this.ComputeTypeDifferenced(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/Disjoining.cs b/SysML2.NET/Core/AutoGenPoco/Disjoining.cs index 8a2c4e45..c7abdf0a 100644 --- a/SysML2.NET/Core/AutoGenPoco/Disjoining.cs +++ b/SysML2.NET/Core/AutoGenPoco/Disjoining.cs @@ -89,10 +89,7 @@ public partial class Disjoining : IDisjoining [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -126,10 +123,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -139,10 +133,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -152,10 +143,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -163,10 +151,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -190,10 +175,7 @@ public List QueryOwnedElement() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -202,10 +184,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -214,10 +193,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -242,10 +218,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_955906_617")] [Implements(implementation: "IDisjoining.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -257,10 +230,7 @@ public IType QueryOwningType() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -268,10 +238,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + public List relatedElement => this.ComputeRelatedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -281,10 +248,7 @@ public List QueryRelatedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -293,7 +257,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IDisjoining.TypeDisjoined")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IDisjoining.TypeDisjoined"); + set => throw new InvalidOperationException("Redefined by property IDisjoining.TypeDisjoined"); + } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -302,7 +270,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IDisjoining.DisjoiningType")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IDisjoining.DisjoiningType"); + set => throw new InvalidOperationException("Redefined by property IDisjoining.DisjoiningType"); + } /// /// The TextualRepresentations that annotate this Element. @@ -311,10 +283,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Type asserted to be disjoint with the disjoiningType. diff --git a/SysML2.NET/Core/AutoGenPoco/Documentation.cs b/SysML2.NET/Core/AutoGenPoco/Documentation.cs index 1c4ee55f..06201500 100644 --- a/SysML2.NET/Core/AutoGenPoco/Documentation.cs +++ b/SysML2.NET/Core/AutoGenPoco/Documentation.cs @@ -61,10 +61,7 @@ public partial class Documentation : IDocumentation [Property(xmiId: "_19_0_2_12e503d9_1594145755058_99428_86", aggregation: AggregationKind.None, lowerValue: 1, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IDocumentation.DocumentedElement")] [Implements(implementation: "IAnnotatingElement.AnnotatedElement")] - public List QueryAnnotatedElement() - { - return this.ComputeAnnotatedElement(); - } + List IAnnotatingElement.annotatedElement => throw new InvalidOperationException("Redefined by property IDocumentation.DocumentedElement"); /// /// The Annotations that relate this AnnotatingElement to its annotatedElements. This includes the @@ -73,10 +70,7 @@ public List QueryAnnotatedElement() [Property(xmiId: "_18_5_3_12e503d9_1543094212714_953084_18407", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IAnnotatingElement.Annotation")] - public List QueryAnnotation() - { - return this.ComputeAnnotation(); - } + public List annotation => this.ComputeAnnotation(); /// /// The annotation text for the Comment. @@ -109,10 +103,7 @@ public List QueryAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The Element that is documented by this Documentation. @@ -121,10 +112,7 @@ public List QueryDocumentation() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_744477_17277")] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1594145755058_99428_86")] [Implements(implementation: "IDocumentation.DocumentedElement")] - public IElement QueryDocumentedElement() - { - return this.ComputeDocumentedElement(); - } + public IElement documentedElement => this.ComputeDocumentedElement(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -150,10 +138,7 @@ public IElement QueryDocumentedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Identification of the language of the body text and, optionally, the region and/or encoding. The @@ -172,10 +157,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this AnnotatingElement that are Annotations, for which this @@ -185,10 +167,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IAnnotatingElement.OwnedAnnotatingRelationship")] - public List QueryOwnedAnnotatingRelationship() - { - return this.ComputeOwnedAnnotatingRelationship(); - } + public List ownedAnnotatingRelationship => this.ComputeOwnedAnnotatingRelationship(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -198,10 +177,7 @@ public List QueryOwnedAnnotatingRelationship() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -209,10 +185,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -228,10 +201,7 @@ public List QueryOwnedElement() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this AnnotatingRelationship, if it is an Annotation @@ -240,10 +210,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] [Implements(implementation: "IAnnotatingElement.OwningAnnotatingRelationship")] - public IAnnotation QueryOwningAnnotatingRelationship() - { - return this.ComputeOwningAnnotatingRelationship(); - } + public IAnnotation owningAnnotatingRelationship => this.ComputeOwningAnnotatingRelationship(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -252,10 +219,7 @@ public IAnnotation QueryOwningAnnotatingRelationship() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -264,10 +228,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -287,10 +248,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -300,10 +258,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -312,10 +267,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/Element.cs b/SysML2.NET/Core/AutoGenPoco/Element.cs index 3b87d105..bf3fb98f 100644 --- a/SysML2.NET/Core/AutoGenPoco/Element.cs +++ b/SysML2.NET/Core/AutoGenPoco/Element.cs @@ -80,10 +80,7 @@ public partial class Element : IElement [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -109,10 +106,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -122,10 +116,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -135,10 +126,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -146,10 +134,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -165,10 +150,7 @@ public List QueryOwnedElement() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -177,10 +159,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -189,10 +168,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -212,10 +188,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -225,10 +198,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -237,10 +207,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/ElementFilterMembership.cs b/SysML2.NET/Core/AutoGenPoco/ElementFilterMembership.cs index 2a495cdb..aa539ca5 100644 --- a/SysML2.NET/Core/AutoGenPoco/ElementFilterMembership.cs +++ b/SysML2.NET/Core/AutoGenPoco/ElementFilterMembership.cs @@ -66,10 +66,7 @@ public partial class ElementFilterMembership : IElementFilterMembership [Property(xmiId: "_19_0_4_12e503d9_1605762464250_876969_157", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] [Implements(implementation: "IElementFilterMembership.Condition")] - public IExpression QueryCondition() - { - return this.ComputeCondition(); - } + public IExpression condition => this.ComputeCondition(); /// /// The declared name of this Element. @@ -95,10 +92,7 @@ public IExpression QueryCondition() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -132,10 +126,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. @@ -144,7 +135,11 @@ public bool QueryIsLibraryElement() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] [Implements(implementation: "IMembership.MemberElement")] - public IElement MemberElement { get; set; } + IElement Root.Namespaces.IMembership.MemberElement + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + } /// /// The elementId of the memberElement. @@ -152,10 +147,7 @@ public bool QueryIsLibraryElement() [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] [Implements(implementation: "IMembership.MemberElementId")] - public string QueryMemberElementId() - { - return this.ComputeMemberElementId(); - } + string Root.Namespaces.IMembership.memberElementId => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElementId"); /// /// The name of the memberElement relative to the membershipOwningNamespace. @@ -163,7 +155,11 @@ public string QueryMemberElementId() [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberName")] [Implements(implementation: "IMembership.MemberName")] - public string MemberName { get; set; } + string Root.Namespaces.IMembership.MemberName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + } /// /// The Namespace of which the memberElement becomes a member due to this Membership. @@ -173,10 +169,7 @@ public string QueryMemberElementId() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [Implements(implementation: "IMembership.MembershipOwningNamespace")] - public INamespace QueryMembershipOwningNamespace() - { - return this.ComputeMembershipOwningNamespace(); - } + public INamespace membershipOwningNamespace => this.ComputeMembershipOwningNamespace(); /// /// The short name of the memberElement relative to the membershipOwningNamespace. @@ -184,7 +177,11 @@ public INamespace QueryMembershipOwningNamespace() [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] [Implements(implementation: "IMembership.MemberShortName")] - public string MemberShortName { get; set; } + string Root.Namespaces.IMembership.MemberShortName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + } /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -194,10 +191,7 @@ public INamespace QueryMembershipOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -207,10 +201,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -218,10 +209,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this @@ -232,10 +220,7 @@ public List QueryOwnedElement() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] [RedefinedByProperty("IElementFilterMembership.Condition")] [Implements(implementation: "IOwningMembership.OwnedMemberElement")] - public IElement QueryOwnedMemberElement() - { - return this.ComputeOwnedMemberElement(); - } + IElement Root.Namespaces.IOwningMembership.ownedMemberElement => throw new InvalidOperationException("Redefined by property IElementFilterMembership.Condition"); /// /// The elementId of the ownedMemberElement. @@ -243,10 +228,7 @@ public IElement QueryOwnedMemberElement() [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] - public string QueryOwnedMemberElementId() - { - return this.ComputeOwnedMemberElementId(); - } + public string ownedMemberElementId => this.ComputeOwnedMemberElementId(); /// /// The name of the ownedMemberElement. @@ -254,10 +236,7 @@ public string QueryOwnedMemberElementId() [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] [Implements(implementation: "IOwningMembership.OwnedMemberName")] - public string QueryOwnedMemberName() - { - return this.ComputeOwnedMemberName(); - } + public string ownedMemberName => this.ComputeOwnedMemberName(); /// /// The shortName of the ownedMemberElement. @@ -265,10 +244,7 @@ public string QueryOwnedMemberName() [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] - public string QueryOwnedMemberShortName() - { - return this.ComputeOwnedMemberShortName(); - } + public string ownedMemberShortName => this.ComputeOwnedMemberShortName(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -292,10 +268,7 @@ public string QueryOwnedMemberShortName() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -304,10 +277,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -316,10 +286,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -347,10 +314,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -358,10 +322,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + public List relatedElement => this.ComputeRelatedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -371,10 +332,7 @@ public List QueryRelatedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -383,7 +341,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembership.MembershipOwningNamespace")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -392,7 +354,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembership.MemberElement")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + set => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + } /// /// The TextualRepresentations that annotate this Element. @@ -401,10 +367,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly diff --git a/SysML2.NET/Core/AutoGenPoco/EndFeatureMembership.cs b/SysML2.NET/Core/AutoGenPoco/EndFeatureMembership.cs index e8327a1a..95404748 100644 --- a/SysML2.NET/Core/AutoGenPoco/EndFeatureMembership.cs +++ b/SysML2.NET/Core/AutoGenPoco/EndFeatureMembership.cs @@ -81,10 +81,7 @@ public partial class EndFeatureMembership : IEndFeatureMembership [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -118,10 +115,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. @@ -130,7 +124,11 @@ public bool QueryIsLibraryElement() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] [Implements(implementation: "IMembership.MemberElement")] - public IElement MemberElement { get; set; } + IElement Root.Namespaces.IMembership.MemberElement + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + } /// /// The elementId of the memberElement. @@ -138,10 +136,7 @@ public bool QueryIsLibraryElement() [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] [Implements(implementation: "IMembership.MemberElementId")] - public string QueryMemberElementId() - { - return this.ComputeMemberElementId(); - } + string Root.Namespaces.IMembership.memberElementId => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElementId"); /// /// The name of the memberElement relative to the membershipOwningNamespace. @@ -149,7 +144,11 @@ public string QueryMemberElementId() [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberName")] [Implements(implementation: "IMembership.MemberName")] - public string MemberName { get; set; } + string Root.Namespaces.IMembership.MemberName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + } /// /// The Namespace of which the memberElement becomes a member due to this Membership. @@ -160,10 +159,7 @@ public string QueryMemberElementId() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [RedefinedByProperty("IFeatureMembership.OwningType")] [Implements(implementation: "IMembership.MembershipOwningNamespace")] - public INamespace QueryMembershipOwningNamespace() - { - return this.ComputeMembershipOwningNamespace(); - } + INamespace Root.Namespaces.IMembership.membershipOwningNamespace => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwningType"); /// /// The short name of the memberElement relative to the membershipOwningNamespace. @@ -171,7 +167,11 @@ public INamespace QueryMembershipOwningNamespace() [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] [Implements(implementation: "IMembership.MemberShortName")] - public string MemberShortName { get; set; } + string Root.Namespaces.IMembership.MemberShortName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + } /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -181,10 +181,7 @@ public INamespace QueryMembershipOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -194,10 +191,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -205,10 +199,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this @@ -219,10 +210,7 @@ public List QueryOwnedElement() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] [RedefinedByProperty("IFeatureMembership.OwnedMemberFeature")] [Implements(implementation: "IOwningMembership.OwnedMemberElement")] - public IElement QueryOwnedMemberElement() - { - return this.ComputeOwnedMemberElement(); - } + IElement Root.Namespaces.IOwningMembership.ownedMemberElement => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwnedMemberFeature"); /// /// The elementId of the ownedMemberElement. @@ -230,20 +218,14 @@ public IElement QueryOwnedMemberElement() [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] - public string QueryOwnedMemberElementId() - { - return this.ComputeOwnedMemberElementId(); - } + public string ownedMemberElementId => this.ComputeOwnedMemberElementId(); /// /// [Property(xmiId: "_19_0_4_12e503d9_1625459277304_568293_5526", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] [Implements(implementation: "IEndFeatureMembership.OwnedMemberFeature")] - IFeature IEndFeatureMembership.QueryOwnedMemberFeature() - { - return this.ComputeOwnedMemberFeature(); - } + public IFeature ownedMemberFeature => this.ComputeOwnedMemberFeature(); /// /// The Feature that this FeatureMembership relates to its owningType, making it an ownedFeature of the @@ -253,10 +235,7 @@ IFeature IEndFeatureMembership.QueryOwnedMemberFeature() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] [RedefinedByProperty("IEndFeatureMembership.OwnedMemberFeature")] [Implements(implementation: "IFeatureMembership.OwnedMemberFeature")] - IFeature Core.Types.IFeatureMembership.QueryOwnedMemberFeature() - { - return this.ComputeOwnedMemberFeature(); - } + IFeature Core.Types.IFeatureMembership.ownedMemberFeature => throw new InvalidOperationException("Redefined by property IEndFeatureMembership.OwnedMemberFeature"); /// /// The name of the ownedMemberElement. @@ -264,10 +243,7 @@ IFeature Core.Types.IFeatureMembership.QueryOwnedMemberFeature() [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] [Implements(implementation: "IOwningMembership.OwnedMemberName")] - public string QueryOwnedMemberName() - { - return this.ComputeOwnedMemberName(); - } + public string ownedMemberName => this.ComputeOwnedMemberName(); /// /// The shortName of the ownedMemberElement. @@ -275,10 +251,7 @@ public string QueryOwnedMemberName() [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] - public string QueryOwnedMemberShortName() - { - return this.ComputeOwnedMemberShortName(); - } + public string ownedMemberShortName => this.ComputeOwnedMemberShortName(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -302,10 +275,7 @@ public string QueryOwnedMemberShortName() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -314,10 +284,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -326,10 +293,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -354,10 +318,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866524_738482_486")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] [Implements(implementation: "IFeatureMembership.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -369,10 +330,7 @@ public IType QueryOwningType() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -380,10 +338,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + public List relatedElement => this.ComputeRelatedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -393,10 +348,7 @@ public List QueryRelatedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -405,7 +357,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembership.MembershipOwningNamespace")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -414,7 +370,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembership.MemberElement")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + set => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + } /// /// The TextualRepresentations that annotate this Element. @@ -423,10 +383,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly diff --git a/SysML2.NET/Core/AutoGenPoco/EnumerationDefinition.cs b/SysML2.NET/Core/AutoGenPoco/EnumerationDefinition.cs index d808e6f3..23c2cbb4 100644 --- a/SysML2.NET/Core/AutoGenPoco/EnumerationDefinition.cs +++ b/SysML2.NET/Core/AutoGenPoco/EnumerationDefinition.cs @@ -108,10 +108,7 @@ public partial class EnumerationDefinition : IEnumerationDefinition /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -119,10 +116,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// The usages of this Definition that are directedFeatures. @@ -131,10 +125,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// The Documentation owned by this Element. @@ -143,10 +134,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -162,10 +150,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// EnumerationUsages of this EnumerationDefinitionthat have distinct, fixed values. Each @@ -174,10 +159,7 @@ public List QueryEndFeature() [Property(xmiId: "_19_0_4_12e503d9_1606946634788_959145_265", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1590979457191_746167_951")] [Implements(implementation: "IEnumerationDefinition.EnumeratedValue")] - public List QueryEnumeratedValue() - { - return this.ComputeEnumeratedValue(); - } + public List enumeratedValue => this.ComputeEnumeratedValue(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -185,10 +167,7 @@ public List QueryEnumeratedValue() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -197,10 +176,7 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -208,10 +184,7 @@ public List QueryFeatureMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -219,10 +192,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -231,10 +201,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -242,10 +209,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -258,10 +222,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -276,10 +237,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// Whether all necessary implied Relationships have been included in the ownedRelationships of this @@ -297,10 +255,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -321,7 +276,7 @@ public bool QueryIsLibraryElement() [Property(xmiId: "_19_0_4_12e503d9_1606946783667_895456_287", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1590978283180_265362_419")] [Implements(implementation: "IEnumerationDefinition.IsVariation")] - bool IEnumerationDefinition.IsVariation { get; set; } + public bool IsVariation { get; set; } /// /// Whether this Definition is for a variation point or not. If true, then all the memberships of the @@ -330,7 +285,11 @@ public bool QueryIsLibraryElement() [Property(xmiId: "_19_0_2_12e503d9_1590978283180_265362_419", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IEnumerationDefinition.IsVariation")] [Implements(implementation: "IDefinition.IsVariation")] - bool Systems.DefinitionAndUsage.IDefinition.IsVariation { get; set; } + bool Systems.DefinitionAndUsage.IDefinition.IsVariation + { + get => throw new InvalidOperationException("Redefined by property IEnumerationDefinition.IsVariation"); + set => throw new InvalidOperationException("Redefined by property IEnumerationDefinition.IsVariation"); + } /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -338,10 +297,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -349,10 +305,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -362,10 +315,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -375,10 +325,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -386,10 +333,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ActionUsages that are ownedUsages of this Definition. @@ -397,10 +341,7 @@ public List QueryOutput() [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedAction")] - public List QueryOwnedAction() - { - return this.ComputeOwnedAction(); - } + public List ownedAction => this.ComputeOwnedAction(); /// /// The AllocationUsages that are ownedUsages of this Definition. @@ -408,10 +349,7 @@ public List QueryOwnedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedAllocation")] - public List QueryOwnedAllocation() - { - return this.ComputeOwnedAllocation(); - } + public List ownedAllocation => this.ComputeOwnedAllocation(); /// /// The AnalysisCaseUsages that are ownedUsages of this Definition. @@ -419,10 +357,7 @@ public List QueryOwnedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List QueryOwnedAnalysisCase() - { - return this.ComputeOwnedAnalysisCase(); - } + public List ownedAnalysisCase => this.ComputeOwnedAnalysisCase(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -432,10 +367,7 @@ public List QueryOwnedAnalysisCase() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The AttributeUsages that are ownedUsages of this Definition. @@ -443,10 +375,7 @@ public List QueryOwnedAnnotation() [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedAttribute")] - public List QueryOwnedAttribute() - { - return this.ComputeOwnedAttribute(); - } + public List ownedAttribute => this.ComputeOwnedAttribute(); /// /// The CalculationUsages that are ownedUsages of this Definition. @@ -454,10 +383,7 @@ public List QueryOwnedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedCalculation")] - public List QueryOwnedCalculation() - { - return this.ComputeOwnedCalculation(); - } + public List ownedCalculation => this.ComputeOwnedCalculation(); /// /// The code>CaseUsages that are ownedUsages of this Definition. @@ -465,10 +391,7 @@ public List QueryOwnedCalculation() [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] [Implements(implementation: "IDefinition.OwnedCase")] - public List QueryOwnedCase() - { - return this.ComputeOwnedCase(); - } + public List ownedCase => this.ComputeOwnedCase(); /// /// The ConcernUsages that are ownedUsages of this Definition. @@ -476,10 +399,7 @@ public List QueryOwnedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedConcern")] - public List QueryOwnedConcern() - { - return this.ComputeOwnedConcern(); - } + public List ownedConcern => this.ComputeOwnedConcern(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -488,10 +408,7 @@ public List QueryOwnedConcern() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes @@ -501,10 +418,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedConnection")] - public List QueryOwnedConnection() - { - return this.ComputeOwnedConnection(); - } + public List ownedConnection => this.ComputeOwnedConnection(); /// /// The ConstraintUsages that are ownedUsages of this Definition. @@ -512,10 +426,7 @@ public List QueryOwnedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedConstraint")] - public List QueryOwnedConstraint() - { - return this.ComputeOwnedConstraint(); - } + public List ownedConstraint => this.ComputeOwnedConstraint(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -525,10 +436,7 @@ public List QueryOwnedConstraint() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -538,10 +446,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -549,10 +454,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -561,10 +463,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The EnumerationUsages that are ownedUsages of this Definition. @@ -572,10 +471,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List QueryOwnedEnumeration() - { - return this.ComputeOwnedEnumeration(); - } + public List ownedEnumeration => this.ComputeOwnedEnumeration(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -583,10 +479,7 @@ public List QueryOwnedEnumeration() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -596,10 +489,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The FlowUsages that are ownedUsages of this Definition. @@ -607,10 +497,7 @@ public List QueryOwnedFeatureMembership() [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedFlow")] - public List QueryOwnedFlow() - { - return this.ComputeOwnedFlow(); - } + public List ownedFlow => this.ComputeOwnedFlow(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -620,10 +507,7 @@ public List QueryOwnedFlow() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The InterfaceUsages that are ownedUsages of this Definition. @@ -631,10 +515,7 @@ public List QueryOwnedImport() [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedInterface")] - public List QueryOwnedInterface() - { - return this.ComputeOwnedInterface(); - } + public List ownedInterface => this.ComputeOwnedInterface(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -643,10 +524,7 @@ public List QueryOwnedInterface() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The ItemUsages that are ownedUsages of this Definition. @@ -654,10 +532,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedItem")] - public List QueryOwnedItem() - { - return this.ComputeOwnedItem(); - } + public List ownedItem => this.ComputeOwnedItem(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -666,10 +541,7 @@ public List QueryOwnedItem() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -680,10 +552,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The MetadataUsages that are ownedUsages of this Definition. @@ -691,10 +560,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedMetadata")] - public List QueryOwnedMetadata() - { - return this.ComputeOwnedMetadata(); - } + public List ownedMetadata => this.ComputeOwnedMetadata(); /// /// The OccurrenceUsages that are ownedUsages of this Definition. @@ -702,10 +568,7 @@ public List QueryOwnedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List QueryOwnedOccurrence() - { - return this.ComputeOwnedOccurrence(); - } + public List ownedOccurrence => this.ComputeOwnedOccurrence(); /// /// The PartUsages that are ownedUsages of this Definition. @@ -713,10 +576,7 @@ public List QueryOwnedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedPart")] - public List QueryOwnedPart() - { - return this.ComputeOwnedPart(); - } + public List ownedPart => this.ComputeOwnedPart(); /// /// The PortUsages that are ownedUsages of this Definition. @@ -724,10 +584,7 @@ public List QueryOwnedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedPort")] - public List QueryOwnedPort() - { - return this.ComputeOwnedPort(); - } + public List ownedPort => this.ComputeOwnedPort(); /// /// The ReferenceUsages that are ownedUsages of this Definition. @@ -735,10 +592,7 @@ public List QueryOwnedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedReference")] - public List QueryOwnedReference() - { - return this.ComputeOwnedReference(); - } + public List ownedReference => this.ComputeOwnedReference(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -754,10 +608,7 @@ public List QueryOwnedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedRendering")] - public List QueryOwnedRendering() - { - return this.ComputeOwnedRendering(); - } + public List ownedRendering => this.ComputeOwnedRendering(); /// /// The RequirementUsages that are ownedUsages of this Definition. @@ -765,10 +616,7 @@ public List QueryOwnedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] [Implements(implementation: "IDefinition.OwnedRequirement")] - public List QueryOwnedRequirement() - { - return this.ComputeOwnedRequirement(); - } + public List ownedRequirement => this.ComputeOwnedRequirement(); /// /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific @@ -778,10 +626,7 @@ public List QueryOwnedRequirement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The StateUsages that are ownedUsages of this Definition. @@ -789,10 +634,7 @@ public List QueryOwnedSpecialization() [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedState")] - public List QueryOwnedState() - { - return this.ComputeOwnedState(); - } + public List ownedState => this.ComputeOwnedState(); /// /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier @@ -801,10 +643,7 @@ public List QueryOwnedState() [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List QueryOwnedSubclassification() - { - return this.ComputeOwnedSubclassification(); - } + public List ownedSubclassification => this.ComputeOwnedSubclassification(); /// /// The TransitionUsages that are ownedUsages of this Definition. @@ -812,10 +651,7 @@ public List QueryOwnedSubclassification() [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedTransition")] - public List QueryOwnedTransition() - { - return this.ComputeOwnedTransition(); - } + public List ownedTransition => this.ComputeOwnedTransition(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -824,10 +660,7 @@ public List QueryOwnedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The Usages that are ownedFeatures of this Definition. @@ -836,10 +669,7 @@ public List QueryOwnedUnioning() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.OwnedUsage")] - public List QueryOwnedUsage() - { - return this.ComputeOwnedUsage(); - } + public List ownedUsage => this.ComputeOwnedUsage(); /// /// The UseCaseUsages that are ownedUsages of this Definition. @@ -847,10 +677,7 @@ public List QueryOwnedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedUseCase")] - public List QueryOwnedUseCase() - { - return this.ComputeOwnedUseCase(); - } + public List ownedUseCase => this.ComputeOwnedUseCase(); /// /// The VerificationCaseUsages that are ownedUsages of this Definition. @@ -858,10 +685,7 @@ public List QueryOwnedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List QueryOwnedVerificationCase() - { - return this.ComputeOwnedVerificationCase(); - } + public List ownedVerificationCase => this.ComputeOwnedVerificationCase(); /// /// The ViewUsages that are ownedUsages of this Definition. @@ -869,10 +693,7 @@ public List QueryOwnedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedView")] - public List QueryOwnedView() - { - return this.ComputeOwnedView(); - } + public List ownedView => this.ComputeOwnedView(); /// /// The ViewpointUsages that are ownedUsages of this Definition. @@ -880,10 +701,7 @@ public List QueryOwnedView() [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List QueryOwnedViewpoint() - { - return this.ComputeOwnedViewpoint(); - } + public List ownedViewpoint => this.ComputeOwnedViewpoint(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -891,10 +709,7 @@ public List QueryOwnedViewpoint() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -903,10 +718,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -915,10 +727,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -938,10 +747,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -951,10 +757,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -963,10 +766,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -977,10 +777,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Definition (not necessarily owned). @@ -988,10 +785,7 @@ public List QueryUnioningType() [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IDefinition.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Definition as a variation point Definition, if @@ -1001,10 +795,7 @@ public List QueryUsage() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [RedefinedByProperty("IEnumerationDefinition.EnumeratedValue")] [Implements(implementation: "IDefinition.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + List Systems.DefinitionAndUsage.IDefinition.variant => throw new InvalidOperationException("Redefined by property IEnumerationDefinition.EnumeratedValue"); /// /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then @@ -1014,10 +805,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IDefinition.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/EnumerationUsage.cs b/SysML2.NET/Core/AutoGenPoco/EnumerationUsage.cs index 7a0d2cf2..8013c698 100644 --- a/SysML2.NET/Core/AutoGenPoco/EnumerationUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/EnumerationUsage.cs @@ -89,10 +89,7 @@ public partial class EnumerationUsage : IEnumerationUsage [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] [RedefinedByProperty("IEnumerationUsage.EnumerationDefinition")] [Implements(implementation: "IAttributeUsage.AttributeDefinition")] - public List QueryAttributeDefinition() - { - return this.ComputeAttributeDefinition(); - } + List Systems.Attributes.IAttributeUsage.attributeDefinition => throw new InvalidOperationException("Redefined by property IEnumerationUsage.EnumerationDefinition"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -104,10 +101,7 @@ public List QueryAttributeDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -117,10 +111,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -148,10 +139,7 @@ public IFeature QueryCrossFeature() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IAttributeUsage.AttributeDefinition")] [Implements(implementation: "IUsage.Definition")] - public List QueryDefinition() - { - return this.ComputeDefinition(); - } + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IAttributeUsage.AttributeDefinition"); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -164,10 +152,7 @@ public List QueryDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -175,10 +160,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// The usages of this Usage that are directedFeatures. @@ -187,10 +169,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -207,10 +186,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -226,10 +202,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -239,10 +212,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The single EnumerationDefinition that is the type of this EnumerationUsage. @@ -250,10 +220,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_19_0_4_12e503d9_1606946962858_570633_331", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1565471811429_523492_20975")] [Implements(implementation: "IEnumerationUsage.EnumerationDefinition")] - public IEnumerationDefinition QueryEnumerationDefinition() - { - return this.ComputeEnumerationDefinition(); - } + public IEnumerationDefinition enumerationDefinition => this.ComputeEnumerationDefinition(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -261,10 +228,7 @@ public IEnumerationDefinition QueryEnumerationDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -273,20 +237,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -296,10 +254,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -307,10 +262,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -318,10 +270,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -330,10 +279,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -341,10 +287,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -357,10 +300,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -384,10 +324,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -434,10 +371,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -460,10 +394,7 @@ public bool QueryIsLibraryElement() [Property(xmiId: "_19_0_4_12e503d9_1624050661138_649455_27", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: "true")] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1624035114787_488767_41423")] [Implements(implementation: "IAttributeUsage.IsReference")] - bool Systems.Attributes.IAttributeUsage.QueryIsReference() - { - return this.ComputeIsReference(); - } + public bool isReference => this.ComputeIsReference(); /// /// Whether this Usage is a referential Usage, that is, it has isComposite = false. @@ -471,10 +402,7 @@ bool Systems.Attributes.IAttributeUsage.QueryIsReference() [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IAttributeUsage.IsReference")] [Implements(implementation: "IUsage.IsReference")] - bool Systems.DefinitionAndUsage.IUsage.QueryIsReference() - { - return this.ComputeIsReference(); - } + bool Systems.DefinitionAndUsage.IUsage.isReference => throw new InvalidOperationException("Redefined by property IAttributeUsage.IsReference"); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -502,7 +430,11 @@ bool Systems.DefinitionAndUsage.IUsage.QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -523,10 +455,7 @@ bool Systems.DefinitionAndUsage.IUsage.QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool QueryMayTimeVary() - { - return this.ComputeMayTimeVary(); - } + public bool mayTimeVary => this.ComputeMayTimeVary(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -534,10 +463,7 @@ public bool QueryMayTimeVary() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -545,10 +471,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -558,10 +481,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -571,10 +491,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ActionUsages that are nestedUsages of this Usage. @@ -582,10 +499,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List QueryNestedAction() - { - return this.ComputeNestedAction(); - } + public List nestedAction => this.ComputeNestedAction(); /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -593,10 +507,7 @@ public List QueryNestedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List QueryNestedAllocation() - { - return this.ComputeNestedAllocation(); - } + public List nestedAllocation => this.ComputeNestedAllocation(); /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -604,10 +515,7 @@ public List QueryNestedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List QueryNestedAnalysisCase() - { - return this.ComputeNestedAnalysisCase(); - } + public List nestedAnalysisCase => this.ComputeNestedAnalysisCase(); /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -615,10 +523,7 @@ public List QueryNestedAnalysisCase() [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List QueryNestedAttribute() - { - return this.ComputeNestedAttribute(); - } + public List nestedAttribute => this.ComputeNestedAttribute(); /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -626,10 +531,7 @@ public List QueryNestedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List QueryNestedCalculation() - { - return this.ComputeNestedCalculation(); - } + public List nestedCalculation => this.ComputeNestedCalculation(); /// /// The CaseUsages that are nestedUsages of this Usage. @@ -637,10 +539,7 @@ public List QueryNestedCalculation() [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List QueryNestedCase() - { - return this.ComputeNestedCase(); - } + public List nestedCase => this.ComputeNestedCase(); /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -648,10 +547,7 @@ public List QueryNestedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List QueryNestedConcern() - { - return this.ComputeNestedConcern(); - } + public List nestedConcern => this.ComputeNestedConcern(); /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -661,10 +557,7 @@ public List QueryNestedConcern() [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List QueryNestedConnection() - { - return this.ComputeNestedConnection(); - } + public List nestedConnection => this.ComputeNestedConnection(); /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -672,10 +565,7 @@ public List QueryNestedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List QueryNestedConstraint() - { - return this.ComputeNestedConstraint(); - } + public List nestedConstraint => this.ComputeNestedConstraint(); /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -683,10 +573,7 @@ public List QueryNestedConstraint() [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List QueryNestedEnumeration() - { - return this.ComputeNestedEnumeration(); - } + public List nestedEnumeration => this.ComputeNestedEnumeration(); /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -694,10 +581,7 @@ public List QueryNestedEnumeration() [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List QueryNestedFlow() - { - return this.ComputeNestedFlow(); - } + public List nestedFlow => this.ComputeNestedFlow(); /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -705,10 +589,7 @@ public List QueryNestedFlow() [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List QueryNestedInterface() - { - return this.ComputeNestedInterface(); - } + public List nestedInterface => this.ComputeNestedInterface(); /// /// The ItemUsages that are nestedUsages of this Usage. @@ -716,10 +597,7 @@ public List QueryNestedInterface() [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List QueryNestedItem() - { - return this.ComputeNestedItem(); - } + public List nestedItem => this.ComputeNestedItem(); /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -727,10 +605,7 @@ public List QueryNestedItem() [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List QueryNestedMetadata() - { - return this.ComputeNestedMetadata(); - } + public List nestedMetadata => this.ComputeNestedMetadata(); /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -738,10 +613,7 @@ public List QueryNestedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List QueryNestedOccurrence() - { - return this.ComputeNestedOccurrence(); - } + public List nestedOccurrence => this.ComputeNestedOccurrence(); /// /// The PartUsages that are nestedUsages of this Usage. @@ -749,10 +621,7 @@ public List QueryNestedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List QueryNestedPart() - { - return this.ComputeNestedPart(); - } + public List nestedPart => this.ComputeNestedPart(); /// /// The PortUsages that are nestedUsages of this Usage. @@ -760,10 +629,7 @@ public List QueryNestedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List QueryNestedPort() - { - return this.ComputeNestedPort(); - } + public List nestedPort => this.ComputeNestedPort(); /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -771,10 +637,7 @@ public List QueryNestedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List QueryNestedReference() - { - return this.ComputeNestedReference(); - } + public List nestedReference => this.ComputeNestedReference(); /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -782,10 +645,7 @@ public List QueryNestedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List QueryNestedRendering() - { - return this.ComputeNestedRendering(); - } + public List nestedRendering => this.ComputeNestedRendering(); /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -793,10 +653,7 @@ public List QueryNestedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List QueryNestedRequirement() - { - return this.ComputeNestedRequirement(); - } + public List nestedRequirement => this.ComputeNestedRequirement(); /// /// The StateUsages that are nestedUsages of this Usage. @@ -804,10 +661,7 @@ public List QueryNestedRequirement() [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List QueryNestedState() - { - return this.ComputeNestedState(); - } + public List nestedState => this.ComputeNestedState(); /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -815,10 +669,7 @@ public List QueryNestedState() [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List QueryNestedTransition() - { - return this.ComputeNestedTransition(); - } + public List nestedTransition => this.ComputeNestedTransition(); /// /// The Usages that are ownedFeatures of this Usage. @@ -827,10 +678,7 @@ public List QueryNestedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List QueryNestedUsage() - { - return this.ComputeNestedUsage(); - } + public List nestedUsage => this.ComputeNestedUsage(); /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -838,10 +686,7 @@ public List QueryNestedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List QueryNestedUseCase() - { - return this.ComputeNestedUseCase(); - } + public List nestedUseCase => this.ComputeNestedUseCase(); /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -849,10 +694,7 @@ public List QueryNestedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List QueryNestedVerificationCase() - { - return this.ComputeNestedVerificationCase(); - } + public List nestedVerificationCase => this.ComputeNestedVerificationCase(); /// /// The ViewUsages that are nestedUsages of this Usage. @@ -860,10 +702,7 @@ public List QueryNestedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List QueryNestedView() - { - return this.ComputeNestedView(); - } + public List nestedView => this.ComputeNestedView(); /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -871,10 +710,7 @@ public List QueryNestedView() [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List QueryNestedViewpoint() - { - return this.ComputeNestedViewpoint(); - } + public List nestedViewpoint => this.ComputeNestedViewpoint(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -882,10 +718,7 @@ public List QueryNestedViewpoint() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -895,10 +728,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -907,10 +737,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -919,10 +746,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -932,10 +756,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -945,10 +766,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -956,10 +774,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -968,10 +783,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -979,10 +791,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -992,10 +801,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -1005,10 +811,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -1018,10 +821,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -1031,10 +831,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -1043,10 +840,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -1055,10 +849,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -1069,10 +860,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -1081,10 +869,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -1093,10 +878,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -1114,10 +896,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -1127,10 +906,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -1140,10 +916,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -1153,10 +926,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1165,10 +935,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1176,10 +943,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The Definition that owns this Usage (if any). @@ -1188,10 +952,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public IDefinition QueryOwningDefinition() - { - return this.ComputeOwningDefinition(); - } + public IDefinition owningDefinition => this.ComputeOwningDefinition(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1199,10 +960,7 @@ public IDefinition QueryOwningDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1211,10 +969,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1223,10 +978,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -1244,10 +996,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The Usage in which this Usage is nested (if any). @@ -1255,10 +1004,7 @@ public IType QueryOwningType() [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public IUsage QueryOwningUsage() - { - return this.ComputeOwningUsage(); - } + public IUsage owningUsage => this.ComputeOwningUsage(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -1270,10 +1016,7 @@ public IUsage QueryOwningUsage() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1283,10 +1026,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -1295,10 +1035,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1309,10 +1046,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1323,10 +1057,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1334,10 +1065,7 @@ public List QueryUnioningType() [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1346,10 +1074,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1358,10 +1083,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/EventOccurrenceUsage.cs b/SysML2.NET/Core/AutoGenPoco/EventOccurrenceUsage.cs index b54279bc..891a49d2 100644 --- a/SysML2.NET/Core/AutoGenPoco/EventOccurrenceUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/EventOccurrenceUsage.cs @@ -96,10 +96,7 @@ public partial class EventOccurrenceUsage : IEventOccurrenceUsage /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -109,10 +106,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -140,10 +134,7 @@ public IFeature QueryCrossFeature() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] [Implements(implementation: "IUsage.Definition")] - public List QueryDefinition() - { - return this.ComputeDefinition(); - } + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -156,10 +147,7 @@ public List QueryDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -167,10 +155,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// The usages of this Usage that are directedFeatures. @@ -179,10 +164,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -199,10 +181,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -218,10 +197,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -231,10 +207,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The OccurrenceUsage referenced as an event by this EventOccurrenceUsage. It is the referenceFeature @@ -243,10 +216,7 @@ public IType QueryEndOwningType() /// [Property(xmiId: "_19_0_4_12e503d9_1622831790393_676695_195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IEventOccurrenceUsage.EventOccurrence")] - public IOccurrenceUsage QueryEventOccurrence() - { - return this.ComputeEventOccurrence(); - } + public IOccurrenceUsage eventOccurrence => this.ComputeEventOccurrence(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -254,10 +224,7 @@ public IOccurrenceUsage QueryEventOccurrence() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -266,20 +233,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -289,10 +250,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -300,10 +258,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// The at most one occurrenceDefinition that has isIndividual = true. @@ -311,10 +266,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public IOccurrenceDefinition QueryIndividualDefinition() - { - return this.ComputeIndividualDefinition(); - } + public IOccurrenceDefinition individualDefinition => this.ComputeIndividualDefinition(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -322,10 +274,7 @@ public IOccurrenceDefinition QueryIndividualDefinition() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -334,10 +283,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -345,10 +291,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -361,10 +304,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -388,10 +328,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -446,10 +383,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -472,10 +406,7 @@ public bool QueryIsLibraryElement() [Property(xmiId: "_19_0_4_12e503d9_1672526906017_786343_306", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: "true")] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1624035114787_488767_41423")] [Implements(implementation: "IEventOccurrenceUsage.IsReference")] - bool IEventOccurrenceUsage.QueryIsReference() - { - return this.ComputeIsReference(); - } + public bool isReference => this.ComputeIsReference(); /// /// Whether this Usage is a referential Usage, that is, it has isComposite = false. @@ -483,10 +414,7 @@ bool IEventOccurrenceUsage.QueryIsReference() [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IEventOccurrenceUsage.IsReference")] [Implements(implementation: "IUsage.IsReference")] - bool Systems.DefinitionAndUsage.IUsage.QueryIsReference() - { - return this.ComputeIsReference(); - } + bool Systems.DefinitionAndUsage.IUsage.isReference => throw new InvalidOperationException("Redefined by property IEventOccurrenceUsage.IsReference"); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -514,7 +442,11 @@ bool Systems.DefinitionAndUsage.IUsage.QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -535,10 +467,7 @@ bool Systems.DefinitionAndUsage.IUsage.QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool QueryMayTimeVary() - { - return this.ComputeMayTimeVary(); - } + public bool mayTimeVary => this.ComputeMayTimeVary(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -546,10 +475,7 @@ public bool QueryMayTimeVary() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -557,10 +483,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -570,10 +493,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -583,10 +503,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ActionUsages that are nestedUsages of this Usage. @@ -594,10 +511,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List QueryNestedAction() - { - return this.ComputeNestedAction(); - } + public List nestedAction => this.ComputeNestedAction(); /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -605,10 +519,7 @@ public List QueryNestedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List QueryNestedAllocation() - { - return this.ComputeNestedAllocation(); - } + public List nestedAllocation => this.ComputeNestedAllocation(); /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -616,10 +527,7 @@ public List QueryNestedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List QueryNestedAnalysisCase() - { - return this.ComputeNestedAnalysisCase(); - } + public List nestedAnalysisCase => this.ComputeNestedAnalysisCase(); /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -627,10 +535,7 @@ public List QueryNestedAnalysisCase() [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List QueryNestedAttribute() - { - return this.ComputeNestedAttribute(); - } + public List nestedAttribute => this.ComputeNestedAttribute(); /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -638,10 +543,7 @@ public List QueryNestedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List QueryNestedCalculation() - { - return this.ComputeNestedCalculation(); - } + public List nestedCalculation => this.ComputeNestedCalculation(); /// /// The CaseUsages that are nestedUsages of this Usage. @@ -649,10 +551,7 @@ public List QueryNestedCalculation() [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List QueryNestedCase() - { - return this.ComputeNestedCase(); - } + public List nestedCase => this.ComputeNestedCase(); /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -660,10 +559,7 @@ public List QueryNestedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List QueryNestedConcern() - { - return this.ComputeNestedConcern(); - } + public List nestedConcern => this.ComputeNestedConcern(); /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -673,10 +569,7 @@ public List QueryNestedConcern() [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List QueryNestedConnection() - { - return this.ComputeNestedConnection(); - } + public List nestedConnection => this.ComputeNestedConnection(); /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -684,10 +577,7 @@ public List QueryNestedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List QueryNestedConstraint() - { - return this.ComputeNestedConstraint(); - } + public List nestedConstraint => this.ComputeNestedConstraint(); /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -695,10 +585,7 @@ public List QueryNestedConstraint() [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List QueryNestedEnumeration() - { - return this.ComputeNestedEnumeration(); - } + public List nestedEnumeration => this.ComputeNestedEnumeration(); /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -706,10 +593,7 @@ public List QueryNestedEnumeration() [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List QueryNestedFlow() - { - return this.ComputeNestedFlow(); - } + public List nestedFlow => this.ComputeNestedFlow(); /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -717,10 +601,7 @@ public List QueryNestedFlow() [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List QueryNestedInterface() - { - return this.ComputeNestedInterface(); - } + public List nestedInterface => this.ComputeNestedInterface(); /// /// The ItemUsages that are nestedUsages of this Usage. @@ -728,10 +609,7 @@ public List QueryNestedInterface() [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List QueryNestedItem() - { - return this.ComputeNestedItem(); - } + public List nestedItem => this.ComputeNestedItem(); /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -739,10 +617,7 @@ public List QueryNestedItem() [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List QueryNestedMetadata() - { - return this.ComputeNestedMetadata(); - } + public List nestedMetadata => this.ComputeNestedMetadata(); /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -750,10 +625,7 @@ public List QueryNestedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List QueryNestedOccurrence() - { - return this.ComputeNestedOccurrence(); - } + public List nestedOccurrence => this.ComputeNestedOccurrence(); /// /// The PartUsages that are nestedUsages of this Usage. @@ -761,10 +633,7 @@ public List QueryNestedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List QueryNestedPart() - { - return this.ComputeNestedPart(); - } + public List nestedPart => this.ComputeNestedPart(); /// /// The PortUsages that are nestedUsages of this Usage. @@ -772,10 +641,7 @@ public List QueryNestedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List QueryNestedPort() - { - return this.ComputeNestedPort(); - } + public List nestedPort => this.ComputeNestedPort(); /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -783,10 +649,7 @@ public List QueryNestedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List QueryNestedReference() - { - return this.ComputeNestedReference(); - } + public List nestedReference => this.ComputeNestedReference(); /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -794,10 +657,7 @@ public List QueryNestedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List QueryNestedRendering() - { - return this.ComputeNestedRendering(); - } + public List nestedRendering => this.ComputeNestedRendering(); /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -805,10 +665,7 @@ public List QueryNestedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List QueryNestedRequirement() - { - return this.ComputeNestedRequirement(); - } + public List nestedRequirement => this.ComputeNestedRequirement(); /// /// The StateUsages that are nestedUsages of this Usage. @@ -816,10 +673,7 @@ public List QueryNestedRequirement() [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List QueryNestedState() - { - return this.ComputeNestedState(); - } + public List nestedState => this.ComputeNestedState(); /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -827,10 +681,7 @@ public List QueryNestedState() [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List QueryNestedTransition() - { - return this.ComputeNestedTransition(); - } + public List nestedTransition => this.ComputeNestedTransition(); /// /// The Usages that are ownedFeatures of this Usage. @@ -839,10 +690,7 @@ public List QueryNestedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List QueryNestedUsage() - { - return this.ComputeNestedUsage(); - } + public List nestedUsage => this.ComputeNestedUsage(); /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -850,10 +698,7 @@ public List QueryNestedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List QueryNestedUseCase() - { - return this.ComputeNestedUseCase(); - } + public List nestedUseCase => this.ComputeNestedUseCase(); /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -861,10 +706,7 @@ public List QueryNestedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List QueryNestedVerificationCase() - { - return this.ComputeNestedVerificationCase(); - } + public List nestedVerificationCase => this.ComputeNestedVerificationCase(); /// /// The ViewUsages that are nestedUsages of this Usage. @@ -872,10 +714,7 @@ public List QueryNestedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List QueryNestedView() - { - return this.ComputeNestedView(); - } + public List nestedView => this.ComputeNestedView(); /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -883,10 +722,7 @@ public List QueryNestedView() [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List QueryNestedViewpoint() - { - return this.ComputeNestedViewpoint(); - } + public List nestedViewpoint => this.ComputeNestedViewpoint(); /// /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, @@ -896,10 +732,7 @@ public List QueryNestedViewpoint() [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List QueryOccurrenceDefinition() - { - return this.ComputeOccurrenceDefinition(); - } + public List occurrenceDefinition => this.ComputeOccurrenceDefinition(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -907,10 +740,7 @@ public List QueryOccurrenceDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -920,10 +750,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -932,10 +759,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -944,10 +768,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -957,10 +778,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -970,10 +788,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -981,10 +796,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -993,10 +805,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -1004,10 +813,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -1017,10 +823,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -1030,10 +833,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -1043,10 +843,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -1056,10 +853,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -1068,10 +862,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -1080,10 +871,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -1094,10 +882,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -1106,10 +891,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -1118,10 +900,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -1139,10 +918,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -1152,10 +928,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -1165,10 +938,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -1178,10 +948,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1190,10 +957,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1201,10 +965,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The Definition that owns this Usage (if any). @@ -1213,10 +974,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public IDefinition QueryOwningDefinition() - { - return this.ComputeOwningDefinition(); - } + public IDefinition owningDefinition => this.ComputeOwningDefinition(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1224,10 +982,7 @@ public IDefinition QueryOwningDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1236,10 +991,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1248,10 +1000,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -1269,10 +1018,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The Usage in which this Usage is nested (if any). @@ -1280,10 +1026,7 @@ public IType QueryOwningType() [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public IUsage QueryOwningUsage() - { - return this.ComputeOwningUsage(); - } + public IUsage owningUsage => this.ComputeOwningUsage(); /// /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If @@ -1304,10 +1047,7 @@ public IUsage QueryOwningUsage() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1317,10 +1057,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -1329,10 +1066,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1343,10 +1077,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1357,10 +1088,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1368,10 +1096,7 @@ public List QueryUnioningType() [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1380,10 +1105,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1392,10 +1114,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/ExhibitStateUsage.cs b/SysML2.NET/Core/AutoGenPoco/ExhibitStateUsage.cs index 0b1d7290..655fbc9d 100644 --- a/SysML2.NET/Core/AutoGenPoco/ExhibitStateUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/ExhibitStateUsage.cs @@ -88,10 +88,7 @@ public partial class ExhibitStateUsage : IExhibitStateUsage [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [RedefinedByProperty("IStateUsage.StateDefinition")] [Implements(implementation: "IActionUsage.ActionDefinition")] - public List QueryActionDefinition() - { - return this.ComputeActionDefinition(); - } + List Systems.Actions.IActionUsage.actionDefinition => throw new InvalidOperationException("Redefined by property IStateUsage.StateDefinition"); /// /// Various alternative identifiers for this Element. Generally, these will be set by tools. @@ -107,10 +104,7 @@ public List QueryActionDefinition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IActionUsage.ActionDefinition")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -122,10 +116,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -135,10 +126,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -166,10 +154,7 @@ public IFeature QueryCrossFeature() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] [Implements(implementation: "IUsage.Definition")] - public List QueryDefinition() - { - return this.ComputeDefinition(); - } + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -182,10 +167,7 @@ public List QueryDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -194,10 +176,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// The usages of this Usage that are directedFeatures. @@ -206,10 +185,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -226,10 +202,7 @@ public List QueryDirectedUsage() /// [Property(xmiId: "_19_0_2_12e503d9_1582976255473_203238_644", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IStateUsage.DoAction")] - public IActionUsage QueryDoAction() - { - return this.ComputeDoAction(); - } + public IActionUsage doAction => this.ComputeDoAction(); /// /// The Documentation owned by this Element. @@ -238,10 +211,7 @@ public IActionUsage QueryDoAction() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -257,10 +227,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -270,10 +237,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ActionUsage of this StateUsage to be performed on entry to the state defined by the @@ -282,10 +246,7 @@ public IType QueryEndOwningType() /// [Property(xmiId: "_19_0_2_12e503d9_1582976239200_979652_605", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IStateUsage.EntryAction")] - public IActionUsage QueryEntryAction() - { - return this.ComputeEntryAction(); - } + public IActionUsage entryAction => this.ComputeEntryAction(); /// /// The OccurrenceUsage referenced as an event by this EventOccurrenceUsage. It is the referenceFeature @@ -295,10 +256,7 @@ public IActionUsage QueryEntryAction() [Property(xmiId: "_19_0_4_12e503d9_1622831790393_676695_195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IPerformActionUsage.PerformedAction")] [Implements(implementation: "IEventOccurrenceUsage.EventOccurrence")] - public IOccurrenceUsage QueryEventOccurrence() - { - return this.ComputeEventOccurrence(); - } + IOccurrenceUsage Systems.Occurrences.IEventOccurrenceUsage.eventOccurrence => throw new InvalidOperationException("Redefined by property IPerformActionUsage.PerformedAction"); /// /// The StateUsage to be exhibited by the ExhibitStateUsage. It is the performedAction of the @@ -307,10 +265,7 @@ public IOccurrenceUsage QueryEventOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1577070999039_688794_260", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1567740791820_867719_18017")] [Implements(implementation: "IExhibitStateUsage.ExhibitedState")] - public IStateUsage QueryExhibitedState() - { - return this.ComputeExhibitedState(); - } + public IStateUsage exhibitedState => this.ComputeExhibitedState(); /// /// The ActionUsage of this StateUsage to be performed on exit to the state defined by the @@ -319,10 +274,7 @@ public IStateUsage QueryExhibitedState() /// [Property(xmiId: "_19_0_2_12e503d9_1582976283940_998741_691", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IStateUsage.ExitAction")] - public IActionUsage QueryExitAction() - { - return this.ComputeExitAction(); - } + public IActionUsage exitAction => this.ComputeExitAction(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -330,10 +282,7 @@ public IActionUsage QueryExitAction() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -342,20 +291,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -365,10 +308,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -376,10 +316,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// The at most one occurrenceDefinition that has isIndividual = true. @@ -387,10 +324,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public IOccurrenceDefinition QueryIndividualDefinition() - { - return this.ComputeIndividualDefinition(); - } + public IOccurrenceDefinition individualDefinition => this.ComputeIndividualDefinition(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -398,10 +332,7 @@ public IOccurrenceDefinition QueryIndividualDefinition() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -410,10 +341,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -421,10 +349,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -437,10 +362,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -464,10 +386,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -522,10 +441,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -557,10 +473,7 @@ public bool QueryIsLibraryElement() [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IEventOccurrenceUsage.IsReference")] [Implements(implementation: "IUsage.IsReference")] - bool Systems.DefinitionAndUsage.IUsage.QueryIsReference() - { - return this.ComputeIsReference(); - } + bool Systems.DefinitionAndUsage.IUsage.isReference => throw new InvalidOperationException("Redefined by property IEventOccurrenceUsage.IsReference"); /// /// Always true for an EventOccurrenceUsage. @@ -568,10 +481,7 @@ bool Systems.DefinitionAndUsage.IUsage.QueryIsReference() [Property(xmiId: "_19_0_4_12e503d9_1672526906017_786343_306", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: "true")] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1624035114787_488767_41423")] [Implements(implementation: "IEventOccurrenceUsage.IsReference")] - bool Systems.Occurrences.IEventOccurrenceUsage.QueryIsReference() - { - return this.ComputeIsReference(); - } + public bool isReference => this.ComputeIsReference(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -599,7 +509,11 @@ bool Systems.Occurrences.IEventOccurrenceUsage.QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -620,10 +534,7 @@ bool Systems.Occurrences.IEventOccurrenceUsage.QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool QueryMayTimeVary() - { - return this.ComputeMayTimeVary(); - } + public bool mayTimeVary => this.ComputeMayTimeVary(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -631,10 +542,7 @@ public bool QueryMayTimeVary() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -642,10 +550,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -655,10 +560,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -668,10 +570,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ActionUsages that are nestedUsages of this Usage. @@ -679,10 +578,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List QueryNestedAction() - { - return this.ComputeNestedAction(); - } + public List nestedAction => this.ComputeNestedAction(); /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -690,10 +586,7 @@ public List QueryNestedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List QueryNestedAllocation() - { - return this.ComputeNestedAllocation(); - } + public List nestedAllocation => this.ComputeNestedAllocation(); /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -701,10 +594,7 @@ public List QueryNestedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List QueryNestedAnalysisCase() - { - return this.ComputeNestedAnalysisCase(); - } + public List nestedAnalysisCase => this.ComputeNestedAnalysisCase(); /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -712,10 +602,7 @@ public List QueryNestedAnalysisCase() [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List QueryNestedAttribute() - { - return this.ComputeNestedAttribute(); - } + public List nestedAttribute => this.ComputeNestedAttribute(); /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -723,10 +610,7 @@ public List QueryNestedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List QueryNestedCalculation() - { - return this.ComputeNestedCalculation(); - } + public List nestedCalculation => this.ComputeNestedCalculation(); /// /// The CaseUsages that are nestedUsages of this Usage. @@ -734,10 +618,7 @@ public List QueryNestedCalculation() [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List QueryNestedCase() - { - return this.ComputeNestedCase(); - } + public List nestedCase => this.ComputeNestedCase(); /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -745,10 +626,7 @@ public List QueryNestedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List QueryNestedConcern() - { - return this.ComputeNestedConcern(); - } + public List nestedConcern => this.ComputeNestedConcern(); /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -758,10 +636,7 @@ public List QueryNestedConcern() [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List QueryNestedConnection() - { - return this.ComputeNestedConnection(); - } + public List nestedConnection => this.ComputeNestedConnection(); /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -769,10 +644,7 @@ public List QueryNestedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List QueryNestedConstraint() - { - return this.ComputeNestedConstraint(); - } + public List nestedConstraint => this.ComputeNestedConstraint(); /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -780,10 +652,7 @@ public List QueryNestedConstraint() [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List QueryNestedEnumeration() - { - return this.ComputeNestedEnumeration(); - } + public List nestedEnumeration => this.ComputeNestedEnumeration(); /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -791,10 +660,7 @@ public List QueryNestedEnumeration() [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List QueryNestedFlow() - { - return this.ComputeNestedFlow(); - } + public List nestedFlow => this.ComputeNestedFlow(); /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -802,10 +668,7 @@ public List QueryNestedFlow() [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List QueryNestedInterface() - { - return this.ComputeNestedInterface(); - } + public List nestedInterface => this.ComputeNestedInterface(); /// /// The ItemUsages that are nestedUsages of this Usage. @@ -813,10 +676,7 @@ public List QueryNestedInterface() [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List QueryNestedItem() - { - return this.ComputeNestedItem(); - } + public List nestedItem => this.ComputeNestedItem(); /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -824,10 +684,7 @@ public List QueryNestedItem() [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List QueryNestedMetadata() - { - return this.ComputeNestedMetadata(); - } + public List nestedMetadata => this.ComputeNestedMetadata(); /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -835,10 +692,7 @@ public List QueryNestedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List QueryNestedOccurrence() - { - return this.ComputeNestedOccurrence(); - } + public List nestedOccurrence => this.ComputeNestedOccurrence(); /// /// The PartUsages that are nestedUsages of this Usage. @@ -846,10 +700,7 @@ public List QueryNestedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List QueryNestedPart() - { - return this.ComputeNestedPart(); - } + public List nestedPart => this.ComputeNestedPart(); /// /// The PortUsages that are nestedUsages of this Usage. @@ -857,10 +708,7 @@ public List QueryNestedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List QueryNestedPort() - { - return this.ComputeNestedPort(); - } + public List nestedPort => this.ComputeNestedPort(); /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -868,10 +716,7 @@ public List QueryNestedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List QueryNestedReference() - { - return this.ComputeNestedReference(); - } + public List nestedReference => this.ComputeNestedReference(); /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -879,10 +724,7 @@ public List QueryNestedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List QueryNestedRendering() - { - return this.ComputeNestedRendering(); - } + public List nestedRendering => this.ComputeNestedRendering(); /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -890,10 +732,7 @@ public List QueryNestedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List QueryNestedRequirement() - { - return this.ComputeNestedRequirement(); - } + public List nestedRequirement => this.ComputeNestedRequirement(); /// /// The StateUsages that are nestedUsages of this Usage. @@ -901,10 +740,7 @@ public List QueryNestedRequirement() [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List QueryNestedState() - { - return this.ComputeNestedState(); - } + public List nestedState => this.ComputeNestedState(); /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -912,10 +748,7 @@ public List QueryNestedState() [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List QueryNestedTransition() - { - return this.ComputeNestedTransition(); - } + public List nestedTransition => this.ComputeNestedTransition(); /// /// The Usages that are ownedFeatures of this Usage. @@ -924,10 +757,7 @@ public List QueryNestedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List QueryNestedUsage() - { - return this.ComputeNestedUsage(); - } + public List nestedUsage => this.ComputeNestedUsage(); /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -935,10 +765,7 @@ public List QueryNestedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List QueryNestedUseCase() - { - return this.ComputeNestedUseCase(); - } + public List nestedUseCase => this.ComputeNestedUseCase(); /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -946,10 +773,7 @@ public List QueryNestedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List QueryNestedVerificationCase() - { - return this.ComputeNestedVerificationCase(); - } + public List nestedVerificationCase => this.ComputeNestedVerificationCase(); /// /// The ViewUsages that are nestedUsages of this Usage. @@ -957,10 +781,7 @@ public List QueryNestedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List QueryNestedView() - { - return this.ComputeNestedView(); - } + public List nestedView => this.ComputeNestedView(); /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -968,10 +789,7 @@ public List QueryNestedView() [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List QueryNestedViewpoint() - { - return this.ComputeNestedViewpoint(); - } + public List nestedViewpoint => this.ComputeNestedViewpoint(); /// /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, @@ -982,10 +800,7 @@ public List QueryNestedViewpoint() [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] [RedefinedByProperty("IActionUsage.ActionDefinition")] [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List QueryOccurrenceDefinition() - { - return this.ComputeOccurrenceDefinition(); - } + List Systems.Occurrences.IOccurrenceUsage.occurrenceDefinition => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -993,10 +808,7 @@ public List QueryOccurrenceDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -1006,10 +818,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -1018,10 +827,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -1030,10 +836,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -1043,10 +846,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -1056,10 +856,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -1067,10 +864,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -1079,10 +873,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -1090,10 +881,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -1103,10 +891,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -1116,10 +901,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -1129,10 +911,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -1142,10 +921,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -1154,10 +930,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -1166,10 +939,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -1180,10 +950,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -1192,10 +959,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -1204,10 +968,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -1225,10 +986,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -1238,10 +996,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -1251,10 +1006,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -1264,10 +1016,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1276,10 +1025,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1287,10 +1033,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The Definition that owns this Usage (if any). @@ -1299,10 +1042,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public IDefinition QueryOwningDefinition() - { - return this.ComputeOwningDefinition(); - } + public IDefinition owningDefinition => this.ComputeOwningDefinition(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1310,10 +1050,7 @@ public IDefinition QueryOwningDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1322,10 +1059,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1334,10 +1068,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -1355,10 +1086,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The Usage in which this Usage is nested (if any). @@ -1366,10 +1094,7 @@ public IType QueryOwningType() [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public IUsage QueryOwningUsage() - { - return this.ComputeOwningUsage(); - } + public IUsage owningUsage => this.ComputeOwningUsage(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -1378,10 +1103,7 @@ public IUsage QueryOwningUsage() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The ActionUsage to be performed by this PerformedActionUsage. It is the eventOccurrence of the @@ -1391,10 +1113,7 @@ public List QueryParameter() [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1622831790393_676695_195")] [RedefinedByProperty("IExhibitStateUsage.ExhibitedState")] [Implements(implementation: "IPerformActionUsage.PerformedAction")] - public IActionUsage QueryPerformedAction() - { - return this.ComputePerformedAction(); - } + IActionUsage Systems.Actions.IPerformActionUsage.performedAction => throw new InvalidOperationException("Redefined by property IExhibitStateUsage.ExhibitedState"); /// /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If @@ -1415,10 +1134,7 @@ public IActionUsage QueryPerformedAction() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1428,10 +1144,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The Behaviors that are the types of this StateUsage. Nominally, these would be StateDefinitions, but @@ -1440,10 +1153,7 @@ public string QueryShortName() [Property(xmiId: "_19_0_2_12e503d9_1575588456737_49200_1438", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1565500905804_589845_30779")] [Implements(implementation: "IStateUsage.StateDefinition")] - public List QueryStateDefinition() - { - return this.ComputeStateDefinition(); - } + public List stateDefinition => this.ComputeStateDefinition(); /// /// The TextualRepresentations that annotate this Element. @@ -1452,10 +1162,7 @@ public List QueryStateDefinition() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1466,10 +1173,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1480,10 +1184,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1491,10 +1192,7 @@ public List QueryUnioningType() [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1503,10 +1201,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1515,10 +1210,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/Expose.cs b/SysML2.NET/Core/AutoGenPoco/Expose.cs index d191cd1b..b9daead1 100644 --- a/SysML2.NET/Core/AutoGenPoco/Expose.cs +++ b/SysML2.NET/Core/AutoGenPoco/Expose.cs @@ -80,10 +80,7 @@ public partial class Expose : IExpose [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -99,10 +96,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1668801846848_909736_64", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IImport.ImportedElement")] - public IElement QueryImportedElement() - { - return this.ComputeImportedElement(); - } + public IElement importedElement => this.ComputeImportedElement(); /// /// The Namespace into which Memberships are imported by this Import, which must be the @@ -112,10 +106,7 @@ public IElement QueryImportedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [Implements(implementation: "IImport.ImportOwningNamespace")] - public INamespace QueryImportOwningNamespace() - { - return this.ComputeImportOwningNamespace(); - } + public INamespace importOwningNamespace => this.ComputeImportOwningNamespace(); /// /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being @@ -142,7 +133,7 @@ public INamespace QueryImportOwningNamespace() [Property(xmiId: "_19_0_4_12e503d9_1622578615027_762161_80", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1622577942205_869984_64")] [Implements(implementation: "IExpose.IsImportAll")] - bool IExpose.IsImportAll { get; set; } + public bool IsImportAll { get; set; } /// /// Whether to import memberships without regard to declared visibility. @@ -150,17 +141,18 @@ public INamespace QueryImportOwningNamespace() [Property(xmiId: "_19_0_4_12e503d9_1622577942205_869984_64", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IExpose.IsImportAll")] [Implements(implementation: "IImport.IsImportAll")] - bool Root.Namespaces.IImport.IsImportAll { get; set; } + bool Root.Namespaces.IImport.IsImportAll + { + get => throw new InvalidOperationException("Redefined by property IExpose.IsImportAll"); + set => throw new InvalidOperationException("Redefined by property IExpose.IsImportAll"); + } /// /// Whether this Element is contained in the ownership tree of a library model. /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether to recursively import Memberships from visible, owned sub-Namespaces. @@ -177,10 +169,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -190,10 +179,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -201,10 +187,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -228,10 +211,7 @@ public List QueryOwnedElement() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -240,10 +220,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -252,10 +229,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -283,10 +257,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -294,10 +265,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + public List relatedElement => this.ComputeRelatedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -307,10 +275,7 @@ public List QueryRelatedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -319,7 +284,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IImport.ImportOwningNamespace")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IImport.ImportOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IImport.ImportOwningNamespace"); + } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -336,10 +305,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// An Expose always has protected visibility. @@ -347,7 +313,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_2022x_2_12e503d9_1720469034555_222060_1140", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "protected")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674976_798509_43257")] [Implements(implementation: "IExpose.Visibility")] - VisibilityKind IExpose.Visibility { get; set; } + public VisibilityKind Visibility { get; set; } /// /// The visibility level of the imported members from this Import relative to the importOwningNamespace. @@ -356,7 +322,11 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674976_798509_43257", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "private")] [RedefinedByProperty("IExpose.Visibility")] [Implements(implementation: "IImport.Visibility")] - VisibilityKind Root.Namespaces.IImport.Visibility { get; set; } + VisibilityKind Root.Namespaces.IImport.Visibility + { + get => throw new InvalidOperationException("Redefined by property IExpose.Visibility"); + set => throw new InvalidOperationException("Redefined by property IExpose.Visibility"); + } } } diff --git a/SysML2.NET/Core/AutoGenPoco/Expression.cs b/SysML2.NET/Core/AutoGenPoco/Expression.cs index ee5b940e..466e2bd9 100644 --- a/SysML2.NET/Core/AutoGenPoco/Expression.cs +++ b/SysML2.NET/Core/AutoGenPoco/Expression.cs @@ -69,10 +69,7 @@ public partial class Expression : IExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IExpression.Function")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -84,10 +81,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -97,10 +91,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -130,10 +121,7 @@ public IFeature QueryCrossFeature() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -142,10 +130,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -162,10 +147,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -181,10 +163,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -194,10 +173,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -205,10 +181,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -217,20 +190,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -240,10 +207,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Function that types this Expression. @@ -251,10 +215,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [Implements(implementation: "IExpression.Function")] - public IFunction QueryFunction() - { - return this.ComputeFunction(); - } + public IFunction function => this.ComputeFunction(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -262,10 +223,7 @@ public IFunction QueryFunction() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -273,10 +231,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -285,10 +240,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -296,10 +248,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -312,10 +261,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -339,10 +285,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -389,10 +332,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, @@ -400,10 +340,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool QueryIsModelLevelEvaluable() - { - return this.ComputeIsModelLevelEvaluable(); - } + public bool isModelLevelEvaluable => this.ComputeIsModelLevelEvaluable(); /// /// Whether an order exists for the values of this Feature or not. @@ -453,10 +390,7 @@ public bool QueryIsModelLevelEvaluable() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -464,10 +398,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -477,10 +408,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -490,10 +418,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -501,10 +426,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -514,10 +436,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -526,10 +445,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -538,10 +454,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -551,10 +464,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -564,10 +474,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -575,10 +482,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -587,10 +491,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -598,10 +499,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -611,10 +509,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -624,10 +519,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -637,10 +529,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -650,10 +539,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -662,10 +548,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -674,10 +557,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -688,10 +568,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -700,10 +577,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -712,10 +586,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -733,10 +604,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -746,10 +614,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -759,10 +624,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -772,10 +634,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -784,10 +643,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -795,10 +651,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -806,10 +659,7 @@ public IElement QueryOwner() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -818,10 +668,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -830,10 +677,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -851,10 +695,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -863,10 +704,7 @@ public IType QueryOwningType() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -878,10 +716,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// An output parameter of the Expression whose value is the result of the Expression. The result of an @@ -892,10 +727,7 @@ public string QueryQualifiedName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [Implements(implementation: "IExpression.Result")] - public IFeature QueryResult() - { - return this.ComputeResult(); - } + public IFeature result => this.ComputeResult(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -905,10 +737,7 @@ public IFeature QueryResult() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -917,10 +746,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -930,10 +756,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + public List type => this.ComputeType(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -944,10 +767,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/Feature.cs b/SysML2.NET/Core/AutoGenPoco/Feature.cs index b4be6d9f..6041d824 100644 --- a/SysML2.NET/Core/AutoGenPoco/Feature.cs +++ b/SysML2.NET/Core/AutoGenPoco/Feature.cs @@ -80,10 +80,7 @@ public partial class Feature : IFeature /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -93,10 +90,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -126,10 +120,7 @@ public IFeature QueryCrossFeature() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -137,10 +128,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -157,10 +145,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -176,10 +161,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -189,10 +171,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -200,10 +179,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -212,20 +188,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -235,10 +205,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -246,10 +213,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -257,10 +221,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -269,10 +230,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -280,10 +238,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -296,10 +251,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -323,10 +275,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -373,10 +322,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -426,10 +372,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -437,10 +380,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -450,10 +390,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -463,10 +400,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -474,10 +408,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -487,10 +418,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -499,10 +427,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -511,10 +436,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -524,10 +446,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -537,10 +456,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -548,10 +464,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -560,10 +473,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -571,10 +481,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -584,10 +491,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -597,10 +501,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -610,10 +511,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -623,10 +521,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -635,10 +530,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -647,10 +539,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -661,10 +550,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -673,10 +559,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -685,10 +568,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -706,10 +586,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -719,10 +596,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -732,10 +606,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -745,10 +616,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -757,10 +625,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -768,10 +633,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -779,10 +641,7 @@ public IElement QueryOwner() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -791,10 +650,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -803,10 +659,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -824,10 +677,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -839,10 +689,7 @@ public IType QueryOwningType() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -852,10 +699,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -864,10 +708,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -877,10 +718,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + public List type => this.ComputeType(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -891,10 +729,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/FeatureChainExpression.cs b/SysML2.NET/Core/AutoGenPoco/FeatureChainExpression.cs index 2329dd11..94cab7e8 100644 --- a/SysML2.NET/Core/AutoGenPoco/FeatureChainExpression.cs +++ b/SysML2.NET/Core/AutoGenPoco/FeatureChainExpression.cs @@ -69,10 +69,7 @@ public partial class FeatureChainExpression : IFeatureChainExpression /// [Property(xmiId: "_2022x_2_12e503d9_1739134437590_328753_108", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IInstantiationExpression.Argument")] - public List QueryArgument() - { - return this.ComputeArgument(); - } + public List argument => this.ComputeArgument(); /// /// The Behaviors that type this Step. @@ -81,10 +78,7 @@ public List QueryArgument() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IExpression.Function")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -96,10 +90,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -109,10 +100,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -142,10 +130,7 @@ public IFeature QueryCrossFeature() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -154,10 +139,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -174,10 +156,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -193,10 +172,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -206,10 +182,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -217,10 +190,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -229,20 +199,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -252,10 +216,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Function that types this Expression. @@ -263,10 +224,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [Implements(implementation: "IExpression.Function")] - public IFunction QueryFunction() - { - return this.ComputeFunction(); - } + public IFunction function => this.ComputeFunction(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -274,10 +232,7 @@ public IFunction QueryFunction() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -285,10 +240,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -297,10 +249,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -308,10 +257,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The Type that is being instantiated. @@ -319,10 +265,7 @@ public List QueryInput() [Property(xmiId: "_2022x_2_12e503d9_1739134352572_416088_80", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IInstantiationExpression.InstantiatedType")] - public IType QueryInstantiatedType() - { - return this.ComputeInstantiatedType(); - } + public IType instantiatedType => this.ComputeInstantiatedType(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -335,10 +278,7 @@ public IType QueryInstantiatedType() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -362,10 +302,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -412,10 +349,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, @@ -423,10 +357,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool QueryIsModelLevelEvaluable() - { - return this.ComputeIsModelLevelEvaluable(); - } + public bool isModelLevelEvaluable => this.ComputeIsModelLevelEvaluable(); /// /// Whether an order exists for the values of this Feature or not. @@ -476,10 +407,7 @@ public bool QueryIsModelLevelEvaluable() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -487,10 +415,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -500,10 +425,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -513,17 +435,14 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// [Property(xmiId: "_19_0_4_12e503d9_1645049784007_509459_41", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: ".")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1557528808100_646606_111674")] [Implements(implementation: "IFeatureChainExpression.Operator")] - string IFeatureChainExpression.Operator { get; set; } + public string Operator { get; set; } /// /// An operator symbol that names a corresponding Function from one of the standard packages from the @@ -532,7 +451,11 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1557528808100_646606_111674", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IFeatureChainExpression.Operator")] [Implements(implementation: "IOperatorExpression.Operator")] - string IOperatorExpression.Operator { get; set; } + string IOperatorExpression.Operator + { + get => throw new InvalidOperationException("Redefined by property IFeatureChainExpression.Operator"); + set => throw new InvalidOperationException("Redefined by property IFeatureChainExpression.Operator"); + } /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -540,10 +463,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -553,10 +473,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -565,10 +482,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -577,10 +491,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -590,10 +501,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -603,10 +511,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -614,10 +519,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -626,10 +528,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -637,10 +536,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -650,10 +546,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -663,10 +556,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -676,10 +566,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -689,10 +576,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -701,10 +585,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -713,10 +594,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -727,10 +605,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -739,10 +614,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -751,10 +623,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -772,10 +641,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -785,10 +651,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -798,10 +661,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -811,10 +671,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -823,10 +680,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -834,10 +688,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -845,10 +696,7 @@ public IElement QueryOwner() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -857,10 +705,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -869,10 +714,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -890,10 +732,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -902,10 +741,7 @@ public IType QueryOwningType() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -917,10 +753,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// An output parameter of the Expression whose value is the result of the Expression. The result of an @@ -931,10 +764,7 @@ public string QueryQualifiedName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [Implements(implementation: "IExpression.Result")] - public IFeature QueryResult() - { - return this.ComputeResult(); - } + public IFeature result => this.ComputeResult(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -944,10 +774,7 @@ public IFeature QueryResult() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The Feature that is accessed by this FeatureChainExpression, which is its first non-parameter @@ -956,10 +783,7 @@ public string QueryShortName() [Property(xmiId: "_19_0_4_12e503d9_1645049897369_762611_49", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IFeatureChainExpression.TargetFeature")] - public IFeature QueryTargetFeature() - { - return this.ComputeTargetFeature(); - } + public IFeature targetFeature => this.ComputeTargetFeature(); /// /// The TextualRepresentations that annotate this Element. @@ -968,10 +792,7 @@ public IFeature QueryTargetFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -981,10 +802,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + public List type => this.ComputeType(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -995,10 +813,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/FeatureChaining.cs b/SysML2.NET/Core/AutoGenPoco/FeatureChaining.cs index a3463fe7..f286ab3b 100644 --- a/SysML2.NET/Core/AutoGenPoco/FeatureChaining.cs +++ b/SysML2.NET/Core/AutoGenPoco/FeatureChaining.cs @@ -88,10 +88,7 @@ public partial class FeatureChaining : IFeatureChaining [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -109,10 +106,7 @@ public List QueryDocumentation() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [Implements(implementation: "IFeatureChaining.FeatureChained")] - public IFeature QueryFeatureChained() - { - return this.ComputeFeatureChained(); - } + public IFeature featureChained => this.ComputeFeatureChained(); /// /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being @@ -138,10 +132,7 @@ public IFeature QueryFeatureChained() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -151,10 +142,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -164,10 +152,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -175,10 +160,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -202,10 +184,7 @@ public List QueryOwnedElement() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -214,10 +193,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -226,10 +202,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -257,10 +230,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -268,10 +238,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + public List relatedElement => this.ComputeRelatedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -281,10 +248,7 @@ public List QueryRelatedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -293,7 +257,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IFeatureChaining.FeatureChained")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IFeatureChaining.FeatureChained"); + set => throw new InvalidOperationException("Redefined by property IFeatureChaining.FeatureChained"); + } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -302,7 +270,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IFeatureChaining.ChainingFeature")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IFeatureChaining.ChainingFeature"); + set => throw new InvalidOperationException("Redefined by property IFeatureChaining.ChainingFeature"); + } /// /// The TextualRepresentations that annotate this Element. @@ -311,10 +283,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/FeatureInverting.cs b/SysML2.NET/Core/AutoGenPoco/FeatureInverting.cs index 8ea3cdd5..4b874df7 100644 --- a/SysML2.NET/Core/AutoGenPoco/FeatureInverting.cs +++ b/SysML2.NET/Core/AutoGenPoco/FeatureInverting.cs @@ -82,10 +82,7 @@ public partial class FeatureInverting : IFeatureInverting [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -135,10 +132,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -148,10 +142,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -161,10 +152,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -172,10 +160,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -199,10 +184,7 @@ public List QueryOwnedElement() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// A featureInverted that is also the owningRelatedElement of this FeatureInverting. @@ -211,10 +193,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838862_842173_146")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] [Implements(implementation: "IFeatureInverting.OwningFeature")] - public IFeature QueryOwningFeature() - { - return this.ComputeOwningFeature(); - } + public IFeature owningFeature => this.ComputeOwningFeature(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -223,10 +202,7 @@ public IFeature QueryOwningFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -235,10 +211,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -266,10 +239,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -277,10 +247,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + public List relatedElement => this.ComputeRelatedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -290,10 +257,7 @@ public List QueryRelatedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -302,7 +266,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IFeatureInverting.FeatureInverted")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IFeatureInverting.FeatureInverted"); + set => throw new InvalidOperationException("Redefined by property IFeatureInverting.FeatureInverted"); + } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -311,7 +279,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IFeatureInverting.InvertingFeature")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IFeatureInverting.InvertingFeature"); + set => throw new InvalidOperationException("Redefined by property IFeatureInverting.InvertingFeature"); + } /// /// The TextualRepresentations that annotate this Element. @@ -320,10 +292,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/FeatureMembership.cs b/SysML2.NET/Core/AutoGenPoco/FeatureMembership.cs index 912a6588..750d8555 100644 --- a/SysML2.NET/Core/AutoGenPoco/FeatureMembership.cs +++ b/SysML2.NET/Core/AutoGenPoco/FeatureMembership.cs @@ -84,10 +84,7 @@ public partial class FeatureMembership : IFeatureMembership [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -121,10 +118,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. @@ -133,7 +127,11 @@ public bool QueryIsLibraryElement() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] [Implements(implementation: "IMembership.MemberElement")] - public IElement MemberElement { get; set; } + IElement Root.Namespaces.IMembership.MemberElement + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + } /// /// The elementId of the memberElement. @@ -141,10 +139,7 @@ public bool QueryIsLibraryElement() [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] [Implements(implementation: "IMembership.MemberElementId")] - public string QueryMemberElementId() - { - return this.ComputeMemberElementId(); - } + string Root.Namespaces.IMembership.memberElementId => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElementId"); /// /// The name of the memberElement relative to the membershipOwningNamespace. @@ -152,7 +147,11 @@ public string QueryMemberElementId() [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberName")] [Implements(implementation: "IMembership.MemberName")] - public string MemberName { get; set; } + string Root.Namespaces.IMembership.MemberName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + } /// /// The Namespace of which the memberElement becomes a member due to this Membership. @@ -163,10 +162,7 @@ public string QueryMemberElementId() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [RedefinedByProperty("IFeatureMembership.OwningType")] [Implements(implementation: "IMembership.MembershipOwningNamespace")] - public INamespace QueryMembershipOwningNamespace() - { - return this.ComputeMembershipOwningNamespace(); - } + INamespace Root.Namespaces.IMembership.membershipOwningNamespace => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwningType"); /// /// The short name of the memberElement relative to the membershipOwningNamespace. @@ -174,7 +170,11 @@ public INamespace QueryMembershipOwningNamespace() [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] [Implements(implementation: "IMembership.MemberShortName")] - public string MemberShortName { get; set; } + string Root.Namespaces.IMembership.MemberShortName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + } /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -184,10 +184,7 @@ public INamespace QueryMembershipOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -197,10 +194,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -208,10 +202,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this @@ -222,10 +213,7 @@ public List QueryOwnedElement() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] [RedefinedByProperty("IFeatureMembership.OwnedMemberFeature")] [Implements(implementation: "IOwningMembership.OwnedMemberElement")] - public IElement QueryOwnedMemberElement() - { - return this.ComputeOwnedMemberElement(); - } + IElement Root.Namespaces.IOwningMembership.ownedMemberElement => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwnedMemberFeature"); /// /// The elementId of the ownedMemberElement. @@ -233,10 +221,7 @@ public IElement QueryOwnedMemberElement() [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] - public string QueryOwnedMemberElementId() - { - return this.ComputeOwnedMemberElementId(); - } + public string ownedMemberElementId => this.ComputeOwnedMemberElementId(); /// /// The Feature that this FeatureMembership relates to its owningType, making it an ownedFeature of the @@ -245,10 +230,7 @@ public string QueryOwnedMemberElementId() [Property(xmiId: "_18_5_3_12e503d9_1533160674993_898044_43344", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] [Implements(implementation: "IFeatureMembership.OwnedMemberFeature")] - public IFeature QueryOwnedMemberFeature() - { - return this.ComputeOwnedMemberFeature(); - } + public IFeature ownedMemberFeature => this.ComputeOwnedMemberFeature(); /// /// The name of the ownedMemberElement. @@ -256,10 +238,7 @@ public IFeature QueryOwnedMemberFeature() [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] [Implements(implementation: "IOwningMembership.OwnedMemberName")] - public string QueryOwnedMemberName() - { - return this.ComputeOwnedMemberName(); - } + public string ownedMemberName => this.ComputeOwnedMemberName(); /// /// The shortName of the ownedMemberElement. @@ -267,10 +246,7 @@ public string QueryOwnedMemberName() [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] - public string QueryOwnedMemberShortName() - { - return this.ComputeOwnedMemberShortName(); - } + public string ownedMemberShortName => this.ComputeOwnedMemberShortName(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -294,10 +270,7 @@ public string QueryOwnedMemberShortName() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -306,10 +279,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -318,10 +288,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -346,10 +313,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866524_738482_486")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] [Implements(implementation: "IFeatureMembership.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -361,10 +325,7 @@ public IType QueryOwningType() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -372,10 +333,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + public List relatedElement => this.ComputeRelatedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -385,10 +343,7 @@ public List QueryRelatedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -397,7 +352,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembership.MembershipOwningNamespace")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -406,7 +365,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembership.MemberElement")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + set => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + } /// /// The TextualRepresentations that annotate this Element. @@ -415,10 +378,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly diff --git a/SysML2.NET/Core/AutoGenPoco/FeatureReferenceExpression.cs b/SysML2.NET/Core/AutoGenPoco/FeatureReferenceExpression.cs index 05743418..ae98fab6 100644 --- a/SysML2.NET/Core/AutoGenPoco/FeatureReferenceExpression.cs +++ b/SysML2.NET/Core/AutoGenPoco/FeatureReferenceExpression.cs @@ -66,10 +66,7 @@ public partial class FeatureReferenceExpression : IFeatureReferenceExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IExpression.Function")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -81,10 +78,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -94,10 +88,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -127,10 +118,7 @@ public IFeature QueryCrossFeature() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -139,10 +127,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -159,10 +144,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -178,10 +160,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -191,10 +170,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -202,10 +178,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -214,20 +187,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -237,10 +204,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Function that types this Expression. @@ -248,10 +212,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [Implements(implementation: "IExpression.Function")] - public IFunction QueryFunction() - { - return this.ComputeFunction(); - } + public IFunction function => this.ComputeFunction(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -259,10 +220,7 @@ public IFunction QueryFunction() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -270,10 +228,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -282,10 +237,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -293,10 +245,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -309,10 +258,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -336,10 +282,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -386,10 +329,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, @@ -397,10 +337,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool QueryIsModelLevelEvaluable() - { - return this.ComputeIsModelLevelEvaluable(); - } + public bool isModelLevelEvaluable => this.ComputeIsModelLevelEvaluable(); /// /// Whether an order exists for the values of this Feature or not. @@ -450,10 +387,7 @@ public bool QueryIsModelLevelEvaluable() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -461,10 +395,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -474,10 +405,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -487,10 +415,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -498,10 +423,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -511,10 +433,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -523,10 +442,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -535,10 +451,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -548,10 +461,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -561,10 +471,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -572,10 +479,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -584,10 +488,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -595,10 +496,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -608,10 +506,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -621,10 +516,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -634,10 +526,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -647,10 +536,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -659,10 +545,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -671,10 +554,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -685,10 +565,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -697,10 +574,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -709,10 +583,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -730,10 +601,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -743,10 +611,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -756,10 +621,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -769,10 +631,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -781,10 +640,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -792,10 +648,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -803,10 +656,7 @@ public IElement QueryOwner() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -815,10 +665,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -827,10 +674,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -848,10 +692,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -860,10 +701,7 @@ public IType QueryOwningType() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -875,10 +713,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Feature that is referenced by this FeatureReferenceExpression, which is its first non-parameter @@ -887,10 +722,7 @@ public string QueryQualifiedName() [Property(xmiId: "_18_5_3_12e503d9_1533160674962_848357_43185", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IFeatureReferenceExpression.Referent")] - public IFeature QueryReferent() - { - return this.ComputeReferent(); - } + public IFeature referent => this.ComputeReferent(); /// /// An output parameter of the Expression whose value is the result of the Expression. The result of an @@ -901,10 +733,7 @@ public IFeature QueryReferent() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [Implements(implementation: "IExpression.Result")] - public IFeature QueryResult() - { - return this.ComputeResult(); - } + public IFeature result => this.ComputeResult(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -914,10 +743,7 @@ public IFeature QueryResult() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -926,10 +752,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -939,10 +762,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + public List type => this.ComputeType(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -953,10 +773,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/FeatureTyping.cs b/SysML2.NET/Core/AutoGenPoco/FeatureTyping.cs index 7991faf7..f5984cca 100644 --- a/SysML2.NET/Core/AutoGenPoco/FeatureTyping.cs +++ b/SysML2.NET/Core/AutoGenPoco/FeatureTyping.cs @@ -82,10 +82,7 @@ public partial class FeatureTyping : IFeatureTyping [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -102,7 +99,11 @@ public List QueryDocumentation() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [RedefinedByProperty("IFeatureTyping.Type")] [Implements(implementation: "ISpecialization.General")] - public IType General { get; set; } + IType Core.Types.ISpecialization.General + { + get => throw new InvalidOperationException("Redefined by property IFeatureTyping.Type"); + set => throw new InvalidOperationException("Redefined by property IFeatureTyping.Type"); + } /// /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being @@ -128,10 +129,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -141,10 +139,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -154,10 +149,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -165,10 +157,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -192,10 +181,7 @@ public List QueryOwnedElement() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// A typedFeature that is also the owningRelatedElement of this FeatureTyping. @@ -204,10 +190,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_13273_21101")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_573157_43226")] [Implements(implementation: "IFeatureTyping.OwningFeature")] - public IFeature QueryOwningFeature() - { - return this.ComputeOwningFeature(); - } + public IFeature owningFeature => this.ComputeOwningFeature(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -216,10 +199,7 @@ public IFeature QueryOwningFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -228,10 +208,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -257,10 +234,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] [RedefinedByProperty("IFeatureTyping.OwningFeature")] [Implements(implementation: "ISpecialization.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + IType Core.Types.ISpecialization.owningType => throw new InvalidOperationException("Redefined by property IFeatureTyping.OwningFeature"); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -272,10 +246,7 @@ public IType QueryOwningType() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -283,10 +254,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + public List relatedElement => this.ComputeRelatedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -296,10 +264,7 @@ public List QueryRelatedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -308,7 +273,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("ISpecialization.Specific")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property ISpecialization.Specific"); + set => throw new InvalidOperationException("Redefined by property ISpecialization.Specific"); + } /// /// A Type with a subset of all instances of the general Type, which might be the same set. @@ -317,7 +286,11 @@ public string QueryShortName() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [RedefinedByProperty("IFeatureTyping.TypedFeature")] [Implements(implementation: "ISpecialization.Specific")] - public IType Specific { get; set; } + IType Core.Types.ISpecialization.Specific + { + get => throw new InvalidOperationException("Redefined by property IFeatureTyping.TypedFeature"); + set => throw new InvalidOperationException("Redefined by property IFeatureTyping.TypedFeature"); + } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -326,7 +299,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("ISpecialization.General")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property ISpecialization.General"); + set => throw new InvalidOperationException("Redefined by property ISpecialization.General"); + } /// /// The TextualRepresentations that annotate this Element. @@ -335,10 +312,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// The Type that is being applied by this FeatureTyping. diff --git a/SysML2.NET/Core/AutoGenPoco/FeatureValue.cs b/SysML2.NET/Core/AutoGenPoco/FeatureValue.cs index 4dd96e8d..62ade73f 100644 --- a/SysML2.NET/Core/AutoGenPoco/FeatureValue.cs +++ b/SysML2.NET/Core/AutoGenPoco/FeatureValue.cs @@ -90,10 +90,7 @@ public partial class FeatureValue : IFeatureValue [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -109,10 +106,7 @@ public List QueryDocumentation() [Property(xmiId: "_19_0_2_12e503d9_1573079011690_119762_1724", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] [Implements(implementation: "IFeatureValue.FeatureWithValue")] - public IFeature QueryFeatureWithValue() - { - return this.ComputeFeatureWithValue(); - } + public IFeature featureWithValue => this.ComputeFeatureWithValue(); /// /// Whether this FeatureValue is a concrete specification of the bound or initial value of the @@ -153,10 +147,7 @@ public IFeature QueryFeatureWithValue() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. @@ -165,7 +156,11 @@ public bool QueryIsLibraryElement() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] [Implements(implementation: "IMembership.MemberElement")] - public IElement MemberElement { get; set; } + IElement Root.Namespaces.IMembership.MemberElement + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + } /// /// The elementId of the memberElement. @@ -173,10 +168,7 @@ public bool QueryIsLibraryElement() [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] [Implements(implementation: "IMembership.MemberElementId")] - public string QueryMemberElementId() - { - return this.ComputeMemberElementId(); - } + string Root.Namespaces.IMembership.memberElementId => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElementId"); /// /// The name of the memberElement relative to the membershipOwningNamespace. @@ -184,7 +176,11 @@ public string QueryMemberElementId() [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberName")] [Implements(implementation: "IMembership.MemberName")] - public string MemberName { get; set; } + string Root.Namespaces.IMembership.MemberName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + } /// /// The Namespace of which the memberElement becomes a member due to this Membership. @@ -194,10 +190,7 @@ public string QueryMemberElementId() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [Implements(implementation: "IMembership.MembershipOwningNamespace")] - public INamespace QueryMembershipOwningNamespace() - { - return this.ComputeMembershipOwningNamespace(); - } + public INamespace membershipOwningNamespace => this.ComputeMembershipOwningNamespace(); /// /// The short name of the memberElement relative to the membershipOwningNamespace. @@ -205,7 +198,11 @@ public INamespace QueryMembershipOwningNamespace() [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] [Implements(implementation: "IMembership.MemberShortName")] - public string MemberShortName { get; set; } + string Root.Namespaces.IMembership.MemberShortName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + } /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -215,10 +212,7 @@ public INamespace QueryMembershipOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -228,10 +222,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -239,10 +230,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this @@ -253,10 +241,7 @@ public List QueryOwnedElement() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] [RedefinedByProperty("IFeatureValue.Value")] [Implements(implementation: "IOwningMembership.OwnedMemberElement")] - public IElement QueryOwnedMemberElement() - { - return this.ComputeOwnedMemberElement(); - } + IElement Root.Namespaces.IOwningMembership.ownedMemberElement => throw new InvalidOperationException("Redefined by property IFeatureValue.Value"); /// /// The elementId of the ownedMemberElement. @@ -264,10 +249,7 @@ public IElement QueryOwnedMemberElement() [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] - public string QueryOwnedMemberElementId() - { - return this.ComputeOwnedMemberElementId(); - } + public string ownedMemberElementId => this.ComputeOwnedMemberElementId(); /// /// The name of the ownedMemberElement. @@ -275,10 +257,7 @@ public string QueryOwnedMemberElementId() [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] [Implements(implementation: "IOwningMembership.OwnedMemberName")] - public string QueryOwnedMemberName() - { - return this.ComputeOwnedMemberName(); - } + public string ownedMemberName => this.ComputeOwnedMemberName(); /// /// The shortName of the ownedMemberElement. @@ -286,10 +265,7 @@ public string QueryOwnedMemberName() [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] - public string QueryOwnedMemberShortName() - { - return this.ComputeOwnedMemberShortName(); - } + public string ownedMemberShortName => this.ComputeOwnedMemberShortName(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -313,10 +289,7 @@ public string QueryOwnedMemberShortName() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -325,10 +298,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -337,10 +307,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -368,10 +335,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -379,10 +343,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + public List relatedElement => this.ComputeRelatedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -392,10 +353,7 @@ public List QueryRelatedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -404,7 +362,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembership.MembershipOwningNamespace")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -413,7 +375,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembership.MemberElement")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + set => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + } /// /// The TextualRepresentations that annotate this Element. @@ -422,10 +388,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// The Expression that provides the value as a result. @@ -433,10 +396,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_19_0_2_12e503d9_1573081851611_231043_3236", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] [Implements(implementation: "IFeatureValue.Value")] - public IExpression QueryValue() - { - return this.ComputeValue(); - } + public IExpression value => this.ComputeValue(); /// /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly diff --git a/SysML2.NET/Core/AutoGenPoco/Flow.cs b/SysML2.NET/Core/AutoGenPoco/Flow.cs index cb201d75..aee7d623 100644 --- a/SysML2.NET/Core/AutoGenPoco/Flow.cs +++ b/SysML2.NET/Core/AutoGenPoco/Flow.cs @@ -69,10 +69,7 @@ public partial class Flow : IFlow [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IFlow.Interaction")] [Implements(implementation: "IConnector.Association")] - public List QueryAssociation() - { - return this.ComputeAssociation(); - } + List Kernel.Connectors.IConnector.association => throw new InvalidOperationException("Redefined by property IFlow.Interaction"); /// /// The Behaviors that type this Step. @@ -81,10 +78,7 @@ public List QueryAssociation() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IFlow.Interaction")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IFlow.Interaction"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -96,10 +90,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The endFeatures of a Connector, which redefine the endFeatures of the associations of the Connector. @@ -109,10 +100,7 @@ public List QueryChainingFeature() [Property(xmiId: "_18_5_3_12e503d9_1556735067666_827798_21922", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [Implements(implementation: "IConnector.ConnectorEnd")] - public List QueryConnectorEnd() - { - return this.ComputeConnectorEnd(); - } + public List connectorEnd => this.ComputeConnectorEnd(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -122,10 +110,7 @@ public List QueryConnectorEnd() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -151,10 +136,7 @@ public IFeature QueryCrossFeature() /// [Property(xmiId: "_2022x_2_12e503d9_1737751598145_444042_71", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IConnector.DefaultFeaturingType")] - public IType QueryDefaultFeaturingType() - { - return this.ComputeDefaultFeaturingType(); - } + public IType defaultFeaturingType => this.ComputeDefaultFeaturingType(); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -167,10 +149,7 @@ public IType QueryDefaultFeaturingType() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -179,10 +158,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -199,10 +175,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -219,10 +192,7 @@ public List QueryDocumentation() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IConnector.ConnectorEnd")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + List Core.Types.IType.endFeature => throw new InvalidOperationException("Redefined by property IConnector.ConnectorEnd"); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -232,10 +202,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -243,10 +210,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -255,20 +219,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -278,10 +236,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The connectorEnds of this Flow that are FlowEnds. @@ -289,10 +244,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1563219311176_506548_20966", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 2, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1556735067666_827798_21922")] [Implements(implementation: "IFlow.FlowEnd")] - public List QueryFlowEnd() - { - return this.ComputeFlowEnd(); - } + public List flowEnd => this.ComputeFlowEnd(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -300,10 +252,7 @@ public List QueryFlowEnd() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -311,10 +260,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -323,10 +269,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -334,10 +277,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The Interactions that type this Flow. Interactions are both Associations and Behaviors, which can @@ -347,10 +287,7 @@ public List QueryInput() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674983_471497_43284")] [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [Implements(implementation: "IFlow.Interaction")] - public List QueryInteraction() - { - return this.ComputeInteraction(); - } + public List interaction => this.ComputeInteraction(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -363,10 +300,7 @@ public List QueryInteraction() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -390,10 +324,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -448,10 +379,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -501,10 +429,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -512,10 +437,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -525,10 +447,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -538,10 +457,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -549,10 +465,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -562,10 +475,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -574,10 +484,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -586,10 +493,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -599,10 +503,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -612,10 +513,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -623,10 +521,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -635,10 +530,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -646,10 +538,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -659,10 +548,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -672,10 +558,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -685,10 +568,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -698,10 +578,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -710,10 +587,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -722,10 +596,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -736,10 +607,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -748,10 +616,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -760,10 +625,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -789,10 +651,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -802,10 +661,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -815,10 +671,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -828,10 +681,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -840,10 +690,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -851,10 +698,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -862,10 +706,7 @@ public IElement QueryOwner() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -874,10 +715,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -886,10 +724,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -915,10 +750,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -927,10 +759,7 @@ public IType QueryOwningType() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The ownedFeature of the Flow that is a PayloadFeature (if any). @@ -938,20 +767,14 @@ public List QueryParameter() [Property(xmiId: "_18_5_3_12e503d9_1563219424870_347345_21142", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IFlow.PayloadFeature")] - public IPayloadFeature QueryPayloadFeature() - { - return this.ComputePayloadFeature(); - } + public IPayloadFeature payloadFeature => this.ComputePayloadFeature(); /// /// The type of values transferred, which is the type of the payloadFeature of the Flow. /// [Property(xmiId: "_18_5_3_b9102da_1536870569046_1672_18020", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFlow.PayloadType")] - public List QueryPayloadType() - { - return this.ComputePayloadType(); - } + public List payloadType => this.ComputePayloadType(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -963,10 +786,7 @@ public List QueryPayloadType() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -975,10 +795,7 @@ public string QueryQualifiedName() [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedByProperty("IConnector.RelatedFeature")] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + List Root.Elements.IRelationship.relatedElement => throw new InvalidOperationException("Redefined by property IConnector.RelatedFeature"); /// /// The Features that are related by this Connector considered as a Relationship and that restrict the @@ -987,10 +804,7 @@ public List QueryRelatedElement() [Property(xmiId: "_18_5_3_12e503d9_1533160674968_916334_43210", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [Implements(implementation: "IConnector.RelatedFeature")] - public List QueryRelatedFeature() - { - return this.ComputeRelatedFeature(); - } + public List relatedFeature => this.ComputeRelatedFeature(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1000,10 +814,7 @@ public List QueryRelatedFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -1012,7 +823,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IConnector.SourceFeature")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + } /// /// The source relatedFeature for this Connector. It is the first relatedFeature. @@ -1021,10 +836,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [Implements(implementation: "IConnector.SourceFeature")] - public IFeature QuerySourceFeature() - { - return this.ComputeSourceFeature(); - } + public IFeature sourceFeature => this.ComputeSourceFeature(); /// /// The Feature that provides the items carried by the Flow. It must be a feature of the source of the @@ -1032,10 +844,7 @@ public IFeature QuerySourceFeature() /// [Property(xmiId: "_18_5_3_b9102da_1536870707078_57525_18088", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFlow.SourceOutputFeature")] - public IFeature QuerySourceOutputFeature() - { - return this.ComputeSourceOutputFeature(); - } + public IFeature sourceOutputFeature => this.ComputeSourceOutputFeature(); /// /// The relatedElements to which this Relationship is considered to be directed. @@ -1044,7 +853,11 @@ public IFeature QuerySourceOutputFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IConnector.TargetFeature")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + } /// /// The target relatedFeatures for this Connector. This includes all the relatedFeatures other than the @@ -1054,10 +867,7 @@ public IFeature QuerySourceOutputFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [Implements(implementation: "IConnector.TargetFeature")] - public List QueryTargetFeature() - { - return this.ComputeTargetFeature(); - } + public List targetFeature => this.ComputeTargetFeature(); /// /// The Feature that receives the values carried by the Flow. It must be a feature of the target of the @@ -1065,10 +875,7 @@ public List QueryTargetFeature() /// [Property(xmiId: "_18_5_3_b9102da_1536870573474_966268_18041", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFlow.TargetInputFeature")] - public IFeature QueryTargetInputFeature() - { - return this.ComputeTargetInputFeature(); - } + public IFeature targetInputFeature => this.ComputeTargetInputFeature(); /// /// The TextualRepresentations that annotate this Element. @@ -1077,10 +884,7 @@ public IFeature QueryTargetInputFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1091,10 +895,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IConnector.Association")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IConnector.Association"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1105,10 +906,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/FlowDefinition.cs b/SysML2.NET/Core/AutoGenPoco/FlowDefinition.cs index 19504cae..2b2032ed 100644 --- a/SysML2.NET/Core/AutoGenPoco/FlowDefinition.cs +++ b/SysML2.NET/Core/AutoGenPoco/FlowDefinition.cs @@ -83,10 +83,7 @@ public partial class FlowDefinition : IFlowDefinition [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IActionDefinition.Action")] - public List QueryAction() - { - return this.ComputeAction(); - } + public List action => this.ComputeAction(); /// /// Various alternative identifiers for this Element. Generally, these will be set by tools. @@ -104,10 +101,7 @@ public List QueryAction() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [RedefinedByProperty("IFlowDefinition.FlowEnd")] [Implements(implementation: "IAssociation.AssociationEnd")] - public List QueryAssociationEnd() - { - return this.ComputeAssociationEnd(); - } + List Kernel.Associations.IAssociation.associationEnd => throw new InvalidOperationException("Redefined by property IFlowDefinition.FlowEnd"); /// /// The declared name of this Element. @@ -137,10 +131,7 @@ public List QueryAssociationEnd() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -149,10 +140,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IBehavior.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IBehavior.Parameter"); /// /// The usages of this Definition that are directedFeatures. @@ -161,10 +149,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// The Documentation owned by this Element. @@ -173,10 +158,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -193,10 +175,7 @@ public List QueryDocumentation() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IAssociation.AssociationEnd")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + List Core.Types.IType.endFeature => throw new InvalidOperationException("Redefined by property IAssociation.AssociationEnd"); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -204,10 +183,7 @@ public List QueryEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -216,10 +192,7 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The Usages that define the things related by the FlowDefinition. @@ -227,10 +200,7 @@ public List QueryFeatureMembership() [Property(xmiId: "_2022x_2_12e503d9_1733008492358_136366_19515", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562477648742_24204_22901")] [Implements(implementation: "IFlowDefinition.FlowEnd")] - public List QueryFlowEnd() - { - return this.ComputeFlowEnd(); - } + public List flowEnd => this.ComputeFlowEnd(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -238,10 +208,7 @@ public List QueryFlowEnd() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -249,10 +216,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -261,10 +225,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -272,10 +233,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -288,10 +246,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -306,10 +261,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being @@ -342,10 +294,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -373,10 +322,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -384,10 +330,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -397,10 +340,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -410,10 +350,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -421,10 +358,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ActionUsages that are ownedUsages of this Definition. @@ -432,10 +366,7 @@ public List QueryOutput() [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedAction")] - public List QueryOwnedAction() - { - return this.ComputeOwnedAction(); - } + public List ownedAction => this.ComputeOwnedAction(); /// /// The AllocationUsages that are ownedUsages of this Definition. @@ -443,10 +374,7 @@ public List QueryOwnedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedAllocation")] - public List QueryOwnedAllocation() - { - return this.ComputeOwnedAllocation(); - } + public List ownedAllocation => this.ComputeOwnedAllocation(); /// /// The AnalysisCaseUsages that are ownedUsages of this Definition. @@ -454,10 +382,7 @@ public List QueryOwnedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List QueryOwnedAnalysisCase() - { - return this.ComputeOwnedAnalysisCase(); - } + public List ownedAnalysisCase => this.ComputeOwnedAnalysisCase(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -467,10 +392,7 @@ public List QueryOwnedAnalysisCase() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The AttributeUsages that are ownedUsages of this Definition. @@ -478,10 +400,7 @@ public List QueryOwnedAnnotation() [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedAttribute")] - public List QueryOwnedAttribute() - { - return this.ComputeOwnedAttribute(); - } + public List ownedAttribute => this.ComputeOwnedAttribute(); /// /// The CalculationUsages that are ownedUsages of this Definition. @@ -489,10 +408,7 @@ public List QueryOwnedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedCalculation")] - public List QueryOwnedCalculation() - { - return this.ComputeOwnedCalculation(); - } + public List ownedCalculation => this.ComputeOwnedCalculation(); /// /// The code>CaseUsages that are ownedUsages of this Definition. @@ -500,10 +416,7 @@ public List QueryOwnedCalculation() [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] [Implements(implementation: "IDefinition.OwnedCase")] - public List QueryOwnedCase() - { - return this.ComputeOwnedCase(); - } + public List ownedCase => this.ComputeOwnedCase(); /// /// The ConcernUsages that are ownedUsages of this Definition. @@ -511,10 +424,7 @@ public List QueryOwnedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedConcern")] - public List QueryOwnedConcern() - { - return this.ComputeOwnedConcern(); - } + public List ownedConcern => this.ComputeOwnedConcern(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -523,10 +433,7 @@ public List QueryOwnedConcern() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes @@ -536,10 +443,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedConnection")] - public List QueryOwnedConnection() - { - return this.ComputeOwnedConnection(); - } + public List ownedConnection => this.ComputeOwnedConnection(); /// /// The ConstraintUsages that are ownedUsages of this Definition. @@ -547,10 +451,7 @@ public List QueryOwnedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedConstraint")] - public List QueryOwnedConstraint() - { - return this.ComputeOwnedConstraint(); - } + public List ownedConstraint => this.ComputeOwnedConstraint(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -560,10 +461,7 @@ public List QueryOwnedConstraint() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -573,10 +471,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -584,10 +479,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -596,10 +488,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The EnumerationUsages that are ownedUsages of this Definition. @@ -607,10 +496,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List QueryOwnedEnumeration() - { - return this.ComputeOwnedEnumeration(); - } + public List ownedEnumeration => this.ComputeOwnedEnumeration(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -618,10 +504,7 @@ public List QueryOwnedEnumeration() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -631,10 +514,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The FlowUsages that are ownedUsages of this Definition. @@ -642,10 +522,7 @@ public List QueryOwnedFeatureMembership() [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedFlow")] - public List QueryOwnedFlow() - { - return this.ComputeOwnedFlow(); - } + public List ownedFlow => this.ComputeOwnedFlow(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -655,10 +532,7 @@ public List QueryOwnedFlow() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The InterfaceUsages that are ownedUsages of this Definition. @@ -666,10 +540,7 @@ public List QueryOwnedImport() [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedInterface")] - public List QueryOwnedInterface() - { - return this.ComputeOwnedInterface(); - } + public List ownedInterface => this.ComputeOwnedInterface(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -678,10 +549,7 @@ public List QueryOwnedInterface() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The ItemUsages that are ownedUsages of this Definition. @@ -689,10 +557,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedItem")] - public List QueryOwnedItem() - { - return this.ComputeOwnedItem(); - } + public List ownedItem => this.ComputeOwnedItem(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -701,10 +566,7 @@ public List QueryOwnedItem() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -715,10 +577,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The MetadataUsages that are ownedUsages of this Definition. @@ -726,10 +585,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedMetadata")] - public List QueryOwnedMetadata() - { - return this.ComputeOwnedMetadata(); - } + public List ownedMetadata => this.ComputeOwnedMetadata(); /// /// The OccurrenceUsages that are ownedUsages of this Definition. @@ -737,10 +593,7 @@ public List QueryOwnedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List QueryOwnedOccurrence() - { - return this.ComputeOwnedOccurrence(); - } + public List ownedOccurrence => this.ComputeOwnedOccurrence(); /// /// The PartUsages that are ownedUsages of this Definition. @@ -748,10 +601,7 @@ public List QueryOwnedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedPart")] - public List QueryOwnedPart() - { - return this.ComputeOwnedPart(); - } + public List ownedPart => this.ComputeOwnedPart(); /// /// The PortUsages that are ownedUsages of this Definition. @@ -759,10 +609,7 @@ public List QueryOwnedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedPort")] - public List QueryOwnedPort() - { - return this.ComputeOwnedPort(); - } + public List ownedPort => this.ComputeOwnedPort(); /// /// The ReferenceUsages that are ownedUsages of this Definition. @@ -770,10 +617,7 @@ public List QueryOwnedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedReference")] - public List QueryOwnedReference() - { - return this.ComputeOwnedReference(); - } + public List ownedReference => this.ComputeOwnedReference(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -797,10 +641,7 @@ public List QueryOwnedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedRendering")] - public List QueryOwnedRendering() - { - return this.ComputeOwnedRendering(); - } + public List ownedRendering => this.ComputeOwnedRendering(); /// /// The RequirementUsages that are ownedUsages of this Definition. @@ -808,10 +649,7 @@ public List QueryOwnedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] [Implements(implementation: "IDefinition.OwnedRequirement")] - public List QueryOwnedRequirement() - { - return this.ComputeOwnedRequirement(); - } + public List ownedRequirement => this.ComputeOwnedRequirement(); /// /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific @@ -821,10 +659,7 @@ public List QueryOwnedRequirement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The StateUsages that are ownedUsages of this Definition. @@ -832,10 +667,7 @@ public List QueryOwnedSpecialization() [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedState")] - public List QueryOwnedState() - { - return this.ComputeOwnedState(); - } + public List ownedState => this.ComputeOwnedState(); /// /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier @@ -844,10 +676,7 @@ public List QueryOwnedState() [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List QueryOwnedSubclassification() - { - return this.ComputeOwnedSubclassification(); - } + public List ownedSubclassification => this.ComputeOwnedSubclassification(); /// /// The TransitionUsages that are ownedUsages of this Definition. @@ -855,10 +684,7 @@ public List QueryOwnedSubclassification() [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedTransition")] - public List QueryOwnedTransition() - { - return this.ComputeOwnedTransition(); - } + public List ownedTransition => this.ComputeOwnedTransition(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -867,10 +693,7 @@ public List QueryOwnedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The Usages that are ownedFeatures of this Definition. @@ -879,10 +702,7 @@ public List QueryOwnedUnioning() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.OwnedUsage")] - public List QueryOwnedUsage() - { - return this.ComputeOwnedUsage(); - } + public List ownedUsage => this.ComputeOwnedUsage(); /// /// The UseCaseUsages that are ownedUsages of this Definition. @@ -890,10 +710,7 @@ public List QueryOwnedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedUseCase")] - public List QueryOwnedUseCase() - { - return this.ComputeOwnedUseCase(); - } + public List ownedUseCase => this.ComputeOwnedUseCase(); /// /// The VerificationCaseUsages that are ownedUsages of this Definition. @@ -901,10 +718,7 @@ public List QueryOwnedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List QueryOwnedVerificationCase() - { - return this.ComputeOwnedVerificationCase(); - } + public List ownedVerificationCase => this.ComputeOwnedVerificationCase(); /// /// The ViewUsages that are ownedUsages of this Definition. @@ -912,10 +726,7 @@ public List QueryOwnedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedView")] - public List QueryOwnedView() - { - return this.ComputeOwnedView(); - } + public List ownedView => this.ComputeOwnedView(); /// /// The ViewpointUsages that are ownedUsages of this Definition. @@ -923,10 +734,7 @@ public List QueryOwnedView() [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List QueryOwnedViewpoint() - { - return this.ComputeOwnedViewpoint(); - } + public List ownedViewpoint => this.ComputeOwnedViewpoint(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -934,10 +742,7 @@ public List QueryOwnedViewpoint() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -946,10 +751,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -958,10 +760,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -986,10 +785,7 @@ public INamespace QueryOwningNamespace() [Property(xmiId: "_18_5_3_12e503d9_1543948010065_362066_20413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IBehavior.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -1001,10 +797,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -1013,10 +806,7 @@ public string QueryQualifiedName() [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedByProperty("IAssociation.RelatedType")] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + List Root.Elements.IRelationship.relatedElement => throw new InvalidOperationException("Redefined by property IAssociation.RelatedType"); /// /// The types of the associationEnds of the Association, which are the relatedElements of the @@ -1025,10 +815,7 @@ public List QueryRelatedElement() [Property(xmiId: "_18_5_3_12e503d9_1533160674994_4339_43349", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [Implements(implementation: "IAssociation.RelatedType")] - public List QueryRelatedType() - { - return this.ComputeRelatedType(); - } + public List relatedType => this.ComputeRelatedType(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1038,10 +825,7 @@ public List QueryRelatedType() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -1050,7 +834,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IAssociation.SourceType")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IAssociation.SourceType"); + set => throw new InvalidOperationException("Redefined by property IAssociation.SourceType"); + } /// /// The source relatedType for this Association. It is the first relatedType of the Association. @@ -1059,10 +847,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [Implements(implementation: "IAssociation.SourceType")] - public IType QuerySourceType() - { - return this.ComputeSourceType(); - } + public IType sourceType => this.ComputeSourceType(); /// /// The Steps that make up this Behavior. @@ -1070,10 +855,7 @@ public IType QuerySourceType() [Property(xmiId: "_18_5_3_b9102da_1536346067212_587255_17343", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IBehavior.Step")] - public List QueryStep() - { - return this.ComputeStep(); - } + public List step => this.ComputeStep(); /// /// The relatedElements to which this Relationship is considered to be directed. @@ -1082,7 +864,11 @@ public List QueryStep() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IAssociation.TargetType")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IAssociation.TargetType"); + set => throw new InvalidOperationException("Redefined by property IAssociation.TargetType"); + } /// /// The target relatedTypes for this Association. This includes all the relatedTypes other than the @@ -1092,10 +878,7 @@ public List QueryStep() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [Implements(implementation: "IAssociation.TargetType")] - public List QueryTargetType() - { - return this.ComputeTargetType(); - } + public List targetType => this.ComputeTargetType(); /// /// The TextualRepresentations that annotate this Element. @@ -1104,10 +887,7 @@ public List QueryTargetType() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1118,10 +898,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Definition (not necessarily owned). @@ -1129,10 +906,7 @@ public List QueryUnioningType() [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IDefinition.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Definition as a variation point Definition, if @@ -1141,10 +915,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IDefinition.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then @@ -1154,10 +925,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IDefinition.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/FlowEnd.cs b/SysML2.NET/Core/AutoGenPoco/FlowEnd.cs index c9a863eb..c281a3bd 100644 --- a/SysML2.NET/Core/AutoGenPoco/FlowEnd.cs +++ b/SysML2.NET/Core/AutoGenPoco/FlowEnd.cs @@ -70,10 +70,7 @@ public partial class FlowEnd : IFlowEnd /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -83,10 +80,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -116,10 +110,7 @@ public IFeature QueryCrossFeature() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -127,10 +118,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -147,10 +135,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -166,10 +151,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -179,10 +161,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -190,10 +169,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -202,20 +178,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -225,10 +195,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -236,10 +203,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -247,10 +211,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -259,10 +220,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -270,10 +228,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -286,10 +241,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -313,10 +265,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -363,10 +312,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -416,10 +362,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -427,10 +370,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -440,10 +380,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -453,10 +390,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -464,10 +398,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -477,10 +408,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -489,10 +417,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -501,10 +426,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -514,10 +436,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -527,10 +446,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -538,10 +454,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -550,10 +463,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -561,10 +471,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -574,10 +481,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -587,10 +491,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -600,10 +501,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -613,10 +511,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -625,10 +520,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -637,10 +529,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -651,10 +540,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -663,10 +549,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -675,10 +558,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -696,10 +576,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -709,10 +586,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -722,10 +596,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -735,10 +606,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -747,10 +615,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -758,10 +623,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -769,10 +631,7 @@ public IElement QueryOwner() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -781,10 +640,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -793,10 +649,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -814,10 +667,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -829,10 +679,7 @@ public IType QueryOwningType() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -842,10 +689,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -854,10 +698,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -867,10 +708,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + public List type => this.ComputeType(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -881,10 +719,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/FlowUsage.cs b/SysML2.NET/Core/AutoGenPoco/FlowUsage.cs index 400bf792..78783538 100644 --- a/SysML2.NET/Core/AutoGenPoco/FlowUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/FlowUsage.cs @@ -88,10 +88,7 @@ public partial class FlowUsage : IFlowUsage [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [RedefinedByProperty("IFlowUsage.FlowDefinition")] [Implements(implementation: "IActionUsage.ActionDefinition")] - public List QueryActionDefinition() - { - return this.ComputeActionDefinition(); - } + List Systems.Actions.IActionUsage.actionDefinition => throw new InvalidOperationException("Redefined by property IFlowUsage.FlowDefinition"); /// /// Various alternative identifiers for this Element. Generally, these will be set by tools. @@ -107,10 +104,7 @@ public List QueryActionDefinition() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IFlow.Interaction")] [Implements(implementation: "IConnector.Association")] - public List QueryAssociation() - { - return this.ComputeAssociation(); - } + List Kernel.Connectors.IConnector.association => throw new InvalidOperationException("Redefined by property IFlow.Interaction"); /// /// The Behaviors that type this Step. @@ -119,10 +113,7 @@ public List QueryAssociation() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IFlow.Interaction")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IFlow.Interaction"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -134,10 +125,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The endFeatures of a Connector, which redefine the endFeatures of the associations of the Connector. @@ -147,10 +135,7 @@ public List QueryChainingFeature() [Property(xmiId: "_18_5_3_12e503d9_1556735067666_827798_21922", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [Implements(implementation: "IConnector.ConnectorEnd")] - public List QueryConnectorEnd() - { - return this.ComputeConnectorEnd(); - } + public List connectorEnd => this.ComputeConnectorEnd(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -160,10 +145,7 @@ public List QueryConnectorEnd() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -189,10 +171,7 @@ public IFeature QueryCrossFeature() /// [Property(xmiId: "_2022x_2_12e503d9_1737751598145_444042_71", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IConnector.DefaultFeaturingType")] - public IType QueryDefaultFeaturingType() - { - return this.ComputeDefaultFeaturingType(); - } + public IType defaultFeaturingType => this.ComputeDefaultFeaturingType(); /// /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds @@ -203,10 +182,7 @@ public IType QueryDefaultFeaturingType() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] [Implements(implementation: "IUsage.Definition")] - public List QueryDefinition() - { - return this.ComputeDefinition(); - } + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -219,10 +195,7 @@ public List QueryDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -231,10 +204,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// The usages of this Usage that are directedFeatures. @@ -243,10 +213,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -263,10 +230,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -283,10 +247,7 @@ public List QueryDocumentation() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IConnector.ConnectorEnd")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + List Core.Types.IType.endFeature => throw new InvalidOperationException("Redefined by property IConnector.ConnectorEnd"); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -296,10 +257,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -307,10 +265,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -319,20 +274,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -342,10 +291,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Interactions that are the types of this FlowUsage. Nominally, these are FlowDefinitions, but @@ -356,10 +302,7 @@ public List QueryFeaturingType() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1565500905804_589845_30779")] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1661900477937_518125_727")] [Implements(implementation: "IFlowUsage.FlowDefinition")] - public List QueryFlowDefinition() - { - return this.ComputeFlowDefinition(); - } + public List flowDefinition => this.ComputeFlowDefinition(); /// /// The connectorEnds of this Flow that are FlowEnds. @@ -367,10 +310,7 @@ public List QueryFlowDefinition() [Property(xmiId: "_18_5_3_12e503d9_1563219311176_506548_20966", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 2, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1556735067666_827798_21922")] [Implements(implementation: "IFlow.FlowEnd")] - public List QueryFlowEnd() - { - return this.ComputeFlowEnd(); - } + public List flowEnd => this.ComputeFlowEnd(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -378,10 +318,7 @@ public List QueryFlowEnd() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// The at most one occurrenceDefinition that has isIndividual = true. @@ -389,10 +326,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public IOccurrenceDefinition QueryIndividualDefinition() - { - return this.ComputeIndividualDefinition(); - } + public IOccurrenceDefinition individualDefinition => this.ComputeIndividualDefinition(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -400,10 +334,7 @@ public IOccurrenceDefinition QueryIndividualDefinition() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -412,10 +343,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -423,10 +351,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The Interactions that type this Flow. Interactions are both Associations and Behaviors, which can @@ -437,10 +362,7 @@ public List QueryInput() [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [RedefinedByProperty("IFlowUsage.FlowDefinition")] [Implements(implementation: "IFlow.Interaction")] - public List QueryInteraction() - { - return this.ComputeInteraction(); - } + List Kernel.Interactions.IFlow.interaction => throw new InvalidOperationException("Redefined by property IFlowUsage.FlowDefinition"); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -453,10 +375,7 @@ public List QueryInteraction() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -480,10 +399,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -546,10 +462,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -571,10 +484,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IUsage.IsReference")] - public bool QueryIsReference() - { - return this.ComputeIsReference(); - } + public bool isReference => this.ComputeIsReference(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -602,7 +512,11 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -623,10 +537,7 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool QueryMayTimeVary() - { - return this.ComputeMayTimeVary(); - } + public bool mayTimeVary => this.ComputeMayTimeVary(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -634,10 +545,7 @@ public bool QueryMayTimeVary() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -645,10 +553,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -658,10 +563,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -671,10 +573,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ActionUsages that are nestedUsages of this Usage. @@ -682,10 +581,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List QueryNestedAction() - { - return this.ComputeNestedAction(); - } + public List nestedAction => this.ComputeNestedAction(); /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -693,10 +589,7 @@ public List QueryNestedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List QueryNestedAllocation() - { - return this.ComputeNestedAllocation(); - } + public List nestedAllocation => this.ComputeNestedAllocation(); /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -704,10 +597,7 @@ public List QueryNestedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List QueryNestedAnalysisCase() - { - return this.ComputeNestedAnalysisCase(); - } + public List nestedAnalysisCase => this.ComputeNestedAnalysisCase(); /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -715,10 +605,7 @@ public List QueryNestedAnalysisCase() [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List QueryNestedAttribute() - { - return this.ComputeNestedAttribute(); - } + public List nestedAttribute => this.ComputeNestedAttribute(); /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -726,10 +613,7 @@ public List QueryNestedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List QueryNestedCalculation() - { - return this.ComputeNestedCalculation(); - } + public List nestedCalculation => this.ComputeNestedCalculation(); /// /// The CaseUsages that are nestedUsages of this Usage. @@ -737,10 +621,7 @@ public List QueryNestedCalculation() [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List QueryNestedCase() - { - return this.ComputeNestedCase(); - } + public List nestedCase => this.ComputeNestedCase(); /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -748,10 +629,7 @@ public List QueryNestedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List QueryNestedConcern() - { - return this.ComputeNestedConcern(); - } + public List nestedConcern => this.ComputeNestedConcern(); /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -761,10 +639,7 @@ public List QueryNestedConcern() [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List QueryNestedConnection() - { - return this.ComputeNestedConnection(); - } + public List nestedConnection => this.ComputeNestedConnection(); /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -772,10 +647,7 @@ public List QueryNestedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List QueryNestedConstraint() - { - return this.ComputeNestedConstraint(); - } + public List nestedConstraint => this.ComputeNestedConstraint(); /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -783,10 +655,7 @@ public List QueryNestedConstraint() [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List QueryNestedEnumeration() - { - return this.ComputeNestedEnumeration(); - } + public List nestedEnumeration => this.ComputeNestedEnumeration(); /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -794,10 +663,7 @@ public List QueryNestedEnumeration() [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List QueryNestedFlow() - { - return this.ComputeNestedFlow(); - } + public List nestedFlow => this.ComputeNestedFlow(); /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -805,10 +671,7 @@ public List QueryNestedFlow() [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List QueryNestedInterface() - { - return this.ComputeNestedInterface(); - } + public List nestedInterface => this.ComputeNestedInterface(); /// /// The ItemUsages that are nestedUsages of this Usage. @@ -816,10 +679,7 @@ public List QueryNestedInterface() [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List QueryNestedItem() - { - return this.ComputeNestedItem(); - } + public List nestedItem => this.ComputeNestedItem(); /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -827,10 +687,7 @@ public List QueryNestedItem() [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List QueryNestedMetadata() - { - return this.ComputeNestedMetadata(); - } + public List nestedMetadata => this.ComputeNestedMetadata(); /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -838,10 +695,7 @@ public List QueryNestedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List QueryNestedOccurrence() - { - return this.ComputeNestedOccurrence(); - } + public List nestedOccurrence => this.ComputeNestedOccurrence(); /// /// The PartUsages that are nestedUsages of this Usage. @@ -849,10 +703,7 @@ public List QueryNestedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List QueryNestedPart() - { - return this.ComputeNestedPart(); - } + public List nestedPart => this.ComputeNestedPart(); /// /// The PortUsages that are nestedUsages of this Usage. @@ -860,10 +711,7 @@ public List QueryNestedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List QueryNestedPort() - { - return this.ComputeNestedPort(); - } + public List nestedPort => this.ComputeNestedPort(); /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -871,10 +719,7 @@ public List QueryNestedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List QueryNestedReference() - { - return this.ComputeNestedReference(); - } + public List nestedReference => this.ComputeNestedReference(); /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -882,10 +727,7 @@ public List QueryNestedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List QueryNestedRendering() - { - return this.ComputeNestedRendering(); - } + public List nestedRendering => this.ComputeNestedRendering(); /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -893,10 +735,7 @@ public List QueryNestedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List QueryNestedRequirement() - { - return this.ComputeNestedRequirement(); - } + public List nestedRequirement => this.ComputeNestedRequirement(); /// /// The StateUsages that are nestedUsages of this Usage. @@ -904,10 +743,7 @@ public List QueryNestedRequirement() [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List QueryNestedState() - { - return this.ComputeNestedState(); - } + public List nestedState => this.ComputeNestedState(); /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -915,10 +751,7 @@ public List QueryNestedState() [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List QueryNestedTransition() - { - return this.ComputeNestedTransition(); - } + public List nestedTransition => this.ComputeNestedTransition(); /// /// The Usages that are ownedFeatures of this Usage. @@ -927,10 +760,7 @@ public List QueryNestedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List QueryNestedUsage() - { - return this.ComputeNestedUsage(); - } + public List nestedUsage => this.ComputeNestedUsage(); /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -938,10 +768,7 @@ public List QueryNestedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List QueryNestedUseCase() - { - return this.ComputeNestedUseCase(); - } + public List nestedUseCase => this.ComputeNestedUseCase(); /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -949,10 +776,7 @@ public List QueryNestedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List QueryNestedVerificationCase() - { - return this.ComputeNestedVerificationCase(); - } + public List nestedVerificationCase => this.ComputeNestedVerificationCase(); /// /// The ViewUsages that are nestedUsages of this Usage. @@ -960,10 +784,7 @@ public List QueryNestedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List QueryNestedView() - { - return this.ComputeNestedView(); - } + public List nestedView => this.ComputeNestedView(); /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -971,10 +792,7 @@ public List QueryNestedView() [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List QueryNestedViewpoint() - { - return this.ComputeNestedViewpoint(); - } + public List nestedViewpoint => this.ComputeNestedViewpoint(); /// /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, @@ -985,10 +803,7 @@ public List QueryNestedViewpoint() [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] [RedefinedByProperty("IActionUsage.ActionDefinition")] [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List QueryOccurrenceDefinition() - { - return this.ComputeOccurrenceDefinition(); - } + List Systems.Occurrences.IOccurrenceUsage.occurrenceDefinition => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -996,10 +811,7 @@ public List QueryOccurrenceDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -1009,10 +821,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -1021,10 +830,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -1033,10 +839,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -1046,10 +849,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -1059,10 +859,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -1070,10 +867,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -1082,10 +876,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -1093,10 +884,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -1106,10 +894,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -1119,10 +904,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -1132,10 +914,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -1145,10 +924,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -1157,10 +933,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -1169,10 +942,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -1183,10 +953,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -1195,10 +962,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -1207,10 +971,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -1236,10 +997,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -1249,10 +1007,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -1262,10 +1017,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -1275,10 +1027,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1287,10 +1036,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1298,10 +1044,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The Definition that owns this Usage (if any). @@ -1310,10 +1053,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public IDefinition QueryOwningDefinition() - { - return this.ComputeOwningDefinition(); - } + public IDefinition owningDefinition => this.ComputeOwningDefinition(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1321,10 +1061,7 @@ public IDefinition QueryOwningDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1333,10 +1070,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1345,10 +1079,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -1374,10 +1105,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The Usage in which this Usage is nested (if any). @@ -1385,10 +1113,7 @@ public IType QueryOwningType() [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public IUsage QueryOwningUsage() - { - return this.ComputeOwningUsage(); - } + public IUsage owningUsage => this.ComputeOwningUsage(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -1397,10 +1122,7 @@ public IUsage QueryOwningUsage() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The ownedFeature of the Flow that is a PayloadFeature (if any). @@ -1408,20 +1130,14 @@ public List QueryParameter() [Property(xmiId: "_18_5_3_12e503d9_1563219424870_347345_21142", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IFlow.PayloadFeature")] - public IPayloadFeature QueryPayloadFeature() - { - return this.ComputePayloadFeature(); - } + public IPayloadFeature payloadFeature => this.ComputePayloadFeature(); /// /// The type of values transferred, which is the type of the payloadFeature of the Flow. /// [Property(xmiId: "_18_5_3_b9102da_1536870569046_1672_18020", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFlow.PayloadType")] - public List QueryPayloadType() - { - return this.ComputePayloadType(); - } + public List payloadType => this.ComputePayloadType(); /// /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If @@ -1442,10 +1158,7 @@ public List QueryPayloadType() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -1454,10 +1167,7 @@ public string QueryQualifiedName() [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedByProperty("IConnector.RelatedFeature")] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + List Root.Elements.IRelationship.relatedElement => throw new InvalidOperationException("Redefined by property IConnector.RelatedFeature"); /// /// The Features that are related by this Connector considered as a Relationship and that restrict the @@ -1466,10 +1176,7 @@ public List QueryRelatedElement() [Property(xmiId: "_18_5_3_12e503d9_1533160674968_916334_43210", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [Implements(implementation: "IConnector.RelatedFeature")] - public List QueryRelatedFeature() - { - return this.ComputeRelatedFeature(); - } + public List relatedFeature => this.ComputeRelatedFeature(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1479,10 +1186,7 @@ public List QueryRelatedFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -1491,7 +1195,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IConnector.SourceFeature")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + } /// /// The source relatedFeature for this Connector. It is the first relatedFeature. @@ -1500,10 +1208,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [Implements(implementation: "IConnector.SourceFeature")] - public IFeature QuerySourceFeature() - { - return this.ComputeSourceFeature(); - } + public IFeature sourceFeature => this.ComputeSourceFeature(); /// /// The Feature that provides the items carried by the Flow. It must be a feature of the source of the @@ -1511,10 +1216,7 @@ public IFeature QuerySourceFeature() /// [Property(xmiId: "_18_5_3_b9102da_1536870707078_57525_18088", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFlow.SourceOutputFeature")] - public IFeature QuerySourceOutputFeature() - { - return this.ComputeSourceOutputFeature(); - } + public IFeature sourceOutputFeature => this.ComputeSourceOutputFeature(); /// /// The relatedElements to which this Relationship is considered to be directed. @@ -1523,7 +1225,11 @@ public IFeature QuerySourceOutputFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IConnector.TargetFeature")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + } /// /// The target relatedFeatures for this Connector. This includes all the relatedFeatures other than the @@ -1533,10 +1239,7 @@ public IFeature QuerySourceOutputFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [Implements(implementation: "IConnector.TargetFeature")] - public List QueryTargetFeature() - { - return this.ComputeTargetFeature(); - } + public List targetFeature => this.ComputeTargetFeature(); /// /// The Feature that receives the values carried by the Flow. It must be a feature of the target of the @@ -1544,10 +1247,7 @@ public List QueryTargetFeature() /// [Property(xmiId: "_18_5_3_b9102da_1536870573474_966268_18041", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFlow.TargetInputFeature")] - public IFeature QueryTargetInputFeature() - { - return this.ComputeTargetInputFeature(); - } + public IFeature targetInputFeature => this.ComputeTargetInputFeature(); /// /// The TextualRepresentations that annotate this Element. @@ -1556,10 +1256,7 @@ public IFeature QueryTargetInputFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1570,10 +1267,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1584,10 +1278,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1595,10 +1286,7 @@ public List QueryUnioningType() [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1607,10 +1295,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1619,10 +1304,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/ForLoopActionUsage.cs b/SysML2.NET/Core/AutoGenPoco/ForLoopActionUsage.cs index 29f8e463..75f98f2a 100644 --- a/SysML2.NET/Core/AutoGenPoco/ForLoopActionUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/ForLoopActionUsage.cs @@ -87,10 +87,7 @@ public partial class ForLoopActionUsage : IForLoopActionUsage [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IActionUsage.ActionDefinition")] - public List QueryActionDefinition() - { - return this.ComputeActionDefinition(); - } + public List actionDefinition => this.ComputeActionDefinition(); /// /// Various alternative identifiers for this Element. Generally, these will be set by tools. @@ -106,10 +103,7 @@ public List QueryActionDefinition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IActionUsage.ActionDefinition")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); /// /// The ActionUsage to be performed repeatedly by the LoopActionUsage. It is the second parameter of the @@ -117,10 +111,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_12e503d9_1624203902575_509097_3869", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "ILoopActionUsage.BodyAction")] - public IActionUsage QueryBodyAction() - { - return this.ComputeBodyAction(); - } + public IActionUsage bodyAction => this.ComputeBodyAction(); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -132,10 +123,7 @@ public IActionUsage QueryBodyAction() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -145,10 +133,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -176,10 +161,7 @@ public IFeature QueryCrossFeature() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] [Implements(implementation: "IUsage.Definition")] - public List QueryDefinition() - { - return this.ComputeDefinition(); - } + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -192,10 +174,7 @@ public List QueryDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -204,10 +183,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// The usages of this Usage that are directedFeatures. @@ -216,10 +192,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -236,10 +209,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -255,10 +225,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -268,10 +235,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -279,10 +243,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -291,20 +252,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -314,10 +269,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -325,10 +277,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// The at most one occurrenceDefinition that has isIndividual = true. @@ -336,10 +285,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public IOccurrenceDefinition QueryIndividualDefinition() - { - return this.ComputeIndividualDefinition(); - } + public IOccurrenceDefinition individualDefinition => this.ComputeIndividualDefinition(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -347,10 +293,7 @@ public IOccurrenceDefinition QueryIndividualDefinition() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -359,10 +302,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -370,10 +310,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -386,10 +323,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -413,10 +347,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -471,10 +402,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -496,10 +424,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IUsage.IsReference")] - public bool QueryIsReference() - { - return this.ComputeIsReference(); - } + public bool isReference => this.ComputeIsReference(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -527,7 +452,11 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -544,10 +473,7 @@ public bool QueryIsReference() /// [Property(xmiId: "_19_0_4_12e503d9_1640325378400_227367_3662", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IForLoopActionUsage.LoopVariable")] - public IReferenceUsage QueryLoopVariable() - { - return this.ComputeLoopVariable(); - } + public IReferenceUsage loopVariable => this.ComputeLoopVariable(); /// /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its @@ -560,10 +486,7 @@ public IReferenceUsage QueryLoopVariable() [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool QueryMayTimeVary() - { - return this.ComputeMayTimeVary(); - } + public bool mayTimeVary => this.ComputeMayTimeVary(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -571,10 +494,7 @@ public bool QueryMayTimeVary() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -582,10 +502,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -595,10 +512,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -608,10 +522,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ActionUsages that are nestedUsages of this Usage. @@ -619,10 +530,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List QueryNestedAction() - { - return this.ComputeNestedAction(); - } + public List nestedAction => this.ComputeNestedAction(); /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -630,10 +538,7 @@ public List QueryNestedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List QueryNestedAllocation() - { - return this.ComputeNestedAllocation(); - } + public List nestedAllocation => this.ComputeNestedAllocation(); /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -641,10 +546,7 @@ public List QueryNestedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List QueryNestedAnalysisCase() - { - return this.ComputeNestedAnalysisCase(); - } + public List nestedAnalysisCase => this.ComputeNestedAnalysisCase(); /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -652,10 +554,7 @@ public List QueryNestedAnalysisCase() [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List QueryNestedAttribute() - { - return this.ComputeNestedAttribute(); - } + public List nestedAttribute => this.ComputeNestedAttribute(); /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -663,10 +562,7 @@ public List QueryNestedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List QueryNestedCalculation() - { - return this.ComputeNestedCalculation(); - } + public List nestedCalculation => this.ComputeNestedCalculation(); /// /// The CaseUsages that are nestedUsages of this Usage. @@ -674,10 +570,7 @@ public List QueryNestedCalculation() [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List QueryNestedCase() - { - return this.ComputeNestedCase(); - } + public List nestedCase => this.ComputeNestedCase(); /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -685,10 +578,7 @@ public List QueryNestedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List QueryNestedConcern() - { - return this.ComputeNestedConcern(); - } + public List nestedConcern => this.ComputeNestedConcern(); /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -698,10 +588,7 @@ public List QueryNestedConcern() [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List QueryNestedConnection() - { - return this.ComputeNestedConnection(); - } + public List nestedConnection => this.ComputeNestedConnection(); /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -709,10 +596,7 @@ public List QueryNestedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List QueryNestedConstraint() - { - return this.ComputeNestedConstraint(); - } + public List nestedConstraint => this.ComputeNestedConstraint(); /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -720,10 +604,7 @@ public List QueryNestedConstraint() [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List QueryNestedEnumeration() - { - return this.ComputeNestedEnumeration(); - } + public List nestedEnumeration => this.ComputeNestedEnumeration(); /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -731,10 +612,7 @@ public List QueryNestedEnumeration() [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List QueryNestedFlow() - { - return this.ComputeNestedFlow(); - } + public List nestedFlow => this.ComputeNestedFlow(); /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -742,10 +620,7 @@ public List QueryNestedFlow() [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List QueryNestedInterface() - { - return this.ComputeNestedInterface(); - } + public List nestedInterface => this.ComputeNestedInterface(); /// /// The ItemUsages that are nestedUsages of this Usage. @@ -753,10 +628,7 @@ public List QueryNestedInterface() [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List QueryNestedItem() - { - return this.ComputeNestedItem(); - } + public List nestedItem => this.ComputeNestedItem(); /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -764,10 +636,7 @@ public List QueryNestedItem() [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List QueryNestedMetadata() - { - return this.ComputeNestedMetadata(); - } + public List nestedMetadata => this.ComputeNestedMetadata(); /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -775,10 +644,7 @@ public List QueryNestedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List QueryNestedOccurrence() - { - return this.ComputeNestedOccurrence(); - } + public List nestedOccurrence => this.ComputeNestedOccurrence(); /// /// The PartUsages that are nestedUsages of this Usage. @@ -786,10 +652,7 @@ public List QueryNestedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List QueryNestedPart() - { - return this.ComputeNestedPart(); - } + public List nestedPart => this.ComputeNestedPart(); /// /// The PortUsages that are nestedUsages of this Usage. @@ -797,10 +660,7 @@ public List QueryNestedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List QueryNestedPort() - { - return this.ComputeNestedPort(); - } + public List nestedPort => this.ComputeNestedPort(); /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -808,10 +668,7 @@ public List QueryNestedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List QueryNestedReference() - { - return this.ComputeNestedReference(); - } + public List nestedReference => this.ComputeNestedReference(); /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -819,10 +676,7 @@ public List QueryNestedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List QueryNestedRendering() - { - return this.ComputeNestedRendering(); - } + public List nestedRendering => this.ComputeNestedRendering(); /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -830,10 +684,7 @@ public List QueryNestedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List QueryNestedRequirement() - { - return this.ComputeNestedRequirement(); - } + public List nestedRequirement => this.ComputeNestedRequirement(); /// /// The StateUsages that are nestedUsages of this Usage. @@ -841,10 +692,7 @@ public List QueryNestedRequirement() [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List QueryNestedState() - { - return this.ComputeNestedState(); - } + public List nestedState => this.ComputeNestedState(); /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -852,10 +700,7 @@ public List QueryNestedState() [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List QueryNestedTransition() - { - return this.ComputeNestedTransition(); - } + public List nestedTransition => this.ComputeNestedTransition(); /// /// The Usages that are ownedFeatures of this Usage. @@ -864,10 +709,7 @@ public List QueryNestedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List QueryNestedUsage() - { - return this.ComputeNestedUsage(); - } + public List nestedUsage => this.ComputeNestedUsage(); /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -875,10 +717,7 @@ public List QueryNestedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List QueryNestedUseCase() - { - return this.ComputeNestedUseCase(); - } + public List nestedUseCase => this.ComputeNestedUseCase(); /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -886,10 +725,7 @@ public List QueryNestedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List QueryNestedVerificationCase() - { - return this.ComputeNestedVerificationCase(); - } + public List nestedVerificationCase => this.ComputeNestedVerificationCase(); /// /// The ViewUsages that are nestedUsages of this Usage. @@ -897,10 +733,7 @@ public List QueryNestedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List QueryNestedView() - { - return this.ComputeNestedView(); - } + public List nestedView => this.ComputeNestedView(); /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -908,10 +741,7 @@ public List QueryNestedView() [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List QueryNestedViewpoint() - { - return this.ComputeNestedViewpoint(); - } + public List nestedViewpoint => this.ComputeNestedViewpoint(); /// /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, @@ -922,10 +752,7 @@ public List QueryNestedViewpoint() [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] [RedefinedByProperty("IActionUsage.ActionDefinition")] [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List QueryOccurrenceDefinition() - { - return this.ComputeOccurrenceDefinition(); - } + List Systems.Occurrences.IOccurrenceUsage.occurrenceDefinition => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -933,10 +760,7 @@ public List QueryOccurrenceDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -946,10 +770,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -958,10 +779,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -970,10 +788,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -983,10 +798,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -996,10 +808,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -1007,10 +816,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -1019,10 +825,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -1030,10 +833,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -1043,10 +843,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -1056,10 +853,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -1069,10 +863,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -1082,10 +873,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -1094,10 +882,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -1106,10 +891,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -1120,10 +902,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -1132,10 +911,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -1144,10 +920,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -1165,10 +938,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -1178,10 +948,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -1191,10 +958,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -1204,10 +968,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1216,10 +977,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1227,10 +985,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The Definition that owns this Usage (if any). @@ -1239,10 +994,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public IDefinition QueryOwningDefinition() - { - return this.ComputeOwningDefinition(); - } + public IDefinition owningDefinition => this.ComputeOwningDefinition(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1250,10 +1002,7 @@ public IDefinition QueryOwningDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1262,10 +1011,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1274,10 +1020,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -1295,10 +1038,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The Usage in which this Usage is nested (if any). @@ -1306,10 +1046,7 @@ public IType QueryOwningType() [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public IUsage QueryOwningUsage() - { - return this.ComputeOwningUsage(); - } + public IUsage owningUsage => this.ComputeOwningUsage(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -1318,10 +1055,7 @@ public IUsage QueryOwningUsage() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If @@ -1342,10 +1076,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Expression whose result provides the sequence of values to which the loopVariable is set for @@ -1354,10 +1085,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1624306920911_355291_5769", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IForLoopActionUsage.SeqArgument")] - public IExpression QuerySeqArgument() - { - return this.ComputeSeqArgument(); - } + public IExpression seqArgument => this.ComputeSeqArgument(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1367,10 +1095,7 @@ public IExpression QuerySeqArgument() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -1379,10 +1104,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1393,10 +1115,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1407,10 +1126,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1418,10 +1134,7 @@ public List QueryUnioningType() [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1430,10 +1143,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1442,10 +1152,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/ForkNode.cs b/SysML2.NET/Core/AutoGenPoco/ForkNode.cs index 3e2931f9..ee225330 100644 --- a/SysML2.NET/Core/AutoGenPoco/ForkNode.cs +++ b/SysML2.NET/Core/AutoGenPoco/ForkNode.cs @@ -85,10 +85,7 @@ public partial class ForkNode : IForkNode [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IActionUsage.ActionDefinition")] - public List QueryActionDefinition() - { - return this.ComputeActionDefinition(); - } + public List actionDefinition => this.ComputeActionDefinition(); /// /// Various alternative identifiers for this Element. Generally, these will be set by tools. @@ -104,10 +101,7 @@ public List QueryActionDefinition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IActionUsage.ActionDefinition")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -119,10 +113,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -132,10 +123,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -163,10 +151,7 @@ public IFeature QueryCrossFeature() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] [Implements(implementation: "IUsage.Definition")] - public List QueryDefinition() - { - return this.ComputeDefinition(); - } + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -179,10 +164,7 @@ public List QueryDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -191,10 +173,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// The usages of this Usage that are directedFeatures. @@ -203,10 +182,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -223,10 +199,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -242,10 +215,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -255,10 +225,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -266,10 +233,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -278,20 +242,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -301,10 +259,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -312,10 +267,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// The at most one occurrenceDefinition that has isIndividual = true. @@ -323,10 +275,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public IOccurrenceDefinition QueryIndividualDefinition() - { - return this.ComputeIndividualDefinition(); - } + public IOccurrenceDefinition individualDefinition => this.ComputeIndividualDefinition(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -334,10 +283,7 @@ public IOccurrenceDefinition QueryIndividualDefinition() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -346,10 +292,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -357,10 +300,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -373,10 +313,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -400,10 +337,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -458,10 +392,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -483,10 +414,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IUsage.IsReference")] - public bool QueryIsReference() - { - return this.ComputeIsReference(); - } + public bool isReference => this.ComputeIsReference(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -514,7 +442,11 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -535,10 +467,7 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool QueryMayTimeVary() - { - return this.ComputeMayTimeVary(); - } + public bool mayTimeVary => this.ComputeMayTimeVary(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -546,10 +475,7 @@ public bool QueryMayTimeVary() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -557,10 +483,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -570,10 +493,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -583,10 +503,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ActionUsages that are nestedUsages of this Usage. @@ -594,10 +511,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List QueryNestedAction() - { - return this.ComputeNestedAction(); - } + public List nestedAction => this.ComputeNestedAction(); /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -605,10 +519,7 @@ public List QueryNestedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List QueryNestedAllocation() - { - return this.ComputeNestedAllocation(); - } + public List nestedAllocation => this.ComputeNestedAllocation(); /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -616,10 +527,7 @@ public List QueryNestedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List QueryNestedAnalysisCase() - { - return this.ComputeNestedAnalysisCase(); - } + public List nestedAnalysisCase => this.ComputeNestedAnalysisCase(); /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -627,10 +535,7 @@ public List QueryNestedAnalysisCase() [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List QueryNestedAttribute() - { - return this.ComputeNestedAttribute(); - } + public List nestedAttribute => this.ComputeNestedAttribute(); /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -638,10 +543,7 @@ public List QueryNestedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List QueryNestedCalculation() - { - return this.ComputeNestedCalculation(); - } + public List nestedCalculation => this.ComputeNestedCalculation(); /// /// The CaseUsages that are nestedUsages of this Usage. @@ -649,10 +551,7 @@ public List QueryNestedCalculation() [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List QueryNestedCase() - { - return this.ComputeNestedCase(); - } + public List nestedCase => this.ComputeNestedCase(); /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -660,10 +559,7 @@ public List QueryNestedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List QueryNestedConcern() - { - return this.ComputeNestedConcern(); - } + public List nestedConcern => this.ComputeNestedConcern(); /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -673,10 +569,7 @@ public List QueryNestedConcern() [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List QueryNestedConnection() - { - return this.ComputeNestedConnection(); - } + public List nestedConnection => this.ComputeNestedConnection(); /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -684,10 +577,7 @@ public List QueryNestedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List QueryNestedConstraint() - { - return this.ComputeNestedConstraint(); - } + public List nestedConstraint => this.ComputeNestedConstraint(); /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -695,10 +585,7 @@ public List QueryNestedConstraint() [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List QueryNestedEnumeration() - { - return this.ComputeNestedEnumeration(); - } + public List nestedEnumeration => this.ComputeNestedEnumeration(); /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -706,10 +593,7 @@ public List QueryNestedEnumeration() [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List QueryNestedFlow() - { - return this.ComputeNestedFlow(); - } + public List nestedFlow => this.ComputeNestedFlow(); /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -717,10 +601,7 @@ public List QueryNestedFlow() [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List QueryNestedInterface() - { - return this.ComputeNestedInterface(); - } + public List nestedInterface => this.ComputeNestedInterface(); /// /// The ItemUsages that are nestedUsages of this Usage. @@ -728,10 +609,7 @@ public List QueryNestedInterface() [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List QueryNestedItem() - { - return this.ComputeNestedItem(); - } + public List nestedItem => this.ComputeNestedItem(); /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -739,10 +617,7 @@ public List QueryNestedItem() [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List QueryNestedMetadata() - { - return this.ComputeNestedMetadata(); - } + public List nestedMetadata => this.ComputeNestedMetadata(); /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -750,10 +625,7 @@ public List QueryNestedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List QueryNestedOccurrence() - { - return this.ComputeNestedOccurrence(); - } + public List nestedOccurrence => this.ComputeNestedOccurrence(); /// /// The PartUsages that are nestedUsages of this Usage. @@ -761,10 +633,7 @@ public List QueryNestedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List QueryNestedPart() - { - return this.ComputeNestedPart(); - } + public List nestedPart => this.ComputeNestedPart(); /// /// The PortUsages that are nestedUsages of this Usage. @@ -772,10 +641,7 @@ public List QueryNestedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List QueryNestedPort() - { - return this.ComputeNestedPort(); - } + public List nestedPort => this.ComputeNestedPort(); /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -783,10 +649,7 @@ public List QueryNestedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List QueryNestedReference() - { - return this.ComputeNestedReference(); - } + public List nestedReference => this.ComputeNestedReference(); /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -794,10 +657,7 @@ public List QueryNestedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List QueryNestedRendering() - { - return this.ComputeNestedRendering(); - } + public List nestedRendering => this.ComputeNestedRendering(); /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -805,10 +665,7 @@ public List QueryNestedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List QueryNestedRequirement() - { - return this.ComputeNestedRequirement(); - } + public List nestedRequirement => this.ComputeNestedRequirement(); /// /// The StateUsages that are nestedUsages of this Usage. @@ -816,10 +673,7 @@ public List QueryNestedRequirement() [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List QueryNestedState() - { - return this.ComputeNestedState(); - } + public List nestedState => this.ComputeNestedState(); /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -827,10 +681,7 @@ public List QueryNestedState() [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List QueryNestedTransition() - { - return this.ComputeNestedTransition(); - } + public List nestedTransition => this.ComputeNestedTransition(); /// /// The Usages that are ownedFeatures of this Usage. @@ -839,10 +690,7 @@ public List QueryNestedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List QueryNestedUsage() - { - return this.ComputeNestedUsage(); - } + public List nestedUsage => this.ComputeNestedUsage(); /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -850,10 +698,7 @@ public List QueryNestedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List QueryNestedUseCase() - { - return this.ComputeNestedUseCase(); - } + public List nestedUseCase => this.ComputeNestedUseCase(); /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -861,10 +706,7 @@ public List QueryNestedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List QueryNestedVerificationCase() - { - return this.ComputeNestedVerificationCase(); - } + public List nestedVerificationCase => this.ComputeNestedVerificationCase(); /// /// The ViewUsages that are nestedUsages of this Usage. @@ -872,10 +714,7 @@ public List QueryNestedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List QueryNestedView() - { - return this.ComputeNestedView(); - } + public List nestedView => this.ComputeNestedView(); /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -883,10 +722,7 @@ public List QueryNestedView() [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List QueryNestedViewpoint() - { - return this.ComputeNestedViewpoint(); - } + public List nestedViewpoint => this.ComputeNestedViewpoint(); /// /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, @@ -897,10 +733,7 @@ public List QueryNestedViewpoint() [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] [RedefinedByProperty("IActionUsage.ActionDefinition")] [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List QueryOccurrenceDefinition() - { - return this.ComputeOccurrenceDefinition(); - } + List Systems.Occurrences.IOccurrenceUsage.occurrenceDefinition => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -908,10 +741,7 @@ public List QueryOccurrenceDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -921,10 +751,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -933,10 +760,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -945,10 +769,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -958,10 +779,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -971,10 +789,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -982,10 +797,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -994,10 +806,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -1005,10 +814,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -1018,10 +824,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -1031,10 +834,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -1044,10 +844,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -1057,10 +854,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -1069,10 +863,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -1081,10 +872,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -1095,10 +883,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -1107,10 +892,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -1119,10 +901,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -1140,10 +919,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -1153,10 +929,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -1166,10 +939,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -1179,10 +949,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1191,10 +958,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1202,10 +966,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The Definition that owns this Usage (if any). @@ -1214,10 +975,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public IDefinition QueryOwningDefinition() - { - return this.ComputeOwningDefinition(); - } + public IDefinition owningDefinition => this.ComputeOwningDefinition(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1225,10 +983,7 @@ public IDefinition QueryOwningDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1237,10 +992,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1249,10 +1001,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -1270,10 +1019,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The Usage in which this Usage is nested (if any). @@ -1281,10 +1027,7 @@ public IType QueryOwningType() [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public IUsage QueryOwningUsage() - { - return this.ComputeOwningUsage(); - } + public IUsage owningUsage => this.ComputeOwningUsage(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -1293,10 +1036,7 @@ public IUsage QueryOwningUsage() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If @@ -1317,10 +1057,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1330,10 +1067,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -1342,10 +1076,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1356,10 +1087,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1370,10 +1098,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1381,10 +1106,7 @@ public List QueryUnioningType() [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1393,10 +1115,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1405,10 +1124,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/FramedConcernMembership.cs b/SysML2.NET/Core/AutoGenPoco/FramedConcernMembership.cs index bc5766a7..c26311db 100644 --- a/SysML2.NET/Core/AutoGenPoco/FramedConcernMembership.cs +++ b/SysML2.NET/Core/AutoGenPoco/FramedConcernMembership.cs @@ -84,10 +84,7 @@ public partial class FramedConcernMembership : IFramedConcernMembership [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -121,10 +118,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// The kind of an FramedConcernMembership must be requirement. @@ -132,7 +126,7 @@ public bool QueryIsLibraryElement() [Property(xmiId: "_19_0_4_12e503d9_1617120451812_644221_3690", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "requirement")] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1584048161309_821854_390")] [Implements(implementation: "IFramedConcernMembership.Kind")] - RequirementConstraintKind IFramedConcernMembership.Kind { get; set; } + public RequirementConstraintKind Kind { get; set; } /// /// Whether the RequirementConstraintMembership is for an assumed or required ConstraintUsage. @@ -140,7 +134,11 @@ public bool QueryIsLibraryElement() [Property(xmiId: "_19_0_2_12e503d9_1584048161309_821854_390", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IFramedConcernMembership.Kind")] [Implements(implementation: "IRequirementConstraintMembership.Kind")] - RequirementConstraintKind IRequirementConstraintMembership.Kind { get; set; } + RequirementConstraintKind IRequirementConstraintMembership.Kind + { + get => throw new InvalidOperationException("Redefined by property IFramedConcernMembership.Kind"); + set => throw new InvalidOperationException("Redefined by property IFramedConcernMembership.Kind"); + } /// /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. @@ -149,7 +147,11 @@ public bool QueryIsLibraryElement() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] [Implements(implementation: "IMembership.MemberElement")] - public IElement MemberElement { get; set; } + IElement Root.Namespaces.IMembership.MemberElement + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + } /// /// The elementId of the memberElement. @@ -157,10 +159,7 @@ public bool QueryIsLibraryElement() [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] [Implements(implementation: "IMembership.MemberElementId")] - public string QueryMemberElementId() - { - return this.ComputeMemberElementId(); - } + string Root.Namespaces.IMembership.memberElementId => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElementId"); /// /// The name of the memberElement relative to the membershipOwningNamespace. @@ -168,7 +167,11 @@ public string QueryMemberElementId() [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberName")] [Implements(implementation: "IMembership.MemberName")] - public string MemberName { get; set; } + string Root.Namespaces.IMembership.MemberName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + } /// /// The Namespace of which the memberElement becomes a member due to this Membership. @@ -179,10 +182,7 @@ public string QueryMemberElementId() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [RedefinedByProperty("IFeatureMembership.OwningType")] [Implements(implementation: "IMembership.MembershipOwningNamespace")] - public INamespace QueryMembershipOwningNamespace() - { - return this.ComputeMembershipOwningNamespace(); - } + INamespace Root.Namespaces.IMembership.membershipOwningNamespace => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwningType"); /// /// The short name of the memberElement relative to the membershipOwningNamespace. @@ -190,7 +190,11 @@ public INamespace QueryMembershipOwningNamespace() [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] [Implements(implementation: "IMembership.MemberShortName")] - public string MemberShortName { get; set; } + string Root.Namespaces.IMembership.MemberShortName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + } /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -200,10 +204,7 @@ public INamespace QueryMembershipOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -213,10 +214,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The ConcernUsage that is the ownedConstraint of this FramedConcernMembership. @@ -224,10 +222,7 @@ public List QueryOwnedAnnotation() [Property(xmiId: "_19_0_4_12e503d9_1617120590170_490370_3748", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1584048366950_985767_426")] [Implements(implementation: "IFramedConcernMembership.OwnedConcern")] - public IConcernUsage QueryOwnedConcern() - { - return this.ComputeOwnedConcern(); - } + public IConcernUsage ownedConcern => this.ComputeOwnedConcern(); /// /// The ConstraintUsage that is the ownedMemberFeature of this RequirementConstraintMembership. @@ -236,10 +231,7 @@ public IConcernUsage QueryOwnedConcern() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] [RedefinedByProperty("IFramedConcernMembership.OwnedConcern")] [Implements(implementation: "IRequirementConstraintMembership.OwnedConstraint")] - public IConstraintUsage QueryOwnedConstraint() - { - return this.ComputeOwnedConstraint(); - } + IConstraintUsage IRequirementConstraintMembership.ownedConstraint => throw new InvalidOperationException("Redefined by property IFramedConcernMembership.OwnedConcern"); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -247,10 +239,7 @@ public IConstraintUsage QueryOwnedConstraint() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this @@ -261,10 +250,7 @@ public List QueryOwnedElement() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] [RedefinedByProperty("IFeatureMembership.OwnedMemberFeature")] [Implements(implementation: "IOwningMembership.OwnedMemberElement")] - public IElement QueryOwnedMemberElement() - { - return this.ComputeOwnedMemberElement(); - } + IElement Root.Namespaces.IOwningMembership.ownedMemberElement => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwnedMemberFeature"); /// /// The elementId of the ownedMemberElement. @@ -272,10 +258,7 @@ public IElement QueryOwnedMemberElement() [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] - public string QueryOwnedMemberElementId() - { - return this.ComputeOwnedMemberElementId(); - } + public string ownedMemberElementId => this.ComputeOwnedMemberElementId(); /// /// The Feature that this FeatureMembership relates to its owningType, making it an ownedFeature of the @@ -285,10 +268,7 @@ public string QueryOwnedMemberElementId() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] [RedefinedByProperty("IRequirementConstraintMembership.OwnedConstraint")] [Implements(implementation: "IFeatureMembership.OwnedMemberFeature")] - public IFeature QueryOwnedMemberFeature() - { - return this.ComputeOwnedMemberFeature(); - } + IFeature Core.Types.IFeatureMembership.ownedMemberFeature => throw new InvalidOperationException("Redefined by property IRequirementConstraintMembership.OwnedConstraint"); /// /// The name of the ownedMemberElement. @@ -296,10 +276,7 @@ public IFeature QueryOwnedMemberFeature() [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] [Implements(implementation: "IOwningMembership.OwnedMemberName")] - public string QueryOwnedMemberName() - { - return this.ComputeOwnedMemberName(); - } + public string ownedMemberName => this.ComputeOwnedMemberName(); /// /// The shortName of the ownedMemberElement. @@ -307,10 +284,7 @@ public string QueryOwnedMemberName() [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] - public string QueryOwnedMemberShortName() - { - return this.ComputeOwnedMemberShortName(); - } + public string ownedMemberShortName => this.ComputeOwnedMemberShortName(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -334,10 +308,7 @@ public string QueryOwnedMemberShortName() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -346,10 +317,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -358,10 +326,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -386,10 +351,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866524_738482_486")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] [Implements(implementation: "IFeatureMembership.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -401,10 +363,7 @@ public IType QueryOwningType() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The ConcernUsage that is referenced through this FramedConcernMembership. It is the @@ -414,10 +373,7 @@ public string QueryQualifiedName() [Property(xmiId: "_19_0_4_12e503d9_1617120658044_92083_3773", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1617118807597_77864_3544")] [Implements(implementation: "IFramedConcernMembership.ReferencedConcern")] - public IConcernUsage QueryReferencedConcern() - { - return this.ComputeReferencedConcern(); - } + public IConcernUsage referencedConcern => this.ComputeReferencedConcern(); /// /// The ConstraintUsage that is referenced through this RequirementConstraintMembership. It is the @@ -427,10 +383,7 @@ public IConcernUsage QueryReferencedConcern() [Property(xmiId: "_19_0_4_12e503d9_1617118807597_77864_3544", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IFramedConcernMembership.ReferencedConcern")] [Implements(implementation: "IRequirementConstraintMembership.ReferencedConstraint")] - public IConstraintUsage QueryReferencedConstraint() - { - return this.ComputeReferencedConstraint(); - } + IConstraintUsage IRequirementConstraintMembership.referencedConstraint => throw new InvalidOperationException("Redefined by property IFramedConcernMembership.ReferencedConcern"); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -438,10 +391,7 @@ public IConstraintUsage QueryReferencedConstraint() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + public List relatedElement => this.ComputeRelatedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -451,10 +401,7 @@ public List QueryRelatedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -463,7 +410,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembership.MembershipOwningNamespace")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -472,7 +423,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembership.MemberElement")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + set => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + } /// /// The TextualRepresentations that annotate this Element. @@ -481,10 +436,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly diff --git a/SysML2.NET/Core/AutoGenPoco/Function.cs b/SysML2.NET/Core/AutoGenPoco/Function.cs index 55121327..1f1ab0e2 100644 --- a/SysML2.NET/Core/AutoGenPoco/Function.cs +++ b/SysML2.NET/Core/AutoGenPoco/Function.cs @@ -88,10 +88,7 @@ public partial class Function : IFunction /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -100,10 +97,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IBehavior.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IBehavior.Parameter"); /// /// The Documentation owned by this Element. @@ -112,10 +106,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -131,10 +122,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Expressions that are steps in the calculation of the result of this Function. @@ -142,10 +130,7 @@ public List QueryEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1543948400639_301251_20841", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] [Implements(implementation: "IFunction.Expression")] - public List QueryExpression() - { - return this.ComputeExpression(); - } + public List expression => this.ComputeExpression(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -153,10 +138,7 @@ public List QueryExpression() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -165,10 +147,7 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -176,10 +155,7 @@ public List QueryFeatureMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -187,10 +163,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -199,10 +172,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -210,10 +180,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -226,10 +193,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -244,10 +208,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// Whether all necessary implied Relationships have been included in the ownedRelationships of this @@ -265,10 +226,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether this Function can be used as the function of a model-level evaluable InvocationExpression. @@ -279,10 +237,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1617395221463_139517_26381", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFunction.IsModelLevelEvaluable")] - public bool QueryIsModelLevelEvaluable() - { - return this.ComputeIsModelLevelEvaluable(); - } + public bool isModelLevelEvaluable => this.ComputeIsModelLevelEvaluable(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -302,10 +257,7 @@ public bool QueryIsModelLevelEvaluable() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -313,10 +265,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -326,10 +275,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -339,10 +285,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -350,10 +293,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -363,10 +303,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -375,10 +312,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -388,10 +322,7 @@ public IConjugation QueryOwnedConjugator() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -401,10 +332,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -412,10 +340,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -424,10 +349,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -435,10 +357,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -448,10 +367,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -461,10 +377,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -473,10 +386,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -485,10 +395,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -499,10 +406,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -520,10 +424,7 @@ public List QueryOwnedMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier @@ -532,10 +433,7 @@ public List QueryOwnedSpecialization() [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List QueryOwnedSubclassification() - { - return this.ComputeOwnedSubclassification(); - } + public List ownedSubclassification => this.ComputeOwnedSubclassification(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -544,10 +442,7 @@ public List QueryOwnedSubclassification() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -555,10 +450,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -567,10 +459,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -579,10 +468,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -599,10 +485,7 @@ public INamespace QueryOwningNamespace() [Property(xmiId: "_18_5_3_12e503d9_1543948010065_362066_20413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IBehavior.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -614,10 +497,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The object or value that is the result of evaluating the Function. @@ -626,10 +506,7 @@ public string QueryQualifiedName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] [Implements(implementation: "IFunction.Result")] - public IFeature QueryResult() - { - return this.ComputeResult(); - } + public IFeature result => this.ComputeResult(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -639,10 +516,7 @@ public IFeature QueryResult() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The Steps that make up this Behavior. @@ -650,10 +524,7 @@ public string QueryShortName() [Property(xmiId: "_18_5_3_b9102da_1536346067212_587255_17343", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IBehavior.Step")] - public List QueryStep() - { - return this.ComputeStep(); - } + public List step => this.ComputeStep(); /// /// The TextualRepresentations that annotate this Element. @@ -662,10 +533,7 @@ public List QueryStep() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -676,10 +544,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/IAcceptActionUsage.cs b/SysML2.NET/Core/AutoGenPoco/IAcceptActionUsage.cs index db7a71f3..a27e1e97 100644 --- a/SysML2.NET/Core/AutoGenPoco/IAcceptActionUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/IAcceptActionUsage.cs @@ -78,7 +78,7 @@ public partial interface IAcceptActionUsage : IActionUsage /// the AcceptActionUsage will only accept a Transfer with exactly this payload. /// [Property(xmiId: "_19_0_4_12e503d9_1642710978429_81558_4948", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - IExpression QueryPayloadArgument(); + IExpression payloadArgument { get; } /// /// The nestedReference of this AcceptActionUsage that redefines the payload output parameter of the @@ -87,13 +87,13 @@ public partial interface IAcceptActionUsage : IActionUsage [Property(xmiId: "_19_0_4_12e503d9_1642701018287_478584_4462", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591477541360_47573_933")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - IReferenceUsage QueryPayloadParameter(); + IReferenceUsage payloadParameter { get; } /// /// An Expression whose result is bound to the receiver input parameter of this AcceptActionUsage. /// [Property(xmiId: "_19_0_4_12e503d9_1612814670555_311543_168", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - IExpression QueryReceiverArgument(); + IExpression receiverArgument { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IActionDefinition.cs b/SysML2.NET/Core/AutoGenPoco/IActionDefinition.cs index 38199d53..d5547590 100644 --- a/SysML2.NET/Core/AutoGenPoco/IActionDefinition.cs +++ b/SysML2.NET/Core/AutoGenPoco/IActionDefinition.cs @@ -73,7 +73,7 @@ public partial interface IActionDefinition : IBehavior, IOccurrenceDefinition [Property(xmiId: "_18_5_3_12e503d9_1565500809065_170841_30688", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - List QueryAction(); + List action { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IActionUsage.cs b/SysML2.NET/Core/AutoGenPoco/IActionUsage.cs index b1539821..bc964e32 100644 --- a/SysML2.NET/Core/AutoGenPoco/IActionUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/IActionUsage.cs @@ -79,7 +79,7 @@ public partial interface IActionUsage : IStep, IOccurrenceUsage [Property(xmiId: "_18_5_3_12e503d9_1565500905804_589845_30779", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - List QueryActionDefinition(); + List actionDefinition { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IActorMembership.cs b/SysML2.NET/Core/AutoGenPoco/IActorMembership.cs index 9c44e8fc..bb5f6e1d 100644 --- a/SysML2.NET/Core/AutoGenPoco/IActorMembership.cs +++ b/SysML2.NET/Core/AutoGenPoco/IActorMembership.cs @@ -52,7 +52,7 @@ public partial interface IActorMembership : IParameterMembership /// [Property(xmiId: "_19_0_4_12e503d9_1621464305451_983612_1421", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1557528016548_548098_110830")] - IPartUsage QueryOwnedActorParameter(); + IPartUsage ownedActorParameter { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IAllocationDefinition.cs b/SysML2.NET/Core/AutoGenPoco/IAllocationDefinition.cs index df87b7ae..6772b89b 100644 --- a/SysML2.NET/Core/AutoGenPoco/IAllocationDefinition.cs +++ b/SysML2.NET/Core/AutoGenPoco/IAllocationDefinition.cs @@ -75,7 +75,7 @@ public partial interface IAllocationDefinition : IConnectionDefinition /// [Property(xmiId: "_19_0_4_12e503d9_1611430644481_402036_964", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - List QueryAllocation(); + List allocation { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IAllocationUsage.cs b/SysML2.NET/Core/AutoGenPoco/IAllocationUsage.cs index 7522dcb6..6558baef 100644 --- a/SysML2.NET/Core/AutoGenPoco/IAllocationUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/IAllocationUsage.cs @@ -76,7 +76,7 @@ public partial interface IAllocationUsage : IConnectionUsage /// [Property(xmiId: "_19_0_4_12e503d9_1611430742949_241425_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1594853499656_139435_802")] - List QueryAllocationDefinition(); + List allocationDefinition { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IAnalysisCaseDefinition.cs b/SysML2.NET/Core/AutoGenPoco/IAnalysisCaseDefinition.cs index 3c52f551..ffc3d671 100644 --- a/SysML2.NET/Core/AutoGenPoco/IAnalysisCaseDefinition.cs +++ b/SysML2.NET/Core/AutoGenPoco/IAnalysisCaseDefinition.cs @@ -73,7 +73,7 @@ public partial interface IAnalysisCaseDefinition : ICaseDefinition [Property(xmiId: "_19_0_2_59601fc_1590945152798_315308_221", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948400639_301251_20841")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - IExpression QueryResultExpression(); + IExpression resultExpression { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IAnalysisCaseUsage.cs b/SysML2.NET/Core/AutoGenPoco/IAnalysisCaseUsage.cs index e49f1290..c58027b3 100644 --- a/SysML2.NET/Core/AutoGenPoco/IAnalysisCaseUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/IAnalysisCaseUsage.cs @@ -74,7 +74,7 @@ public partial interface IAnalysisCaseUsage : ICaseUsage /// [Property(xmiId: "_19_0_2_12e503d9_1591152217935_225164_2921", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_59601fc_1590257465225_855208_512")] - IAnalysisCaseDefinition QueryAnalysisCaseDefinition(); + IAnalysisCaseDefinition analysisCaseDefinition { get; } /// /// An Expression used to compute the result of the AnalysisCaseUsage, owned via a @@ -82,7 +82,7 @@ public partial interface IAnalysisCaseUsage : ICaseUsage /// [Property(xmiId: "_19_0_2_12e503d9_1591151453868_910052_2600", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - IExpression QueryResultExpression(); + IExpression resultExpression { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IAnnotatingElement.cs b/SysML2.NET/Core/AutoGenPoco/IAnnotatingElement.cs index 676a0b8f..93b7df89 100644 --- a/SysML2.NET/Core/AutoGenPoco/IAnnotatingElement.cs +++ b/SysML2.NET/Core/AutoGenPoco/IAnnotatingElement.cs @@ -47,7 +47,7 @@ public partial interface IAnnotatingElement : IElement /// AnnotatingElement. /// [Property(xmiId: "_19_0_2_12e503d9_1594145755058_99428_86", aggregation: AggregationKind.None, lowerValue: 1, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - List QueryAnnotatedElement(); + List annotatedElement { get; } /// /// The Annotations that relate this AnnotatingElement to its annotatedElements. This includes the @@ -55,7 +55,7 @@ public partial interface IAnnotatingElement : IElement /// [Property(xmiId: "_18_5_3_12e503d9_1543094212714_953084_18407", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - List QueryAnnotation(); + List annotation { get; } /// /// The ownedRelationships of this AnnotatingElement that are Annotations, for which this @@ -64,7 +64,7 @@ public partial interface IAnnotatingElement : IElement [Property(xmiId: "_19_0_4_12e503d9_1703019570915_375100_18", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - List QueryOwnedAnnotatingRelationship(); + List ownedAnnotatingRelationship { get; } /// /// The owningRelationship of this AnnotatingRelationship, if it is an Annotation @@ -72,7 +72,7 @@ public partial interface IAnnotatingElement : IElement [Property(xmiId: "_2022x_2_12e503d9_1735188506571_308678_376", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] - IAnnotation QueryOwningAnnotatingRelationship(); + IAnnotation owningAnnotatingRelationship { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IAnnotation.cs b/SysML2.NET/Core/AutoGenPoco/IAnnotation.cs index 2c40f1d6..6cc10d33 100644 --- a/SysML2.NET/Core/AutoGenPoco/IAnnotation.cs +++ b/SysML2.NET/Core/AutoGenPoco/IAnnotation.cs @@ -53,7 +53,7 @@ public partial interface IAnnotation : IRelationship /// [Property(xmiId: "_18_5_3_12e503d9_1543094212714_638255_18408", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - IAnnotatingElement QueryAnnotatingElement(); + IAnnotatingElement annotatingElement { get; } /// /// The annotatingElement of this Annotation, when it is an ownedRelatedElement. @@ -61,7 +61,7 @@ public partial interface IAnnotation : IRelationship [Property(xmiId: "_2022x_2_12e503d9_1735188506571_384269_375", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_638255_18408")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_59873_43302")] - IAnnotatingElement QueryOwnedAnnotatingElement(); + IAnnotatingElement ownedAnnotatingElement { get; } /// /// The annotatedElement of this Annotation, when it is also the owningRelatedElement. @@ -69,7 +69,7 @@ public partial interface IAnnotation : IRelationship [Property(xmiId: "_19_0_2_12e503d9_1594152527165_104456_2501", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_494140_18542")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - IElement QueryOwningAnnotatedElement(); + IElement owningAnnotatedElement { get; } /// /// The annotatingElement of this Annotation, when it is the owningRelatedElement. @@ -77,7 +77,7 @@ public partial interface IAnnotation : IRelationship [Property(xmiId: "_19_0_4_12e503d9_1703019570939_266622_19", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_638255_18408")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - IAnnotatingElement QueryOwningAnnotatingElement(); + IAnnotatingElement owningAnnotatingElement { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IAssertConstraintUsage.cs b/SysML2.NET/Core/AutoGenPoco/IAssertConstraintUsage.cs index f39b1f60..86cf6280 100644 --- a/SysML2.NET/Core/AutoGenPoco/IAssertConstraintUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/IAssertConstraintUsage.cs @@ -77,7 +77,7 @@ public partial interface IAssertConstraintUsage : IConstraintUsage, IInvariant /// AssertConstraintUsage itself. /// [Property(xmiId: "_19_0_2_12e503d9_1581045158665_239617_9458", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - IConstraintUsage QueryAssertedConstraint(); + IConstraintUsage assertedConstraint { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IAssignmentActionUsage.cs b/SysML2.NET/Core/AutoGenPoco/IAssignmentActionUsage.cs index 533d4814..6edf1136 100644 --- a/SysML2.NET/Core/AutoGenPoco/IAssignmentActionUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/IAssignmentActionUsage.cs @@ -77,7 +77,7 @@ public partial interface IAssignmentActionUsage : IActionUsage /// [Property(xmiId: "_19_0_4_12e503d9_1624202269076_561550_3109", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - IFeature QueryReferent(); + IFeature referent { get; } /// /// The Expression whose value is an occurrence in the domain of the referent Feature, for which the @@ -85,13 +85,13 @@ public partial interface IAssignmentActionUsage : IActionUsage /// AssignmentActionUsage. /// [Property(xmiId: "_19_0_4_12e503d9_1624201786354_844501_2835", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - IExpression QueryTargetArgument(); + IExpression targetArgument { get; } /// /// The Expression whose result is to be assigned to the referent Feature. /// [Property(xmiId: "_19_0_4_12e503d9_1624201792996_104394_2856", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - IExpression QueryValueExpression(); + IExpression valueExpression { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IAssociation.cs b/SysML2.NET/Core/AutoGenPoco/IAssociation.cs index 5adb661f..380b61fa 100644 --- a/SysML2.NET/Core/AutoGenPoco/IAssociation.cs +++ b/SysML2.NET/Core/AutoGenPoco/IAssociation.cs @@ -52,7 +52,7 @@ public partial interface IAssociation : IClassifier, IRelationship /// [Property(xmiId: "_18_5_3_12e503d9_1562477648742_24204_22901", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - List QueryAssociationEnd(); + List associationEnd { get; } /// /// The types of the associationEnds of the Association, which are the relatedElements of the @@ -60,7 +60,7 @@ public partial interface IAssociation : IClassifier, IRelationship /// [Property(xmiId: "_18_5_3_12e503d9_1533160674994_4339_43349", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - List QueryRelatedType(); + List relatedType { get; } /// /// The source relatedType for this Association. It is the first relatedType of the Association. @@ -68,7 +68,7 @@ public partial interface IAssociation : IClassifier, IRelationship [Property(xmiId: "_19_0_2_12e503d9_1594939013292_377668_3566", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - IType QuerySourceType(); + IType sourceType { get; } /// /// The target relatedTypes for this Association. This includes all the relatedTypes other than the @@ -77,7 +77,7 @@ public partial interface IAssociation : IClassifier, IRelationship [Property(xmiId: "_19_0_2_12e503d9_1594939237325_861933_3707", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - List QueryTargetType(); + List targetType { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IAttributeUsage.cs b/SysML2.NET/Core/AutoGenPoco/IAttributeUsage.cs index 245fad1d..fedf4a94 100644 --- a/SysML2.NET/Core/AutoGenPoco/IAttributeUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/IAttributeUsage.cs @@ -78,14 +78,14 @@ public partial interface IAttributeUsage : IUsage /// [Property(xmiId: "_18_5_3_12e503d9_1565471811429_523492_20975", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] - List QueryAttributeDefinition(); + List attributeDefinition { get; } /// /// Always true for an AttributeUsage. /// [Property(xmiId: "_19_0_4_12e503d9_1624050661138_649455_27", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: "true")] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1624035114787_488767_41423")] - new bool QueryIsReference(); + new bool isReference { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IBehavior.cs b/SysML2.NET/Core/AutoGenPoco/IBehavior.cs index 71f4f3c4..ac5aa232 100644 --- a/SysML2.NET/Core/AutoGenPoco/IBehavior.cs +++ b/SysML2.NET/Core/AutoGenPoco/IBehavior.cs @@ -51,14 +51,14 @@ public partial interface IBehavior : IClass /// [Property(xmiId: "_18_5_3_12e503d9_1543948010065_362066_20413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - List QueryParameter(); + List parameter { get; } /// /// The Steps that make up this Behavior. /// [Property(xmiId: "_18_5_3_b9102da_1536346067212_587255_17343", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - List QueryStep(); + List step { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IBooleanExpression.cs b/SysML2.NET/Core/AutoGenPoco/IBooleanExpression.cs index 4590b037..a4490e92 100644 --- a/SysML2.NET/Core/AutoGenPoco/IBooleanExpression.cs +++ b/SysML2.NET/Core/AutoGenPoco/IBooleanExpression.cs @@ -50,7 +50,7 @@ public partial interface IBooleanExpression : IExpression /// [Property(xmiId: "_19_0_2_12e503d9_1578025035149_386_969", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1543948477241_299049_20934")] - IPredicate QueryPredicate(); + IPredicate predicate { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/ICalculationDefinition.cs b/SysML2.NET/Core/AutoGenPoco/ICalculationDefinition.cs index 2fb90783..37045310 100644 --- a/SysML2.NET/Core/AutoGenPoco/ICalculationDefinition.cs +++ b/SysML2.NET/Core/AutoGenPoco/ICalculationDefinition.cs @@ -73,7 +73,7 @@ public partial interface ICalculationDefinition : IFunction, IActionDefinition [Property(xmiId: "_19_0_2_12e503d9_1588214479224_101961_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565500809065_170841_30688")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948400639_301251_20841")] - List QueryCalculation(); + List calculation { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/ICalculationUsage.cs b/SysML2.NET/Core/AutoGenPoco/ICalculationUsage.cs index 5c499d5b..98acbe7b 100644 --- a/SysML2.NET/Core/AutoGenPoco/ICalculationUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/ICalculationUsage.cs @@ -80,7 +80,7 @@ public partial interface ICalculationUsage : IExpression, IActionUsage [Property(xmiId: "_19_0_2_12e503d9_1588213526305_899324_302", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1543948477241_299049_20934")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1565500905804_589845_30779")] - IFunction QueryCalculationDefinition(); + IFunction calculationDefinition { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/ICaseDefinition.cs b/SysML2.NET/Core/AutoGenPoco/ICaseDefinition.cs index 1f4c8730..56aa8890 100644 --- a/SysML2.NET/Core/AutoGenPoco/ICaseDefinition.cs +++ b/SysML2.NET/Core/AutoGenPoco/ICaseDefinition.cs @@ -74,14 +74,14 @@ public partial interface ICaseDefinition : ICalculationDefinition [Property(xmiId: "_19_0_4_12e503d9_1621464609772_382176_1612", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - List QueryActorParameter(); + List actorParameter { get; } /// /// The RequirementUsage representing the objective of this CaseDefinition. /// [Property(xmiId: "_19_0_2_59601fc_1590259317710_27529_910", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - IRequirementUsage QueryObjectiveRequirement(); + IRequirementUsage objectiveRequirement { get; } /// /// The parameter of this CaseDefinition that represents its subject. @@ -89,7 +89,7 @@ public partial interface ICaseDefinition : ICalculationDefinition [Property(xmiId: "_19_0_2_12e503d9_1595189932946_106647_973", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - IUsage QuerySubjectParameter(); + IUsage subjectParameter { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/ICaseUsage.cs b/SysML2.NET/Core/AutoGenPoco/ICaseUsage.cs index 55a92dc9..034044df 100644 --- a/SysML2.NET/Core/AutoGenPoco/ICaseUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/ICaseUsage.cs @@ -75,21 +75,21 @@ public partial interface ICaseUsage : ICalculationUsage [Property(xmiId: "_19_0_4_12e503d9_1621464633171_380461_1655", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - List QueryActorParameter(); + List actorParameter { get; } /// /// The CaseDefinition that is the type of this CaseUsage. /// [Property(xmiId: "_19_0_2_59601fc_1590257465225_855208_512", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1588213526305_899324_302")] - ICaseDefinition QueryCaseDefinition(); + ICaseDefinition caseDefinition { get; } /// /// The RequirementUsage representing the objective of this CaseUsage. /// [Property(xmiId: "_19_0_2_12e503d9_1591138794257_404044_2145", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - IRequirementUsage QueryObjectiveRequirement(); + IRequirementUsage objectiveRequirement { get; } /// /// The parameter of this CaseUsage that represents its subject. @@ -97,7 +97,7 @@ public partial interface ICaseUsage : ICalculationUsage [Property(xmiId: "_19_0_2_12e503d9_1595190279083_51021_1128", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - IUsage QuerySubjectParameter(); + IUsage subjectParameter { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IClassifier.cs b/SysML2.NET/Core/AutoGenPoco/IClassifier.cs index 18432927..4845a190 100644 --- a/SysML2.NET/Core/AutoGenPoco/IClassifier.cs +++ b/SysML2.NET/Core/AutoGenPoco/IClassifier.cs @@ -53,7 +53,7 @@ public partial interface IClassifier : IType /// [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] - List QueryOwnedSubclassification(); + List ownedSubclassification { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IConcernUsage.cs b/SysML2.NET/Core/AutoGenPoco/IConcernUsage.cs index fecc5473..f625d7d2 100644 --- a/SysML2.NET/Core/AutoGenPoco/IConcernUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/IConcernUsage.cs @@ -77,7 +77,7 @@ public partial interface IConcernUsage : IRequirementUsage /// [Property(xmiId: "_19_0_4_12e503d9_1617052514912_780627_2256", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1583000408905_769743_1223")] - IConcernDefinition QueryConcernDefinition(); + IConcernDefinition concernDefinition { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IConjugatedPortDefinition.cs b/SysML2.NET/Core/AutoGenPoco/IConjugatedPortDefinition.cs index b0db19b0..495d4b6a 100644 --- a/SysML2.NET/Core/AutoGenPoco/IConjugatedPortDefinition.cs +++ b/SysML2.NET/Core/AutoGenPoco/IConjugatedPortDefinition.cs @@ -76,7 +76,7 @@ public partial interface IConjugatedPortDefinition : IPortDefinition /// [Property(xmiId: "_19_0_2_12e503d9_1575484364017_387810_990", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] - IPortDefinition QueryOriginalPortDefinition(); + IPortDefinition originalPortDefinition { get; } /// /// The PortConjugation that is the ownedConjugator of this ConjugatedPortDefinition, linking it to its @@ -84,7 +84,7 @@ public partial interface IConjugatedPortDefinition : IPortDefinition /// [Property(xmiId: "_19_0_2_12e503d9_1575484344901_850046_947", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1575482646809_280165_440")] - IPortConjugation QueryOwnedPortConjugator(); + IPortConjugation ownedPortConjugator { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IConjugatedPortTyping.cs b/SysML2.NET/Core/AutoGenPoco/IConjugatedPortTyping.cs index bfdb210a..81b0ebd2 100644 --- a/SysML2.NET/Core/AutoGenPoco/IConjugatedPortTyping.cs +++ b/SysML2.NET/Core/AutoGenPoco/IConjugatedPortTyping.cs @@ -56,7 +56,7 @@ public partial interface IConjugatedPortTyping : IFeatureTyping /// The originalPortDefinition of the conjugatedPortDefinition of this ConjugatedPortTyping. /// [Property(xmiId: "_19_0_2_12e503d9_1577915013583_787601_133", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - IPortDefinition QueryPortDefinition(); + IPortDefinition portDefinition { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IConjugation.cs b/SysML2.NET/Core/AutoGenPoco/IConjugation.cs index c83ffd73..71dcf1b8 100644 --- a/SysML2.NET/Core/AutoGenPoco/IConjugation.cs +++ b/SysML2.NET/Core/AutoGenPoco/IConjugation.cs @@ -67,7 +67,7 @@ public partial interface IConjugation : IRelationship [Property(xmiId: "_19_0_2_12e503d9_1575482646809_778895_441", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490143_721644_299")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - IType QueryOwningType(); + IType owningType { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IConnectionDefinition.cs b/SysML2.NET/Core/AutoGenPoco/IConnectionDefinition.cs index 28d4eab4..620f374d 100644 --- a/SysML2.NET/Core/AutoGenPoco/IConnectionDefinition.cs +++ b/SysML2.NET/Core/AutoGenPoco/IConnectionDefinition.cs @@ -71,7 +71,7 @@ public partial interface IConnectionDefinition : IAssociationStructure, IPartDef /// [Property(xmiId: "_19_0_2_12e503d9_1591476421094_685440_682", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562477648742_24204_22901")] - List QueryConnectionEnd(); + List connectionEnd { get; } /// /// A ConnectionDefinition always has isSufficient = true. diff --git a/SysML2.NET/Core/AutoGenPoco/IConnectionUsage.cs b/SysML2.NET/Core/AutoGenPoco/IConnectionUsage.cs index a0a0b2b3..9cb7ec33 100644 --- a/SysML2.NET/Core/AutoGenPoco/IConnectionUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/IConnectionUsage.cs @@ -81,7 +81,7 @@ public partial interface IConnectionUsage : IConnectorAsUsage, IPartUsage [Property(xmiId: "_19_0_2_12e503d9_1594853499656_139435_802", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565471361757_649736_20796")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674983_471497_43284")] - List QueryConnectionDefinition(); + List connectionDefinition { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IConnector.cs b/SysML2.NET/Core/AutoGenPoco/IConnector.cs index 3a0ecd1a..ce70d5e2 100644 --- a/SysML2.NET/Core/AutoGenPoco/IConnector.cs +++ b/SysML2.NET/Core/AutoGenPoco/IConnector.cs @@ -52,7 +52,7 @@ public partial interface IConnector : IFeature, IRelationship /// [Property(xmiId: "_18_5_3_12e503d9_1533160674983_471497_43284", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - List QueryAssociation(); + List association { get; } /// /// The endFeatures of a Connector, which redefine the endFeatures of the associations of the Connector. @@ -61,7 +61,7 @@ public partial interface IConnector : IFeature, IRelationship /// [Property(xmiId: "_18_5_3_12e503d9_1556735067666_827798_21922", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] - List QueryConnectorEnd(); + List connectorEnd { get; } /// /// The innermost Type that is a common direct or indirect featuringType of the relatedFeatures, such @@ -69,7 +69,7 @@ public partial interface IConnector : IFeature, IRelationship /// checkConnectorTypeFeaturing constraint. /// [Property(xmiId: "_2022x_2_12e503d9_1737751598145_444042_71", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - IType QueryDefaultFeaturingType(); + IType defaultFeaturingType { get; } /// /// The Features that are related by this Connector considered as a Relationship and that restrict the @@ -77,7 +77,7 @@ public partial interface IConnector : IFeature, IRelationship /// [Property(xmiId: "_18_5_3_12e503d9_1533160674968_916334_43210", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] - List QueryRelatedFeature(); + List relatedFeature { get; } /// /// The source relatedFeature for this Connector. It is the first relatedFeature. @@ -85,7 +85,7 @@ public partial interface IConnector : IFeature, IRelationship [Property(xmiId: "_19_0_2_12e503d9_1594953058873_558253_3897", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - IFeature QuerySourceFeature(); + IFeature sourceFeature { get; } /// /// The target relatedFeatures for this Connector. This includes all the relatedFeatures other than the @@ -94,7 +94,7 @@ public partial interface IConnector : IFeature, IRelationship [Property(xmiId: "_19_0_2_12e503d9_1594953128207_991867_3946", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] - List QueryTargetFeature(); + List targetFeature { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IConstraintUsage.cs b/SysML2.NET/Core/AutoGenPoco/IConstraintUsage.cs index 591c4007..661ac00b 100644 --- a/SysML2.NET/Core/AutoGenPoco/IConstraintUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/IConstraintUsage.cs @@ -79,7 +79,7 @@ public partial interface IConstraintUsage : IBooleanExpression, IOccurrenceUsage /// [Property(xmiId: "_19_0_2_12e503d9_1578067546711_751168_1745", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1578025035149_386_969")] - IPredicate QueryConstraintDefinition(); + IPredicate constraintDefinition { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/ICrossSubsetting.cs b/SysML2.NET/Core/AutoGenPoco/ICrossSubsetting.cs index eabe2f47..ec61188d 100644 --- a/SysML2.NET/Core/AutoGenPoco/ICrossSubsetting.cs +++ b/SysML2.NET/Core/AutoGenPoco/ICrossSubsetting.cs @@ -67,7 +67,7 @@ public partial interface ICrossSubsetting : ISubsetting [Property(xmiId: "_19_0_4_b9102da_1689616916594_477020_278", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_236250_43311")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674967_140305_43206")] - IFeature QueryCrossingFeature(); + IFeature crossingFeature { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IDefinition.cs b/SysML2.NET/Core/AutoGenPoco/IDefinition.cs index 370dd4d7..ddb717bc 100644 --- a/SysML2.NET/Core/AutoGenPoco/IDefinition.cs +++ b/SysML2.NET/Core/AutoGenPoco/IDefinition.cs @@ -79,7 +79,7 @@ public partial interface IDefinition : IClassifier [Property(xmiId: "_18_5_3_12e503d9_1565495064714_974634_26150", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - List QueryDirectedUsage(); + List directedUsage { get; } /// /// Whether this Definition is for a variation point or not. If true, then all the memberships of the @@ -93,49 +93,49 @@ public partial interface IDefinition : IClassifier /// [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - List QueryOwnedAction(); + List ownedAction { get; } /// /// The AllocationUsages that are ownedUsages of this Definition. /// [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - List QueryOwnedAllocation(); + List ownedAllocation { get; } /// /// The AnalysisCaseUsages that are ownedUsages of this Definition. /// [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - List QueryOwnedAnalysisCase(); + List ownedAnalysisCase { get; } /// /// The AttributeUsages that are ownedUsages of this Definition. /// [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - List QueryOwnedAttribute(); + List ownedAttribute { get; } /// /// The CalculationUsages that are ownedUsages of this Definition. /// [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - List QueryOwnedCalculation(); + List ownedCalculation { get; } /// /// The code>CaseUsages that are ownedUsages of this Definition. /// [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] - List QueryOwnedCase(); + List ownedCase { get; } /// /// The ConcernUsages that are ownedUsages of this Definition. /// [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - List QueryOwnedConcern(); + List ownedConcern { get; } /// /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes @@ -144,105 +144,105 @@ public partial interface IDefinition : IClassifier /// [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - List QueryOwnedConnection(); + List ownedConnection { get; } /// /// The ConstraintUsages that are ownedUsages of this Definition. /// [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - List QueryOwnedConstraint(); + List ownedConstraint { get; } /// /// The EnumerationUsages that are ownedUsages of this Definition. /// [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] - List QueryOwnedEnumeration(); + List ownedEnumeration { get; } /// /// The FlowUsages that are ownedUsages of this Definition. /// [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - List QueryOwnedFlow(); + List ownedFlow { get; } /// /// The InterfaceUsages that are ownedUsages of this Definition. /// [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] - List QueryOwnedInterface(); + List ownedInterface { get; } /// /// The ItemUsages that are ownedUsages of this Definition. /// [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] - List QueryOwnedItem(); + List ownedItem { get; } /// /// The MetadataUsages that are ownedUsages of this Definition. /// [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - List QueryOwnedMetadata(); + List ownedMetadata { get; } /// /// The OccurrenceUsages that are ownedUsages of this Definition. /// [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - List QueryOwnedOccurrence(); + List ownedOccurrence { get; } /// /// The PartUsages that are ownedUsages of this Definition. /// [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] - List QueryOwnedPart(); + List ownedPart { get; } /// /// The PortUsages that are ownedUsages of this Definition. /// [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - List QueryOwnedPort(); + List ownedPort { get; } /// /// The ReferenceUsages that are ownedUsages of this Definition. /// [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - List QueryOwnedReference(); + List ownedReference { get; } /// /// The RenderingUsages that are ownedUsages of this Definition. /// [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - List QueryOwnedRendering(); + List ownedRendering { get; } /// /// The RequirementUsages that are ownedUsages of this Definition. /// [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] - List QueryOwnedRequirement(); + List ownedRequirement { get; } /// /// The StateUsages that are ownedUsages of this Definition. /// [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] - List QueryOwnedState(); + List ownedState { get; } /// /// The TransitionUsages that are ownedUsages of this Definition. /// [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] - List QueryOwnedTransition(); + List ownedTransition { get; } /// /// The Usages that are ownedFeatures of this Definition. @@ -250,42 +250,42 @@ public partial interface IDefinition : IClassifier [Property(xmiId: "_18_5_3_12e503d9_1565479686637_967933_23236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - List QueryOwnedUsage(); + List ownedUsage { get; } /// /// The UseCaseUsages that are ownedUsages of this Definition. /// [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - List QueryOwnedUseCase(); + List ownedUseCase { get; } /// /// The VerificationCaseUsages that are ownedUsages of this Definition. /// [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] - List QueryOwnedVerificationCase(); + List ownedVerificationCase { get; } /// /// The ViewUsages that are ownedUsages of this Definition. /// [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] - List QueryOwnedView(); + List ownedView { get; } /// /// The ViewpointUsages that are ownedUsages of this Definition. /// [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - List QueryOwnedViewpoint(); + List ownedViewpoint { get; } /// /// The Usages that are features of this Definition (not necessarily owned). /// [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - List QueryUsage(); + List usage { get; } /// /// The Usages which represent the variants of this Definition as a variation point Definition, if @@ -293,7 +293,7 @@ public partial interface IDefinition : IClassifier /// [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - List QueryVariant(); + List variant { get; } /// /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then @@ -302,7 +302,7 @@ public partial interface IDefinition : IClassifier /// [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - List QueryVariantMembership(); + List variantMembership { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IDifferencing.cs b/SysML2.NET/Core/AutoGenPoco/IDifferencing.cs index 6bb26258..9494cdf9 100644 --- a/SysML2.NET/Core/AutoGenPoco/IDifferencing.cs +++ b/SysML2.NET/Core/AutoGenPoco/IDifferencing.cs @@ -56,7 +56,7 @@ public partial interface IDifferencing : IRelationship [Property(xmiId: "_19_0_4_b9102da_1661871168453_175911_796", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - IType QueryTypeDifferenced(); + IType typeDifferenced { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IDisjoining.cs b/SysML2.NET/Core/AutoGenPoco/IDisjoining.cs index 3acc9d47..1de5a426 100644 --- a/SysML2.NET/Core/AutoGenPoco/IDisjoining.cs +++ b/SysML2.NET/Core/AutoGenPoco/IDisjoining.cs @@ -56,7 +56,7 @@ public partial interface IDisjoining : IRelationship [Property(xmiId: "_19_0_4_12e503d9_1627447519614_499771_371", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_955906_617")] - IType QueryOwningType(); + IType owningType { get; } /// /// Type asserted to be disjoint with the disjoiningType. diff --git a/SysML2.NET/Core/AutoGenPoco/IDocumentation.cs b/SysML2.NET/Core/AutoGenPoco/IDocumentation.cs index 9309c055..4cddb835 100644 --- a/SysML2.NET/Core/AutoGenPoco/IDocumentation.cs +++ b/SysML2.NET/Core/AutoGenPoco/IDocumentation.cs @@ -45,7 +45,7 @@ public partial interface IDocumentation : IComment [Property(xmiId: "_19_0_2_12e503d9_1594150061166_948466_1622", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_744477_17277")] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1594145755058_99428_86")] - IElement QueryDocumentedElement(); + IElement documentedElement { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IElement.cs b/SysML2.NET/Core/AutoGenPoco/IElement.cs index 60c6f7a7..f961d941 100644 --- a/SysML2.NET/Core/AutoGenPoco/IElement.cs +++ b/SysML2.NET/Core/AutoGenPoco/IElement.cs @@ -69,7 +69,7 @@ public partial interface IElement [Property(xmiId: "_19_0_2_12e503d9_1594150061166_345630_1621", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - List QueryDocumentation(); + List documentation { get; } /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -92,7 +92,7 @@ public partial interface IElement /// Whether this Element is contained in the ownership tree of a library model. /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - bool QueryIsLibraryElement(); + bool isLibraryElement { get; } /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -101,7 +101,7 @@ public partial interface IElement /// null. /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - string QueryName(); + string name { get; } /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -110,14 +110,14 @@ public partial interface IElement [Property(xmiId: "_19_0_2_12e503d9_1594152527165_702130_2500", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] - List QueryOwnedAnnotation(); + List ownedAnnotation { get; } /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of /// this Element. /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - List QueryOwnedElement(); + List ownedElement { get; } /// /// The Relationships for which this Element is the owningRelatedElement. @@ -131,7 +131,7 @@ public partial interface IElement /// Element, if any. /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - IElement QueryOwner(); + IElement owner { get; } /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -139,7 +139,7 @@ public partial interface IElement [Property(xmiId: "_18_5_3_12e503d9_1533160674972_622493_43236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] - IOwningMembership QueryOwningMembership(); + IOwningMembership owningMembership { get; } /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -147,7 +147,7 @@ public partial interface IElement /// [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] - INamespace QueryOwningNamespace(); + INamespace owningNamespace { get; } /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -165,7 +165,7 @@ public partial interface IElement /// then the qualifiedName is null for all such Elements other than the first. /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - string QueryQualifiedName(); + string qualifiedName { get; } /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -174,7 +174,7 @@ public partial interface IElement /// when the declaredName is null. /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - string QueryShortName(); + string shortName { get; } /// /// The TextualRepresentations that annotate this Element. @@ -182,7 +182,7 @@ public partial interface IElement [Property(xmiId: "_19_0_2_12e503d9_1594154758493_640290_3388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] - List QueryTextualRepresentation(); + List textualRepresentation { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IElementFilterMembership.cs b/SysML2.NET/Core/AutoGenPoco/IElementFilterMembership.cs index ada6912f..bf32e4f6 100644 --- a/SysML2.NET/Core/AutoGenPoco/IElementFilterMembership.cs +++ b/SysML2.NET/Core/AutoGenPoco/IElementFilterMembership.cs @@ -51,7 +51,7 @@ public partial interface IElementFilterMembership : IOwningMembership /// [Property(xmiId: "_19_0_4_12e503d9_1605762464250_876969_157", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] - IExpression QueryCondition(); + IExpression condition { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IEndFeatureMembership.cs b/SysML2.NET/Core/AutoGenPoco/IEndFeatureMembership.cs index e463b8b8..5b0a3834 100644 --- a/SysML2.NET/Core/AutoGenPoco/IEndFeatureMembership.cs +++ b/SysML2.NET/Core/AutoGenPoco/IEndFeatureMembership.cs @@ -47,7 +47,7 @@ public partial interface IEndFeatureMembership : IFeatureMembership /// [Property(xmiId: "_19_0_4_12e503d9_1625459277304_568293_5526", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] - new IFeature QueryOwnedMemberFeature(); + new IFeature ownedMemberFeature { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IEnumerationDefinition.cs b/SysML2.NET/Core/AutoGenPoco/IEnumerationDefinition.cs index 04d7f90c..418f0bb4 100644 --- a/SysML2.NET/Core/AutoGenPoco/IEnumerationDefinition.cs +++ b/SysML2.NET/Core/AutoGenPoco/IEnumerationDefinition.cs @@ -72,7 +72,7 @@ public partial interface IEnumerationDefinition : IAttributeDefinition /// [Property(xmiId: "_19_0_4_12e503d9_1606946634788_959145_265", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1590979457191_746167_951")] - List QueryEnumeratedValue(); + List enumeratedValue { get; } /// /// An EnumerationDefinition is considered semantically to be a variation whose allowed variants are its diff --git a/SysML2.NET/Core/AutoGenPoco/IEnumerationUsage.cs b/SysML2.NET/Core/AutoGenPoco/IEnumerationUsage.cs index fc622925..3e31069c 100644 --- a/SysML2.NET/Core/AutoGenPoco/IEnumerationUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/IEnumerationUsage.cs @@ -71,7 +71,7 @@ public partial interface IEnumerationUsage : IAttributeUsage /// [Property(xmiId: "_19_0_4_12e503d9_1606946962858_570633_331", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1565471811429_523492_20975")] - IEnumerationDefinition QueryEnumerationDefinition(); + IEnumerationDefinition enumerationDefinition { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IEventOccurrenceUsage.cs b/SysML2.NET/Core/AutoGenPoco/IEventOccurrenceUsage.cs index 9569a5a7..7e306afa 100644 --- a/SysML2.NET/Core/AutoGenPoco/IEventOccurrenceUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/IEventOccurrenceUsage.cs @@ -78,14 +78,14 @@ public partial interface IEventOccurrenceUsage : IOccurrenceUsage /// EventOccurrenceUsage itself. /// [Property(xmiId: "_19_0_4_12e503d9_1622831790393_676695_195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - IOccurrenceUsage QueryEventOccurrence(); + IOccurrenceUsage eventOccurrence { get; } /// /// Always true for an EventOccurrenceUsage. /// [Property(xmiId: "_19_0_4_12e503d9_1672526906017_786343_306", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: "true")] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1624035114787_488767_41423")] - new bool QueryIsReference(); + new bool isReference { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IExhibitStateUsage.cs b/SysML2.NET/Core/AutoGenPoco/IExhibitStateUsage.cs index 1e0715cb..044cd610 100644 --- a/SysML2.NET/Core/AutoGenPoco/IExhibitStateUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/IExhibitStateUsage.cs @@ -77,7 +77,7 @@ public partial interface IExhibitStateUsage : IStateUsage, IPerformActionUsage /// [Property(xmiId: "_19_0_2_12e503d9_1577070999039_688794_260", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1567740791820_867719_18017")] - IStateUsage QueryExhibitedState(); + IStateUsage exhibitedState { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IExpression.cs b/SysML2.NET/Core/AutoGenPoco/IExpression.cs index a14fdd30..77a7c7e6 100644 --- a/SysML2.NET/Core/AutoGenPoco/IExpression.cs +++ b/SysML2.NET/Core/AutoGenPoco/IExpression.cs @@ -53,14 +53,14 @@ public partial interface IExpression : IStep /// [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - IFunction QueryFunction(); + IFunction function { get; } /// /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, /// using metadata within the model. /// [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - bool QueryIsModelLevelEvaluable(); + bool isModelLevelEvaluable { get; } /// /// An output parameter of the Expression whose value is the result of the Expression. The result of an @@ -70,7 +70,7 @@ public partial interface IExpression : IStep [Property(xmiId: "_19_0_2_12e503d9_1595188071574_902060_363", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] - IFeature QueryResult(); + IFeature result { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IFeature.cs b/SysML2.NET/Core/AutoGenPoco/IFeature.cs index 4523e92b..e736fa63 100644 --- a/SysML2.NET/Core/AutoGenPoco/IFeature.cs +++ b/SysML2.NET/Core/AutoGenPoco/IFeature.cs @@ -65,7 +65,7 @@ public partial interface IFeature : IType /// Feature in chainingFeatures, and so on, to values of the last Feature. /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - List QueryChainingFeature(); + List chainingFeature { get; } /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -74,7 +74,7 @@ public partial interface IFeature : IType /// owningType. /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - IFeature QueryCrossFeature(); + IFeature crossFeature { get; } /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -90,13 +90,13 @@ public partial interface IFeature : IType [Property(xmiId: "_18_5_3_12e503d9_1563834516279_920295_20653", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - IType QueryEndOwningType(); + IType endOwningType { get; } /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - IFeature QueryFeatureTarget(); + IFeature featureTarget { get; } /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -105,7 +105,7 @@ public partial interface IFeature : IType /// featuringTypes of the chained Feature. /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - List QueryFeaturingType(); + List featuringType { get; } /// /// Whether the Feature is a composite feature of its featuringType. If so, the values of the Feature @@ -173,7 +173,7 @@ public partial interface IFeature : IType /// [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - ICrossSubsetting QueryOwnedCrossSubsetting(); + ICrossSubsetting ownedCrossSubsetting { get; } /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -182,7 +182,7 @@ public partial interface IFeature : IType [Property(xmiId: "_19_0_4_b9102da_1622125589880_791465_72", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - List QueryOwnedFeatureChaining(); + List ownedFeatureChaining { get; } /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -191,7 +191,7 @@ public partial interface IFeature : IType [Property(xmiId: "_19_0_4_b9102da_1653567738671_359235_43", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - List QueryOwnedFeatureInverting(); + List ownedFeatureInverting { get; } /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -199,7 +199,7 @@ public partial interface IFeature : IType /// [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - List QueryOwnedRedefinition(); + List ownedRedefinition { get; } /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -207,7 +207,7 @@ public partial interface IFeature : IType /// [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] - IReferenceSubsetting QueryOwnedReferenceSubsetting(); + IReferenceSubsetting ownedReferenceSubsetting { get; } /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -216,7 +216,7 @@ public partial interface IFeature : IType [Property(xmiId: "_18_5_3_12e503d9_1533160674970_472382_43221", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] - List QueryOwnedSubsetting(); + List ownedSubsetting { get; } /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -225,7 +225,7 @@ public partial interface IFeature : IType [Property(xmiId: "_19_0_4_12e503d9_1603905673975_310948_762", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - List QueryOwnedTypeFeaturing(); + List ownedTypeFeaturing { get; } /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -234,14 +234,14 @@ public partial interface IFeature : IType [Property(xmiId: "_19_0_2_12e503d9_1596597427751_965862_42", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] - List QueryOwnedTyping(); + List ownedTyping { get; } /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. /// [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] - IFeatureMembership QueryOwningFeatureMembership(); + IFeatureMembership owningFeatureMembership { get; } /// /// The Type that is the owningType of the owningFeatureMembership of this Feature. @@ -250,7 +250,7 @@ public partial interface IFeature : IType [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_297074_43308")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] - IType QueryOwningType(); + IType owningType { get; } /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -259,7 +259,7 @@ public partial interface IFeature : IType /// Feature. /// [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - List QueryType(); + List type { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IFeatureChainExpression.cs b/SysML2.NET/Core/AutoGenPoco/IFeatureChainExpression.cs index be369d92..654686c0 100644 --- a/SysML2.NET/Core/AutoGenPoco/IFeatureChainExpression.cs +++ b/SysML2.NET/Core/AutoGenPoco/IFeatureChainExpression.cs @@ -59,7 +59,7 @@ public partial interface IFeatureChainExpression : IOperatorExpression /// [Property(xmiId: "_19_0_4_12e503d9_1645049897369_762611_49", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - IFeature QueryTargetFeature(); + IFeature targetFeature { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IFeatureChaining.cs b/SysML2.NET/Core/AutoGenPoco/IFeatureChaining.cs index 0ef11cd6..4c64223c 100644 --- a/SysML2.NET/Core/AutoGenPoco/IFeatureChaining.cs +++ b/SysML2.NET/Core/AutoGenPoco/IFeatureChaining.cs @@ -56,7 +56,7 @@ public partial interface IFeatureChaining : IRelationship [Property(xmiId: "_19_0_4_b9102da_1622125589880_897608_73", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - IFeature QueryFeatureChained(); + IFeature featureChained { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IFeatureInverting.cs b/SysML2.NET/Core/AutoGenPoco/IFeatureInverting.cs index 9631195f..3739211c 100644 --- a/SysML2.NET/Core/AutoGenPoco/IFeatureInverting.cs +++ b/SysML2.NET/Core/AutoGenPoco/IFeatureInverting.cs @@ -64,7 +64,7 @@ public partial interface IFeatureInverting : IRelationship [Property(xmiId: "_19_0_4_b9102da_1653567738671_122613_44", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838862_842173_146")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] - IFeature QueryOwningFeature(); + IFeature owningFeature { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IFeatureMembership.cs b/SysML2.NET/Core/AutoGenPoco/IFeatureMembership.cs index 4ee9b401..effbc9be 100644 --- a/SysML2.NET/Core/AutoGenPoco/IFeatureMembership.cs +++ b/SysML2.NET/Core/AutoGenPoco/IFeatureMembership.cs @@ -52,7 +52,7 @@ public partial interface IFeatureMembership : IOwningMembership /// [Property(xmiId: "_18_5_3_12e503d9_1533160674993_898044_43344", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] - IFeature QueryOwnedMemberFeature(); + IFeature ownedMemberFeature { get; } /// /// The Type that owns this FeatureMembership. @@ -60,7 +60,7 @@ public partial interface IFeatureMembership : IOwningMembership [Property(xmiId: "_18_5_3_12e503d9_1533160674992_418504_43339", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866524_738482_486")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] - IType QueryOwningType(); + IType owningType { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IFeatureReferenceExpression.cs b/SysML2.NET/Core/AutoGenPoco/IFeatureReferenceExpression.cs index 610bc5ab..9b601bec 100644 --- a/SysML2.NET/Core/AutoGenPoco/IFeatureReferenceExpression.cs +++ b/SysML2.NET/Core/AutoGenPoco/IFeatureReferenceExpression.cs @@ -51,7 +51,7 @@ public partial interface IFeatureReferenceExpression : IExpression /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_848357_43185", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - IFeature QueryReferent(); + IFeature referent { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IFeatureTyping.cs b/SysML2.NET/Core/AutoGenPoco/IFeatureTyping.cs index 7f0b0c26..5e51ce4b 100644 --- a/SysML2.NET/Core/AutoGenPoco/IFeatureTyping.cs +++ b/SysML2.NET/Core/AutoGenPoco/IFeatureTyping.cs @@ -50,7 +50,7 @@ public partial interface IFeatureTyping : ISpecialization [Property(xmiId: "_19_0_2_12e503d9_1596597427753_801746_43", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_13273_21101")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_573157_43226")] - IFeature QueryOwningFeature(); + IFeature owningFeature { get; } /// /// The Type that is being applied by this FeatureTyping. diff --git a/SysML2.NET/Core/AutoGenPoco/IFeatureValue.cs b/SysML2.NET/Core/AutoGenPoco/IFeatureValue.cs index c74eebd4..02e08445 100644 --- a/SysML2.NET/Core/AutoGenPoco/IFeatureValue.cs +++ b/SysML2.NET/Core/AutoGenPoco/IFeatureValue.cs @@ -57,7 +57,7 @@ public partial interface IFeatureValue : IOwningMembership /// [Property(xmiId: "_19_0_2_12e503d9_1573079011690_119762_1724", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] - IFeature QueryFeatureWithValue(); + IFeature featureWithValue { get; } /// /// Whether this FeatureValue is a concrete specification of the bound or initial value of the @@ -77,7 +77,7 @@ public partial interface IFeatureValue : IOwningMembership /// [Property(xmiId: "_19_0_2_12e503d9_1573081851611_231043_3236", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] - IExpression QueryValue(); + IExpression value { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IFlow.cs b/SysML2.NET/Core/AutoGenPoco/IFlow.cs index ea83f1bc..7eeeaf1b 100644 --- a/SysML2.NET/Core/AutoGenPoco/IFlow.cs +++ b/SysML2.NET/Core/AutoGenPoco/IFlow.cs @@ -53,7 +53,7 @@ public partial interface IFlow : IConnector, IStep /// [Property(xmiId: "_18_5_3_12e503d9_1563219311176_506548_20966", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 2, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1556735067666_827798_21922")] - List QueryFlowEnd(); + List flowEnd { get; } /// /// The Interactions that type this Flow. Interactions are both Associations and Behaviors, which can @@ -62,34 +62,34 @@ public partial interface IFlow : IConnector, IStep [Property(xmiId: "_19_0_4_12e503d9_1661900477937_518125_727", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674983_471497_43284")] [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] - List QueryInteraction(); + List interaction { get; } /// /// The ownedFeature of the Flow that is a PayloadFeature (if any). /// [Property(xmiId: "_18_5_3_12e503d9_1563219424870_347345_21142", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - IPayloadFeature QueryPayloadFeature(); + IPayloadFeature payloadFeature { get; } /// /// The type of values transferred, which is the type of the payloadFeature of the Flow. /// [Property(xmiId: "_18_5_3_b9102da_1536870569046_1672_18020", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - List QueryPayloadType(); + List payloadType { get; } /// /// The Feature that provides the items carried by the Flow. It must be a feature of the source of the /// Flow. /// [Property(xmiId: "_18_5_3_b9102da_1536870707078_57525_18088", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - IFeature QuerySourceOutputFeature(); + IFeature sourceOutputFeature { get; } /// /// The Feature that receives the values carried by the Flow. It must be a feature of the target of the /// Flow. /// [Property(xmiId: "_18_5_3_b9102da_1536870573474_966268_18041", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - IFeature QueryTargetInputFeature(); + IFeature targetInputFeature { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IFlowDefinition.cs b/SysML2.NET/Core/AutoGenPoco/IFlowDefinition.cs index 8c040b67..694372cc 100644 --- a/SysML2.NET/Core/AutoGenPoco/IFlowDefinition.cs +++ b/SysML2.NET/Core/AutoGenPoco/IFlowDefinition.cs @@ -73,7 +73,7 @@ public partial interface IFlowDefinition : IInteraction, IActionDefinition /// [Property(xmiId: "_2022x_2_12e503d9_1733008492358_136366_19515", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562477648742_24204_22901")] - List QueryFlowEnd(); + List flowEnd { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IFlowUsage.cs b/SysML2.NET/Core/AutoGenPoco/IFlowUsage.cs index e5e0f6ce..7262bf7b 100644 --- a/SysML2.NET/Core/AutoGenPoco/IFlowUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/IFlowUsage.cs @@ -79,7 +79,7 @@ public partial interface IFlowUsage : IConnectorAsUsage, IFlow, IActionUsage [Property(xmiId: "_19_0_4_12e503d9_1661892878973_977062_185", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1565500905804_589845_30779")] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1661900477937_518125_727")] - List QueryFlowDefinition(); + List flowDefinition { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IForLoopActionUsage.cs b/SysML2.NET/Core/AutoGenPoco/IForLoopActionUsage.cs index 1231caa6..49b09551 100644 --- a/SysML2.NET/Core/AutoGenPoco/IForLoopActionUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/IForLoopActionUsage.cs @@ -77,7 +77,7 @@ public partial interface IForLoopActionUsage : ILoopActionUsage /// ForLoopAction::var. /// [Property(xmiId: "_19_0_4_12e503d9_1640325378400_227367_3662", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - IReferenceUsage QueryLoopVariable(); + IReferenceUsage loopVariable { get; } /// /// The Expression whose result provides the sequence of values to which the loopVariable is set for @@ -85,7 +85,7 @@ public partial interface IForLoopActionUsage : ILoopActionUsage /// input parameter of this ForLoopActionUsage. /// [Property(xmiId: "_19_0_4_12e503d9_1624306920911_355291_5769", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - IExpression QuerySeqArgument(); + IExpression seqArgument { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IFramedConcernMembership.cs b/SysML2.NET/Core/AutoGenPoco/IFramedConcernMembership.cs index 25d07a83..b7cdbd8d 100644 --- a/SysML2.NET/Core/AutoGenPoco/IFramedConcernMembership.cs +++ b/SysML2.NET/Core/AutoGenPoco/IFramedConcernMembership.cs @@ -58,7 +58,7 @@ public partial interface IFramedConcernMembership : IRequirementConstraintMember /// [Property(xmiId: "_19_0_4_12e503d9_1617120590170_490370_3748", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1584048366950_985767_426")] - IConcernUsage QueryOwnedConcern(); + IConcernUsage ownedConcern { get; } /// /// The ConcernUsage that is referenced through this FramedConcernMembership. It is the @@ -67,7 +67,7 @@ public partial interface IFramedConcernMembership : IRequirementConstraintMember /// [Property(xmiId: "_19_0_4_12e503d9_1617120658044_92083_3773", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1617118807597_77864_3544")] - IConcernUsage QueryReferencedConcern(); + IConcernUsage referencedConcern { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IFunction.cs b/SysML2.NET/Core/AutoGenPoco/IFunction.cs index 455d74d9..ba58db06 100644 --- a/SysML2.NET/Core/AutoGenPoco/IFunction.cs +++ b/SysML2.NET/Core/AutoGenPoco/IFunction.cs @@ -51,7 +51,7 @@ public partial interface IFunction : IBehavior /// [Property(xmiId: "_18_5_3_12e503d9_1543948400639_301251_20841", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] - List QueryExpression(); + List expression { get; } /// /// Whether this Function can be used as the function of a model-level evaluable InvocationExpression. @@ -61,7 +61,7 @@ public partial interface IFunction : IBehavior /// model-level evaluable. /// [Property(xmiId: "_19_0_4_12e503d9_1617395221463_139517_26381", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - bool QueryIsModelLevelEvaluable(); + bool isModelLevelEvaluable { get; } /// /// The object or value that is the result of evaluating the Function. @@ -69,7 +69,7 @@ public partial interface IFunction : IBehavior [Property(xmiId: "_18_5_3_12e503d9_1543948912268_88159_21323", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] - IFeature QueryResult(); + IFeature result { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IIfActionUsage.cs b/SysML2.NET/Core/AutoGenPoco/IIfActionUsage.cs index e5f637ae..2947d01c 100644 --- a/SysML2.NET/Core/AutoGenPoco/IIfActionUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/IIfActionUsage.cs @@ -76,21 +76,21 @@ public partial interface IIfActionUsage : IActionUsage /// (optional) third parameter of the IfActionUsage. /// [Property(xmiId: "_19_0_4_12e503d9_1624203816178_273125_3723", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - IActionUsage QueryElseAction(); + IActionUsage elseAction { get; } /// /// The Expression whose result determines whether the thenAction or (optionally) the elseAction is /// performed. It is the first parameter of the IfActionUsage. /// [Property(xmiId: "_19_0_4_12e503d9_1624203866872_328861_3821", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - IExpression QueryIfArgument(); + IExpression ifArgument { get; } /// /// The ActionUsage that is to be performed if the result of the ifArgument is true. It is the second /// parameter of the IfActionUsage. /// [Property(xmiId: "_19_0_4_12e503d9_1624203835062_413118_3748", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - IActionUsage QueryThenAction(); + IActionUsage thenAction { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IImport.cs b/SysML2.NET/Core/AutoGenPoco/IImport.cs index 7a4d9dd2..ad7fb55e 100644 --- a/SysML2.NET/Core/AutoGenPoco/IImport.cs +++ b/SysML2.NET/Core/AutoGenPoco/IImport.cs @@ -51,7 +51,7 @@ public partial interface IImport : IRelationship /// of the importedMembership. For a NamespaceImport, it is the importedNamespace. /// [Property(xmiId: "_19_0_4_12e503d9_1668801846848_909736_64", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - IElement QueryImportedElement(); + IElement importedElement { get; } /// /// The Namespace into which Memberships are imported by this Import, which must be the @@ -60,7 +60,7 @@ public partial interface IImport : IRelationship [Property(xmiId: "_18_5_3_12e503d9_1533160674974_548878_43248", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - INamespace QueryImportOwningNamespace(); + INamespace importOwningNamespace { get; } /// /// Whether to import memberships without regard to declared visibility. diff --git a/SysML2.NET/Core/AutoGenPoco/IIncludeUseCaseUsage.cs b/SysML2.NET/Core/AutoGenPoco/IIncludeUseCaseUsage.cs index 58ca14d5..b48d2514 100644 --- a/SysML2.NET/Core/AutoGenPoco/IIncludeUseCaseUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/IIncludeUseCaseUsage.cs @@ -78,7 +78,7 @@ public partial interface IIncludeUseCaseUsage : IUseCaseUsage, IPerformActionUsa /// [Property(xmiId: "_19_0_4_12e503d9_1621532149711_865323_1172", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1567740791820_867719_18017")] - IUseCaseUsage QueryUseCaseIncluded(); + IUseCaseUsage useCaseIncluded { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IInstantiationExpression.cs b/SysML2.NET/Core/AutoGenPoco/IInstantiationExpression.cs index 14335290..0b0fdc9c 100644 --- a/SysML2.NET/Core/AutoGenPoco/IInstantiationExpression.cs +++ b/SysML2.NET/Core/AutoGenPoco/IInstantiationExpression.cs @@ -54,14 +54,14 @@ public partial interface IInstantiationExpression : IExpression /// InstantiationExpression. /// [Property(xmiId: "_2022x_2_12e503d9_1739134437590_328753_108", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - List QueryArgument(); + List argument { get; } /// /// The Type that is being instantiated. /// [Property(xmiId: "_2022x_2_12e503d9_1739134352572_416088_80", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - IType QueryInstantiatedType(); + IType instantiatedType { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IInterfaceDefinition.cs b/SysML2.NET/Core/AutoGenPoco/IInterfaceDefinition.cs index 1368bb60..489d1b9e 100644 --- a/SysML2.NET/Core/AutoGenPoco/IInterfaceDefinition.cs +++ b/SysML2.NET/Core/AutoGenPoco/IInterfaceDefinition.cs @@ -71,7 +71,7 @@ public partial interface IInterfaceDefinition : IConnectionDefinition /// [Property(xmiId: "_18_5_3_12e503d9_1565496234915_779221_26664", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591476421094_685440_682")] - List QueryInterfaceEnd(); + List interfaceEnd { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IInterfaceUsage.cs b/SysML2.NET/Core/AutoGenPoco/IInterfaceUsage.cs index fa88db87..fb0230cd 100644 --- a/SysML2.NET/Core/AutoGenPoco/IInterfaceUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/IInterfaceUsage.cs @@ -76,7 +76,7 @@ public partial interface IInterfaceUsage : IConnectionUsage /// [Property(xmiId: "_18_5_3_12e503d9_1565499418349_431355_28798", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1594853499656_139435_802")] - List QueryInterfaceDefinition(); + List interfaceDefinition { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IIntersecting.cs b/SysML2.NET/Core/AutoGenPoco/IIntersecting.cs index 34434d13..af088c86 100644 --- a/SysML2.NET/Core/AutoGenPoco/IIntersecting.cs +++ b/SysML2.NET/Core/AutoGenPoco/IIntersecting.cs @@ -56,7 +56,7 @@ public partial interface IIntersecting : IRelationship [Property(xmiId: "_19_0_4_b9102da_1623242552145_149730_525", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - IType QueryTypeIntersected(); + IType typeIntersected { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IItemUsage.cs b/SysML2.NET/Core/AutoGenPoco/IItemUsage.cs index a39d4316..49afad72 100644 --- a/SysML2.NET/Core/AutoGenPoco/IItemUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/IItemUsage.cs @@ -78,7 +78,7 @@ public partial interface IItemUsage : IOccurrenceUsage /// [Property(xmiId: "_18_5_3_12e503d9_1565471361757_649736_20796", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - List QueryItemDefinition(); + List itemDefinition { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/ILoopActionUsage.cs b/SysML2.NET/Core/AutoGenPoco/ILoopActionUsage.cs index bfaa2eb8..3607212c 100644 --- a/SysML2.NET/Core/AutoGenPoco/ILoopActionUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/ILoopActionUsage.cs @@ -75,7 +75,7 @@ public partial interface ILoopActionUsage : IActionUsage /// LoopActionUsage. /// [Property(xmiId: "_19_0_4_12e503d9_1624203902575_509097_3869", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - IActionUsage QueryBodyAction(); + IActionUsage bodyAction { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IMembership.cs b/SysML2.NET/Core/AutoGenPoco/IMembership.cs index 3bf8e58c..b6ad92e6 100644 --- a/SysML2.NET/Core/AutoGenPoco/IMembership.cs +++ b/SysML2.NET/Core/AutoGenPoco/IMembership.cs @@ -57,7 +57,7 @@ public partial interface IMembership : IRelationship /// The elementId of the memberElement. /// [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - string QueryMemberElementId(); + string memberElementId { get; } /// /// The name of the memberElement relative to the membershipOwningNamespace. @@ -72,7 +72,7 @@ public partial interface IMembership : IRelationship [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_531296_43182")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - INamespace QueryMembershipOwningNamespace(); + INamespace membershipOwningNamespace { get; } /// /// The short name of the memberElement relative to the membershipOwningNamespace. diff --git a/SysML2.NET/Core/AutoGenPoco/IMetadataAccessExpression.cs b/SysML2.NET/Core/AutoGenPoco/IMetadataAccessExpression.cs index a56b86d4..397f08fa 100644 --- a/SysML2.NET/Core/AutoGenPoco/IMetadataAccessExpression.cs +++ b/SysML2.NET/Core/AutoGenPoco/IMetadataAccessExpression.cs @@ -53,7 +53,7 @@ public partial interface IMetadataAccessExpression : IExpression /// [Property(xmiId: "_19_0_4_12e503d9_1665514131655_247232_1341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - IElement QueryReferencedElement(); + IElement referencedElement { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IMetadataFeature.cs b/SysML2.NET/Core/AutoGenPoco/IMetadataFeature.cs index 43d97b36..61ac14e8 100644 --- a/SysML2.NET/Core/AutoGenPoco/IMetadataFeature.cs +++ b/SysML2.NET/Core/AutoGenPoco/IMetadataFeature.cs @@ -50,7 +50,7 @@ public partial interface IMetadataFeature : IAnnotatingElement, IFeature /// [Property(xmiId: "_19_0_4_12e503d9_1606345564958_925589_327", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - IMetaclass QueryMetaclass(); + IMetaclass metaclass { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IMetadataUsage.cs b/SysML2.NET/Core/AutoGenPoco/IMetadataUsage.cs index d964ac9d..9ac4e630 100644 --- a/SysML2.NET/Core/AutoGenPoco/IMetadataUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/IMetadataUsage.cs @@ -78,7 +78,7 @@ public partial interface IMetadataUsage : IItemUsage, IMetadataFeature [Property(xmiId: "_19_0_4_12e503d9_1647727047674_847094_2563", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1565471361757_649736_20796")] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1606345564958_925589_327")] - IMetaclass QueryMetadataDefinition(); + IMetaclass metadataDefinition { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IMultiplicityRange.cs b/SysML2.NET/Core/AutoGenPoco/IMultiplicityRange.cs index 1a7c2016..de23b8da 100644 --- a/SysML2.NET/Core/AutoGenPoco/IMultiplicityRange.cs +++ b/SysML2.NET/Core/AutoGenPoco/IMultiplicityRange.cs @@ -56,7 +56,7 @@ public partial interface IMultiplicityRange : IMultiplicity /// [Property(xmiId: "_19_0_2_12e503d9_1573095221994_519580_5095", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 2, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - List QueryBound(); + List bound { get; } /// /// The Expression whose result provides the lower bound of the MultiplicityRange. If no lowerBound @@ -65,14 +65,14 @@ public partial interface IMultiplicityRange : IMultiplicity /// [Property(xmiId: "_19_0_2_12e503d9_1573094905677_801324_4744", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1573095221994_519580_5095")] - IExpression QueryLowerBound(); + IExpression lowerBound { get; } /// /// The Expression whose result is the upper bound of the MultiplicityRange. /// [Property(xmiId: "_19_0_2_12e503d9_1573094947427_797440_4796", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1573095221994_519580_5095")] - IExpression QueryUpperBound(); + IExpression upperBound { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/INamespace.cs b/SysML2.NET/Core/AutoGenPoco/INamespace.cs index b41c09b3..dd855bb2 100644 --- a/SysML2.NET/Core/AutoGenPoco/INamespace.cs +++ b/SysML2.NET/Core/AutoGenPoco/INamespace.cs @@ -52,21 +52,21 @@ public partial interface INamespace : IElement /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - List QueryImportedMembership(); + List importedMembership { get; } /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of /// the Namespace. /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - List QueryMember(); + List member { get; } /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and /// importedMemberships. /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] - List QueryMembership(); + List membership { get; } /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -75,7 +75,7 @@ public partial interface INamespace : IElement [Property(xmiId: "_18_5_3_12e503d9_1533160674974_746786_43247", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - List QueryOwnedImport(); + List ownedImport { get; } /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -83,7 +83,7 @@ public partial interface INamespace : IElement /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - List QueryOwnedMember(); + List ownedMember { get; } /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -93,7 +93,7 @@ public partial interface INamespace : IElement [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - List QueryOwnedMembership(); + List ownedMembership { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IObjectiveMembership.cs b/SysML2.NET/Core/AutoGenPoco/IObjectiveMembership.cs index 7d38ae18..bfa5347b 100644 --- a/SysML2.NET/Core/AutoGenPoco/IObjectiveMembership.cs +++ b/SysML2.NET/Core/AutoGenPoco/IObjectiveMembership.cs @@ -50,7 +50,7 @@ public partial interface IObjectiveMembership : IFeatureMembership /// [Property(xmiId: "_19_0_2_59601fc_1590258776804_538578_832", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] - IRequirementUsage QueryOwnedObjectiveRequirement(); + IRequirementUsage ownedObjectiveRequirement { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IOccurrenceUsage.cs b/SysML2.NET/Core/AutoGenPoco/IOccurrenceUsage.cs index 67b59734..0ffda3c9 100644 --- a/SysML2.NET/Core/AutoGenPoco/IOccurrenceUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/IOccurrenceUsage.cs @@ -75,7 +75,7 @@ public partial interface IOccurrenceUsage : IUsage /// [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - IOccurrenceDefinition QueryIndividualDefinition(); + IOccurrenceDefinition individualDefinition { get; } /// /// Whether this OccurrenceUsage represents the usage of the specific individual represented by its @@ -91,7 +91,7 @@ public partial interface IOccurrenceUsage : IUsage /// [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] - List QueryOccurrenceDefinition(); + List occurrenceDefinition { get; } /// /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If diff --git a/SysML2.NET/Core/AutoGenPoco/IOwningMembership.cs b/SysML2.NET/Core/AutoGenPoco/IOwningMembership.cs index 89b5279e..fb021341 100644 --- a/SysML2.NET/Core/AutoGenPoco/IOwningMembership.cs +++ b/SysML2.NET/Core/AutoGenPoco/IOwningMembership.cs @@ -48,28 +48,28 @@ public partial interface IOwningMembership : IMembership [Property(xmiId: "_18_5_3_12e503d9_1533160674965_501750_43196", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_59873_43302")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] - IElement QueryOwnedMemberElement(); + IElement ownedMemberElement { get; } /// /// The elementId of the ownedMemberElement. /// [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] - string QueryOwnedMemberElementId(); + string ownedMemberElementId { get; } /// /// The name of the ownedMemberElement. /// [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] - string QueryOwnedMemberName(); + string ownedMemberName { get; } /// /// The shortName of the ownedMemberElement. /// [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] - string QueryOwnedMemberShortName(); + string ownedMemberShortName { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IPackage.cs b/SysML2.NET/Core/AutoGenPoco/IPackage.cs index e0b5d8b0..d87d681d 100644 --- a/SysML2.NET/Core/AutoGenPoco/IPackage.cs +++ b/SysML2.NET/Core/AutoGenPoco/IPackage.cs @@ -49,7 +49,7 @@ public partial interface IPackage : INamespace /// [Property(xmiId: "_19_0_4_12e503d9_1607033896050_867332_6206", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - List QueryFilterCondition(); + List filterCondition { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IParameterMembership.cs b/SysML2.NET/Core/AutoGenPoco/IParameterMembership.cs index 36e744e4..8f747260 100644 --- a/SysML2.NET/Core/AutoGenPoco/IParameterMembership.cs +++ b/SysML2.NET/Core/AutoGenPoco/IParameterMembership.cs @@ -50,7 +50,7 @@ public partial interface IParameterMembership : IFeatureMembership /// [Property(xmiId: "_18_5_3_12e503d9_1557528016548_548098_110830", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] - IFeature QueryOwnedMemberParameter(); + IFeature ownedMemberParameter { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IPartUsage.cs b/SysML2.NET/Core/AutoGenPoco/IPartUsage.cs index f2528af3..ca0904a6 100644 --- a/SysML2.NET/Core/AutoGenPoco/IPartUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/IPartUsage.cs @@ -75,7 +75,7 @@ public partial interface IPartUsage : IItemUsage /// [Property(xmiId: "_19_0_2_12e503d9_1591475180488_929065_121", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565471361757_649736_20796")] - List QueryPartDefinition(); + List partDefinition { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IPerformActionUsage.cs b/SysML2.NET/Core/AutoGenPoco/IPerformActionUsage.cs index 80a45ad2..a4ab1cd6 100644 --- a/SysML2.NET/Core/AutoGenPoco/IPerformActionUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/IPerformActionUsage.cs @@ -77,7 +77,7 @@ public partial interface IPerformActionUsage : IActionUsage, IEventOccurrenceUsa /// [Property(xmiId: "_19_0_2_12e503d9_1567740791820_867719_18017", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1622831790393_676695_195")] - IActionUsage QueryPerformedAction(); + IActionUsage performedAction { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IPortConjugation.cs b/SysML2.NET/Core/AutoGenPoco/IPortConjugation.cs index 55f72ede..6a20e560 100644 --- a/SysML2.NET/Core/AutoGenPoco/IPortConjugation.cs +++ b/SysML2.NET/Core/AutoGenPoco/IPortConjugation.cs @@ -50,7 +50,7 @@ public partial interface IPortConjugation : IConjugation /// [Property(xmiId: "_19_0_2_12e503d9_1575484344899_880331_946", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1575482646809_778895_441")] - IConjugatedPortDefinition QueryConjugatedPortDefinition(); + IConjugatedPortDefinition conjugatedPortDefinition { get; } /// /// The PortDefinition being conjugated. diff --git a/SysML2.NET/Core/AutoGenPoco/IPortDefinition.cs b/SysML2.NET/Core/AutoGenPoco/IPortDefinition.cs index 6baff059..aefec5e2 100644 --- a/SysML2.NET/Core/AutoGenPoco/IPortDefinition.cs +++ b/SysML2.NET/Core/AutoGenPoco/IPortDefinition.cs @@ -72,7 +72,7 @@ public partial interface IPortDefinition : IOccurrenceDefinition, IStructure /// [Property(xmiId: "_19_0_2_12e503d9_1575484364015_206236_989", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - IConjugatedPortDefinition QueryConjugatedPortDefinition(); + IConjugatedPortDefinition conjugatedPortDefinition { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IPortUsage.cs b/SysML2.NET/Core/AutoGenPoco/IPortUsage.cs index b3636417..481b570d 100644 --- a/SysML2.NET/Core/AutoGenPoco/IPortUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/IPortUsage.cs @@ -73,7 +73,7 @@ public partial interface IPortUsage : IOccurrenceUsage /// [Property(xmiId: "_18_5_3_12e503d9_1565492740124_880100_25026", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] - List QueryPortDefinition(); + List portDefinition { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IReferenceSubsetting.cs b/SysML2.NET/Core/AutoGenPoco/IReferenceSubsetting.cs index 0830c2f3..4987db67 100644 --- a/SysML2.NET/Core/AutoGenPoco/IReferenceSubsetting.cs +++ b/SysML2.NET/Core/AutoGenPoco/IReferenceSubsetting.cs @@ -59,7 +59,7 @@ public partial interface IReferenceSubsetting : ISubsetting [Property(xmiId: "_19_0_4_12e503d9_1661555161575_539076_256", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_236250_43311")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674967_140305_43206")] - IFeature QueryReferencingFeature(); + IFeature referencingFeature { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IReferenceUsage.cs b/SysML2.NET/Core/AutoGenPoco/IReferenceUsage.cs index b890dff6..cfda3e24 100644 --- a/SysML2.NET/Core/AutoGenPoco/IReferenceUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/IReferenceUsage.cs @@ -74,7 +74,7 @@ public partial interface IReferenceUsage : IUsage /// [Property(xmiId: "_19_0_4_12e503d9_1624035133434_200283_41434", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: "true")] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1624035114787_488767_41423")] - new bool QueryIsReference(); + new bool isReference { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IRelationship.cs b/SysML2.NET/Core/AutoGenPoco/IRelationship.cs index ac6be62a..35316a4e 100644 --- a/SysML2.NET/Core/AutoGenPoco/IRelationship.cs +++ b/SysML2.NET/Core/AutoGenPoco/IRelationship.cs @@ -76,7 +76,7 @@ public partial interface IRelationship : IElement /// Elements of the Relationship. /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] - List QueryRelatedElement(); + List relatedElement { get; } /// /// The relatedElements from which this Relationship is considered to be directed. diff --git a/SysML2.NET/Core/AutoGenPoco/IRenderingDefinition.cs b/SysML2.NET/Core/AutoGenPoco/IRenderingDefinition.cs index ab308ac8..8aec217f 100644 --- a/SysML2.NET/Core/AutoGenPoco/IRenderingDefinition.cs +++ b/SysML2.NET/Core/AutoGenPoco/IRenderingDefinition.cs @@ -70,7 +70,7 @@ public partial interface IRenderingDefinition : IPartDefinition /// [Property(xmiId: "_19_0_2_12e503d9_1596741367270_249607_6373", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - List QueryRendering(); + List rendering { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IRenderingUsage.cs b/SysML2.NET/Core/AutoGenPoco/IRenderingUsage.cs index 9594d3bb..cdbe13a8 100644 --- a/SysML2.NET/Core/AutoGenPoco/IRenderingUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/IRenderingUsage.cs @@ -74,7 +74,7 @@ public partial interface IRenderingUsage : IPartUsage /// [Property(xmiId: "_19_0_2_12e503d9_1596741320785_268295_6306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591475180488_929065_121")] - IRenderingDefinition QueryRenderingDefinition(); + IRenderingDefinition renderingDefinition { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IRequirementConstraintMembership.cs b/SysML2.NET/Core/AutoGenPoco/IRequirementConstraintMembership.cs index 14c45116..198ac06b 100644 --- a/SysML2.NET/Core/AutoGenPoco/IRequirementConstraintMembership.cs +++ b/SysML2.NET/Core/AutoGenPoco/IRequirementConstraintMembership.cs @@ -57,7 +57,7 @@ public partial interface IRequirementConstraintMembership : IFeatureMembership /// [Property(xmiId: "_19_0_2_12e503d9_1584048366950_985767_426", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] - IConstraintUsage QueryOwnedConstraint(); + IConstraintUsage ownedConstraint { get; } /// /// The ConstraintUsage that is referenced through this RequirementConstraintMembership. It is the @@ -65,7 +65,7 @@ public partial interface IRequirementConstraintMembership : IFeatureMembership /// otherwise, the ownedConstraint itself. /// [Property(xmiId: "_19_0_4_12e503d9_1617118807597_77864_3544", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - IConstraintUsage QueryReferencedConstraint(); + IConstraintUsage referencedConstraint { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IRequirementDefinition.cs b/SysML2.NET/Core/AutoGenPoco/IRequirementDefinition.cs index bb38d983..98a6231e 100644 --- a/SysML2.NET/Core/AutoGenPoco/IRequirementDefinition.cs +++ b/SysML2.NET/Core/AutoGenPoco/IRequirementDefinition.cs @@ -74,7 +74,7 @@ public partial interface IRequirementDefinition : IConstraintDefinition [Property(xmiId: "_19_0_4_12e503d9_1621564041941_652319_2722", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - List QueryActorParameter(); + List actorParameter { get; } /// /// The owned ConstraintUsages that represent assumptions of this RequirementDefinition, which are the @@ -83,7 +83,7 @@ public partial interface IRequirementDefinition : IConstraintDefinition /// [Property(xmiId: "_19_0_2_12e503d9_1583376806647_629021_133", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - List QueryAssumedConstraint(); + List assumedConstraint { get; } /// /// The ConcernUsages framed by this RequirementDefinition, which are the ownedConcerns of all @@ -91,7 +91,7 @@ public partial interface IRequirementDefinition : IConstraintDefinition /// [Property(xmiId: "_19_0_4_12e503d9_1617116733499_587735_3242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583376932997_792124_158")] - List QueryFramedConcern(); + List framedConcern { get; } /// /// An optional modeler-specified identifier for this RequirementDefinition (used, e.g., to link it to @@ -109,7 +109,7 @@ public partial interface IRequirementDefinition : IConstraintDefinition /// [Property(xmiId: "_19_0_2_12e503d9_1583376932997_792124_158", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - List QueryRequiredConstraint(); + List requiredConstraint { get; } /// /// The parameters of this RequirementDefinition that represent stakeholders for th requirement. @@ -117,7 +117,7 @@ public partial interface IRequirementDefinition : IConstraintDefinition [Property(xmiId: "_19_0_4_12e503d9_1624033010374_29375_40166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - List QueryStakeholderParameter(); + List stakeholderParameter { get; } /// /// The parameter of this RequirementDefinition that represents its subject. @@ -125,14 +125,14 @@ public partial interface IRequirementDefinition : IConstraintDefinition [Property(xmiId: "_19_0_2_12e503d9_1595189007408_784255_586", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - IUsage QuerySubjectParameter(); + IUsage subjectParameter { get; } /// /// An optional textual statement of the requirement represented by this RequirementDefinition, derived /// from the bodies of the documentation of the RequirementDefinition. /// [Property(xmiId: "_19_0_2_12e503d9_1583376433122_189839_94", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - List QueryText(); + List text { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IRequirementUsage.cs b/SysML2.NET/Core/AutoGenPoco/IRequirementUsage.cs index 40465963..9ae8835d 100644 --- a/SysML2.NET/Core/AutoGenPoco/IRequirementUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/IRequirementUsage.cs @@ -75,7 +75,7 @@ public partial interface IRequirementUsage : IConstraintUsage [Property(xmiId: "_19_0_4_12e503d9_1621564075474_350859_2735", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - List QueryActorParameter(); + List actorParameter { get; } /// /// The owned ConstraintUsages that represent assumptions of this RequirementUsage, derived as the @@ -84,7 +84,7 @@ public partial interface IRequirementUsage : IConstraintUsage /// [Property(xmiId: "_19_0_2_12e503d9_1583377612865_991722_535", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - List QueryAssumedConstraint(); + List assumedConstraint { get; } /// /// The ConcernUsages framed by this RequirementUsage, which are the ownedConcerns of all @@ -92,7 +92,7 @@ public partial interface IRequirementUsage : IConstraintUsage /// [Property(xmiId: "_19_0_4_12e503d9_1617116922864_514612_3264", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583377448339_252740_390")] - List QueryFramedConcern(); + List framedConcern { get; } /// /// An optional modeler-specified identifier for this RequirementUsage (used, e.g., to link it to an @@ -110,14 +110,14 @@ public partial interface IRequirementUsage : IConstraintUsage /// [Property(xmiId: "_19_0_2_12e503d9_1583377448339_252740_390", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - List QueryRequiredConstraint(); + List requiredConstraint { get; } /// /// The RequirementDefinition that is the single definition of this RequirementUsage. /// [Property(xmiId: "_19_0_2_12e503d9_1583000408905_769743_1223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1578067546711_751168_1745")] - IRequirementDefinition QueryRequirementDefinition(); + IRequirementDefinition requirementDefinition { get; } /// /// The parameters of this RequirementUsage that represent stakeholders for the requirement. @@ -125,7 +125,7 @@ public partial interface IRequirementUsage : IConstraintUsage [Property(xmiId: "_19_0_4_12e503d9_1624032823963_328647_40107", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - List QueryStakeholderParameter(); + List stakeholderParameter { get; } /// /// The parameter of this RequirementUsage that represents its subject. @@ -133,14 +133,14 @@ public partial interface IRequirementUsage : IConstraintUsage [Property(xmiId: "_19_0_2_12e503d9_1595189397261_941898_844", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - IUsage QuerySubjectParameter(); + IUsage subjectParameter { get; } /// /// An optional textual statement of the requirement represented by this RequirementUsage, derived from /// the bodies of the documentation of the RequirementUsage. /// [Property(xmiId: "_19_0_2_12e503d9_1583376480942_745679_99", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - List QueryText(); + List text { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IRequirementVerificationMembership.cs b/SysML2.NET/Core/AutoGenPoco/IRequirementVerificationMembership.cs index 8332fa19..5e024a44 100644 --- a/SysML2.NET/Core/AutoGenPoco/IRequirementVerificationMembership.cs +++ b/SysML2.NET/Core/AutoGenPoco/IRequirementVerificationMembership.cs @@ -61,7 +61,7 @@ public partial interface IRequirementVerificationMembership : IRequirementConstr /// [Property(xmiId: "_19_0_4_12e503d9_1603921329650_612380_147", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1584048366950_985767_426")] - IRequirementUsage QueryOwnedRequirement(); + IRequirementUsage ownedRequirement { get; } /// /// The RequirementUsage that is identified as being verified. It is the referencedConstraint of the @@ -70,7 +70,7 @@ public partial interface IRequirementVerificationMembership : IRequirementConstr /// [Property(xmiId: "_19_0_4_12e503d9_1603921870169_98378_309", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1617118807597_77864_3544")] - IRequirementUsage QueryVerifiedRequirement(); + IRequirementUsage verifiedRequirement { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IResultExpressionMembership.cs b/SysML2.NET/Core/AutoGenPoco/IResultExpressionMembership.cs index 08c12b93..1d14b461 100644 --- a/SysML2.NET/Core/AutoGenPoco/IResultExpressionMembership.cs +++ b/SysML2.NET/Core/AutoGenPoco/IResultExpressionMembership.cs @@ -51,7 +51,7 @@ public partial interface IResultExpressionMembership : IFeatureMembership /// [Property(xmiId: "_19_0_2_12e503d9_1594868945944_989058_2545", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] - IExpression QueryOwnedResultExpression(); + IExpression ownedResultExpression { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/ISatisfyRequirementUsage.cs b/SysML2.NET/Core/AutoGenPoco/ISatisfyRequirementUsage.cs index 081d0369..058aac03 100644 --- a/SysML2.NET/Core/AutoGenPoco/ISatisfyRequirementUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/ISatisfyRequirementUsage.cs @@ -79,14 +79,14 @@ public partial interface ISatisfyRequirementUsage : IRequirementUsage, IAssertCo /// [Property(xmiId: "_19_0_2_12e503d9_1583185037725_699150_2332", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1581045158665_239617_9458")] - IRequirementUsage QuerySatisfiedRequirement(); + IRequirementUsage satisfiedRequirement { get; } /// /// The Feature that represents the actual subject that is asserted to satisfy the satisfiedRequirement. /// The satisfyingFeature is bound to the subjectParameter of the SatisfyRequirementUsage. /// [Property(xmiId: "_19_0_2_12e503d9_1583378847285_929988_1396", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - IFeature QuerySatisfyingFeature(); + IFeature satisfyingFeature { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/ISendActionUsage.cs b/SysML2.NET/Core/AutoGenPoco/ISendActionUsage.cs index 59720546..3d51c6ff 100644 --- a/SysML2.NET/Core/AutoGenPoco/ISendActionUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/ISendActionUsage.cs @@ -78,19 +78,19 @@ public partial interface ISendActionUsage : IActionUsage /// An Expression whose result is bound to the payload input parameter of this SendActionUsage. /// [Property(xmiId: "_19_0_4_12e503d9_1612814399422_336683_143", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - IExpression QueryPayloadArgument(); + IExpression payloadArgument { get; } /// /// An Expression whose result is bound to the receiver input parameter of this SendActionUsage. /// [Property(xmiId: "_19_0_2_12e503d9_1567742374932_10504_18141", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - IExpression QueryReceiverArgument(); + IExpression receiverArgument { get; } /// /// An Expression whose result is bound to the sender input parameter of this SendActionUsage. /// [Property(xmiId: "_19_0_4_12e503d9_1665504224536_894018_944", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - IExpression QuerySenderArgument(); + IExpression senderArgument { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/ISpecialization.cs b/SysML2.NET/Core/AutoGenPoco/ISpecialization.cs index acd45ff9..308660ad 100644 --- a/SysML2.NET/Core/AutoGenPoco/ISpecialization.cs +++ b/SysML2.NET/Core/AutoGenPoco/ISpecialization.cs @@ -55,7 +55,7 @@ public partial interface ISpecialization : IRelationship [Property(xmiId: "_18_5_3_12e503d9_1533160674971_573157_43226", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] - IType QueryOwningType(); + IType owningType { get; } /// /// A Type with a subset of all instances of the general Type, which might be the same set. diff --git a/SysML2.NET/Core/AutoGenPoco/IStakeholderMembership.cs b/SysML2.NET/Core/AutoGenPoco/IStakeholderMembership.cs index c02b05da..d1851328 100644 --- a/SysML2.NET/Core/AutoGenPoco/IStakeholderMembership.cs +++ b/SysML2.NET/Core/AutoGenPoco/IStakeholderMembership.cs @@ -52,7 +52,7 @@ public partial interface IStakeholderMembership : IParameterMembership /// [Property(xmiId: "_19_0_4_12e503d9_1624034451301_6622_40822", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1557528016548_548098_110830")] - IPartUsage QueryOwnedStakeholderParameter(); + IPartUsage ownedStakeholderParameter { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IStateDefinition.cs b/SysML2.NET/Core/AutoGenPoco/IStateDefinition.cs index e5a51ead..7116477e 100644 --- a/SysML2.NET/Core/AutoGenPoco/IStateDefinition.cs +++ b/SysML2.NET/Core/AutoGenPoco/IStateDefinition.cs @@ -74,7 +74,7 @@ public partial interface IStateDefinition : IActionDefinition /// StateSubactionMembership with kind = do. /// [Property(xmiId: "_19_0_2_12e503d9_1582975916386_388324_339", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - IActionUsage QueryDoAction(); + IActionUsage doAction { get; } /// /// The ActionUsage of this StateDefinition to be performed on entry to the state defined by the @@ -82,7 +82,7 @@ public partial interface IStateDefinition : IActionDefinition /// StateSubactionMembership with kind = entry. /// [Property(xmiId: "_19_0_2_12e503d9_1582975902339_513804_312", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - IActionUsage QueryEntryAction(); + IActionUsage entryAction { get; } /// /// The ActionUsage of this StateDefinition to be performed on exit to the state defined by the @@ -90,7 +90,7 @@ public partial interface IStateDefinition : IActionDefinition /// StateSubactionMembership with kind = exit. /// [Property(xmiId: "_19_0_2_12e503d9_1582975927011_696894_352", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - IActionUsage QueryExitAction(); + IActionUsage exitAction { get; } /// /// Whether the ownedStates of this StateDefinition are to all be performed in parallel. If true, none @@ -106,7 +106,7 @@ public partial interface IStateDefinition : IActionDefinition /// [Property(xmiId: "_19_0_2_12e503d9_1575588190693_949879_1156", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565500809065_170841_30688")] - List QueryState(); + List state { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IStateSubactionMembership.cs b/SysML2.NET/Core/AutoGenPoco/IStateSubactionMembership.cs index 85142e1a..e02f0f39 100644 --- a/SysML2.NET/Core/AutoGenPoco/IStateSubactionMembership.cs +++ b/SysML2.NET/Core/AutoGenPoco/IStateSubactionMembership.cs @@ -51,7 +51,7 @@ public partial interface IStateSubactionMembership : IFeatureMembership /// [Property(xmiId: "_19_0_2_12e503d9_1582974847979_606181_96", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] - IActionUsage QueryAction(); + IActionUsage action { get; } /// /// Whether this StateSubactionMembership is for an entry, do or exit ActionUsage. diff --git a/SysML2.NET/Core/AutoGenPoco/IStateUsage.cs b/SysML2.NET/Core/AutoGenPoco/IStateUsage.cs index d0ac5dca..f30b1670 100644 --- a/SysML2.NET/Core/AutoGenPoco/IStateUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/IStateUsage.cs @@ -77,7 +77,7 @@ public partial interface IStateUsage : IActionUsage /// with kind = do. /// [Property(xmiId: "_19_0_2_12e503d9_1582976255473_203238_644", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - IActionUsage QueryDoAction(); + IActionUsage doAction { get; } /// /// The ActionUsage of this StateUsage to be performed on entry to the state defined by the @@ -85,7 +85,7 @@ public partial interface IStateUsage : IActionUsage /// with kind = entry. /// [Property(xmiId: "_19_0_2_12e503d9_1582976239200_979652_605", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - IActionUsage QueryEntryAction(); + IActionUsage entryAction { get; } /// /// The ActionUsage of this StateUsage to be performed on exit to the state defined by the @@ -93,7 +93,7 @@ public partial interface IStateUsage : IActionUsage /// with kind = exit. /// [Property(xmiId: "_19_0_2_12e503d9_1582976283940_998741_691", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - IActionUsage QueryExitAction(); + IActionUsage exitAction { get; } /// /// Whether the nestedStates of this StateUsage are to all be performed in parallel. If true, none of @@ -109,7 +109,7 @@ public partial interface IStateUsage : IActionUsage /// [Property(xmiId: "_19_0_2_12e503d9_1575588456737_49200_1438", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1565500905804_589845_30779")] - List QueryStateDefinition(); + List stateDefinition { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IStep.cs b/SysML2.NET/Core/AutoGenPoco/IStep.cs index 61119e8d..888a555b 100644 --- a/SysML2.NET/Core/AutoGenPoco/IStep.cs +++ b/SysML2.NET/Core/AutoGenPoco/IStep.cs @@ -51,7 +51,7 @@ public partial interface IStep : IFeature /// [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - List QueryBehavior(); + List behavior { get; } /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -59,7 +59,7 @@ public partial interface IStep : IFeature /// [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - List QueryParameter(); + List parameter { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/ISubclassification.cs b/SysML2.NET/Core/AutoGenPoco/ISubclassification.cs index 3485c751..010c2672 100644 --- a/SysML2.NET/Core/AutoGenPoco/ISubclassification.cs +++ b/SysML2.NET/Core/AutoGenPoco/ISubclassification.cs @@ -47,7 +47,7 @@ public partial interface ISubclassification : ISpecialization /// [Property(xmiId: "_18_5_3_12e503d9_1543189170642_857401_25506", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_573157_43226")] - IClassifier QueryOwningClassifier(); + IClassifier owningClassifier { get; } /// /// The more specific Classifier in this Subclassification. diff --git a/SysML2.NET/Core/AutoGenPoco/ISubjectMembership.cs b/SysML2.NET/Core/AutoGenPoco/ISubjectMembership.cs index 21d98f4b..bac55bb6 100644 --- a/SysML2.NET/Core/AutoGenPoco/ISubjectMembership.cs +++ b/SysML2.NET/Core/AutoGenPoco/ISubjectMembership.cs @@ -52,7 +52,7 @@ public partial interface ISubjectMembership : IParameterMembership /// [Property(xmiId: "_19_0_2_59601fc_1590258781117_655788_845", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1557528016548_548098_110830")] - IUsage QueryOwnedSubjectParameter(); + IUsage ownedSubjectParameter { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/ISubsetting.cs b/SysML2.NET/Core/AutoGenPoco/ISubsetting.cs index c3317097..06971a7e 100644 --- a/SysML2.NET/Core/AutoGenPoco/ISubsetting.cs +++ b/SysML2.NET/Core/AutoGenPoco/ISubsetting.cs @@ -52,7 +52,7 @@ public partial interface ISubsetting : ISpecialization [Property(xmiId: "_18_5_3_12e503d9_1533160674987_236250_43311", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674967_140305_43206")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_573157_43226")] - IFeature QueryOwningFeature(); + IFeature owningFeature { get; } /// /// The Feature that is subsetted by the subsettingFeature of this Subsetting. diff --git a/SysML2.NET/Core/AutoGenPoco/ITerminateActionUsage.cs b/SysML2.NET/Core/AutoGenPoco/ITerminateActionUsage.cs index d5659bd9..d4a72a8f 100644 --- a/SysML2.NET/Core/AutoGenPoco/ITerminateActionUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/ITerminateActionUsage.cs @@ -78,7 +78,7 @@ public partial interface ITerminateActionUsage : IActionUsage /// TerminateActionUsage. /// [Property(xmiId: "_2022x_2_12e503d9_1724451750939_948290_107", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - IExpression QueryTerminatedOccurrenceArgument(); + IExpression terminatedOccurrenceArgument { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/ITextualRepresentation.cs b/SysML2.NET/Core/AutoGenPoco/ITextualRepresentation.cs index d5d83c9a..216f19d6 100644 --- a/SysML2.NET/Core/AutoGenPoco/ITextualRepresentation.cs +++ b/SysML2.NET/Core/AutoGenPoco/ITextualRepresentation.cs @@ -80,7 +80,7 @@ public partial interface ITextualRepresentation : IAnnotatingElement [Property(xmiId: "_19_0_2_12e503d9_1594154758494_414887_3389", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_744477_17277")] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1594145755058_99428_86")] - IElement QueryRepresentedElement(); + IElement representedElement { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/ITransitionFeatureMembership.cs b/SysML2.NET/Core/AutoGenPoco/ITransitionFeatureMembership.cs index f6c9ec69..e29816a3 100644 --- a/SysML2.NET/Core/AutoGenPoco/ITransitionFeatureMembership.cs +++ b/SysML2.NET/Core/AutoGenPoco/ITransitionFeatureMembership.cs @@ -58,7 +58,7 @@ public partial interface ITransitionFeatureMembership : IFeatureMembership /// [Property(xmiId: "_19_0_2_12e503d9_1582975046568_736161_148", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] - IStep QueryTransitionFeature(); + IStep transitionFeature { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/ITransitionUsage.cs b/SysML2.NET/Core/AutoGenPoco/ITransitionUsage.cs index 5ccec36c..5d64bbd4 100644 --- a/SysML2.NET/Core/AutoGenPoco/ITransitionUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/ITransitionUsage.cs @@ -82,7 +82,7 @@ public partial interface ITransitionUsage : IActionUsage /// [Property(xmiId: "_19_0_2_12e503d9_1581029782522_542070_6299", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - List QueryEffectAction(); + List effectAction { get; } /// /// The Expressions that define the guards of this TransitionUsage, which are the ownedFeatures of the @@ -91,14 +91,14 @@ public partial interface ITransitionUsage : IActionUsage /// [Property(xmiId: "_19_0_2_12e503d9_1581029720824_747691_6254", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - List QueryGuardExpression(); + List guardExpression { get; } /// /// The source ActionUsage of this TransitionUsage, which becomes the source of the succession for the /// TransitionUsage. /// [Property(xmiId: "_19_0_2_12e503d9_1581029439311_947395_6114", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - IActionUsage QuerySource(); + IActionUsage source { get; } /// /// The Succession that is the ownedFeature of this TransitionUsage, which, if the TransitionUsage is @@ -106,14 +106,14 @@ public partial interface ITransitionUsage : IActionUsage /// [Property(xmiId: "_19_0_2_12e503d9_1581030490131_304332_6364", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - ISuccession QuerySuccession(); + ISuccession succession { get; } /// /// The target ActionUsage of this TransitionUsage, which is the targetFeature of the succession for the /// TransitionUsage. /// [Property(xmiId: "_19_0_2_12e503d9_1581029493366_130491_6153", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - IActionUsage QueryTarget(); + IActionUsage target { get; } /// /// The AcceptActionUsages that define the triggers of this TransitionUsage, which are the ownedFeatures @@ -122,7 +122,7 @@ public partial interface ITransitionUsage : IActionUsage /// [Property(xmiId: "_19_0_2_12e503d9_1581029662256_985457_6209", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - List QueryTriggerAction(); + List triggerAction { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IType.cs b/SysML2.NET/Core/AutoGenPoco/IType.cs index 70f0029c..6c77afef 100644 --- a/SysML2.NET/Core/AutoGenPoco/IType.cs +++ b/SysML2.NET/Core/AutoGenPoco/IType.cs @@ -53,28 +53,28 @@ public partial interface IType : INamespace /// those of that sex are also interpretations of the Classifier for that sex). /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - List QueryDifferencingType(); + List differencingType { get; } /// /// The features of this Type that have a non-null direction. /// [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - List QueryDirectedFeature(); + List directedFeature { get; } /// /// All features of this Type with isEnd = true. /// [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - List QueryEndFeature(); + List endFeature { get; } /// /// The ownedMemberFeatures of the featureMemberships of this Type. /// [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - List QueryFeature(); + List feature { get; } /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -82,14 +82,14 @@ public partial interface IType : INamespace /// importedMemberships). /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - List QueryFeatureMembership(); + List featureMembership { get; } /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. /// [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - List QueryInheritedFeature(); + List inheritedFeature { get; } /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -97,14 +97,14 @@ public partial interface IType : INamespace /// [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] - List QueryInheritedMembership(); + List inheritedMembership { get; } /// /// All features related to this Type by FeatureMemberships that have direction in or inout. /// [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - List QueryInput(); + List input { get; } /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -116,7 +116,7 @@ public partial interface IType : INamespace /// also interpretations of the Classifier for that sex). /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - List QueryIntersectingType(); + List intersectingType { get; } /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -129,7 +129,7 @@ public partial interface IType : INamespace /// Indicates whether this Type has an ownedConjugator. /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - bool QueryIsConjugated(); + bool isConjugated { get; } /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -149,14 +149,14 @@ public partial interface IType : INamespace /// [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - IMultiplicity QueryMultiplicity(); + IMultiplicity multiplicity { get; } /// /// All features related to this Type by FeatureMemberships that have direction out or inout. /// [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] - List QueryOutput(); + List output { get; } /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -164,7 +164,7 @@ public partial interface IType : INamespace [Property(xmiId: "_19_0_2_12e503d9_1575482646809_280165_440", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - IConjugation QueryOwnedConjugator(); + IConjugation ownedConjugator { get; } /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -173,7 +173,7 @@ public partial interface IType : INamespace [Property(xmiId: "_19_0_4_b9102da_1661871168454_98082_797", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - List QueryOwnedDifferencing(); + List ownedDifferencing { get; } /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -182,7 +182,7 @@ public partial interface IType : INamespace [Property(xmiId: "_19_0_4_12e503d9_1627447519613_145554_370", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] - List QueryOwnedDisjoining(); + List ownedDisjoining { get; } /// /// All endFeatures of this Type that are ownedFeatures. @@ -190,14 +190,14 @@ public partial interface IType : INamespace [Property(xmiId: "_18_5_3_12e503d9_1563834516278_687758_20652", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] - List QueryOwnedEndFeature(); + List ownedEndFeature { get; } /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. /// [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - List QueryOwnedFeature(); + List ownedFeature { get; } /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -206,7 +206,7 @@ public partial interface IType : INamespace [Property(xmiId: "_18_5_3_12e503d9_1533160674960_868417_43171", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] - List QueryOwnedFeatureMembership(); + List ownedFeatureMembership { get; } /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -214,7 +214,7 @@ public partial interface IType : INamespace [Property(xmiId: "_19_0_4_b9102da_1623242552144_910757_524", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] - List QueryOwnedIntersecting(); + List ownedIntersecting { get; } /// /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific @@ -223,7 +223,7 @@ public partial interface IType : INamespace [Property(xmiId: "_18_5_3_12e503d9_1533160674959_579676_43168", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] - List QueryOwnedSpecialization(); + List ownedSpecialization { get; } /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -231,7 +231,7 @@ public partial interface IType : INamespace [Property(xmiId: "_19_0_4_b9102da_1661869978505_968809_460", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] - List QueryOwnedUnioning(); + List ownedUnioning { get; } /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -241,7 +241,7 @@ public partial interface IType : INamespace /// same ways as people in general. /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - List QueryUnioningType(); + List unioningType { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/ITypeFeaturing.cs b/SysML2.NET/Core/AutoGenPoco/ITypeFeaturing.cs index 66f9f843..3b8b16dd 100644 --- a/SysML2.NET/Core/AutoGenPoco/ITypeFeaturing.cs +++ b/SysML2.NET/Core/AutoGenPoco/ITypeFeaturing.cs @@ -62,7 +62,7 @@ public partial interface ITypeFeaturing : IRelationship [Property(xmiId: "_19_0_4_12e503d9_1603905673976_689994_763", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_912234_579")] - IFeature QueryOwningFeatureOfType(); + IFeature owningFeatureOfType { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IUnioning.cs b/SysML2.NET/Core/AutoGenPoco/IUnioning.cs index 046d3e8b..ec0a43bc 100644 --- a/SysML2.NET/Core/AutoGenPoco/IUnioning.cs +++ b/SysML2.NET/Core/AutoGenPoco/IUnioning.cs @@ -46,7 +46,7 @@ public partial interface IUnioning : IRelationship [Property(xmiId: "_19_0_4_b9102da_1661869978504_423347_459", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] - IType QueryTypeUnioned(); + IType typeUnioned { get; } /// /// Type that partly determines interpretations of typeUnioned, as described in Type::unioningType. diff --git a/SysML2.NET/Core/AutoGenPoco/IUsage.cs b/SysML2.NET/Core/AutoGenPoco/IUsage.cs index d037170b..3ccdb091 100644 --- a/SysML2.NET/Core/AutoGenPoco/IUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/IUsage.cs @@ -78,7 +78,7 @@ public partial interface IUsage : IFeature /// [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] - List QueryDefinition(); + List definition { get; } /// /// The usages of this Usage that are directedFeatures. @@ -86,13 +86,13 @@ public partial interface IUsage : IFeature [Property(xmiId: "_19_0_2_12e503d9_1591217699198_66279_508", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - List QueryDirectedUsage(); + List directedUsage { get; } /// /// Whether this Usage is a referential Usage, that is, it has isComposite = false. /// [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - bool QueryIsReference(); + bool isReference { get; } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -111,56 +111,56 @@ public partial interface IUsage : IFeature /// [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] - bool QueryMayTimeVary(); + bool mayTimeVary { get; } /// /// The ActionUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - List QueryNestedAction(); + List nestedAction { get; } /// /// The AllocationUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - List QueryNestedAllocation(); + List nestedAllocation { get; } /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - List QueryNestedAnalysisCase(); + List nestedAnalysisCase { get; } /// /// The code>AttributeUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - List QueryNestedAttribute(); + List nestedAttribute { get; } /// /// The CalculationUsage that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - List QueryNestedCalculation(); + List nestedCalculation { get; } /// /// The CaseUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] - List QueryNestedCase(); + List nestedCase { get; } /// /// The ConcernUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - List QueryNestedConcern(); + List nestedConcern { get; } /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -169,105 +169,105 @@ public partial interface IUsage : IFeature /// [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - List QueryNestedConnection(); + List nestedConnection { get; } /// /// The ConstraintUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - List QueryNestedConstraint(); + List nestedConstraint { get; } /// /// The code>EnumerationUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] - List QueryNestedEnumeration(); + List nestedEnumeration { get; } /// /// The code>FlowUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - List QueryNestedFlow(); + List nestedFlow { get; } /// /// The InterfaceUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] - List QueryNestedInterface(); + List nestedInterface { get; } /// /// The ItemUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] - List QueryNestedItem(); + List nestedItem { get; } /// /// The MetadataUsages that are nestedUsages of this of this Usage. /// [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - List QueryNestedMetadata(); + List nestedMetadata { get; } /// /// The OccurrenceUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - List QueryNestedOccurrence(); + List nestedOccurrence { get; } /// /// The PartUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] - List QueryNestedPart(); + List nestedPart { get; } /// /// The PortUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - List QueryNestedPort(); + List nestedPort { get; } /// /// The ReferenceUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - List QueryNestedReference(); + List nestedReference { get; } /// /// The RenderingUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - List QueryNestedRendering(); + List nestedRendering { get; } /// /// The RequirementUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] - List QueryNestedRequirement(); + List nestedRequirement { get; } /// /// The StateUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] - List QueryNestedState(); + List nestedState { get; } /// /// The TransitionUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] - List QueryNestedTransition(); + List nestedTransition { get; } /// /// The Usages that are ownedFeatures of this Usage. @@ -275,35 +275,35 @@ public partial interface IUsage : IFeature [Property(xmiId: "_18_5_3_12e503d9_1565472757327_162097_21259", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] - List QueryNestedUsage(); + List nestedUsage { get; } /// /// The UseCaseUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - List QueryNestedUseCase(); + List nestedUseCase { get; } /// /// The VerificationCaseUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] - List QueryNestedVerificationCase(); + List nestedVerificationCase { get; } /// /// The ViewUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] - List QueryNestedView(); + List nestedView { get; } /// /// The ViewpointUsages that are nestedUsages of this Usage. /// [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - List QueryNestedViewpoint(); + List nestedViewpoint { get; } /// /// The Definition that owns this Usage (if any). @@ -311,21 +311,21 @@ public partial interface IUsage : IFeature [Property(xmiId: "_18_5_3_12e503d9_1565479686638_420576_23237", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] - IDefinition QueryOwningDefinition(); + IDefinition owningDefinition { get; } /// /// The Usage in which this Usage is nested (if any). /// [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] - IUsage QueryOwningUsage(); + IUsage owningUsage { get; } /// /// The Usages that are features of this Usage (not necessarily owned). /// [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] - List QueryUsage(); + List usage { get; } /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -333,7 +333,7 @@ public partial interface IUsage : IFeature /// [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - List QueryVariant(); + List variant { get; } /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -341,7 +341,7 @@ public partial interface IUsage : IFeature /// [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] - List QueryVariantMembership(); + List variantMembership { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IUseCaseDefinition.cs b/SysML2.NET/Core/AutoGenPoco/IUseCaseDefinition.cs index e5028f87..94cb3537 100644 --- a/SysML2.NET/Core/AutoGenPoco/IUseCaseDefinition.cs +++ b/SysML2.NET/Core/AutoGenPoco/IUseCaseDefinition.cs @@ -73,7 +73,7 @@ public partial interface IUseCaseDefinition : ICaseDefinition /// IncludeUseCaseUsages owned by this UseCaseDefinition. /// [Property(xmiId: "_19_0_4_12e503d9_1621461043764_27_910", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - List QueryIncludedUseCase(); + List includedUseCase { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IUseCaseUsage.cs b/SysML2.NET/Core/AutoGenPoco/IUseCaseUsage.cs index f21c8b82..ed4a46b3 100644 --- a/SysML2.NET/Core/AutoGenPoco/IUseCaseUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/IUseCaseUsage.cs @@ -74,14 +74,14 @@ public partial interface IUseCaseUsage : ICaseUsage /// IncludeUseCaseUsages owned by this UseCaseUsage. /// [Property(xmiId: "_19_0_4_12e503d9_1621545989647_997634_1855", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - List QueryIncludedUseCase(); + List includedUseCase { get; } /// /// The UseCaseDefinition that is the definition of this UseCaseUsage. /// [Property(xmiId: "_19_0_4_12e503d9_1621460964889_804779_881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_59601fc_1590257465225_855208_512")] - IUseCaseDefinition QueryUseCaseDefinition(); + IUseCaseDefinition useCaseDefinition { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IVariantMembership.cs b/SysML2.NET/Core/AutoGenPoco/IVariantMembership.cs index 97c00cb5..b9a7778e 100644 --- a/SysML2.NET/Core/AutoGenPoco/IVariantMembership.cs +++ b/SysML2.NET/Core/AutoGenPoco/IVariantMembership.cs @@ -49,7 +49,7 @@ public partial interface IVariantMembership : IOwningMembership /// [Property(xmiId: "_19_0_2_12e503d9_1590978683452_645414_775", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] - IUsage QueryOwnedVariantUsage(); + IUsage ownedVariantUsage { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IVerificationCaseDefinition.cs b/SysML2.NET/Core/AutoGenPoco/IVerificationCaseDefinition.cs index 05d47954..b0114c34 100644 --- a/SysML2.NET/Core/AutoGenPoco/IVerificationCaseDefinition.cs +++ b/SysML2.NET/Core/AutoGenPoco/IVerificationCaseDefinition.cs @@ -72,7 +72,7 @@ public partial interface IVerificationCaseDefinition : ICaseDefinition /// verifiedRequirements of all RequirementVerificationMemberships of the objectiveRequirement. /// [Property(xmiId: "_19_0_4_12e503d9_1603922371399_701592_338", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - List QueryVerifiedRequirement(); + List verifiedRequirement { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IVerificationCaseUsage.cs b/SysML2.NET/Core/AutoGenPoco/IVerificationCaseUsage.cs index 1882816b..50eed750 100644 --- a/SysML2.NET/Core/AutoGenPoco/IVerificationCaseUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/IVerificationCaseUsage.cs @@ -74,14 +74,14 @@ public partial interface IVerificationCaseUsage : ICaseUsage /// [Property(xmiId: "_19_0_2_12e503d9_1596821408366_748769_10316", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257465225_855208_512")] - IVerificationCaseDefinition QueryVerificationCaseDefinition(); + IVerificationCaseDefinition verificationCaseDefinition { get; } /// /// The RequirementUsages verified by this VerificationCaseUsage, which are the verifiedRequirements of /// all RequirementVerificationMemberships of the objectiveRequirement. /// [Property(xmiId: "_19_0_4_12e503d9_1603922396599_812331_357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - List QueryVerifiedRequirement(); + List verifiedRequirement { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IViewDefinition.cs b/SysML2.NET/Core/AutoGenPoco/IViewDefinition.cs index ee942194..a9155463 100644 --- a/SysML2.NET/Core/AutoGenPoco/IViewDefinition.cs +++ b/SysML2.NET/Core/AutoGenPoco/IViewDefinition.cs @@ -73,14 +73,14 @@ public partial interface IViewDefinition : IPartDefinition /// [Property(xmiId: "_19_0_2_12e503d9_1596645596183_374903_1209", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] - List QuerySatisfiedViewpoint(); + List satisfiedViewpoint { get; } /// /// The usages of this ViewDefinition that are ViewUsages. /// [Property(xmiId: "_19_0_2_12e503d9_1596644452170_21813_753", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] - List QueryView(); + List view { get; } /// /// The Expressions related to this ViewDefinition by ElementFilterMemberships, which specify conditions @@ -88,14 +88,14 @@ public partial interface IViewDefinition : IPartDefinition /// [Property(xmiId: "_19_0_4_12e503d9_1606938929077_183245_4796", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - List QueryViewCondition(); + List viewCondition { get; } /// /// The RenderingUsage to be used to render views defined by this ViewDefinition, which is the /// referencedRendering of the ViewRenderingMembership of the ViewDefinition. /// [Property(xmiId: "_19_0_2_12e503d9_1596657187664_758418_4914", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - IRenderingUsage QueryViewRendering(); + IRenderingUsage viewRendering { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IViewRenderingMembership.cs b/SysML2.NET/Core/AutoGenPoco/IViewRenderingMembership.cs index 9df5cfe3..7f30350a 100644 --- a/SysML2.NET/Core/AutoGenPoco/IViewRenderingMembership.cs +++ b/SysML2.NET/Core/AutoGenPoco/IViewRenderingMembership.cs @@ -50,7 +50,7 @@ public partial interface IViewRenderingMembership : IFeatureMembership /// [Property(xmiId: "_19_0_4_12e503d9_1617134244546_130200_6000", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] - IRenderingUsage QueryOwnedRendering(); + IRenderingUsage ownedRendering { get; } /// /// The RenderingUsage that is referenced through this ViewRenderingMembership. It is the @@ -58,7 +58,7 @@ public partial interface IViewRenderingMembership : IFeatureMembership /// otherwise, the ownedRendering itself. /// [Property(xmiId: "_19_0_4_12e503d9_1617134300857_286392_6081", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - IRenderingUsage QueryReferencedRendering(); + IRenderingUsage referencedRendering { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IViewUsage.cs b/SysML2.NET/Core/AutoGenPoco/IViewUsage.cs index 9f38cc42..3d1fa9d3 100644 --- a/SysML2.NET/Core/AutoGenPoco/IViewUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/IViewUsage.cs @@ -77,7 +77,7 @@ public partial interface IViewUsage : IPartUsage /// [Property(xmiId: "_19_0_2_12e503d9_1596648681658_691767_2705", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] - List QueryExposedElement(); + List exposedElement { get; } /// /// The nestedRequirements of this ViewUsage that are ViewpointUsages for (additional) viewpoints @@ -85,7 +85,7 @@ public partial interface IViewUsage : IPartUsage /// [Property(xmiId: "_19_0_2_12e503d9_1596645688987_502277_1282", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] - List QuerySatisfiedViewpoint(); + List satisfiedViewpoint { get; } /// /// The Expressions related to this ViewUsage by ElementFilterMemberships, which specify conditions on @@ -93,21 +93,21 @@ public partial interface IViewUsage : IPartUsage /// [Property(xmiId: "_19_0_4_12e503d9_1606938933668_437943_4809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] - List QueryViewCondition(); + List viewCondition { get; } /// /// The ViewDefinition that is the definition of this ViewUsage. /// [Property(xmiId: "_19_0_2_12e503d9_1596644438889_580287_734", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591475180488_929065_121")] - IViewDefinition QueryViewDefinition(); + IViewDefinition viewDefinition { get; } /// /// The RenderingUsage to be used to render views defined by this ViewUsage, which is the /// referencedRendering of the ViewRenderingMembership of the ViewUsage. /// [Property(xmiId: "_19_0_2_12e503d9_1596657318021_274182_5067", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - IRenderingUsage QueryViewRendering(); + IRenderingUsage viewRendering { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IViewpointDefinition.cs b/SysML2.NET/Core/AutoGenPoco/IViewpointDefinition.cs index 05f0be3c..0db613c9 100644 --- a/SysML2.NET/Core/AutoGenPoco/IViewpointDefinition.cs +++ b/SysML2.NET/Core/AutoGenPoco/IViewpointDefinition.cs @@ -73,7 +73,7 @@ public partial interface IViewpointDefinition : IRequirementDefinition /// ViewpointDefinition. /// [Property(xmiId: "_19_0_4_12e503d9_1617117194003_518610_3310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - List QueryViewpointStakeholder(); + List viewpointStakeholder { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IViewpointUsage.cs b/SysML2.NET/Core/AutoGenPoco/IViewpointUsage.cs index 70ba82d2..4d2ad622 100644 --- a/SysML2.NET/Core/AutoGenPoco/IViewpointUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/IViewpointUsage.cs @@ -74,14 +74,14 @@ public partial interface IViewpointUsage : IRequirementUsage /// [Property(xmiId: "_19_0_2_12e503d9_1596649684798_569222_3524", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1583000408905_769743_1223")] - IViewpointDefinition QueryViewpointDefinition(); + IViewpointDefinition viewpointDefinition { get; } /// /// The PartUsages that identify the stakeholders with concerns framed by this ViewpointUsage, which are /// the owned and inherited stakeholderParameters of the framedConcerns of this ViewpointUsage. /// [Property(xmiId: "_19_0_4_12e503d9_1617117200628_940407_3323", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - List QueryViewpointStakeholder(); + List viewpointStakeholder { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IWhileLoopActionUsage.cs b/SysML2.NET/Core/AutoGenPoco/IWhileLoopActionUsage.cs index 0d305ce8..48b4fdfc 100644 --- a/SysML2.NET/Core/AutoGenPoco/IWhileLoopActionUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/IWhileLoopActionUsage.cs @@ -78,14 +78,14 @@ public partial interface IWhileLoopActionUsage : ILoopActionUsage /// performed. It is the (optional) third owned parameter of the WhileLoopActionUsage. /// [Property(xmiId: "_19_0_4_12e503d9_1624290717721_449719_4195", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - IExpression QueryUntilArgument(); + IExpression untilArgument { get; } /// /// The Expression whose result, if true, determines that the bodyAction should continue to be /// performed. It is the first owned parameter of the WhileLoopActionUsage. /// [Property(xmiId: "_19_0_4_12e503d9_1624203871924_371126_3842", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] - IExpression QueryWhileArgument(); + IExpression whileArgument { get; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/IfActionUsage.cs b/SysML2.NET/Core/AutoGenPoco/IfActionUsage.cs index 133f2767..551d2db2 100644 --- a/SysML2.NET/Core/AutoGenPoco/IfActionUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/IfActionUsage.cs @@ -87,10 +87,7 @@ public partial class IfActionUsage : IIfActionUsage [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IActionUsage.ActionDefinition")] - public List QueryActionDefinition() - { - return this.ComputeActionDefinition(); - } + public List actionDefinition => this.ComputeActionDefinition(); /// /// Various alternative identifiers for this Element. Generally, these will be set by tools. @@ -106,10 +103,7 @@ public List QueryActionDefinition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IActionUsage.ActionDefinition")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -121,10 +115,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -134,10 +125,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -165,10 +153,7 @@ public IFeature QueryCrossFeature() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] [Implements(implementation: "IUsage.Definition")] - public List QueryDefinition() - { - return this.ComputeDefinition(); - } + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -181,10 +166,7 @@ public List QueryDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -193,10 +175,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// The usages of this Usage that are directedFeatures. @@ -205,10 +184,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -225,10 +201,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -244,10 +217,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1624203816178_273125_3723", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IIfActionUsage.ElseAction")] - public IActionUsage QueryElseAction() - { - return this.ComputeElseAction(); - } + public IActionUsage elseAction => this.ComputeElseAction(); /// /// All features of this Type with isEnd = true. @@ -255,10 +225,7 @@ public IActionUsage QueryElseAction() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -268,10 +235,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -279,10 +243,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -291,20 +252,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -314,10 +269,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Expression whose result determines whether the thenAction or (optionally) the elseAction is @@ -325,10 +277,7 @@ public List QueryFeaturingType() /// [Property(xmiId: "_19_0_4_12e503d9_1624203866872_328861_3821", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IIfActionUsage.IfArgument")] - public IExpression QueryIfArgument() - { - return this.ComputeIfArgument(); - } + public IExpression ifArgument => this.ComputeIfArgument(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -336,10 +285,7 @@ public IExpression QueryIfArgument() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// The at most one occurrenceDefinition that has isIndividual = true. @@ -347,10 +293,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public IOccurrenceDefinition QueryIndividualDefinition() - { - return this.ComputeIndividualDefinition(); - } + public IOccurrenceDefinition individualDefinition => this.ComputeIndividualDefinition(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -358,10 +301,7 @@ public IOccurrenceDefinition QueryIndividualDefinition() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -370,10 +310,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -381,10 +318,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -397,10 +331,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -424,10 +355,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -482,10 +410,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -507,10 +432,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IUsage.IsReference")] - public bool QueryIsReference() - { - return this.ComputeIsReference(); - } + public bool isReference => this.ComputeIsReference(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -538,7 +460,11 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -559,10 +485,7 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool QueryMayTimeVary() - { - return this.ComputeMayTimeVary(); - } + public bool mayTimeVary => this.ComputeMayTimeVary(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -570,10 +493,7 @@ public bool QueryMayTimeVary() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -581,10 +501,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -594,10 +511,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -607,10 +521,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ActionUsages that are nestedUsages of this Usage. @@ -618,10 +529,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List QueryNestedAction() - { - return this.ComputeNestedAction(); - } + public List nestedAction => this.ComputeNestedAction(); /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -629,10 +537,7 @@ public List QueryNestedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List QueryNestedAllocation() - { - return this.ComputeNestedAllocation(); - } + public List nestedAllocation => this.ComputeNestedAllocation(); /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -640,10 +545,7 @@ public List QueryNestedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List QueryNestedAnalysisCase() - { - return this.ComputeNestedAnalysisCase(); - } + public List nestedAnalysisCase => this.ComputeNestedAnalysisCase(); /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -651,10 +553,7 @@ public List QueryNestedAnalysisCase() [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List QueryNestedAttribute() - { - return this.ComputeNestedAttribute(); - } + public List nestedAttribute => this.ComputeNestedAttribute(); /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -662,10 +561,7 @@ public List QueryNestedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List QueryNestedCalculation() - { - return this.ComputeNestedCalculation(); - } + public List nestedCalculation => this.ComputeNestedCalculation(); /// /// The CaseUsages that are nestedUsages of this Usage. @@ -673,10 +569,7 @@ public List QueryNestedCalculation() [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List QueryNestedCase() - { - return this.ComputeNestedCase(); - } + public List nestedCase => this.ComputeNestedCase(); /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -684,10 +577,7 @@ public List QueryNestedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List QueryNestedConcern() - { - return this.ComputeNestedConcern(); - } + public List nestedConcern => this.ComputeNestedConcern(); /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -697,10 +587,7 @@ public List QueryNestedConcern() [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List QueryNestedConnection() - { - return this.ComputeNestedConnection(); - } + public List nestedConnection => this.ComputeNestedConnection(); /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -708,10 +595,7 @@ public List QueryNestedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List QueryNestedConstraint() - { - return this.ComputeNestedConstraint(); - } + public List nestedConstraint => this.ComputeNestedConstraint(); /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -719,10 +603,7 @@ public List QueryNestedConstraint() [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List QueryNestedEnumeration() - { - return this.ComputeNestedEnumeration(); - } + public List nestedEnumeration => this.ComputeNestedEnumeration(); /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -730,10 +611,7 @@ public List QueryNestedEnumeration() [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List QueryNestedFlow() - { - return this.ComputeNestedFlow(); - } + public List nestedFlow => this.ComputeNestedFlow(); /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -741,10 +619,7 @@ public List QueryNestedFlow() [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List QueryNestedInterface() - { - return this.ComputeNestedInterface(); - } + public List nestedInterface => this.ComputeNestedInterface(); /// /// The ItemUsages that are nestedUsages of this Usage. @@ -752,10 +627,7 @@ public List QueryNestedInterface() [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List QueryNestedItem() - { - return this.ComputeNestedItem(); - } + public List nestedItem => this.ComputeNestedItem(); /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -763,10 +635,7 @@ public List QueryNestedItem() [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List QueryNestedMetadata() - { - return this.ComputeNestedMetadata(); - } + public List nestedMetadata => this.ComputeNestedMetadata(); /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -774,10 +643,7 @@ public List QueryNestedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List QueryNestedOccurrence() - { - return this.ComputeNestedOccurrence(); - } + public List nestedOccurrence => this.ComputeNestedOccurrence(); /// /// The PartUsages that are nestedUsages of this Usage. @@ -785,10 +651,7 @@ public List QueryNestedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List QueryNestedPart() - { - return this.ComputeNestedPart(); - } + public List nestedPart => this.ComputeNestedPart(); /// /// The PortUsages that are nestedUsages of this Usage. @@ -796,10 +659,7 @@ public List QueryNestedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List QueryNestedPort() - { - return this.ComputeNestedPort(); - } + public List nestedPort => this.ComputeNestedPort(); /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -807,10 +667,7 @@ public List QueryNestedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List QueryNestedReference() - { - return this.ComputeNestedReference(); - } + public List nestedReference => this.ComputeNestedReference(); /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -818,10 +675,7 @@ public List QueryNestedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List QueryNestedRendering() - { - return this.ComputeNestedRendering(); - } + public List nestedRendering => this.ComputeNestedRendering(); /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -829,10 +683,7 @@ public List QueryNestedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List QueryNestedRequirement() - { - return this.ComputeNestedRequirement(); - } + public List nestedRequirement => this.ComputeNestedRequirement(); /// /// The StateUsages that are nestedUsages of this Usage. @@ -840,10 +691,7 @@ public List QueryNestedRequirement() [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List QueryNestedState() - { - return this.ComputeNestedState(); - } + public List nestedState => this.ComputeNestedState(); /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -851,10 +699,7 @@ public List QueryNestedState() [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List QueryNestedTransition() - { - return this.ComputeNestedTransition(); - } + public List nestedTransition => this.ComputeNestedTransition(); /// /// The Usages that are ownedFeatures of this Usage. @@ -863,10 +708,7 @@ public List QueryNestedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List QueryNestedUsage() - { - return this.ComputeNestedUsage(); - } + public List nestedUsage => this.ComputeNestedUsage(); /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -874,10 +716,7 @@ public List QueryNestedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List QueryNestedUseCase() - { - return this.ComputeNestedUseCase(); - } + public List nestedUseCase => this.ComputeNestedUseCase(); /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -885,10 +724,7 @@ public List QueryNestedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List QueryNestedVerificationCase() - { - return this.ComputeNestedVerificationCase(); - } + public List nestedVerificationCase => this.ComputeNestedVerificationCase(); /// /// The ViewUsages that are nestedUsages of this Usage. @@ -896,10 +732,7 @@ public List QueryNestedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List QueryNestedView() - { - return this.ComputeNestedView(); - } + public List nestedView => this.ComputeNestedView(); /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -907,10 +740,7 @@ public List QueryNestedView() [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List QueryNestedViewpoint() - { - return this.ComputeNestedViewpoint(); - } + public List nestedViewpoint => this.ComputeNestedViewpoint(); /// /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, @@ -921,10 +751,7 @@ public List QueryNestedViewpoint() [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] [RedefinedByProperty("IActionUsage.ActionDefinition")] [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List QueryOccurrenceDefinition() - { - return this.ComputeOccurrenceDefinition(); - } + List Systems.Occurrences.IOccurrenceUsage.occurrenceDefinition => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -932,10 +759,7 @@ public List QueryOccurrenceDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -945,10 +769,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -957,10 +778,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -969,10 +787,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -982,10 +797,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -995,10 +807,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -1006,10 +815,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -1018,10 +824,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -1029,10 +832,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -1042,10 +842,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -1055,10 +852,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -1068,10 +862,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -1081,10 +872,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -1093,10 +881,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -1105,10 +890,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -1119,10 +901,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -1131,10 +910,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -1143,10 +919,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -1164,10 +937,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -1177,10 +947,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -1190,10 +957,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -1203,10 +967,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1215,10 +976,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1226,10 +984,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The Definition that owns this Usage (if any). @@ -1238,10 +993,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public IDefinition QueryOwningDefinition() - { - return this.ComputeOwningDefinition(); - } + public IDefinition owningDefinition => this.ComputeOwningDefinition(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1249,10 +1001,7 @@ public IDefinition QueryOwningDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1261,10 +1010,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1273,10 +1019,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -1294,10 +1037,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The Usage in which this Usage is nested (if any). @@ -1305,10 +1045,7 @@ public IType QueryOwningType() [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public IUsage QueryOwningUsage() - { - return this.ComputeOwningUsage(); - } + public IUsage owningUsage => this.ComputeOwningUsage(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -1317,10 +1054,7 @@ public IUsage QueryOwningUsage() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If @@ -1341,10 +1075,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1354,10 +1085,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -1366,10 +1094,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// The ActionUsage that is to be performed if the result of the ifArgument is true. It is the second @@ -1377,10 +1102,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_19_0_4_12e503d9_1624203835062_413118_3748", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IIfActionUsage.ThenAction")] - public IActionUsage QueryThenAction() - { - return this.ComputeThenAction(); - } + public IActionUsage thenAction => this.ComputeThenAction(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1391,10 +1113,7 @@ public IActionUsage QueryThenAction() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1405,10 +1124,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1416,10 +1132,7 @@ public List QueryUnioningType() [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1428,10 +1141,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1440,10 +1150,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/Import.cs b/SysML2.NET/Core/AutoGenPoco/Import.cs index 36809361..485b3229 100644 --- a/SysML2.NET/Core/AutoGenPoco/Import.cs +++ b/SysML2.NET/Core/AutoGenPoco/Import.cs @@ -84,10 +84,7 @@ public partial class Import : IImport [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -103,10 +100,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1668801846848_909736_64", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IImport.ImportedElement")] - public IElement QueryImportedElement() - { - return this.ComputeImportedElement(); - } + public IElement importedElement => this.ComputeImportedElement(); /// /// The Namespace into which Memberships are imported by this Import, which must be the @@ -116,10 +110,7 @@ public IElement QueryImportedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [Implements(implementation: "IImport.ImportOwningNamespace")] - public INamespace QueryImportOwningNamespace() - { - return this.ComputeImportOwningNamespace(); - } + public INamespace importOwningNamespace => this.ComputeImportOwningNamespace(); /// /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being @@ -152,10 +143,7 @@ public INamespace QueryImportOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether to recursively import Memberships from visible, owned sub-Namespaces. @@ -172,10 +160,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -185,10 +170,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -196,10 +178,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -223,10 +202,7 @@ public List QueryOwnedElement() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -235,10 +211,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -247,10 +220,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -278,10 +248,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -289,10 +256,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + public List relatedElement => this.ComputeRelatedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -302,10 +266,7 @@ public List QueryRelatedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -314,7 +275,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IImport.ImportOwningNamespace")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IImport.ImportOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IImport.ImportOwningNamespace"); + } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -331,10 +296,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// The visibility level of the imported members from this Import relative to the importOwningNamespace. diff --git a/SysML2.NET/Core/AutoGenPoco/IncludeUseCaseUsage.cs b/SysML2.NET/Core/AutoGenPoco/IncludeUseCaseUsage.cs index bdf4c9df..7ca792ac 100644 --- a/SysML2.NET/Core/AutoGenPoco/IncludeUseCaseUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/IncludeUseCaseUsage.cs @@ -89,10 +89,7 @@ public partial class IncludeUseCaseUsage : IIncludeUseCaseUsage [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [RedefinedByProperty("ICalculationUsage.CalculationDefinition")] [Implements(implementation: "IActionUsage.ActionDefinition")] - public List QueryActionDefinition() - { - return this.ComputeActionDefinition(); - } + List Systems.Actions.IActionUsage.actionDefinition => throw new InvalidOperationException("Redefined by property ICalculationUsage.CalculationDefinition"); /// /// The parameters of this CaseUsage that represent actors involved in the case. @@ -101,10 +98,7 @@ public List QueryActionDefinition() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "ICaseUsage.ActorParameter")] - public List QueryActorParameter() - { - return this.ComputeActorParameter(); - } + public List actorParameter => this.ComputeActorParameter(); /// /// Various alternative identifiers for this Element. Generally, these will be set by tools. @@ -120,10 +114,7 @@ public List QueryActorParameter() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IExpression.Function")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); /// /// The Function that is the type of this CalculationUsage. Nominally, this would be a @@ -135,10 +126,7 @@ public List QueryBehavior() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1565500905804_589845_30779")] [RedefinedByProperty("ICaseUsage.CaseDefinition")] [Implements(implementation: "ICalculationUsage.CalculationDefinition")] - public IFunction QueryCalculationDefinition() - { - return this.ComputeCalculationDefinition(); - } + IFunction Systems.Calculations.ICalculationUsage.calculationDefinition => throw new InvalidOperationException("Redefined by property ICaseUsage.CaseDefinition"); /// /// The CaseDefinition that is the type of this CaseUsage. @@ -147,10 +135,7 @@ public IFunction QueryCalculationDefinition() [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1588213526305_899324_302")] [RedefinedByProperty("IUseCaseUsage.UseCaseDefinition")] [Implements(implementation: "ICaseUsage.CaseDefinition")] - public ICaseDefinition QueryCaseDefinition() - { - return this.ComputeCaseDefinition(); - } + ICaseDefinition Systems.Cases.ICaseUsage.caseDefinition => throw new InvalidOperationException("Redefined by property IUseCaseUsage.UseCaseDefinition"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -162,10 +147,7 @@ public ICaseDefinition QueryCaseDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -175,10 +157,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -206,10 +185,7 @@ public IFeature QueryCrossFeature() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] [Implements(implementation: "IUsage.Definition")] - public List QueryDefinition() - { - return this.ComputeDefinition(); - } + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -222,10 +198,7 @@ public List QueryDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -234,10 +207,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// The usages of this Usage that are directedFeatures. @@ -246,10 +216,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -266,10 +233,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -285,10 +249,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -298,10 +259,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The OccurrenceUsage referenced as an event by this EventOccurrenceUsage. It is the referenceFeature @@ -311,10 +269,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_19_0_4_12e503d9_1622831790393_676695_195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IPerformActionUsage.PerformedAction")] [Implements(implementation: "IEventOccurrenceUsage.EventOccurrence")] - public IOccurrenceUsage QueryEventOccurrence() - { - return this.ComputeEventOccurrence(); - } + IOccurrenceUsage Systems.Occurrences.IEventOccurrenceUsage.eventOccurrence => throw new InvalidOperationException("Redefined by property IPerformActionUsage.PerformedAction"); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -322,10 +277,7 @@ public IOccurrenceUsage QueryEventOccurrence() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -334,20 +286,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -357,10 +303,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Function that types this Expression. @@ -369,10 +312,7 @@ public List QueryFeaturingType() [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [RedefinedByProperty("ICalculationUsage.CalculationDefinition")] [Implements(implementation: "IExpression.Function")] - public IFunction QueryFunction() - { - return this.ComputeFunction(); - } + IFunction Kernel.Functions.IExpression.function => throw new InvalidOperationException("Redefined by property ICalculationUsage.CalculationDefinition"); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -380,10 +320,7 @@ public IFunction QueryFunction() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// The UseCaseUsages that are included by this UseCaseUse, which are the useCaseIncludeds of the @@ -391,10 +328,7 @@ public List QueryImportedMembership() /// [Property(xmiId: "_19_0_4_12e503d9_1621545989647_997634_1855", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IUseCaseUsage.IncludedUseCase")] - public List QueryIncludedUseCase() - { - return this.ComputeIncludedUseCase(); - } + public List includedUseCase => this.ComputeIncludedUseCase(); /// /// The at most one occurrenceDefinition that has isIndividual = true. @@ -402,10 +336,7 @@ public List QueryIncludedUseCase() [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public IOccurrenceDefinition QueryIndividualDefinition() - { - return this.ComputeIndividualDefinition(); - } + public IOccurrenceDefinition individualDefinition => this.ComputeIndividualDefinition(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -413,10 +344,7 @@ public IOccurrenceDefinition QueryIndividualDefinition() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -425,10 +353,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -436,10 +361,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -452,10 +374,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -479,10 +398,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -537,10 +453,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, @@ -548,10 +461,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool QueryIsModelLevelEvaluable() - { - return this.ComputeIsModelLevelEvaluable(); - } + public bool isModelLevelEvaluable => this.ComputeIsModelLevelEvaluable(); /// /// Whether an order exists for the values of this Feature or not. @@ -574,10 +484,7 @@ public bool QueryIsModelLevelEvaluable() [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IEventOccurrenceUsage.IsReference")] [Implements(implementation: "IUsage.IsReference")] - bool Systems.DefinitionAndUsage.IUsage.QueryIsReference() - { - return this.ComputeIsReference(); - } + bool Systems.DefinitionAndUsage.IUsage.isReference => throw new InvalidOperationException("Redefined by property IEventOccurrenceUsage.IsReference"); /// /// Always true for an EventOccurrenceUsage. @@ -585,10 +492,7 @@ bool Systems.DefinitionAndUsage.IUsage.QueryIsReference() [Property(xmiId: "_19_0_4_12e503d9_1672526906017_786343_306", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: "true")] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1624035114787_488767_41423")] [Implements(implementation: "IEventOccurrenceUsage.IsReference")] - bool Systems.Occurrences.IEventOccurrenceUsage.QueryIsReference() - { - return this.ComputeIsReference(); - } + public bool isReference => this.ComputeIsReference(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -616,7 +520,11 @@ bool Systems.Occurrences.IEventOccurrenceUsage.QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -637,10 +545,7 @@ bool Systems.Occurrences.IEventOccurrenceUsage.QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool QueryMayTimeVary() - { - return this.ComputeMayTimeVary(); - } + public bool mayTimeVary => this.ComputeMayTimeVary(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -648,10 +553,7 @@ public bool QueryMayTimeVary() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -659,10 +561,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -672,10 +571,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -685,10 +581,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ActionUsages that are nestedUsages of this Usage. @@ -696,10 +589,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List QueryNestedAction() - { - return this.ComputeNestedAction(); - } + public List nestedAction => this.ComputeNestedAction(); /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -707,10 +597,7 @@ public List QueryNestedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List QueryNestedAllocation() - { - return this.ComputeNestedAllocation(); - } + public List nestedAllocation => this.ComputeNestedAllocation(); /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -718,10 +605,7 @@ public List QueryNestedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List QueryNestedAnalysisCase() - { - return this.ComputeNestedAnalysisCase(); - } + public List nestedAnalysisCase => this.ComputeNestedAnalysisCase(); /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -729,10 +613,7 @@ public List QueryNestedAnalysisCase() [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List QueryNestedAttribute() - { - return this.ComputeNestedAttribute(); - } + public List nestedAttribute => this.ComputeNestedAttribute(); /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -740,10 +621,7 @@ public List QueryNestedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List QueryNestedCalculation() - { - return this.ComputeNestedCalculation(); - } + public List nestedCalculation => this.ComputeNestedCalculation(); /// /// The CaseUsages that are nestedUsages of this Usage. @@ -751,10 +629,7 @@ public List QueryNestedCalculation() [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List QueryNestedCase() - { - return this.ComputeNestedCase(); - } + public List nestedCase => this.ComputeNestedCase(); /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -762,10 +637,7 @@ public List QueryNestedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List QueryNestedConcern() - { - return this.ComputeNestedConcern(); - } + public List nestedConcern => this.ComputeNestedConcern(); /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -775,10 +647,7 @@ public List QueryNestedConcern() [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List QueryNestedConnection() - { - return this.ComputeNestedConnection(); - } + public List nestedConnection => this.ComputeNestedConnection(); /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -786,10 +655,7 @@ public List QueryNestedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List QueryNestedConstraint() - { - return this.ComputeNestedConstraint(); - } + public List nestedConstraint => this.ComputeNestedConstraint(); /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -797,10 +663,7 @@ public List QueryNestedConstraint() [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List QueryNestedEnumeration() - { - return this.ComputeNestedEnumeration(); - } + public List nestedEnumeration => this.ComputeNestedEnumeration(); /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -808,10 +671,7 @@ public List QueryNestedEnumeration() [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List QueryNestedFlow() - { - return this.ComputeNestedFlow(); - } + public List nestedFlow => this.ComputeNestedFlow(); /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -819,10 +679,7 @@ public List QueryNestedFlow() [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List QueryNestedInterface() - { - return this.ComputeNestedInterface(); - } + public List nestedInterface => this.ComputeNestedInterface(); /// /// The ItemUsages that are nestedUsages of this Usage. @@ -830,10 +687,7 @@ public List QueryNestedInterface() [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List QueryNestedItem() - { - return this.ComputeNestedItem(); - } + public List nestedItem => this.ComputeNestedItem(); /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -841,10 +695,7 @@ public List QueryNestedItem() [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List QueryNestedMetadata() - { - return this.ComputeNestedMetadata(); - } + public List nestedMetadata => this.ComputeNestedMetadata(); /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -852,10 +703,7 @@ public List QueryNestedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List QueryNestedOccurrence() - { - return this.ComputeNestedOccurrence(); - } + public List nestedOccurrence => this.ComputeNestedOccurrence(); /// /// The PartUsages that are nestedUsages of this Usage. @@ -863,10 +711,7 @@ public List QueryNestedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List QueryNestedPart() - { - return this.ComputeNestedPart(); - } + public List nestedPart => this.ComputeNestedPart(); /// /// The PortUsages that are nestedUsages of this Usage. @@ -874,10 +719,7 @@ public List QueryNestedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List QueryNestedPort() - { - return this.ComputeNestedPort(); - } + public List nestedPort => this.ComputeNestedPort(); /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -885,10 +727,7 @@ public List QueryNestedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List QueryNestedReference() - { - return this.ComputeNestedReference(); - } + public List nestedReference => this.ComputeNestedReference(); /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -896,10 +735,7 @@ public List QueryNestedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List QueryNestedRendering() - { - return this.ComputeNestedRendering(); - } + public List nestedRendering => this.ComputeNestedRendering(); /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -907,10 +743,7 @@ public List QueryNestedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List QueryNestedRequirement() - { - return this.ComputeNestedRequirement(); - } + public List nestedRequirement => this.ComputeNestedRequirement(); /// /// The StateUsages that are nestedUsages of this Usage. @@ -918,10 +751,7 @@ public List QueryNestedRequirement() [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List QueryNestedState() - { - return this.ComputeNestedState(); - } + public List nestedState => this.ComputeNestedState(); /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -929,10 +759,7 @@ public List QueryNestedState() [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List QueryNestedTransition() - { - return this.ComputeNestedTransition(); - } + public List nestedTransition => this.ComputeNestedTransition(); /// /// The Usages that are ownedFeatures of this Usage. @@ -941,10 +768,7 @@ public List QueryNestedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List QueryNestedUsage() - { - return this.ComputeNestedUsage(); - } + public List nestedUsage => this.ComputeNestedUsage(); /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -952,10 +776,7 @@ public List QueryNestedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List QueryNestedUseCase() - { - return this.ComputeNestedUseCase(); - } + public List nestedUseCase => this.ComputeNestedUseCase(); /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -963,10 +784,7 @@ public List QueryNestedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List QueryNestedVerificationCase() - { - return this.ComputeNestedVerificationCase(); - } + public List nestedVerificationCase => this.ComputeNestedVerificationCase(); /// /// The ViewUsages that are nestedUsages of this Usage. @@ -974,10 +792,7 @@ public List QueryNestedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List QueryNestedView() - { - return this.ComputeNestedView(); - } + public List nestedView => this.ComputeNestedView(); /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -985,10 +800,7 @@ public List QueryNestedView() [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List QueryNestedViewpoint() - { - return this.ComputeNestedViewpoint(); - } + public List nestedViewpoint => this.ComputeNestedViewpoint(); /// /// The RequirementUsage representing the objective of this CaseUsage. @@ -996,10 +808,7 @@ public List QueryNestedViewpoint() [Property(xmiId: "_19_0_2_12e503d9_1591138794257_404044_2145", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "ICaseUsage.ObjectiveRequirement")] - public IRequirementUsage QueryObjectiveRequirement() - { - return this.ComputeObjectiveRequirement(); - } + public IRequirementUsage objectiveRequirement => this.ComputeObjectiveRequirement(); /// /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, @@ -1010,10 +819,7 @@ public IRequirementUsage QueryObjectiveRequirement() [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] [RedefinedByProperty("IActionUsage.ActionDefinition")] [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List QueryOccurrenceDefinition() - { - return this.ComputeOccurrenceDefinition(); - } + List Systems.Occurrences.IOccurrenceUsage.occurrenceDefinition => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -1021,10 +827,7 @@ public List QueryOccurrenceDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -1034,10 +837,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -1046,10 +846,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -1058,10 +855,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -1071,10 +865,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -1084,10 +875,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -1095,10 +883,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -1107,10 +892,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -1118,10 +900,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -1131,10 +910,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -1144,10 +920,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -1157,10 +930,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -1170,10 +940,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -1182,10 +949,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -1194,10 +958,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -1208,10 +969,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -1220,10 +978,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -1232,10 +987,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -1253,10 +1005,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -1266,10 +1015,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -1279,10 +1025,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -1292,10 +1035,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1304,10 +1044,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1315,10 +1052,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The Definition that owns this Usage (if any). @@ -1327,10 +1061,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public IDefinition QueryOwningDefinition() - { - return this.ComputeOwningDefinition(); - } + public IDefinition owningDefinition => this.ComputeOwningDefinition(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1338,10 +1069,7 @@ public IDefinition QueryOwningDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1350,10 +1078,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1362,10 +1087,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -1383,10 +1105,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The Usage in which this Usage is nested (if any). @@ -1394,10 +1113,7 @@ public IType QueryOwningType() [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public IUsage QueryOwningUsage() - { - return this.ComputeOwningUsage(); - } + public IUsage owningUsage => this.ComputeOwningUsage(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -1406,10 +1122,7 @@ public IUsage QueryOwningUsage() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The ActionUsage to be performed by this PerformedActionUsage. It is the eventOccurrence of the @@ -1419,10 +1132,7 @@ public List QueryParameter() [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1622831790393_676695_195")] [RedefinedByProperty("IIncludeUseCaseUsage.UseCaseIncluded")] [Implements(implementation: "IPerformActionUsage.PerformedAction")] - public IActionUsage QueryPerformedAction() - { - return this.ComputePerformedAction(); - } + IActionUsage Systems.Actions.IPerformActionUsage.performedAction => throw new InvalidOperationException("Redefined by property IIncludeUseCaseUsage.UseCaseIncluded"); /// /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If @@ -1443,10 +1153,7 @@ public IActionUsage QueryPerformedAction() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// An output parameter of the Expression whose value is the result of the Expression. The result of an @@ -1457,10 +1164,7 @@ public string QueryQualifiedName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [Implements(implementation: "IExpression.Result")] - public IFeature QueryResult() - { - return this.ComputeResult(); - } + public IFeature result => this.ComputeResult(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1470,10 +1174,7 @@ public IFeature QueryResult() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The parameter of this CaseUsage that represents its subject. @@ -1482,10 +1183,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "ICaseUsage.SubjectParameter")] - public IUsage QuerySubjectParameter() - { - return this.ComputeSubjectParameter(); - } + public IUsage subjectParameter => this.ComputeSubjectParameter(); /// /// The TextualRepresentations that annotate this Element. @@ -1494,10 +1192,7 @@ public IUsage QuerySubjectParameter() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1508,10 +1203,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1522,10 +1214,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1533,10 +1222,7 @@ public List QueryUnioningType() [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The UseCaseDefinition that is the definition of this UseCaseUsage. @@ -1544,10 +1230,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_4_12e503d9_1621460964889_804779_881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_59601fc_1590257465225_855208_512")] [Implements(implementation: "IUseCaseUsage.UseCaseDefinition")] - public IUseCaseDefinition QueryUseCaseDefinition() - { - return this.ComputeUseCaseDefinition(); - } + public IUseCaseDefinition useCaseDefinition => this.ComputeUseCaseDefinition(); /// /// The UseCaseUsage to be included by this IncludeUseCaseUsage. It is the performedAction of the @@ -1556,10 +1239,7 @@ public IUseCaseDefinition QueryUseCaseDefinition() [Property(xmiId: "_19_0_4_12e503d9_1621532149711_865323_1172", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1567740791820_867719_18017")] [Implements(implementation: "IIncludeUseCaseUsage.UseCaseIncluded")] - public IUseCaseUsage QueryUseCaseIncluded() - { - return this.ComputeUseCaseIncluded(); - } + public IUseCaseUsage useCaseIncluded => this.ComputeUseCaseIncluded(); /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1568,10 +1248,7 @@ public IUseCaseUsage QueryUseCaseIncluded() [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1580,10 +1257,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/IndexExpression.cs b/SysML2.NET/Core/AutoGenPoco/IndexExpression.cs index 0a7eb999..2dc1adbf 100644 --- a/SysML2.NET/Core/AutoGenPoco/IndexExpression.cs +++ b/SysML2.NET/Core/AutoGenPoco/IndexExpression.cs @@ -68,10 +68,7 @@ public partial class IndexExpression : IIndexExpression /// [Property(xmiId: "_2022x_2_12e503d9_1739134437590_328753_108", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IInstantiationExpression.Argument")] - public List QueryArgument() - { - return this.ComputeArgument(); - } + public List argument => this.ComputeArgument(); /// /// The Behaviors that type this Step. @@ -80,10 +77,7 @@ public List QueryArgument() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IExpression.Function")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -95,10 +89,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -108,10 +99,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -141,10 +129,7 @@ public IFeature QueryCrossFeature() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -153,10 +138,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -173,10 +155,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -192,10 +171,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -205,10 +181,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -216,10 +189,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -228,20 +198,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -251,10 +215,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Function that types this Expression. @@ -262,10 +223,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [Implements(implementation: "IExpression.Function")] - public IFunction QueryFunction() - { - return this.ComputeFunction(); - } + public IFunction function => this.ComputeFunction(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -273,10 +231,7 @@ public IFunction QueryFunction() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -284,10 +239,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -296,10 +248,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -307,10 +256,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The Type that is being instantiated. @@ -318,10 +264,7 @@ public List QueryInput() [Property(xmiId: "_2022x_2_12e503d9_1739134352572_416088_80", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IInstantiationExpression.InstantiatedType")] - public IType QueryInstantiatedType() - { - return this.ComputeInstantiatedType(); - } + public IType instantiatedType => this.ComputeInstantiatedType(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -334,10 +277,7 @@ public IType QueryInstantiatedType() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -361,10 +301,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -411,10 +348,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, @@ -422,10 +356,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool QueryIsModelLevelEvaluable() - { - return this.ComputeIsModelLevelEvaluable(); - } + public bool isModelLevelEvaluable => this.ComputeIsModelLevelEvaluable(); /// /// Whether an order exists for the values of this Feature or not. @@ -475,10 +406,7 @@ public bool QueryIsModelLevelEvaluable() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -486,10 +414,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -499,10 +424,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -512,17 +434,14 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// [Property(xmiId: "_2022x_2_12e503d9_1735075421526_442091_324", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "#")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1557528808100_646606_111674")] [Implements(implementation: "IIndexExpression.Operator")] - string IIndexExpression.Operator { get; set; } + public string Operator { get; set; } /// /// An operator symbol that names a corresponding Function from one of the standard packages from the @@ -531,7 +450,11 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1557528808100_646606_111674", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IIndexExpression.Operator")] [Implements(implementation: "IOperatorExpression.Operator")] - string IOperatorExpression.Operator { get; set; } + string IOperatorExpression.Operator + { + get => throw new InvalidOperationException("Redefined by property IIndexExpression.Operator"); + set => throw new InvalidOperationException("Redefined by property IIndexExpression.Operator"); + } /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -539,10 +462,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -552,10 +472,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -564,10 +481,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -576,10 +490,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -589,10 +500,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -602,10 +510,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -613,10 +518,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -625,10 +527,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -636,10 +535,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -649,10 +545,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -662,10 +555,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -675,10 +565,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -688,10 +575,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -700,10 +584,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -712,10 +593,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -726,10 +604,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -738,10 +613,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -750,10 +622,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -771,10 +640,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -784,10 +650,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -797,10 +660,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -810,10 +670,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -822,10 +679,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -833,10 +687,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -844,10 +695,7 @@ public IElement QueryOwner() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -856,10 +704,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -868,10 +713,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -889,10 +731,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -901,10 +740,7 @@ public IType QueryOwningType() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -916,10 +752,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// An output parameter of the Expression whose value is the result of the Expression. The result of an @@ -930,10 +763,7 @@ public string QueryQualifiedName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [Implements(implementation: "IExpression.Result")] - public IFeature QueryResult() - { - return this.ComputeResult(); - } + public IFeature result => this.ComputeResult(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -943,10 +773,7 @@ public IFeature QueryResult() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -955,10 +782,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -968,10 +792,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + public List type => this.ComputeType(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -982,10 +803,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/InstantiationExpression.cs b/SysML2.NET/Core/AutoGenPoco/InstantiationExpression.cs index dee48d62..454020cf 100644 --- a/SysML2.NET/Core/AutoGenPoco/InstantiationExpression.cs +++ b/SysML2.NET/Core/AutoGenPoco/InstantiationExpression.cs @@ -69,10 +69,7 @@ public partial class InstantiationExpression : IInstantiationExpression /// [Property(xmiId: "_2022x_2_12e503d9_1739134437590_328753_108", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IInstantiationExpression.Argument")] - public List QueryArgument() - { - return this.ComputeArgument(); - } + public List argument => this.ComputeArgument(); /// /// The Behaviors that type this Step. @@ -81,10 +78,7 @@ public List QueryArgument() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IExpression.Function")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -96,10 +90,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -109,10 +100,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -142,10 +130,7 @@ public IFeature QueryCrossFeature() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -154,10 +139,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -174,10 +156,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -193,10 +172,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -206,10 +182,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -217,10 +190,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -229,20 +199,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -252,10 +216,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Function that types this Expression. @@ -263,10 +224,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [Implements(implementation: "IExpression.Function")] - public IFunction QueryFunction() - { - return this.ComputeFunction(); - } + public IFunction function => this.ComputeFunction(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -274,10 +232,7 @@ public IFunction QueryFunction() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -285,10 +240,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -297,10 +249,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -308,10 +257,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The Type that is being instantiated. @@ -319,10 +265,7 @@ public List QueryInput() [Property(xmiId: "_2022x_2_12e503d9_1739134352572_416088_80", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IInstantiationExpression.InstantiatedType")] - public IType QueryInstantiatedType() - { - return this.ComputeInstantiatedType(); - } + public IType instantiatedType => this.ComputeInstantiatedType(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -335,10 +278,7 @@ public IType QueryInstantiatedType() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -362,10 +302,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -412,10 +349,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, @@ -423,10 +357,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool QueryIsModelLevelEvaluable() - { - return this.ComputeIsModelLevelEvaluable(); - } + public bool isModelLevelEvaluable => this.ComputeIsModelLevelEvaluable(); /// /// Whether an order exists for the values of this Feature or not. @@ -476,10 +407,7 @@ public bool QueryIsModelLevelEvaluable() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -487,10 +415,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -500,10 +425,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -513,10 +435,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -524,10 +443,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -537,10 +453,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -549,10 +462,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -561,10 +471,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -574,10 +481,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -587,10 +491,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -598,10 +499,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -610,10 +508,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -621,10 +516,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -634,10 +526,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -647,10 +536,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -660,10 +546,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -673,10 +556,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -685,10 +565,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -697,10 +574,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -711,10 +585,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -723,10 +594,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -735,10 +603,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -756,10 +621,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -769,10 +631,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -782,10 +641,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -795,10 +651,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -807,10 +660,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -818,10 +668,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -829,10 +676,7 @@ public IElement QueryOwner() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -841,10 +685,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -853,10 +694,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -874,10 +712,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -886,10 +721,7 @@ public IType QueryOwningType() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -901,10 +733,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// An output parameter of the Expression whose value is the result of the Expression. The result of an @@ -915,10 +744,7 @@ public string QueryQualifiedName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [Implements(implementation: "IExpression.Result")] - public IFeature QueryResult() - { - return this.ComputeResult(); - } + public IFeature result => this.ComputeResult(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -928,10 +754,7 @@ public IFeature QueryResult() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -940,10 +763,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -953,10 +773,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + public List type => this.ComputeType(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -967,10 +784,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/Interaction.cs b/SysML2.NET/Core/AutoGenPoco/Interaction.cs index 84ea3a97..1c55fa20 100644 --- a/SysML2.NET/Core/AutoGenPoco/Interaction.cs +++ b/SysML2.NET/Core/AutoGenPoco/Interaction.cs @@ -68,10 +68,7 @@ public partial class Interaction : IInteraction [Property(xmiId: "_18_5_3_12e503d9_1562477648742_24204_22901", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [Implements(implementation: "IAssociation.AssociationEnd")] - public List QueryAssociationEnd() - { - return this.ComputeAssociationEnd(); - } + public List associationEnd => this.ComputeAssociationEnd(); /// /// The declared name of this Element. @@ -101,10 +98,7 @@ public List QueryAssociationEnd() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -113,10 +107,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IBehavior.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IBehavior.Parameter"); /// /// The Documentation owned by this Element. @@ -125,10 +116,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -145,10 +133,7 @@ public List QueryDocumentation() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IAssociation.AssociationEnd")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + List Core.Types.IType.endFeature => throw new InvalidOperationException("Redefined by property IAssociation.AssociationEnd"); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -156,10 +141,7 @@ public List QueryEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -168,10 +150,7 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -179,10 +158,7 @@ public List QueryFeatureMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -190,10 +166,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -202,10 +175,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -213,10 +183,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -229,10 +196,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -247,10 +211,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being @@ -276,10 +237,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -299,10 +257,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -310,10 +265,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -323,10 +275,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -336,10 +285,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -347,10 +293,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -360,10 +303,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -372,10 +312,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -385,10 +322,7 @@ public IConjugation QueryOwnedConjugator() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -398,10 +332,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -409,10 +340,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -421,10 +349,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -432,10 +357,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -445,10 +367,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -458,10 +377,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -470,10 +386,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -482,10 +395,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -496,10 +406,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -525,10 +432,7 @@ public List QueryOwnedMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier @@ -537,10 +441,7 @@ public List QueryOwnedSpecialization() [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List QueryOwnedSubclassification() - { - return this.ComputeOwnedSubclassification(); - } + public List ownedSubclassification => this.ComputeOwnedSubclassification(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -549,10 +450,7 @@ public List QueryOwnedSubclassification() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -560,10 +458,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -572,10 +467,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -584,10 +476,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -612,10 +501,7 @@ public INamespace QueryOwningNamespace() [Property(xmiId: "_18_5_3_12e503d9_1543948010065_362066_20413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IBehavior.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -627,10 +513,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -639,10 +522,7 @@ public string QueryQualifiedName() [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedByProperty("IAssociation.RelatedType")] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + List Root.Elements.IRelationship.relatedElement => throw new InvalidOperationException("Redefined by property IAssociation.RelatedType"); /// /// The types of the associationEnds of the Association, which are the relatedElements of the @@ -651,10 +531,7 @@ public List QueryRelatedElement() [Property(xmiId: "_18_5_3_12e503d9_1533160674994_4339_43349", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [Implements(implementation: "IAssociation.RelatedType")] - public List QueryRelatedType() - { - return this.ComputeRelatedType(); - } + public List relatedType => this.ComputeRelatedType(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -664,10 +541,7 @@ public List QueryRelatedType() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -676,7 +550,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IAssociation.SourceType")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IAssociation.SourceType"); + set => throw new InvalidOperationException("Redefined by property IAssociation.SourceType"); + } /// /// The source relatedType for this Association. It is the first relatedType of the Association. @@ -685,10 +563,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [Implements(implementation: "IAssociation.SourceType")] - public IType QuerySourceType() - { - return this.ComputeSourceType(); - } + public IType sourceType => this.ComputeSourceType(); /// /// The Steps that make up this Behavior. @@ -696,10 +571,7 @@ public IType QuerySourceType() [Property(xmiId: "_18_5_3_b9102da_1536346067212_587255_17343", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IBehavior.Step")] - public List QueryStep() - { - return this.ComputeStep(); - } + public List step => this.ComputeStep(); /// /// The relatedElements to which this Relationship is considered to be directed. @@ -708,7 +580,11 @@ public List QueryStep() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IAssociation.TargetType")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IAssociation.TargetType"); + set => throw new InvalidOperationException("Redefined by property IAssociation.TargetType"); + } /// /// The target relatedTypes for this Association. This includes all the relatedTypes other than the @@ -718,10 +594,7 @@ public List QueryStep() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [Implements(implementation: "IAssociation.TargetType")] - public List QueryTargetType() - { - return this.ComputeTargetType(); - } + public List targetType => this.ComputeTargetType(); /// /// The TextualRepresentations that annotate this Element. @@ -730,10 +603,7 @@ public List QueryTargetType() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -744,10 +614,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/InterfaceDefinition.cs b/SysML2.NET/Core/AutoGenPoco/InterfaceDefinition.cs index 591cd2d6..d6f89ea3 100644 --- a/SysML2.NET/Core/AutoGenPoco/InterfaceDefinition.cs +++ b/SysML2.NET/Core/AutoGenPoco/InterfaceDefinition.cs @@ -89,10 +89,7 @@ public partial class InterfaceDefinition : IInterfaceDefinition [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [RedefinedByProperty("IConnectionDefinition.ConnectionEnd")] [Implements(implementation: "IAssociation.AssociationEnd")] - public List QueryAssociationEnd() - { - return this.ComputeAssociationEnd(); - } + List Kernel.Associations.IAssociation.associationEnd => throw new InvalidOperationException("Redefined by property IConnectionDefinition.ConnectionEnd"); /// /// The Usages that define the things related by the ConnectionDefinition. @@ -101,10 +98,7 @@ public List QueryAssociationEnd() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562477648742_24204_22901")] [RedefinedByProperty("IInterfaceDefinition.InterfaceEnd")] [Implements(implementation: "IConnectionDefinition.ConnectionEnd")] - public List QueryConnectionEnd() - { - return this.ComputeConnectionEnd(); - } + List Systems.Connections.IConnectionDefinition.connectionEnd => throw new InvalidOperationException("Redefined by property IInterfaceDefinition.InterfaceEnd"); /// /// The declared name of this Element. @@ -134,10 +128,7 @@ public List QueryConnectionEnd() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -145,10 +136,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// The usages of this Definition that are directedFeatures. @@ -157,10 +145,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// The Documentation owned by this Element. @@ -169,10 +154,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -189,10 +171,7 @@ public List QueryDocumentation() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IAssociation.AssociationEnd")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + List Core.Types.IType.endFeature => throw new InvalidOperationException("Redefined by property IAssociation.AssociationEnd"); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -200,10 +179,7 @@ public List QueryEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -212,10 +188,7 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -223,10 +196,7 @@ public List QueryFeatureMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -234,10 +204,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -246,10 +213,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -257,10 +221,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The PortUsages that are the connectionEnds of this InterfaceDefinition. @@ -268,10 +229,7 @@ public List QueryInput() [Property(xmiId: "_18_5_3_12e503d9_1565496234915_779221_26664", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591476421094_685440_682")] [Implements(implementation: "IInterfaceDefinition.InterfaceEnd")] - public List QueryInterfaceEnd() - { - return this.ComputeInterfaceEnd(); - } + public List interfaceEnd => this.ComputeInterfaceEnd(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -284,10 +242,7 @@ public List QueryInterfaceEnd() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -302,10 +257,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being @@ -338,10 +290,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// A ConnectionDefinition always has isSufficient = true. @@ -349,7 +298,7 @@ public bool QueryIsLibraryElement() [Property(xmiId: "_2022x_2_12e503d9_1734734871008_462076_156", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] [RedefinedProperty(propertyName: "_18_5_3_b9102da_1564072709069_937523_30797")] [Implements(implementation: "IConnectionDefinition.IsSufficient")] - bool Systems.Connections.IConnectionDefinition.IsSufficient { get; set; } + public bool IsSufficient { get; set; } /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -362,7 +311,11 @@ public bool QueryIsLibraryElement() [Property(xmiId: "_18_5_3_b9102da_1564072709069_937523_30797", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IConnectionDefinition.IsSufficient")] [Implements(implementation: "IType.IsSufficient")] - bool Core.Types.IType.IsSufficient { get; set; } + bool Core.Types.IType.IsSufficient + { + get => throw new InvalidOperationException("Redefined by property IConnectionDefinition.IsSufficient"); + set => throw new InvalidOperationException("Redefined by property IConnectionDefinition.IsSufficient"); + } /// /// Whether this Definition is for a variation point or not. If true, then all the memberships of the @@ -378,10 +331,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -389,10 +339,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -402,10 +349,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -415,10 +359,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -426,10 +367,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ActionUsages that are ownedUsages of this Definition. @@ -437,10 +375,7 @@ public List QueryOutput() [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedAction")] - public List QueryOwnedAction() - { - return this.ComputeOwnedAction(); - } + public List ownedAction => this.ComputeOwnedAction(); /// /// The AllocationUsages that are ownedUsages of this Definition. @@ -448,10 +383,7 @@ public List QueryOwnedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedAllocation")] - public List QueryOwnedAllocation() - { - return this.ComputeOwnedAllocation(); - } + public List ownedAllocation => this.ComputeOwnedAllocation(); /// /// The AnalysisCaseUsages that are ownedUsages of this Definition. @@ -459,10 +391,7 @@ public List QueryOwnedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List QueryOwnedAnalysisCase() - { - return this.ComputeOwnedAnalysisCase(); - } + public List ownedAnalysisCase => this.ComputeOwnedAnalysisCase(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -472,10 +401,7 @@ public List QueryOwnedAnalysisCase() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The AttributeUsages that are ownedUsages of this Definition. @@ -483,10 +409,7 @@ public List QueryOwnedAnnotation() [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedAttribute")] - public List QueryOwnedAttribute() - { - return this.ComputeOwnedAttribute(); - } + public List ownedAttribute => this.ComputeOwnedAttribute(); /// /// The CalculationUsages that are ownedUsages of this Definition. @@ -494,10 +417,7 @@ public List QueryOwnedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedCalculation")] - public List QueryOwnedCalculation() - { - return this.ComputeOwnedCalculation(); - } + public List ownedCalculation => this.ComputeOwnedCalculation(); /// /// The code>CaseUsages that are ownedUsages of this Definition. @@ -505,10 +425,7 @@ public List QueryOwnedCalculation() [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] [Implements(implementation: "IDefinition.OwnedCase")] - public List QueryOwnedCase() - { - return this.ComputeOwnedCase(); - } + public List ownedCase => this.ComputeOwnedCase(); /// /// The ConcernUsages that are ownedUsages of this Definition. @@ -516,10 +433,7 @@ public List QueryOwnedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedConcern")] - public List QueryOwnedConcern() - { - return this.ComputeOwnedConcern(); - } + public List ownedConcern => this.ComputeOwnedConcern(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -528,10 +442,7 @@ public List QueryOwnedConcern() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes @@ -541,10 +452,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedConnection")] - public List QueryOwnedConnection() - { - return this.ComputeOwnedConnection(); - } + public List ownedConnection => this.ComputeOwnedConnection(); /// /// The ConstraintUsages that are ownedUsages of this Definition. @@ -552,10 +460,7 @@ public List QueryOwnedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedConstraint")] - public List QueryOwnedConstraint() - { - return this.ComputeOwnedConstraint(); - } + public List ownedConstraint => this.ComputeOwnedConstraint(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -565,10 +470,7 @@ public List QueryOwnedConstraint() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -578,10 +480,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -589,10 +488,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -601,10 +497,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The EnumerationUsages that are ownedUsages of this Definition. @@ -612,10 +505,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List QueryOwnedEnumeration() - { - return this.ComputeOwnedEnumeration(); - } + public List ownedEnumeration => this.ComputeOwnedEnumeration(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -623,10 +513,7 @@ public List QueryOwnedEnumeration() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -636,10 +523,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The FlowUsages that are ownedUsages of this Definition. @@ -647,10 +531,7 @@ public List QueryOwnedFeatureMembership() [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedFlow")] - public List QueryOwnedFlow() - { - return this.ComputeOwnedFlow(); - } + public List ownedFlow => this.ComputeOwnedFlow(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -660,10 +541,7 @@ public List QueryOwnedFlow() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The InterfaceUsages that are ownedUsages of this Definition. @@ -671,10 +549,7 @@ public List QueryOwnedImport() [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedInterface")] - public List QueryOwnedInterface() - { - return this.ComputeOwnedInterface(); - } + public List ownedInterface => this.ComputeOwnedInterface(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -683,10 +558,7 @@ public List QueryOwnedInterface() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The ItemUsages that are ownedUsages of this Definition. @@ -694,10 +566,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedItem")] - public List QueryOwnedItem() - { - return this.ComputeOwnedItem(); - } + public List ownedItem => this.ComputeOwnedItem(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -706,10 +575,7 @@ public List QueryOwnedItem() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -720,10 +586,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The MetadataUsages that are ownedUsages of this Definition. @@ -731,10 +594,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedMetadata")] - public List QueryOwnedMetadata() - { - return this.ComputeOwnedMetadata(); - } + public List ownedMetadata => this.ComputeOwnedMetadata(); /// /// The OccurrenceUsages that are ownedUsages of this Definition. @@ -742,10 +602,7 @@ public List QueryOwnedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List QueryOwnedOccurrence() - { - return this.ComputeOwnedOccurrence(); - } + public List ownedOccurrence => this.ComputeOwnedOccurrence(); /// /// The PartUsages that are ownedUsages of this Definition. @@ -753,10 +610,7 @@ public List QueryOwnedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedPart")] - public List QueryOwnedPart() - { - return this.ComputeOwnedPart(); - } + public List ownedPart => this.ComputeOwnedPart(); /// /// The PortUsages that are ownedUsages of this Definition. @@ -764,10 +618,7 @@ public List QueryOwnedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedPort")] - public List QueryOwnedPort() - { - return this.ComputeOwnedPort(); - } + public List ownedPort => this.ComputeOwnedPort(); /// /// The ReferenceUsages that are ownedUsages of this Definition. @@ -775,10 +626,7 @@ public List QueryOwnedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedReference")] - public List QueryOwnedReference() - { - return this.ComputeOwnedReference(); - } + public List ownedReference => this.ComputeOwnedReference(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -802,10 +650,7 @@ public List QueryOwnedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedRendering")] - public List QueryOwnedRendering() - { - return this.ComputeOwnedRendering(); - } + public List ownedRendering => this.ComputeOwnedRendering(); /// /// The RequirementUsages that are ownedUsages of this Definition. @@ -813,10 +658,7 @@ public List QueryOwnedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] [Implements(implementation: "IDefinition.OwnedRequirement")] - public List QueryOwnedRequirement() - { - return this.ComputeOwnedRequirement(); - } + public List ownedRequirement => this.ComputeOwnedRequirement(); /// /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific @@ -826,10 +668,7 @@ public List QueryOwnedRequirement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The StateUsages that are ownedUsages of this Definition. @@ -837,10 +676,7 @@ public List QueryOwnedSpecialization() [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedState")] - public List QueryOwnedState() - { - return this.ComputeOwnedState(); - } + public List ownedState => this.ComputeOwnedState(); /// /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier @@ -849,10 +685,7 @@ public List QueryOwnedState() [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List QueryOwnedSubclassification() - { - return this.ComputeOwnedSubclassification(); - } + public List ownedSubclassification => this.ComputeOwnedSubclassification(); /// /// The TransitionUsages that are ownedUsages of this Definition. @@ -860,10 +693,7 @@ public List QueryOwnedSubclassification() [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedTransition")] - public List QueryOwnedTransition() - { - return this.ComputeOwnedTransition(); - } + public List ownedTransition => this.ComputeOwnedTransition(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -872,10 +702,7 @@ public List QueryOwnedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The Usages that are ownedFeatures of this Definition. @@ -884,10 +711,7 @@ public List QueryOwnedUnioning() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.OwnedUsage")] - public List QueryOwnedUsage() - { - return this.ComputeOwnedUsage(); - } + public List ownedUsage => this.ComputeOwnedUsage(); /// /// The UseCaseUsages that are ownedUsages of this Definition. @@ -895,10 +719,7 @@ public List QueryOwnedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedUseCase")] - public List QueryOwnedUseCase() - { - return this.ComputeOwnedUseCase(); - } + public List ownedUseCase => this.ComputeOwnedUseCase(); /// /// The VerificationCaseUsages that are ownedUsages of this Definition. @@ -906,10 +727,7 @@ public List QueryOwnedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List QueryOwnedVerificationCase() - { - return this.ComputeOwnedVerificationCase(); - } + public List ownedVerificationCase => this.ComputeOwnedVerificationCase(); /// /// The ViewUsages that are ownedUsages of this Definition. @@ -917,10 +735,7 @@ public List QueryOwnedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedView")] - public List QueryOwnedView() - { - return this.ComputeOwnedView(); - } + public List ownedView => this.ComputeOwnedView(); /// /// The ViewpointUsages that are ownedUsages of this Definition. @@ -928,10 +743,7 @@ public List QueryOwnedView() [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List QueryOwnedViewpoint() - { - return this.ComputeOwnedViewpoint(); - } + public List ownedViewpoint => this.ComputeOwnedViewpoint(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -939,10 +751,7 @@ public List QueryOwnedViewpoint() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -951,10 +760,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -963,10 +769,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -994,10 +797,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -1006,10 +806,7 @@ public string QueryQualifiedName() [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedByProperty("IAssociation.RelatedType")] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + List Root.Elements.IRelationship.relatedElement => throw new InvalidOperationException("Redefined by property IAssociation.RelatedType"); /// /// The types of the associationEnds of the Association, which are the relatedElements of the @@ -1018,10 +815,7 @@ public List QueryRelatedElement() [Property(xmiId: "_18_5_3_12e503d9_1533160674994_4339_43349", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [Implements(implementation: "IAssociation.RelatedType")] - public List QueryRelatedType() - { - return this.ComputeRelatedType(); - } + public List relatedType => this.ComputeRelatedType(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1031,10 +825,7 @@ public List QueryRelatedType() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -1043,7 +834,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IAssociation.SourceType")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IAssociation.SourceType"); + set => throw new InvalidOperationException("Redefined by property IAssociation.SourceType"); + } /// /// The source relatedType for this Association. It is the first relatedType of the Association. @@ -1052,10 +847,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [Implements(implementation: "IAssociation.SourceType")] - public IType QuerySourceType() - { - return this.ComputeSourceType(); - } + public IType sourceType => this.ComputeSourceType(); /// /// The relatedElements to which this Relationship is considered to be directed. @@ -1064,7 +856,11 @@ public IType QuerySourceType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IAssociation.TargetType")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IAssociation.TargetType"); + set => throw new InvalidOperationException("Redefined by property IAssociation.TargetType"); + } /// /// The target relatedTypes for this Association. This includes all the relatedTypes other than the @@ -1074,10 +870,7 @@ public IType QuerySourceType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674994_4339_43349")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [Implements(implementation: "IAssociation.TargetType")] - public List QueryTargetType() - { - return this.ComputeTargetType(); - } + public List targetType => this.ComputeTargetType(); /// /// The TextualRepresentations that annotate this Element. @@ -1086,10 +879,7 @@ public List QueryTargetType() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1100,10 +890,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Definition (not necessarily owned). @@ -1111,10 +898,7 @@ public List QueryUnioningType() [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IDefinition.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Definition as a variation point Definition, if @@ -1123,10 +907,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IDefinition.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then @@ -1136,10 +917,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IDefinition.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/InterfaceUsage.cs b/SysML2.NET/Core/AutoGenPoco/InterfaceUsage.cs index a2495d97..08260af0 100644 --- a/SysML2.NET/Core/AutoGenPoco/InterfaceUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/InterfaceUsage.cs @@ -92,10 +92,7 @@ public partial class InterfaceUsage : IInterfaceUsage [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IConnectionUsage.ConnectionDefinition")] [Implements(implementation: "IConnector.Association")] - public List QueryAssociation() - { - return this.ComputeAssociation(); - } + List Kernel.Connectors.IConnector.association => throw new InvalidOperationException("Redefined by property IConnectionUsage.ConnectionDefinition"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -107,10 +104,7 @@ public List QueryAssociation() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The AssociationStructures that are the types of this ConnectionUsage. Nominally, these are , but @@ -122,10 +116,7 @@ public List QueryChainingFeature() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674983_471497_43284")] [RedefinedByProperty("IInterfaceUsage.InterfaceDefinition")] [Implements(implementation: "IConnectionUsage.ConnectionDefinition")] - public List QueryConnectionDefinition() - { - return this.ComputeConnectionDefinition(); - } + List Systems.Connections.IConnectionUsage.connectionDefinition => throw new InvalidOperationException("Redefined by property IInterfaceUsage.InterfaceDefinition"); /// /// The endFeatures of a Connector, which redefine the endFeatures of the associations of the Connector. @@ -135,10 +126,7 @@ public List QueryConnectionDefinition() [Property(xmiId: "_18_5_3_12e503d9_1556735067666_827798_21922", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [Implements(implementation: "IConnector.ConnectorEnd")] - public List QueryConnectorEnd() - { - return this.ComputeConnectorEnd(); - } + public List connectorEnd => this.ComputeConnectorEnd(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -148,10 +136,7 @@ public List QueryConnectorEnd() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -177,10 +162,7 @@ public IFeature QueryCrossFeature() /// [Property(xmiId: "_2022x_2_12e503d9_1737751598145_444042_71", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IConnector.DefaultFeaturingType")] - public IType QueryDefaultFeaturingType() - { - return this.ComputeDefaultFeaturingType(); - } + public IType defaultFeaturingType => this.ComputeDefaultFeaturingType(); /// /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds @@ -191,10 +173,7 @@ public IType QueryDefaultFeaturingType() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] [Implements(implementation: "IUsage.Definition")] - public List QueryDefinition() - { - return this.ComputeDefinition(); - } + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -207,10 +186,7 @@ public List QueryDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -218,10 +194,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// The usages of this Usage that are directedFeatures. @@ -230,10 +203,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -250,10 +220,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -270,10 +237,7 @@ public List QueryDocumentation() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IConnector.ConnectorEnd")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + List Core.Types.IType.endFeature => throw new InvalidOperationException("Redefined by property IConnector.ConnectorEnd"); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -283,10 +247,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -294,10 +255,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -306,20 +264,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -329,10 +281,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -340,10 +289,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// The at most one occurrenceDefinition that has isIndividual = true. @@ -351,10 +297,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public IOccurrenceDefinition QueryIndividualDefinition() - { - return this.ComputeIndividualDefinition(); - } + public IOccurrenceDefinition individualDefinition => this.ComputeIndividualDefinition(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -362,10 +305,7 @@ public IOccurrenceDefinition QueryIndividualDefinition() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -374,10 +314,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -385,10 +322,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The InterfaceDefinitions that type this InterfaceUsage. @@ -396,10 +330,7 @@ public List QueryInput() [Property(xmiId: "_18_5_3_12e503d9_1565499418349_431355_28798", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1594853499656_139435_802")] [Implements(implementation: "IInterfaceUsage.InterfaceDefinition")] - public List QueryInterfaceDefinition() - { - return this.ComputeInterfaceDefinition(); - } + public List interfaceDefinition => this.ComputeInterfaceDefinition(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -412,10 +343,7 @@ public List QueryInterfaceDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -439,10 +367,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -505,10 +430,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -530,10 +452,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IUsage.IsReference")] - public bool QueryIsReference() - { - return this.ComputeIsReference(); - } + public bool isReference => this.ComputeIsReference(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -561,7 +480,11 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -579,10 +502,7 @@ public bool QueryIsReference() [Property(xmiId: "_18_5_3_12e503d9_1565471361757_649736_20796", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IItemUsage.ItemDefinition")] - public List QueryItemDefinition() - { - return this.ComputeItemDefinition(); - } + public List itemDefinition => this.ComputeItemDefinition(); /// /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its @@ -595,10 +515,7 @@ public List QueryItemDefinition() [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool QueryMayTimeVary() - { - return this.ComputeMayTimeVary(); - } + public bool mayTimeVary => this.ComputeMayTimeVary(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -606,10 +523,7 @@ public bool QueryMayTimeVary() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -617,10 +531,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -630,10 +541,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -643,10 +551,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ActionUsages that are nestedUsages of this Usage. @@ -654,10 +559,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List QueryNestedAction() - { - return this.ComputeNestedAction(); - } + public List nestedAction => this.ComputeNestedAction(); /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -665,10 +567,7 @@ public List QueryNestedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List QueryNestedAllocation() - { - return this.ComputeNestedAllocation(); - } + public List nestedAllocation => this.ComputeNestedAllocation(); /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -676,10 +575,7 @@ public List QueryNestedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List QueryNestedAnalysisCase() - { - return this.ComputeNestedAnalysisCase(); - } + public List nestedAnalysisCase => this.ComputeNestedAnalysisCase(); /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -687,10 +583,7 @@ public List QueryNestedAnalysisCase() [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List QueryNestedAttribute() - { - return this.ComputeNestedAttribute(); - } + public List nestedAttribute => this.ComputeNestedAttribute(); /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -698,10 +591,7 @@ public List QueryNestedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List QueryNestedCalculation() - { - return this.ComputeNestedCalculation(); - } + public List nestedCalculation => this.ComputeNestedCalculation(); /// /// The CaseUsages that are nestedUsages of this Usage. @@ -709,10 +599,7 @@ public List QueryNestedCalculation() [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List QueryNestedCase() - { - return this.ComputeNestedCase(); - } + public List nestedCase => this.ComputeNestedCase(); /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -720,10 +607,7 @@ public List QueryNestedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List QueryNestedConcern() - { - return this.ComputeNestedConcern(); - } + public List nestedConcern => this.ComputeNestedConcern(); /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -733,10 +617,7 @@ public List QueryNestedConcern() [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List QueryNestedConnection() - { - return this.ComputeNestedConnection(); - } + public List nestedConnection => this.ComputeNestedConnection(); /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -744,10 +625,7 @@ public List QueryNestedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List QueryNestedConstraint() - { - return this.ComputeNestedConstraint(); - } + public List nestedConstraint => this.ComputeNestedConstraint(); /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -755,10 +633,7 @@ public List QueryNestedConstraint() [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List QueryNestedEnumeration() - { - return this.ComputeNestedEnumeration(); - } + public List nestedEnumeration => this.ComputeNestedEnumeration(); /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -766,10 +641,7 @@ public List QueryNestedEnumeration() [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List QueryNestedFlow() - { - return this.ComputeNestedFlow(); - } + public List nestedFlow => this.ComputeNestedFlow(); /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -777,10 +649,7 @@ public List QueryNestedFlow() [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List QueryNestedInterface() - { - return this.ComputeNestedInterface(); - } + public List nestedInterface => this.ComputeNestedInterface(); /// /// The ItemUsages that are nestedUsages of this Usage. @@ -788,10 +657,7 @@ public List QueryNestedInterface() [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List QueryNestedItem() - { - return this.ComputeNestedItem(); - } + public List nestedItem => this.ComputeNestedItem(); /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -799,10 +665,7 @@ public List QueryNestedItem() [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List QueryNestedMetadata() - { - return this.ComputeNestedMetadata(); - } + public List nestedMetadata => this.ComputeNestedMetadata(); /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -810,10 +673,7 @@ public List QueryNestedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List QueryNestedOccurrence() - { - return this.ComputeNestedOccurrence(); - } + public List nestedOccurrence => this.ComputeNestedOccurrence(); /// /// The PartUsages that are nestedUsages of this Usage. @@ -821,10 +681,7 @@ public List QueryNestedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List QueryNestedPart() - { - return this.ComputeNestedPart(); - } + public List nestedPart => this.ComputeNestedPart(); /// /// The PortUsages that are nestedUsages of this Usage. @@ -832,10 +689,7 @@ public List QueryNestedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List QueryNestedPort() - { - return this.ComputeNestedPort(); - } + public List nestedPort => this.ComputeNestedPort(); /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -843,10 +697,7 @@ public List QueryNestedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List QueryNestedReference() - { - return this.ComputeNestedReference(); - } + public List nestedReference => this.ComputeNestedReference(); /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -854,10 +705,7 @@ public List QueryNestedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List QueryNestedRendering() - { - return this.ComputeNestedRendering(); - } + public List nestedRendering => this.ComputeNestedRendering(); /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -865,10 +713,7 @@ public List QueryNestedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List QueryNestedRequirement() - { - return this.ComputeNestedRequirement(); - } + public List nestedRequirement => this.ComputeNestedRequirement(); /// /// The StateUsages that are nestedUsages of this Usage. @@ -876,10 +721,7 @@ public List QueryNestedRequirement() [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List QueryNestedState() - { - return this.ComputeNestedState(); - } + public List nestedState => this.ComputeNestedState(); /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -887,10 +729,7 @@ public List QueryNestedState() [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List QueryNestedTransition() - { - return this.ComputeNestedTransition(); - } + public List nestedTransition => this.ComputeNestedTransition(); /// /// The Usages that are ownedFeatures of this Usage. @@ -899,10 +738,7 @@ public List QueryNestedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List QueryNestedUsage() - { - return this.ComputeNestedUsage(); - } + public List nestedUsage => this.ComputeNestedUsage(); /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -910,10 +746,7 @@ public List QueryNestedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List QueryNestedUseCase() - { - return this.ComputeNestedUseCase(); - } + public List nestedUseCase => this.ComputeNestedUseCase(); /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -921,10 +754,7 @@ public List QueryNestedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List QueryNestedVerificationCase() - { - return this.ComputeNestedVerificationCase(); - } + public List nestedVerificationCase => this.ComputeNestedVerificationCase(); /// /// The ViewUsages that are nestedUsages of this Usage. @@ -932,10 +762,7 @@ public List QueryNestedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List QueryNestedView() - { - return this.ComputeNestedView(); - } + public List nestedView => this.ComputeNestedView(); /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -943,10 +770,7 @@ public List QueryNestedView() [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List QueryNestedViewpoint() - { - return this.ComputeNestedViewpoint(); - } + public List nestedViewpoint => this.ComputeNestedViewpoint(); /// /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, @@ -956,10 +780,7 @@ public List QueryNestedViewpoint() [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List QueryOccurrenceDefinition() - { - return this.ComputeOccurrenceDefinition(); - } + public List occurrenceDefinition => this.ComputeOccurrenceDefinition(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -967,10 +788,7 @@ public List QueryOccurrenceDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -980,10 +798,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -992,10 +807,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -1004,10 +816,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -1017,10 +826,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -1030,10 +836,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -1041,10 +844,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -1053,10 +853,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -1064,10 +861,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -1077,10 +871,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -1090,10 +881,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -1103,10 +891,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -1116,10 +901,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -1128,10 +910,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -1140,10 +919,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -1154,10 +930,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -1166,10 +939,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -1178,10 +948,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -1207,10 +974,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -1220,10 +984,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -1233,10 +994,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -1246,10 +1004,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1258,10 +1013,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1269,10 +1021,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The Definition that owns this Usage (if any). @@ -1281,10 +1030,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public IDefinition QueryOwningDefinition() - { - return this.ComputeOwningDefinition(); - } + public IDefinition owningDefinition => this.ComputeOwningDefinition(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1292,10 +1038,7 @@ public IDefinition QueryOwningDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1304,10 +1047,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1316,10 +1056,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -1345,10 +1082,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The Usage in which this Usage is nested (if any). @@ -1356,10 +1090,7 @@ public IType QueryOwningType() [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public IUsage QueryOwningUsage() - { - return this.ComputeOwningUsage(); - } + public IUsage owningUsage => this.ComputeOwningUsage(); /// /// The itemDefinitions of this PartUsage that are PartDefinitions. @@ -1367,10 +1098,7 @@ public IUsage QueryOwningUsage() [Property(xmiId: "_19_0_2_12e503d9_1591475180488_929065_121", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565471361757_649736_20796")] [Implements(implementation: "IPartUsage.PartDefinition")] - public List QueryPartDefinition() - { - return this.ComputePartDefinition(); - } + public List partDefinition => this.ComputePartDefinition(); /// /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If @@ -1391,10 +1119,7 @@ public List QueryPartDefinition() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -1403,10 +1128,7 @@ public string QueryQualifiedName() [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedByProperty("IConnector.RelatedFeature")] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + List Root.Elements.IRelationship.relatedElement => throw new InvalidOperationException("Redefined by property IConnector.RelatedFeature"); /// /// The Features that are related by this Connector considered as a Relationship and that restrict the @@ -1415,10 +1137,7 @@ public List QueryRelatedElement() [Property(xmiId: "_18_5_3_12e503d9_1533160674968_916334_43210", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [Implements(implementation: "IConnector.RelatedFeature")] - public List QueryRelatedFeature() - { - return this.ComputeRelatedFeature(); - } + public List relatedFeature => this.ComputeRelatedFeature(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1428,10 +1147,7 @@ public List QueryRelatedFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -1440,7 +1156,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IConnector.SourceFeature")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + } /// /// The source relatedFeature for this Connector. It is the first relatedFeature. @@ -1449,10 +1169,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [Implements(implementation: "IConnector.SourceFeature")] - public IFeature QuerySourceFeature() - { - return this.ComputeSourceFeature(); - } + public IFeature sourceFeature => this.ComputeSourceFeature(); /// /// The relatedElements to which this Relationship is considered to be directed. @@ -1461,7 +1178,11 @@ public IFeature QuerySourceFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IConnector.TargetFeature")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + } /// /// The target relatedFeatures for this Connector. This includes all the relatedFeatures other than the @@ -1471,10 +1192,7 @@ public IFeature QuerySourceFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [Implements(implementation: "IConnector.TargetFeature")] - public List QueryTargetFeature() - { - return this.ComputeTargetFeature(); - } + public List targetFeature => this.ComputeTargetFeature(); /// /// The TextualRepresentations that annotate this Element. @@ -1483,10 +1201,7 @@ public List QueryTargetFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1497,10 +1212,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1511,10 +1223,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1522,10 +1231,7 @@ public List QueryUnioningType() [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1534,10 +1240,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1546,10 +1249,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/Intersecting.cs b/SysML2.NET/Core/AutoGenPoco/Intersecting.cs index 32660aa1..be7c7b83 100644 --- a/SysML2.NET/Core/AutoGenPoco/Intersecting.cs +++ b/SysML2.NET/Core/AutoGenPoco/Intersecting.cs @@ -79,10 +79,7 @@ public partial class Intersecting : IIntersecting [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -125,10 +122,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -138,10 +132,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -151,10 +142,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -162,10 +150,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -189,10 +174,7 @@ public List QueryOwnedElement() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -201,10 +183,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -213,10 +192,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -244,10 +220,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -255,10 +228,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + public List relatedElement => this.ComputeRelatedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -268,10 +238,7 @@ public List QueryRelatedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -280,7 +247,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IIntersecting.TypeIntersected")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IIntersecting.TypeIntersected"); + set => throw new InvalidOperationException("Redefined by property IIntersecting.TypeIntersected"); + } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -289,7 +260,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IIntersecting.IntersectingType")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IIntersecting.IntersectingType"); + set => throw new InvalidOperationException("Redefined by property IIntersecting.IntersectingType"); + } /// /// The TextualRepresentations that annotate this Element. @@ -298,10 +273,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Type with interpretations partly determined by intersectingType, as described in @@ -311,10 +283,7 @@ public List QueryTextualRepresentation() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [Implements(implementation: "IIntersecting.TypeIntersected")] - public IType QueryTypeIntersected() - { - return this.ComputeTypeIntersected(); - } + public IType typeIntersected => this.ComputeTypeIntersected(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/Invariant.cs b/SysML2.NET/Core/AutoGenPoco/Invariant.cs index d3e1ac48..dcf0fb96 100644 --- a/SysML2.NET/Core/AutoGenPoco/Invariant.cs +++ b/SysML2.NET/Core/AutoGenPoco/Invariant.cs @@ -67,10 +67,7 @@ public partial class Invariant : IInvariant [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IExpression.Function")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -82,10 +79,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -95,10 +89,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -128,10 +119,7 @@ public IFeature QueryCrossFeature() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -140,10 +128,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -160,10 +145,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -179,10 +161,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -192,10 +171,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -203,10 +179,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -215,20 +188,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -238,10 +205,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Function that types this Expression. @@ -250,10 +214,7 @@ public List QueryFeaturingType() [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [RedefinedByProperty("IBooleanExpression.Predicate")] [Implements(implementation: "IExpression.Function")] - public IFunction QueryFunction() - { - return this.ComputeFunction(); - } + IFunction IExpression.function => throw new InvalidOperationException("Redefined by property IBooleanExpression.Predicate"); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -261,10 +222,7 @@ public IFunction QueryFunction() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -272,10 +230,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -284,10 +239,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -295,10 +247,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -311,10 +260,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -338,10 +284,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -388,10 +331,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, @@ -399,10 +339,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool QueryIsModelLevelEvaluable() - { - return this.ComputeIsModelLevelEvaluable(); - } + public bool isModelLevelEvaluable => this.ComputeIsModelLevelEvaluable(); /// /// Whether this Invariant is asserted to be false rather than true. @@ -459,10 +396,7 @@ public bool QueryIsModelLevelEvaluable() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -470,10 +404,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -483,10 +414,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -496,10 +424,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -507,10 +432,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -520,10 +442,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -532,10 +451,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -544,10 +460,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -557,10 +470,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -570,10 +480,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -581,10 +488,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -593,10 +497,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -604,10 +505,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -617,10 +515,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -630,10 +525,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -643,10 +535,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -656,10 +545,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -668,10 +554,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -680,10 +563,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -694,10 +574,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -706,10 +583,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -718,10 +592,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -739,10 +610,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -752,10 +620,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -765,10 +630,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -778,10 +640,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -790,10 +649,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -801,10 +657,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -812,10 +665,7 @@ public IElement QueryOwner() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -824,10 +674,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -836,10 +683,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -857,10 +701,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -869,10 +710,7 @@ public IType QueryOwningType() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The Predicate that types the Expression. @@ -880,10 +718,7 @@ public List QueryParameter() [Property(xmiId: "_19_0_2_12e503d9_1578025035149_386_969", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1543948477241_299049_20934")] [Implements(implementation: "IBooleanExpression.Predicate")] - public IPredicate QueryPredicate() - { - return this.ComputePredicate(); - } + public IPredicate predicate => this.ComputePredicate(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -895,10 +730,7 @@ public IPredicate QueryPredicate() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// An output parameter of the Expression whose value is the result of the Expression. The result of an @@ -909,10 +741,7 @@ public string QueryQualifiedName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [Implements(implementation: "IExpression.Result")] - public IFeature QueryResult() - { - return this.ComputeResult(); - } + public IFeature result => this.ComputeResult(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -922,10 +751,7 @@ public IFeature QueryResult() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -934,10 +760,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -947,10 +770,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + public List type => this.ComputeType(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -961,10 +781,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/InvocationExpression.cs b/SysML2.NET/Core/AutoGenPoco/InvocationExpression.cs index a162b45c..f0d6035a 100644 --- a/SysML2.NET/Core/AutoGenPoco/InvocationExpression.cs +++ b/SysML2.NET/Core/AutoGenPoco/InvocationExpression.cs @@ -72,10 +72,7 @@ public partial class InvocationExpression : IInvocationExpression /// [Property(xmiId: "_2022x_2_12e503d9_1739134437590_328753_108", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IInstantiationExpression.Argument")] - public List QueryArgument() - { - return this.ComputeArgument(); - } + public List argument => this.ComputeArgument(); /// /// The Behaviors that type this Step. @@ -84,10 +81,7 @@ public List QueryArgument() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IExpression.Function")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -99,10 +93,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -112,10 +103,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -145,10 +133,7 @@ public IFeature QueryCrossFeature() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -157,10 +142,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -177,10 +159,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -196,10 +175,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -209,10 +185,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -220,10 +193,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -232,20 +202,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -255,10 +219,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Function that types this Expression. @@ -266,10 +227,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [Implements(implementation: "IExpression.Function")] - public IFunction QueryFunction() - { - return this.ComputeFunction(); - } + public IFunction function => this.ComputeFunction(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -277,10 +235,7 @@ public IFunction QueryFunction() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -288,10 +243,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -300,10 +252,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -311,10 +260,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The Type that is being instantiated. @@ -322,10 +268,7 @@ public List QueryInput() [Property(xmiId: "_2022x_2_12e503d9_1739134352572_416088_80", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IInstantiationExpression.InstantiatedType")] - public IType QueryInstantiatedType() - { - return this.ComputeInstantiatedType(); - } + public IType instantiatedType => this.ComputeInstantiatedType(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -338,10 +281,7 @@ public IType QueryInstantiatedType() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -365,10 +305,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -415,10 +352,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, @@ -426,10 +360,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool QueryIsModelLevelEvaluable() - { - return this.ComputeIsModelLevelEvaluable(); - } + public bool isModelLevelEvaluable => this.ComputeIsModelLevelEvaluable(); /// /// Whether an order exists for the values of this Feature or not. @@ -479,10 +410,7 @@ public bool QueryIsModelLevelEvaluable() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -490,10 +418,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -503,10 +428,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -516,10 +438,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -527,10 +446,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -540,10 +456,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -552,10 +465,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -564,10 +474,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -577,10 +484,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -590,10 +494,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -601,10 +502,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -613,10 +511,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -624,10 +519,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -637,10 +529,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -650,10 +539,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -663,10 +549,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -676,10 +559,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -688,10 +568,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -700,10 +577,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -714,10 +588,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -726,10 +597,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -738,10 +606,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -759,10 +624,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -772,10 +634,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -785,10 +644,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -798,10 +654,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -810,10 +663,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -821,10 +671,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -832,10 +679,7 @@ public IElement QueryOwner() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -844,10 +688,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -856,10 +697,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -877,10 +715,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -889,10 +724,7 @@ public IType QueryOwningType() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -904,10 +736,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// An output parameter of the Expression whose value is the result of the Expression. The result of an @@ -918,10 +747,7 @@ public string QueryQualifiedName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [Implements(implementation: "IExpression.Result")] - public IFeature QueryResult() - { - return this.ComputeResult(); - } + public IFeature result => this.ComputeResult(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -931,10 +757,7 @@ public IFeature QueryResult() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -943,10 +766,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -956,10 +776,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + public List type => this.ComputeType(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -970,10 +787,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/ItemDefinition.cs b/SysML2.NET/Core/AutoGenPoco/ItemDefinition.cs index 6c43e297..6ca5da22 100644 --- a/SysML2.NET/Core/AutoGenPoco/ItemDefinition.cs +++ b/SysML2.NET/Core/AutoGenPoco/ItemDefinition.cs @@ -110,10 +110,7 @@ public partial class ItemDefinition : IItemDefinition /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -121,10 +118,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// The usages of this Definition that are directedFeatures. @@ -133,10 +127,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// The Documentation owned by this Element. @@ -145,10 +136,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -164,10 +152,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -175,10 +160,7 @@ public List QueryEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -187,10 +169,7 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -198,10 +177,7 @@ public List QueryFeatureMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -209,10 +185,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -221,10 +194,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -232,10 +202,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -248,10 +215,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -266,10 +230,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// Whether all necessary implied Relationships have been included in the ownedRelationships of this @@ -294,10 +255,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -325,10 +283,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -336,10 +291,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -349,10 +301,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -362,10 +311,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -373,10 +319,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ActionUsages that are ownedUsages of this Definition. @@ -384,10 +327,7 @@ public List QueryOutput() [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedAction")] - public List QueryOwnedAction() - { - return this.ComputeOwnedAction(); - } + public List ownedAction => this.ComputeOwnedAction(); /// /// The AllocationUsages that are ownedUsages of this Definition. @@ -395,10 +335,7 @@ public List QueryOwnedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedAllocation")] - public List QueryOwnedAllocation() - { - return this.ComputeOwnedAllocation(); - } + public List ownedAllocation => this.ComputeOwnedAllocation(); /// /// The AnalysisCaseUsages that are ownedUsages of this Definition. @@ -406,10 +343,7 @@ public List QueryOwnedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List QueryOwnedAnalysisCase() - { - return this.ComputeOwnedAnalysisCase(); - } + public List ownedAnalysisCase => this.ComputeOwnedAnalysisCase(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -419,10 +353,7 @@ public List QueryOwnedAnalysisCase() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The AttributeUsages that are ownedUsages of this Definition. @@ -430,10 +361,7 @@ public List QueryOwnedAnnotation() [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedAttribute")] - public List QueryOwnedAttribute() - { - return this.ComputeOwnedAttribute(); - } + public List ownedAttribute => this.ComputeOwnedAttribute(); /// /// The CalculationUsages that are ownedUsages of this Definition. @@ -441,10 +369,7 @@ public List QueryOwnedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedCalculation")] - public List QueryOwnedCalculation() - { - return this.ComputeOwnedCalculation(); - } + public List ownedCalculation => this.ComputeOwnedCalculation(); /// /// The code>CaseUsages that are ownedUsages of this Definition. @@ -452,10 +377,7 @@ public List QueryOwnedCalculation() [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] [Implements(implementation: "IDefinition.OwnedCase")] - public List QueryOwnedCase() - { - return this.ComputeOwnedCase(); - } + public List ownedCase => this.ComputeOwnedCase(); /// /// The ConcernUsages that are ownedUsages of this Definition. @@ -463,10 +385,7 @@ public List QueryOwnedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedConcern")] - public List QueryOwnedConcern() - { - return this.ComputeOwnedConcern(); - } + public List ownedConcern => this.ComputeOwnedConcern(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -475,10 +394,7 @@ public List QueryOwnedConcern() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes @@ -488,10 +404,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedConnection")] - public List QueryOwnedConnection() - { - return this.ComputeOwnedConnection(); - } + public List ownedConnection => this.ComputeOwnedConnection(); /// /// The ConstraintUsages that are ownedUsages of this Definition. @@ -499,10 +412,7 @@ public List QueryOwnedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedConstraint")] - public List QueryOwnedConstraint() - { - return this.ComputeOwnedConstraint(); - } + public List ownedConstraint => this.ComputeOwnedConstraint(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -512,10 +422,7 @@ public List QueryOwnedConstraint() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -525,10 +432,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -536,10 +440,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -548,10 +449,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The EnumerationUsages that are ownedUsages of this Definition. @@ -559,10 +457,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List QueryOwnedEnumeration() - { - return this.ComputeOwnedEnumeration(); - } + public List ownedEnumeration => this.ComputeOwnedEnumeration(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -570,10 +465,7 @@ public List QueryOwnedEnumeration() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -583,10 +475,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The FlowUsages that are ownedUsages of this Definition. @@ -594,10 +483,7 @@ public List QueryOwnedFeatureMembership() [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedFlow")] - public List QueryOwnedFlow() - { - return this.ComputeOwnedFlow(); - } + public List ownedFlow => this.ComputeOwnedFlow(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -607,10 +493,7 @@ public List QueryOwnedFlow() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The InterfaceUsages that are ownedUsages of this Definition. @@ -618,10 +501,7 @@ public List QueryOwnedImport() [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedInterface")] - public List QueryOwnedInterface() - { - return this.ComputeOwnedInterface(); - } + public List ownedInterface => this.ComputeOwnedInterface(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -630,10 +510,7 @@ public List QueryOwnedInterface() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The ItemUsages that are ownedUsages of this Definition. @@ -641,10 +518,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedItem")] - public List QueryOwnedItem() - { - return this.ComputeOwnedItem(); - } + public List ownedItem => this.ComputeOwnedItem(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -653,10 +527,7 @@ public List QueryOwnedItem() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -667,10 +538,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The MetadataUsages that are ownedUsages of this Definition. @@ -678,10 +546,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedMetadata")] - public List QueryOwnedMetadata() - { - return this.ComputeOwnedMetadata(); - } + public List ownedMetadata => this.ComputeOwnedMetadata(); /// /// The OccurrenceUsages that are ownedUsages of this Definition. @@ -689,10 +554,7 @@ public List QueryOwnedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List QueryOwnedOccurrence() - { - return this.ComputeOwnedOccurrence(); - } + public List ownedOccurrence => this.ComputeOwnedOccurrence(); /// /// The PartUsages that are ownedUsages of this Definition. @@ -700,10 +562,7 @@ public List QueryOwnedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedPart")] - public List QueryOwnedPart() - { - return this.ComputeOwnedPart(); - } + public List ownedPart => this.ComputeOwnedPart(); /// /// The PortUsages that are ownedUsages of this Definition. @@ -711,10 +570,7 @@ public List QueryOwnedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedPort")] - public List QueryOwnedPort() - { - return this.ComputeOwnedPort(); - } + public List ownedPort => this.ComputeOwnedPort(); /// /// The ReferenceUsages that are ownedUsages of this Definition. @@ -722,10 +578,7 @@ public List QueryOwnedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedReference")] - public List QueryOwnedReference() - { - return this.ComputeOwnedReference(); - } + public List ownedReference => this.ComputeOwnedReference(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -741,10 +594,7 @@ public List QueryOwnedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedRendering")] - public List QueryOwnedRendering() - { - return this.ComputeOwnedRendering(); - } + public List ownedRendering => this.ComputeOwnedRendering(); /// /// The RequirementUsages that are ownedUsages of this Definition. @@ -752,10 +602,7 @@ public List QueryOwnedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] [Implements(implementation: "IDefinition.OwnedRequirement")] - public List QueryOwnedRequirement() - { - return this.ComputeOwnedRequirement(); - } + public List ownedRequirement => this.ComputeOwnedRequirement(); /// /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific @@ -765,10 +612,7 @@ public List QueryOwnedRequirement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The StateUsages that are ownedUsages of this Definition. @@ -776,10 +620,7 @@ public List QueryOwnedSpecialization() [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedState")] - public List QueryOwnedState() - { - return this.ComputeOwnedState(); - } + public List ownedState => this.ComputeOwnedState(); /// /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier @@ -788,10 +629,7 @@ public List QueryOwnedState() [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List QueryOwnedSubclassification() - { - return this.ComputeOwnedSubclassification(); - } + public List ownedSubclassification => this.ComputeOwnedSubclassification(); /// /// The TransitionUsages that are ownedUsages of this Definition. @@ -799,10 +637,7 @@ public List QueryOwnedSubclassification() [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedTransition")] - public List QueryOwnedTransition() - { - return this.ComputeOwnedTransition(); - } + public List ownedTransition => this.ComputeOwnedTransition(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -811,10 +646,7 @@ public List QueryOwnedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The Usages that are ownedFeatures of this Definition. @@ -823,10 +655,7 @@ public List QueryOwnedUnioning() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.OwnedUsage")] - public List QueryOwnedUsage() - { - return this.ComputeOwnedUsage(); - } + public List ownedUsage => this.ComputeOwnedUsage(); /// /// The UseCaseUsages that are ownedUsages of this Definition. @@ -834,10 +663,7 @@ public List QueryOwnedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedUseCase")] - public List QueryOwnedUseCase() - { - return this.ComputeOwnedUseCase(); - } + public List ownedUseCase => this.ComputeOwnedUseCase(); /// /// The VerificationCaseUsages that are ownedUsages of this Definition. @@ -845,10 +671,7 @@ public List QueryOwnedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List QueryOwnedVerificationCase() - { - return this.ComputeOwnedVerificationCase(); - } + public List ownedVerificationCase => this.ComputeOwnedVerificationCase(); /// /// The ViewUsages that are ownedUsages of this Definition. @@ -856,10 +679,7 @@ public List QueryOwnedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedView")] - public List QueryOwnedView() - { - return this.ComputeOwnedView(); - } + public List ownedView => this.ComputeOwnedView(); /// /// The ViewpointUsages that are ownedUsages of this Definition. @@ -867,10 +687,7 @@ public List QueryOwnedView() [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List QueryOwnedViewpoint() - { - return this.ComputeOwnedViewpoint(); - } + public List ownedViewpoint => this.ComputeOwnedViewpoint(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -878,10 +695,7 @@ public List QueryOwnedViewpoint() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -890,10 +704,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -902,10 +713,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -925,10 +733,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -938,10 +743,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -950,10 +752,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -964,10 +763,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Definition (not necessarily owned). @@ -975,10 +771,7 @@ public List QueryUnioningType() [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IDefinition.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Definition as a variation point Definition, if @@ -987,10 +780,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IDefinition.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then @@ -1000,10 +790,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IDefinition.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/ItemUsage.cs b/SysML2.NET/Core/AutoGenPoco/ItemUsage.cs index 3dd9e353..2462c49b 100644 --- a/SysML2.NET/Core/AutoGenPoco/ItemUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/ItemUsage.cs @@ -95,10 +95,7 @@ public partial class ItemUsage : IItemUsage /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -108,10 +105,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -139,10 +133,7 @@ public IFeature QueryCrossFeature() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] [Implements(implementation: "IUsage.Definition")] - public List QueryDefinition() - { - return this.ComputeDefinition(); - } + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -155,10 +146,7 @@ public List QueryDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -166,10 +154,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// The usages of this Usage that are directedFeatures. @@ -178,10 +163,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -198,10 +180,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -217,10 +196,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -230,10 +206,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -241,10 +214,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -253,20 +223,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -276,10 +240,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -287,10 +248,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// The at most one occurrenceDefinition that has isIndividual = true. @@ -298,10 +256,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public IOccurrenceDefinition QueryIndividualDefinition() - { - return this.ComputeIndividualDefinition(); - } + public IOccurrenceDefinition individualDefinition => this.ComputeIndividualDefinition(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -309,10 +264,7 @@ public IOccurrenceDefinition QueryIndividualDefinition() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -321,10 +273,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -332,10 +281,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -348,10 +294,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -375,10 +318,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -433,10 +373,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -458,10 +395,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IUsage.IsReference")] - public bool QueryIsReference() - { - return this.ComputeIsReference(); - } + public bool isReference => this.ComputeIsReference(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -489,7 +423,11 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -507,10 +445,7 @@ public bool QueryIsReference() [Property(xmiId: "_18_5_3_12e503d9_1565471361757_649736_20796", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IItemUsage.ItemDefinition")] - public List QueryItemDefinition() - { - return this.ComputeItemDefinition(); - } + public List itemDefinition => this.ComputeItemDefinition(); /// /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its @@ -523,10 +458,7 @@ public List QueryItemDefinition() [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool QueryMayTimeVary() - { - return this.ComputeMayTimeVary(); - } + public bool mayTimeVary => this.ComputeMayTimeVary(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -534,10 +466,7 @@ public bool QueryMayTimeVary() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -545,10 +474,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -558,10 +484,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -571,10 +494,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ActionUsages that are nestedUsages of this Usage. @@ -582,10 +502,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List QueryNestedAction() - { - return this.ComputeNestedAction(); - } + public List nestedAction => this.ComputeNestedAction(); /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -593,10 +510,7 @@ public List QueryNestedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List QueryNestedAllocation() - { - return this.ComputeNestedAllocation(); - } + public List nestedAllocation => this.ComputeNestedAllocation(); /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -604,10 +518,7 @@ public List QueryNestedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List QueryNestedAnalysisCase() - { - return this.ComputeNestedAnalysisCase(); - } + public List nestedAnalysisCase => this.ComputeNestedAnalysisCase(); /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -615,10 +526,7 @@ public List QueryNestedAnalysisCase() [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List QueryNestedAttribute() - { - return this.ComputeNestedAttribute(); - } + public List nestedAttribute => this.ComputeNestedAttribute(); /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -626,10 +534,7 @@ public List QueryNestedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List QueryNestedCalculation() - { - return this.ComputeNestedCalculation(); - } + public List nestedCalculation => this.ComputeNestedCalculation(); /// /// The CaseUsages that are nestedUsages of this Usage. @@ -637,10 +542,7 @@ public List QueryNestedCalculation() [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List QueryNestedCase() - { - return this.ComputeNestedCase(); - } + public List nestedCase => this.ComputeNestedCase(); /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -648,10 +550,7 @@ public List QueryNestedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List QueryNestedConcern() - { - return this.ComputeNestedConcern(); - } + public List nestedConcern => this.ComputeNestedConcern(); /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -661,10 +560,7 @@ public List QueryNestedConcern() [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List QueryNestedConnection() - { - return this.ComputeNestedConnection(); - } + public List nestedConnection => this.ComputeNestedConnection(); /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -672,10 +568,7 @@ public List QueryNestedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List QueryNestedConstraint() - { - return this.ComputeNestedConstraint(); - } + public List nestedConstraint => this.ComputeNestedConstraint(); /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -683,10 +576,7 @@ public List QueryNestedConstraint() [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List QueryNestedEnumeration() - { - return this.ComputeNestedEnumeration(); - } + public List nestedEnumeration => this.ComputeNestedEnumeration(); /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -694,10 +584,7 @@ public List QueryNestedEnumeration() [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List QueryNestedFlow() - { - return this.ComputeNestedFlow(); - } + public List nestedFlow => this.ComputeNestedFlow(); /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -705,10 +592,7 @@ public List QueryNestedFlow() [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List QueryNestedInterface() - { - return this.ComputeNestedInterface(); - } + public List nestedInterface => this.ComputeNestedInterface(); /// /// The ItemUsages that are nestedUsages of this Usage. @@ -716,10 +600,7 @@ public List QueryNestedInterface() [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List QueryNestedItem() - { - return this.ComputeNestedItem(); - } + public List nestedItem => this.ComputeNestedItem(); /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -727,10 +608,7 @@ public List QueryNestedItem() [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List QueryNestedMetadata() - { - return this.ComputeNestedMetadata(); - } + public List nestedMetadata => this.ComputeNestedMetadata(); /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -738,10 +616,7 @@ public List QueryNestedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List QueryNestedOccurrence() - { - return this.ComputeNestedOccurrence(); - } + public List nestedOccurrence => this.ComputeNestedOccurrence(); /// /// The PartUsages that are nestedUsages of this Usage. @@ -749,10 +624,7 @@ public List QueryNestedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List QueryNestedPart() - { - return this.ComputeNestedPart(); - } + public List nestedPart => this.ComputeNestedPart(); /// /// The PortUsages that are nestedUsages of this Usage. @@ -760,10 +632,7 @@ public List QueryNestedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List QueryNestedPort() - { - return this.ComputeNestedPort(); - } + public List nestedPort => this.ComputeNestedPort(); /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -771,10 +640,7 @@ public List QueryNestedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List QueryNestedReference() - { - return this.ComputeNestedReference(); - } + public List nestedReference => this.ComputeNestedReference(); /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -782,10 +648,7 @@ public List QueryNestedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List QueryNestedRendering() - { - return this.ComputeNestedRendering(); - } + public List nestedRendering => this.ComputeNestedRendering(); /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -793,10 +656,7 @@ public List QueryNestedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List QueryNestedRequirement() - { - return this.ComputeNestedRequirement(); - } + public List nestedRequirement => this.ComputeNestedRequirement(); /// /// The StateUsages that are nestedUsages of this Usage. @@ -804,10 +664,7 @@ public List QueryNestedRequirement() [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List QueryNestedState() - { - return this.ComputeNestedState(); - } + public List nestedState => this.ComputeNestedState(); /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -815,10 +672,7 @@ public List QueryNestedState() [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List QueryNestedTransition() - { - return this.ComputeNestedTransition(); - } + public List nestedTransition => this.ComputeNestedTransition(); /// /// The Usages that are ownedFeatures of this Usage. @@ -827,10 +681,7 @@ public List QueryNestedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List QueryNestedUsage() - { - return this.ComputeNestedUsage(); - } + public List nestedUsage => this.ComputeNestedUsage(); /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -838,10 +689,7 @@ public List QueryNestedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List QueryNestedUseCase() - { - return this.ComputeNestedUseCase(); - } + public List nestedUseCase => this.ComputeNestedUseCase(); /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -849,10 +697,7 @@ public List QueryNestedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List QueryNestedVerificationCase() - { - return this.ComputeNestedVerificationCase(); - } + public List nestedVerificationCase => this.ComputeNestedVerificationCase(); /// /// The ViewUsages that are nestedUsages of this Usage. @@ -860,10 +705,7 @@ public List QueryNestedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List QueryNestedView() - { - return this.ComputeNestedView(); - } + public List nestedView => this.ComputeNestedView(); /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -871,10 +713,7 @@ public List QueryNestedView() [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List QueryNestedViewpoint() - { - return this.ComputeNestedViewpoint(); - } + public List nestedViewpoint => this.ComputeNestedViewpoint(); /// /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, @@ -884,10 +723,7 @@ public List QueryNestedViewpoint() [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List QueryOccurrenceDefinition() - { - return this.ComputeOccurrenceDefinition(); - } + public List occurrenceDefinition => this.ComputeOccurrenceDefinition(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -895,10 +731,7 @@ public List QueryOccurrenceDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -908,10 +741,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -920,10 +750,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -932,10 +759,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -945,10 +769,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -958,10 +779,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -969,10 +787,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -981,10 +796,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -992,10 +804,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -1005,10 +814,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -1018,10 +824,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -1031,10 +834,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -1044,10 +844,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -1056,10 +853,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -1068,10 +862,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -1082,10 +873,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -1094,10 +882,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -1106,10 +891,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -1127,10 +909,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -1140,10 +919,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -1153,10 +929,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -1166,10 +939,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1178,10 +948,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1189,10 +956,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The Definition that owns this Usage (if any). @@ -1201,10 +965,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public IDefinition QueryOwningDefinition() - { - return this.ComputeOwningDefinition(); - } + public IDefinition owningDefinition => this.ComputeOwningDefinition(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1212,10 +973,7 @@ public IDefinition QueryOwningDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1224,10 +982,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1236,10 +991,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -1257,10 +1009,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The Usage in which this Usage is nested (if any). @@ -1268,10 +1017,7 @@ public IType QueryOwningType() [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public IUsage QueryOwningUsage() - { - return this.ComputeOwningUsage(); - } + public IUsage owningUsage => this.ComputeOwningUsage(); /// /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If @@ -1292,10 +1038,7 @@ public IUsage QueryOwningUsage() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1305,10 +1048,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -1317,10 +1057,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1331,10 +1068,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1345,10 +1079,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1356,10 +1087,7 @@ public List QueryUnioningType() [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1368,10 +1096,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1380,10 +1105,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/JoinNode.cs b/SysML2.NET/Core/AutoGenPoco/JoinNode.cs index 0832b8b8..104225bc 100644 --- a/SysML2.NET/Core/AutoGenPoco/JoinNode.cs +++ b/SysML2.NET/Core/AutoGenPoco/JoinNode.cs @@ -85,10 +85,7 @@ public partial class JoinNode : IJoinNode [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IActionUsage.ActionDefinition")] - public List QueryActionDefinition() - { - return this.ComputeActionDefinition(); - } + public List actionDefinition => this.ComputeActionDefinition(); /// /// Various alternative identifiers for this Element. Generally, these will be set by tools. @@ -104,10 +101,7 @@ public List QueryActionDefinition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IActionUsage.ActionDefinition")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -119,10 +113,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -132,10 +123,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -163,10 +151,7 @@ public IFeature QueryCrossFeature() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] [Implements(implementation: "IUsage.Definition")] - public List QueryDefinition() - { - return this.ComputeDefinition(); - } + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -179,10 +164,7 @@ public List QueryDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -191,10 +173,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// The usages of this Usage that are directedFeatures. @@ -203,10 +182,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -223,10 +199,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -242,10 +215,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -255,10 +225,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -266,10 +233,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -278,20 +242,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -301,10 +259,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -312,10 +267,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// The at most one occurrenceDefinition that has isIndividual = true. @@ -323,10 +275,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public IOccurrenceDefinition QueryIndividualDefinition() - { - return this.ComputeIndividualDefinition(); - } + public IOccurrenceDefinition individualDefinition => this.ComputeIndividualDefinition(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -334,10 +283,7 @@ public IOccurrenceDefinition QueryIndividualDefinition() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -346,10 +292,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -357,10 +300,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -373,10 +313,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -400,10 +337,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -458,10 +392,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -483,10 +414,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IUsage.IsReference")] - public bool QueryIsReference() - { - return this.ComputeIsReference(); - } + public bool isReference => this.ComputeIsReference(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -514,7 +442,11 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -535,10 +467,7 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool QueryMayTimeVary() - { - return this.ComputeMayTimeVary(); - } + public bool mayTimeVary => this.ComputeMayTimeVary(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -546,10 +475,7 @@ public bool QueryMayTimeVary() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -557,10 +483,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -570,10 +493,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -583,10 +503,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ActionUsages that are nestedUsages of this Usage. @@ -594,10 +511,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List QueryNestedAction() - { - return this.ComputeNestedAction(); - } + public List nestedAction => this.ComputeNestedAction(); /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -605,10 +519,7 @@ public List QueryNestedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List QueryNestedAllocation() - { - return this.ComputeNestedAllocation(); - } + public List nestedAllocation => this.ComputeNestedAllocation(); /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -616,10 +527,7 @@ public List QueryNestedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List QueryNestedAnalysisCase() - { - return this.ComputeNestedAnalysisCase(); - } + public List nestedAnalysisCase => this.ComputeNestedAnalysisCase(); /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -627,10 +535,7 @@ public List QueryNestedAnalysisCase() [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List QueryNestedAttribute() - { - return this.ComputeNestedAttribute(); - } + public List nestedAttribute => this.ComputeNestedAttribute(); /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -638,10 +543,7 @@ public List QueryNestedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List QueryNestedCalculation() - { - return this.ComputeNestedCalculation(); - } + public List nestedCalculation => this.ComputeNestedCalculation(); /// /// The CaseUsages that are nestedUsages of this Usage. @@ -649,10 +551,7 @@ public List QueryNestedCalculation() [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List QueryNestedCase() - { - return this.ComputeNestedCase(); - } + public List nestedCase => this.ComputeNestedCase(); /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -660,10 +559,7 @@ public List QueryNestedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List QueryNestedConcern() - { - return this.ComputeNestedConcern(); - } + public List nestedConcern => this.ComputeNestedConcern(); /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -673,10 +569,7 @@ public List QueryNestedConcern() [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List QueryNestedConnection() - { - return this.ComputeNestedConnection(); - } + public List nestedConnection => this.ComputeNestedConnection(); /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -684,10 +577,7 @@ public List QueryNestedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List QueryNestedConstraint() - { - return this.ComputeNestedConstraint(); - } + public List nestedConstraint => this.ComputeNestedConstraint(); /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -695,10 +585,7 @@ public List QueryNestedConstraint() [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List QueryNestedEnumeration() - { - return this.ComputeNestedEnumeration(); - } + public List nestedEnumeration => this.ComputeNestedEnumeration(); /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -706,10 +593,7 @@ public List QueryNestedEnumeration() [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List QueryNestedFlow() - { - return this.ComputeNestedFlow(); - } + public List nestedFlow => this.ComputeNestedFlow(); /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -717,10 +601,7 @@ public List QueryNestedFlow() [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List QueryNestedInterface() - { - return this.ComputeNestedInterface(); - } + public List nestedInterface => this.ComputeNestedInterface(); /// /// The ItemUsages that are nestedUsages of this Usage. @@ -728,10 +609,7 @@ public List QueryNestedInterface() [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List QueryNestedItem() - { - return this.ComputeNestedItem(); - } + public List nestedItem => this.ComputeNestedItem(); /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -739,10 +617,7 @@ public List QueryNestedItem() [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List QueryNestedMetadata() - { - return this.ComputeNestedMetadata(); - } + public List nestedMetadata => this.ComputeNestedMetadata(); /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -750,10 +625,7 @@ public List QueryNestedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List QueryNestedOccurrence() - { - return this.ComputeNestedOccurrence(); - } + public List nestedOccurrence => this.ComputeNestedOccurrence(); /// /// The PartUsages that are nestedUsages of this Usage. @@ -761,10 +633,7 @@ public List QueryNestedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List QueryNestedPart() - { - return this.ComputeNestedPart(); - } + public List nestedPart => this.ComputeNestedPart(); /// /// The PortUsages that are nestedUsages of this Usage. @@ -772,10 +641,7 @@ public List QueryNestedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List QueryNestedPort() - { - return this.ComputeNestedPort(); - } + public List nestedPort => this.ComputeNestedPort(); /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -783,10 +649,7 @@ public List QueryNestedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List QueryNestedReference() - { - return this.ComputeNestedReference(); - } + public List nestedReference => this.ComputeNestedReference(); /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -794,10 +657,7 @@ public List QueryNestedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List QueryNestedRendering() - { - return this.ComputeNestedRendering(); - } + public List nestedRendering => this.ComputeNestedRendering(); /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -805,10 +665,7 @@ public List QueryNestedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List QueryNestedRequirement() - { - return this.ComputeNestedRequirement(); - } + public List nestedRequirement => this.ComputeNestedRequirement(); /// /// The StateUsages that are nestedUsages of this Usage. @@ -816,10 +673,7 @@ public List QueryNestedRequirement() [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List QueryNestedState() - { - return this.ComputeNestedState(); - } + public List nestedState => this.ComputeNestedState(); /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -827,10 +681,7 @@ public List QueryNestedState() [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List QueryNestedTransition() - { - return this.ComputeNestedTransition(); - } + public List nestedTransition => this.ComputeNestedTransition(); /// /// The Usages that are ownedFeatures of this Usage. @@ -839,10 +690,7 @@ public List QueryNestedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List QueryNestedUsage() - { - return this.ComputeNestedUsage(); - } + public List nestedUsage => this.ComputeNestedUsage(); /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -850,10 +698,7 @@ public List QueryNestedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List QueryNestedUseCase() - { - return this.ComputeNestedUseCase(); - } + public List nestedUseCase => this.ComputeNestedUseCase(); /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -861,10 +706,7 @@ public List QueryNestedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List QueryNestedVerificationCase() - { - return this.ComputeNestedVerificationCase(); - } + public List nestedVerificationCase => this.ComputeNestedVerificationCase(); /// /// The ViewUsages that are nestedUsages of this Usage. @@ -872,10 +714,7 @@ public List QueryNestedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List QueryNestedView() - { - return this.ComputeNestedView(); - } + public List nestedView => this.ComputeNestedView(); /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -883,10 +722,7 @@ public List QueryNestedView() [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List QueryNestedViewpoint() - { - return this.ComputeNestedViewpoint(); - } + public List nestedViewpoint => this.ComputeNestedViewpoint(); /// /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, @@ -897,10 +733,7 @@ public List QueryNestedViewpoint() [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] [RedefinedByProperty("IActionUsage.ActionDefinition")] [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List QueryOccurrenceDefinition() - { - return this.ComputeOccurrenceDefinition(); - } + List Systems.Occurrences.IOccurrenceUsage.occurrenceDefinition => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -908,10 +741,7 @@ public List QueryOccurrenceDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -921,10 +751,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -933,10 +760,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -945,10 +769,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -958,10 +779,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -971,10 +789,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -982,10 +797,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -994,10 +806,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -1005,10 +814,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -1018,10 +824,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -1031,10 +834,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -1044,10 +844,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -1057,10 +854,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -1069,10 +863,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -1081,10 +872,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -1095,10 +883,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -1107,10 +892,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -1119,10 +901,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -1140,10 +919,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -1153,10 +929,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -1166,10 +939,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -1179,10 +949,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1191,10 +958,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1202,10 +966,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The Definition that owns this Usage (if any). @@ -1214,10 +975,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public IDefinition QueryOwningDefinition() - { - return this.ComputeOwningDefinition(); - } + public IDefinition owningDefinition => this.ComputeOwningDefinition(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1225,10 +983,7 @@ public IDefinition QueryOwningDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1237,10 +992,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1249,10 +1001,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -1270,10 +1019,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The Usage in which this Usage is nested (if any). @@ -1281,10 +1027,7 @@ public IType QueryOwningType() [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public IUsage QueryOwningUsage() - { - return this.ComputeOwningUsage(); - } + public IUsage owningUsage => this.ComputeOwningUsage(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -1293,10 +1036,7 @@ public IUsage QueryOwningUsage() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If @@ -1317,10 +1057,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1330,10 +1067,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -1342,10 +1076,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1356,10 +1087,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1370,10 +1098,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1381,10 +1106,7 @@ public List QueryUnioningType() [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1393,10 +1115,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1405,10 +1124,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/LibraryPackage.cs b/SysML2.NET/Core/AutoGenPoco/LibraryPackage.cs index e774a2a0..3a04a016 100644 --- a/SysML2.NET/Core/AutoGenPoco/LibraryPackage.cs +++ b/SysML2.NET/Core/AutoGenPoco/LibraryPackage.cs @@ -80,10 +80,7 @@ public partial class LibraryPackage : ILibraryPackage [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -100,10 +97,7 @@ public List QueryDocumentation() [Property(xmiId: "_19_0_4_12e503d9_1607033896050_867332_6206", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IPackage.FilterCondition")] - public List QueryFilterCondition() - { - return this.ComputeFilterCondition(); - } + public List filterCondition => this.ComputeFilterCondition(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -111,10 +105,7 @@ public List QueryFilterCondition() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// Whether all necessary implied Relationships have been included in the ownedRelationships of this @@ -132,10 +123,7 @@ public List QueryImportedMembership() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether this LibraryPackage contains a standard library model. This should only be set to true for @@ -152,10 +140,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -163,10 +148,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -176,10 +158,7 @@ public List QueryMembership() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -189,10 +168,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -200,10 +176,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -213,10 +186,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -225,10 +195,7 @@ public List QueryOwnedImport() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -239,10 +206,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -258,10 +222,7 @@ public List QueryOwnedMembership() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -270,10 +231,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -282,10 +240,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -305,10 +260,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -318,10 +270,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -330,10 +279,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/LiteralBoolean.cs b/SysML2.NET/Core/AutoGenPoco/LiteralBoolean.cs index dac7c03f..6d11872a 100644 --- a/SysML2.NET/Core/AutoGenPoco/LiteralBoolean.cs +++ b/SysML2.NET/Core/AutoGenPoco/LiteralBoolean.cs @@ -67,10 +67,7 @@ public partial class LiteralBoolean : ILiteralBoolean [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IExpression.Function")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -82,10 +79,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -95,10 +89,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -128,10 +119,7 @@ public IFeature QueryCrossFeature() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -140,10 +128,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -160,10 +145,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -179,10 +161,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -192,10 +171,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -203,10 +179,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -215,20 +188,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -238,10 +205,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Function that types this Expression. @@ -249,10 +213,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [Implements(implementation: "IExpression.Function")] - public IFunction QueryFunction() - { - return this.ComputeFunction(); - } + public IFunction function => this.ComputeFunction(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -260,10 +221,7 @@ public IFunction QueryFunction() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -271,10 +229,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -283,10 +238,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -294,10 +246,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -310,10 +259,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -337,10 +283,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -387,10 +330,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, @@ -398,10 +338,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool QueryIsModelLevelEvaluable() - { - return this.ComputeIsModelLevelEvaluable(); - } + public bool isModelLevelEvaluable => this.ComputeIsModelLevelEvaluable(); /// /// Whether an order exists for the values of this Feature or not. @@ -451,10 +388,7 @@ public bool QueryIsModelLevelEvaluable() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -462,10 +396,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -475,10 +406,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -488,10 +416,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -499,10 +424,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -512,10 +434,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -524,10 +443,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -536,10 +452,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -549,10 +462,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -562,10 +472,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -573,10 +480,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -585,10 +489,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -596,10 +497,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -609,10 +507,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -622,10 +517,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -635,10 +527,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -648,10 +537,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -660,10 +546,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -672,10 +555,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -686,10 +566,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -698,10 +575,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -710,10 +584,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -731,10 +602,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -744,10 +612,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -757,10 +622,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -770,10 +632,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -782,10 +641,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -793,10 +649,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -804,10 +657,7 @@ public IElement QueryOwner() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -816,10 +666,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -828,10 +675,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -849,10 +693,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -861,10 +702,7 @@ public IType QueryOwningType() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -876,10 +714,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// An output parameter of the Expression whose value is the result of the Expression. The result of an @@ -890,10 +725,7 @@ public string QueryQualifiedName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [Implements(implementation: "IExpression.Result")] - public IFeature QueryResult() - { - return this.ComputeResult(); - } + public IFeature result => this.ComputeResult(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -903,10 +735,7 @@ public IFeature QueryResult() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -915,10 +744,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -928,10 +754,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + public List type => this.ComputeType(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -942,10 +765,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Boolean value that is the result of evaluating this LiteralBoolean. diff --git a/SysML2.NET/Core/AutoGenPoco/LiteralExpression.cs b/SysML2.NET/Core/AutoGenPoco/LiteralExpression.cs index 44a49d8c..5936b18c 100644 --- a/SysML2.NET/Core/AutoGenPoco/LiteralExpression.cs +++ b/SysML2.NET/Core/AutoGenPoco/LiteralExpression.cs @@ -66,10 +66,7 @@ public partial class LiteralExpression : ILiteralExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IExpression.Function")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -81,10 +78,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -94,10 +88,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -127,10 +118,7 @@ public IFeature QueryCrossFeature() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -139,10 +127,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -159,10 +144,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -178,10 +160,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -191,10 +170,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -202,10 +178,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -214,20 +187,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -237,10 +204,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Function that types this Expression. @@ -248,10 +212,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [Implements(implementation: "IExpression.Function")] - public IFunction QueryFunction() - { - return this.ComputeFunction(); - } + public IFunction function => this.ComputeFunction(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -259,10 +220,7 @@ public IFunction QueryFunction() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -270,10 +228,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -282,10 +237,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -293,10 +245,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -309,10 +258,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -336,10 +282,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -386,10 +329,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, @@ -397,10 +337,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool QueryIsModelLevelEvaluable() - { - return this.ComputeIsModelLevelEvaluable(); - } + public bool isModelLevelEvaluable => this.ComputeIsModelLevelEvaluable(); /// /// Whether an order exists for the values of this Feature or not. @@ -450,10 +387,7 @@ public bool QueryIsModelLevelEvaluable() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -461,10 +395,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -474,10 +405,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -487,10 +415,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -498,10 +423,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -511,10 +433,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -523,10 +442,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -535,10 +451,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -548,10 +461,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -561,10 +471,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -572,10 +479,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -584,10 +488,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -595,10 +496,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -608,10 +506,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -621,10 +516,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -634,10 +526,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -647,10 +536,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -659,10 +545,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -671,10 +554,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -685,10 +565,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -697,10 +574,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -709,10 +583,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -730,10 +601,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -743,10 +611,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -756,10 +621,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -769,10 +631,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -781,10 +640,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -792,10 +648,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -803,10 +656,7 @@ public IElement QueryOwner() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -815,10 +665,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -827,10 +674,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -848,10 +692,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -860,10 +701,7 @@ public IType QueryOwningType() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -875,10 +713,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// An output parameter of the Expression whose value is the result of the Expression. The result of an @@ -889,10 +724,7 @@ public string QueryQualifiedName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [Implements(implementation: "IExpression.Result")] - public IFeature QueryResult() - { - return this.ComputeResult(); - } + public IFeature result => this.ComputeResult(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -902,10 +734,7 @@ public IFeature QueryResult() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -914,10 +743,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -927,10 +753,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + public List type => this.ComputeType(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -941,10 +764,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/LiteralInfinity.cs b/SysML2.NET/Core/AutoGenPoco/LiteralInfinity.cs index d929af9d..3d3db410 100644 --- a/SysML2.NET/Core/AutoGenPoco/LiteralInfinity.cs +++ b/SysML2.NET/Core/AutoGenPoco/LiteralInfinity.cs @@ -67,10 +67,7 @@ public partial class LiteralInfinity : ILiteralInfinity [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IExpression.Function")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -82,10 +79,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -95,10 +89,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -128,10 +119,7 @@ public IFeature QueryCrossFeature() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -140,10 +128,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -160,10 +145,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -179,10 +161,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -192,10 +171,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -203,10 +179,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -215,20 +188,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -238,10 +205,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Function that types this Expression. @@ -249,10 +213,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [Implements(implementation: "IExpression.Function")] - public IFunction QueryFunction() - { - return this.ComputeFunction(); - } + public IFunction function => this.ComputeFunction(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -260,10 +221,7 @@ public IFunction QueryFunction() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -271,10 +229,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -283,10 +238,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -294,10 +246,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -310,10 +259,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -337,10 +283,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -387,10 +330,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, @@ -398,10 +338,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool QueryIsModelLevelEvaluable() - { - return this.ComputeIsModelLevelEvaluable(); - } + public bool isModelLevelEvaluable => this.ComputeIsModelLevelEvaluable(); /// /// Whether an order exists for the values of this Feature or not. @@ -451,10 +388,7 @@ public bool QueryIsModelLevelEvaluable() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -462,10 +396,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -475,10 +406,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -488,10 +416,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -499,10 +424,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -512,10 +434,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -524,10 +443,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -536,10 +452,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -549,10 +462,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -562,10 +472,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -573,10 +480,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -585,10 +489,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -596,10 +497,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -609,10 +507,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -622,10 +517,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -635,10 +527,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -648,10 +537,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -660,10 +546,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -672,10 +555,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -686,10 +566,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -698,10 +575,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -710,10 +584,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -731,10 +602,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -744,10 +612,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -757,10 +622,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -770,10 +632,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -782,10 +641,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -793,10 +649,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -804,10 +657,7 @@ public IElement QueryOwner() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -816,10 +666,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -828,10 +675,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -849,10 +693,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -861,10 +702,7 @@ public IType QueryOwningType() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -876,10 +714,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// An output parameter of the Expression whose value is the result of the Expression. The result of an @@ -890,10 +725,7 @@ public string QueryQualifiedName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [Implements(implementation: "IExpression.Result")] - public IFeature QueryResult() - { - return this.ComputeResult(); - } + public IFeature result => this.ComputeResult(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -903,10 +735,7 @@ public IFeature QueryResult() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -915,10 +744,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -928,10 +754,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + public List type => this.ComputeType(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -942,10 +765,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/LiteralInteger.cs b/SysML2.NET/Core/AutoGenPoco/LiteralInteger.cs index 2650acd6..58a1d929 100644 --- a/SysML2.NET/Core/AutoGenPoco/LiteralInteger.cs +++ b/SysML2.NET/Core/AutoGenPoco/LiteralInteger.cs @@ -67,10 +67,7 @@ public partial class LiteralInteger : ILiteralInteger [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IExpression.Function")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -82,10 +79,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -95,10 +89,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -128,10 +119,7 @@ public IFeature QueryCrossFeature() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -140,10 +128,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -160,10 +145,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -179,10 +161,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -192,10 +171,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -203,10 +179,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -215,20 +188,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -238,10 +205,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Function that types this Expression. @@ -249,10 +213,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [Implements(implementation: "IExpression.Function")] - public IFunction QueryFunction() - { - return this.ComputeFunction(); - } + public IFunction function => this.ComputeFunction(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -260,10 +221,7 @@ public IFunction QueryFunction() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -271,10 +229,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -283,10 +238,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -294,10 +246,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -310,10 +259,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -337,10 +283,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -387,10 +330,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, @@ -398,10 +338,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool QueryIsModelLevelEvaluable() - { - return this.ComputeIsModelLevelEvaluable(); - } + public bool isModelLevelEvaluable => this.ComputeIsModelLevelEvaluable(); /// /// Whether an order exists for the values of this Feature or not. @@ -451,10 +388,7 @@ public bool QueryIsModelLevelEvaluable() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -462,10 +396,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -475,10 +406,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -488,10 +416,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -499,10 +424,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -512,10 +434,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -524,10 +443,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -536,10 +452,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -549,10 +462,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -562,10 +472,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -573,10 +480,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -585,10 +489,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -596,10 +497,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -609,10 +507,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -622,10 +517,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -635,10 +527,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -648,10 +537,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -660,10 +546,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -672,10 +555,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -686,10 +566,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -698,10 +575,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -710,10 +584,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -731,10 +602,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -744,10 +612,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -757,10 +622,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -770,10 +632,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -782,10 +641,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -793,10 +649,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -804,10 +657,7 @@ public IElement QueryOwner() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -816,10 +666,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -828,10 +675,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -849,10 +693,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -861,10 +702,7 @@ public IType QueryOwningType() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -876,10 +714,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// An output parameter of the Expression whose value is the result of the Expression. The result of an @@ -890,10 +725,7 @@ public string QueryQualifiedName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [Implements(implementation: "IExpression.Result")] - public IFeature QueryResult() - { - return this.ComputeResult(); - } + public IFeature result => this.ComputeResult(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -903,10 +735,7 @@ public IFeature QueryResult() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -915,10 +744,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -928,10 +754,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + public List type => this.ComputeType(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -942,10 +765,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Integer value that is the result of evaluating this LiteralInteger. diff --git a/SysML2.NET/Core/AutoGenPoco/LiteralRational.cs b/SysML2.NET/Core/AutoGenPoco/LiteralRational.cs index 0aedd7ff..184d39d3 100644 --- a/SysML2.NET/Core/AutoGenPoco/LiteralRational.cs +++ b/SysML2.NET/Core/AutoGenPoco/LiteralRational.cs @@ -67,10 +67,7 @@ public partial class LiteralRational : ILiteralRational [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IExpression.Function")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -82,10 +79,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -95,10 +89,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -128,10 +119,7 @@ public IFeature QueryCrossFeature() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -140,10 +128,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -160,10 +145,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -179,10 +161,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -192,10 +171,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -203,10 +179,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -215,20 +188,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -238,10 +205,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Function that types this Expression. @@ -249,10 +213,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [Implements(implementation: "IExpression.Function")] - public IFunction QueryFunction() - { - return this.ComputeFunction(); - } + public IFunction function => this.ComputeFunction(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -260,10 +221,7 @@ public IFunction QueryFunction() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -271,10 +229,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -283,10 +238,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -294,10 +246,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -310,10 +259,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -337,10 +283,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -387,10 +330,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, @@ -398,10 +338,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool QueryIsModelLevelEvaluable() - { - return this.ComputeIsModelLevelEvaluable(); - } + public bool isModelLevelEvaluable => this.ComputeIsModelLevelEvaluable(); /// /// Whether an order exists for the values of this Feature or not. @@ -451,10 +388,7 @@ public bool QueryIsModelLevelEvaluable() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -462,10 +396,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -475,10 +406,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -488,10 +416,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -499,10 +424,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -512,10 +434,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -524,10 +443,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -536,10 +452,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -549,10 +462,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -562,10 +472,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -573,10 +480,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -585,10 +489,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -596,10 +497,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -609,10 +507,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -622,10 +517,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -635,10 +527,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -648,10 +537,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -660,10 +546,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -672,10 +555,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -686,10 +566,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -698,10 +575,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -710,10 +584,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -731,10 +602,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -744,10 +612,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -757,10 +622,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -770,10 +632,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -782,10 +641,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -793,10 +649,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -804,10 +657,7 @@ public IElement QueryOwner() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -816,10 +666,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -828,10 +675,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -849,10 +693,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -861,10 +702,7 @@ public IType QueryOwningType() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -876,10 +714,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// An output parameter of the Expression whose value is the result of the Expression. The result of an @@ -890,10 +725,7 @@ public string QueryQualifiedName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [Implements(implementation: "IExpression.Result")] - public IFeature QueryResult() - { - return this.ComputeResult(); - } + public IFeature result => this.ComputeResult(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -903,10 +735,7 @@ public IFeature QueryResult() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -915,10 +744,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -928,10 +754,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + public List type => this.ComputeType(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -942,10 +765,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The value whose rational approximation is the result of evaluating this LiteralRational. diff --git a/SysML2.NET/Core/AutoGenPoco/LiteralString.cs b/SysML2.NET/Core/AutoGenPoco/LiteralString.cs index 9298af95..ef8fb685 100644 --- a/SysML2.NET/Core/AutoGenPoco/LiteralString.cs +++ b/SysML2.NET/Core/AutoGenPoco/LiteralString.cs @@ -67,10 +67,7 @@ public partial class LiteralString : ILiteralString [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IExpression.Function")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -82,10 +79,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -95,10 +89,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -128,10 +119,7 @@ public IFeature QueryCrossFeature() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -140,10 +128,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -160,10 +145,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -179,10 +161,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -192,10 +171,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -203,10 +179,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -215,20 +188,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -238,10 +205,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Function that types this Expression. @@ -249,10 +213,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [Implements(implementation: "IExpression.Function")] - public IFunction QueryFunction() - { - return this.ComputeFunction(); - } + public IFunction function => this.ComputeFunction(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -260,10 +221,7 @@ public IFunction QueryFunction() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -271,10 +229,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -283,10 +238,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -294,10 +246,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -310,10 +259,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -337,10 +283,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -387,10 +330,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, @@ -398,10 +338,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool QueryIsModelLevelEvaluable() - { - return this.ComputeIsModelLevelEvaluable(); - } + public bool isModelLevelEvaluable => this.ComputeIsModelLevelEvaluable(); /// /// Whether an order exists for the values of this Feature or not. @@ -451,10 +388,7 @@ public bool QueryIsModelLevelEvaluable() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -462,10 +396,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -475,10 +406,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -488,10 +416,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -499,10 +424,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -512,10 +434,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -524,10 +443,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -536,10 +452,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -549,10 +462,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -562,10 +472,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -573,10 +480,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -585,10 +489,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -596,10 +497,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -609,10 +507,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -622,10 +517,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -635,10 +527,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -648,10 +537,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -660,10 +546,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -672,10 +555,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -686,10 +566,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -698,10 +575,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -710,10 +584,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -731,10 +602,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -744,10 +612,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -757,10 +622,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -770,10 +632,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -782,10 +641,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -793,10 +649,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -804,10 +657,7 @@ public IElement QueryOwner() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -816,10 +666,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -828,10 +675,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -849,10 +693,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -861,10 +702,7 @@ public IType QueryOwningType() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -876,10 +714,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// An output parameter of the Expression whose value is the result of the Expression. The result of an @@ -890,10 +725,7 @@ public string QueryQualifiedName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [Implements(implementation: "IExpression.Result")] - public IFeature QueryResult() - { - return this.ComputeResult(); - } + public IFeature result => this.ComputeResult(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -903,10 +735,7 @@ public IFeature QueryResult() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -915,10 +744,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -928,10 +754,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + public List type => this.ComputeType(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -942,10 +765,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The String value that is the result of evaluating this Expression. diff --git a/SysML2.NET/Core/AutoGenPoco/LoopActionUsage.cs b/SysML2.NET/Core/AutoGenPoco/LoopActionUsage.cs index bbba0d5b..c2bcaa68 100644 --- a/SysML2.NET/Core/AutoGenPoco/LoopActionUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/LoopActionUsage.cs @@ -86,10 +86,7 @@ public partial class LoopActionUsage : ILoopActionUsage [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IActionUsage.ActionDefinition")] - public List QueryActionDefinition() - { - return this.ComputeActionDefinition(); - } + public List actionDefinition => this.ComputeActionDefinition(); /// /// Various alternative identifiers for this Element. Generally, these will be set by tools. @@ -105,10 +102,7 @@ public List QueryActionDefinition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IActionUsage.ActionDefinition")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); /// /// The ActionUsage to be performed repeatedly by the LoopActionUsage. It is the second parameter of the @@ -116,10 +110,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_12e503d9_1624203902575_509097_3869", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "ILoopActionUsage.BodyAction")] - public IActionUsage QueryBodyAction() - { - return this.ComputeBodyAction(); - } + public IActionUsage bodyAction => this.ComputeBodyAction(); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -131,10 +122,7 @@ public IActionUsage QueryBodyAction() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -144,10 +132,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -175,10 +160,7 @@ public IFeature QueryCrossFeature() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] [Implements(implementation: "IUsage.Definition")] - public List QueryDefinition() - { - return this.ComputeDefinition(); - } + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -191,10 +173,7 @@ public List QueryDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -203,10 +182,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// The usages of this Usage that are directedFeatures. @@ -215,10 +191,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -235,10 +208,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -254,10 +224,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -267,10 +234,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -278,10 +242,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -290,20 +251,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -313,10 +268,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -324,10 +276,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// The at most one occurrenceDefinition that has isIndividual = true. @@ -335,10 +284,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public IOccurrenceDefinition QueryIndividualDefinition() - { - return this.ComputeIndividualDefinition(); - } + public IOccurrenceDefinition individualDefinition => this.ComputeIndividualDefinition(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -346,10 +292,7 @@ public IOccurrenceDefinition QueryIndividualDefinition() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -358,10 +301,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -369,10 +309,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -385,10 +322,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -412,10 +346,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -470,10 +401,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -495,10 +423,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IUsage.IsReference")] - public bool QueryIsReference() - { - return this.ComputeIsReference(); - } + public bool isReference => this.ComputeIsReference(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -526,7 +451,11 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -547,10 +476,7 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool QueryMayTimeVary() - { - return this.ComputeMayTimeVary(); - } + public bool mayTimeVary => this.ComputeMayTimeVary(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -558,10 +484,7 @@ public bool QueryMayTimeVary() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -569,10 +492,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -582,10 +502,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -595,10 +512,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ActionUsages that are nestedUsages of this Usage. @@ -606,10 +520,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List QueryNestedAction() - { - return this.ComputeNestedAction(); - } + public List nestedAction => this.ComputeNestedAction(); /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -617,10 +528,7 @@ public List QueryNestedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List QueryNestedAllocation() - { - return this.ComputeNestedAllocation(); - } + public List nestedAllocation => this.ComputeNestedAllocation(); /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -628,10 +536,7 @@ public List QueryNestedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List QueryNestedAnalysisCase() - { - return this.ComputeNestedAnalysisCase(); - } + public List nestedAnalysisCase => this.ComputeNestedAnalysisCase(); /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -639,10 +544,7 @@ public List QueryNestedAnalysisCase() [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List QueryNestedAttribute() - { - return this.ComputeNestedAttribute(); - } + public List nestedAttribute => this.ComputeNestedAttribute(); /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -650,10 +552,7 @@ public List QueryNestedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List QueryNestedCalculation() - { - return this.ComputeNestedCalculation(); - } + public List nestedCalculation => this.ComputeNestedCalculation(); /// /// The CaseUsages that are nestedUsages of this Usage. @@ -661,10 +560,7 @@ public List QueryNestedCalculation() [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List QueryNestedCase() - { - return this.ComputeNestedCase(); - } + public List nestedCase => this.ComputeNestedCase(); /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -672,10 +568,7 @@ public List QueryNestedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List QueryNestedConcern() - { - return this.ComputeNestedConcern(); - } + public List nestedConcern => this.ComputeNestedConcern(); /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -685,10 +578,7 @@ public List QueryNestedConcern() [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List QueryNestedConnection() - { - return this.ComputeNestedConnection(); - } + public List nestedConnection => this.ComputeNestedConnection(); /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -696,10 +586,7 @@ public List QueryNestedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List QueryNestedConstraint() - { - return this.ComputeNestedConstraint(); - } + public List nestedConstraint => this.ComputeNestedConstraint(); /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -707,10 +594,7 @@ public List QueryNestedConstraint() [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List QueryNestedEnumeration() - { - return this.ComputeNestedEnumeration(); - } + public List nestedEnumeration => this.ComputeNestedEnumeration(); /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -718,10 +602,7 @@ public List QueryNestedEnumeration() [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List QueryNestedFlow() - { - return this.ComputeNestedFlow(); - } + public List nestedFlow => this.ComputeNestedFlow(); /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -729,10 +610,7 @@ public List QueryNestedFlow() [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List QueryNestedInterface() - { - return this.ComputeNestedInterface(); - } + public List nestedInterface => this.ComputeNestedInterface(); /// /// The ItemUsages that are nestedUsages of this Usage. @@ -740,10 +618,7 @@ public List QueryNestedInterface() [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List QueryNestedItem() - { - return this.ComputeNestedItem(); - } + public List nestedItem => this.ComputeNestedItem(); /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -751,10 +626,7 @@ public List QueryNestedItem() [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List QueryNestedMetadata() - { - return this.ComputeNestedMetadata(); - } + public List nestedMetadata => this.ComputeNestedMetadata(); /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -762,10 +634,7 @@ public List QueryNestedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List QueryNestedOccurrence() - { - return this.ComputeNestedOccurrence(); - } + public List nestedOccurrence => this.ComputeNestedOccurrence(); /// /// The PartUsages that are nestedUsages of this Usage. @@ -773,10 +642,7 @@ public List QueryNestedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List QueryNestedPart() - { - return this.ComputeNestedPart(); - } + public List nestedPart => this.ComputeNestedPart(); /// /// The PortUsages that are nestedUsages of this Usage. @@ -784,10 +650,7 @@ public List QueryNestedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List QueryNestedPort() - { - return this.ComputeNestedPort(); - } + public List nestedPort => this.ComputeNestedPort(); /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -795,10 +658,7 @@ public List QueryNestedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List QueryNestedReference() - { - return this.ComputeNestedReference(); - } + public List nestedReference => this.ComputeNestedReference(); /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -806,10 +666,7 @@ public List QueryNestedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List QueryNestedRendering() - { - return this.ComputeNestedRendering(); - } + public List nestedRendering => this.ComputeNestedRendering(); /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -817,10 +674,7 @@ public List QueryNestedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List QueryNestedRequirement() - { - return this.ComputeNestedRequirement(); - } + public List nestedRequirement => this.ComputeNestedRequirement(); /// /// The StateUsages that are nestedUsages of this Usage. @@ -828,10 +682,7 @@ public List QueryNestedRequirement() [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List QueryNestedState() - { - return this.ComputeNestedState(); - } + public List nestedState => this.ComputeNestedState(); /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -839,10 +690,7 @@ public List QueryNestedState() [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List QueryNestedTransition() - { - return this.ComputeNestedTransition(); - } + public List nestedTransition => this.ComputeNestedTransition(); /// /// The Usages that are ownedFeatures of this Usage. @@ -851,10 +699,7 @@ public List QueryNestedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List QueryNestedUsage() - { - return this.ComputeNestedUsage(); - } + public List nestedUsage => this.ComputeNestedUsage(); /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -862,10 +707,7 @@ public List QueryNestedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List QueryNestedUseCase() - { - return this.ComputeNestedUseCase(); - } + public List nestedUseCase => this.ComputeNestedUseCase(); /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -873,10 +715,7 @@ public List QueryNestedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List QueryNestedVerificationCase() - { - return this.ComputeNestedVerificationCase(); - } + public List nestedVerificationCase => this.ComputeNestedVerificationCase(); /// /// The ViewUsages that are nestedUsages of this Usage. @@ -884,10 +723,7 @@ public List QueryNestedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List QueryNestedView() - { - return this.ComputeNestedView(); - } + public List nestedView => this.ComputeNestedView(); /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -895,10 +731,7 @@ public List QueryNestedView() [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List QueryNestedViewpoint() - { - return this.ComputeNestedViewpoint(); - } + public List nestedViewpoint => this.ComputeNestedViewpoint(); /// /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, @@ -909,10 +742,7 @@ public List QueryNestedViewpoint() [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] [RedefinedByProperty("IActionUsage.ActionDefinition")] [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List QueryOccurrenceDefinition() - { - return this.ComputeOccurrenceDefinition(); - } + List Systems.Occurrences.IOccurrenceUsage.occurrenceDefinition => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -920,10 +750,7 @@ public List QueryOccurrenceDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -933,10 +760,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -945,10 +769,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -957,10 +778,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -970,10 +788,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -983,10 +798,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -994,10 +806,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -1006,10 +815,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -1017,10 +823,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -1030,10 +833,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -1043,10 +843,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -1056,10 +853,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -1069,10 +863,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -1081,10 +872,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -1093,10 +881,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -1107,10 +892,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -1119,10 +901,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -1131,10 +910,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -1152,10 +928,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -1165,10 +938,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -1178,10 +948,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -1191,10 +958,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1203,10 +967,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1214,10 +975,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The Definition that owns this Usage (if any). @@ -1226,10 +984,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public IDefinition QueryOwningDefinition() - { - return this.ComputeOwningDefinition(); - } + public IDefinition owningDefinition => this.ComputeOwningDefinition(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1237,10 +992,7 @@ public IDefinition QueryOwningDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1249,10 +1001,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1261,10 +1010,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -1282,10 +1028,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The Usage in which this Usage is nested (if any). @@ -1293,10 +1036,7 @@ public IType QueryOwningType() [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public IUsage QueryOwningUsage() - { - return this.ComputeOwningUsage(); - } + public IUsage owningUsage => this.ComputeOwningUsage(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -1305,10 +1045,7 @@ public IUsage QueryOwningUsage() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If @@ -1329,10 +1066,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1342,10 +1076,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -1354,10 +1085,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1368,10 +1096,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1382,10 +1107,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1393,10 +1115,7 @@ public List QueryUnioningType() [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1405,10 +1124,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1417,10 +1133,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/Membership.cs b/SysML2.NET/Core/AutoGenPoco/Membership.cs index 94f1985b..383471db 100644 --- a/SysML2.NET/Core/AutoGenPoco/Membership.cs +++ b/SysML2.NET/Core/AutoGenPoco/Membership.cs @@ -84,10 +84,7 @@ public partial class Membership : IMembership [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -121,10 +118,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. @@ -139,10 +133,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IMembership.MemberElementId")] - public string QueryMemberElementId() - { - return this.ComputeMemberElementId(); - } + public string memberElementId => this.ComputeMemberElementId(); /// /// The name of the memberElement relative to the membershipOwningNamespace. @@ -159,10 +150,7 @@ public string QueryMemberElementId() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [Implements(implementation: "IMembership.MembershipOwningNamespace")] - public INamespace QueryMembershipOwningNamespace() - { - return this.ComputeMembershipOwningNamespace(); - } + public INamespace membershipOwningNamespace => this.ComputeMembershipOwningNamespace(); /// /// The short name of the memberElement relative to the membershipOwningNamespace. @@ -179,10 +167,7 @@ public INamespace QueryMembershipOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -192,10 +177,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -203,10 +185,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -230,10 +209,7 @@ public List QueryOwnedElement() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -242,10 +218,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -254,10 +227,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -285,10 +255,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -296,10 +263,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + public List relatedElement => this.ComputeRelatedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -309,10 +273,7 @@ public List QueryRelatedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -321,7 +282,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembership.MembershipOwningNamespace")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -330,7 +295,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembership.MemberElement")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + set => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + } /// /// The TextualRepresentations that annotate this Element. @@ -339,10 +308,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly diff --git a/SysML2.NET/Core/AutoGenPoco/MembershipExpose.cs b/SysML2.NET/Core/AutoGenPoco/MembershipExpose.cs index 1478761b..1357f50e 100644 --- a/SysML2.NET/Core/AutoGenPoco/MembershipExpose.cs +++ b/SysML2.NET/Core/AutoGenPoco/MembershipExpose.cs @@ -80,10 +80,7 @@ public partial class MembershipExpose : IMembershipExpose [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -99,10 +96,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1668801846848_909736_64", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IImport.ImportedElement")] - public IElement QueryImportedElement() - { - return this.ComputeImportedElement(); - } + public IElement importedElement => this.ComputeImportedElement(); /// /// The Membership to be imported. @@ -120,10 +114,7 @@ public IElement QueryImportedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [Implements(implementation: "IImport.ImportOwningNamespace")] - public INamespace QueryImportOwningNamespace() - { - return this.ComputeImportOwningNamespace(); - } + public INamespace importOwningNamespace => this.ComputeImportOwningNamespace(); /// /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being @@ -150,7 +141,11 @@ public INamespace QueryImportOwningNamespace() [Property(xmiId: "_19_0_4_12e503d9_1622577942205_869984_64", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IExpose.IsImportAll")] [Implements(implementation: "IImport.IsImportAll")] - bool Root.Namespaces.IImport.IsImportAll { get; set; } + bool Root.Namespaces.IImport.IsImportAll + { + get => throw new InvalidOperationException("Redefined by property IExpose.IsImportAll"); + set => throw new InvalidOperationException("Redefined by property IExpose.IsImportAll"); + } /// /// An Expose always imports all Elements, regardless of visibility (isImportAll = true). @@ -158,17 +153,14 @@ public INamespace QueryImportOwningNamespace() [Property(xmiId: "_19_0_4_12e503d9_1622578615027_762161_80", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1622577942205_869984_64")] [Implements(implementation: "IExpose.IsImportAll")] - bool IExpose.IsImportAll { get; set; } + public bool IsImportAll { get; set; } /// /// Whether this Element is contained in the ownership tree of a library model. /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether to recursively import Memberships from visible, owned sub-Namespaces. @@ -185,10 +177,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -198,10 +187,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -209,10 +195,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -236,10 +219,7 @@ public List QueryOwnedElement() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -248,10 +228,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -260,10 +237,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -291,10 +265,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -302,10 +273,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + public List relatedElement => this.ComputeRelatedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -315,10 +283,7 @@ public List QueryRelatedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -327,7 +292,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IImport.ImportOwningNamespace")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IImport.ImportOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IImport.ImportOwningNamespace"); + } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -336,7 +305,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembershipImport.ImportedMembership")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IMembershipImport.ImportedMembership"); + set => throw new InvalidOperationException("Redefined by property IMembershipImport.ImportedMembership"); + } /// /// The TextualRepresentations that annotate this Element. @@ -345,10 +318,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// The visibility level of the imported members from this Import relative to the importOwningNamespace. @@ -357,7 +327,11 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674976_798509_43257", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "private")] [RedefinedByProperty("IExpose.Visibility")] [Implements(implementation: "IImport.Visibility")] - VisibilityKind Root.Namespaces.IImport.Visibility { get; set; } + VisibilityKind Root.Namespaces.IImport.Visibility + { + get => throw new InvalidOperationException("Redefined by property IExpose.Visibility"); + set => throw new InvalidOperationException("Redefined by property IExpose.Visibility"); + } /// /// An Expose always has protected visibility. @@ -365,7 +339,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_2022x_2_12e503d9_1720469034555_222060_1140", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "protected")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674976_798509_43257")] [Implements(implementation: "IExpose.Visibility")] - VisibilityKind IExpose.Visibility { get; set; } + public VisibilityKind Visibility { get; set; } } } diff --git a/SysML2.NET/Core/AutoGenPoco/MembershipImport.cs b/SysML2.NET/Core/AutoGenPoco/MembershipImport.cs index 4e59b3c9..ffd97747 100644 --- a/SysML2.NET/Core/AutoGenPoco/MembershipImport.cs +++ b/SysML2.NET/Core/AutoGenPoco/MembershipImport.cs @@ -80,10 +80,7 @@ public partial class MembershipImport : IMembershipImport [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -99,10 +96,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1668801846848_909736_64", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IImport.ImportedElement")] - public IElement QueryImportedElement() - { - return this.ComputeImportedElement(); - } + public IElement importedElement => this.ComputeImportedElement(); /// /// The Membership to be imported. @@ -120,10 +114,7 @@ public IElement QueryImportedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [Implements(implementation: "IImport.ImportOwningNamespace")] - public INamespace QueryImportOwningNamespace() - { - return this.ComputeImportOwningNamespace(); - } + public INamespace importOwningNamespace => this.ComputeImportOwningNamespace(); /// /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being @@ -156,10 +147,7 @@ public INamespace QueryImportOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether to recursively import Memberships from visible, owned sub-Namespaces. @@ -176,10 +164,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -189,10 +174,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -200,10 +182,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -227,10 +206,7 @@ public List QueryOwnedElement() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -239,10 +215,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -251,10 +224,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -282,10 +252,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -293,10 +260,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + public List relatedElement => this.ComputeRelatedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -306,10 +270,7 @@ public List QueryRelatedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -318,7 +279,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IImport.ImportOwningNamespace")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IImport.ImportOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IImport.ImportOwningNamespace"); + } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -327,7 +292,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembershipImport.ImportedMembership")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IMembershipImport.ImportedMembership"); + set => throw new InvalidOperationException("Redefined by property IMembershipImport.ImportedMembership"); + } /// /// The TextualRepresentations that annotate this Element. @@ -336,10 +305,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// The visibility level of the imported members from this Import relative to the importOwningNamespace. diff --git a/SysML2.NET/Core/AutoGenPoco/MergeNode.cs b/SysML2.NET/Core/AutoGenPoco/MergeNode.cs index 29fdb05c..62520c6d 100644 --- a/SysML2.NET/Core/AutoGenPoco/MergeNode.cs +++ b/SysML2.NET/Core/AutoGenPoco/MergeNode.cs @@ -85,10 +85,7 @@ public partial class MergeNode : IMergeNode [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IActionUsage.ActionDefinition")] - public List QueryActionDefinition() - { - return this.ComputeActionDefinition(); - } + public List actionDefinition => this.ComputeActionDefinition(); /// /// Various alternative identifiers for this Element. Generally, these will be set by tools. @@ -104,10 +101,7 @@ public List QueryActionDefinition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IActionUsage.ActionDefinition")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -119,10 +113,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -132,10 +123,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -163,10 +151,7 @@ public IFeature QueryCrossFeature() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] [Implements(implementation: "IUsage.Definition")] - public List QueryDefinition() - { - return this.ComputeDefinition(); - } + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -179,10 +164,7 @@ public List QueryDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -191,10 +173,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// The usages of this Usage that are directedFeatures. @@ -203,10 +182,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -223,10 +199,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -242,10 +215,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -255,10 +225,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -266,10 +233,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -278,20 +242,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -301,10 +259,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -312,10 +267,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// The at most one occurrenceDefinition that has isIndividual = true. @@ -323,10 +275,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public IOccurrenceDefinition QueryIndividualDefinition() - { - return this.ComputeIndividualDefinition(); - } + public IOccurrenceDefinition individualDefinition => this.ComputeIndividualDefinition(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -334,10 +283,7 @@ public IOccurrenceDefinition QueryIndividualDefinition() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -346,10 +292,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -357,10 +300,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -373,10 +313,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -400,10 +337,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -458,10 +392,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -483,10 +414,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IUsage.IsReference")] - public bool QueryIsReference() - { - return this.ComputeIsReference(); - } + public bool isReference => this.ComputeIsReference(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -514,7 +442,11 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -535,10 +467,7 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool QueryMayTimeVary() - { - return this.ComputeMayTimeVary(); - } + public bool mayTimeVary => this.ComputeMayTimeVary(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -546,10 +475,7 @@ public bool QueryMayTimeVary() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -557,10 +483,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -570,10 +493,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -583,10 +503,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ActionUsages that are nestedUsages of this Usage. @@ -594,10 +511,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List QueryNestedAction() - { - return this.ComputeNestedAction(); - } + public List nestedAction => this.ComputeNestedAction(); /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -605,10 +519,7 @@ public List QueryNestedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List QueryNestedAllocation() - { - return this.ComputeNestedAllocation(); - } + public List nestedAllocation => this.ComputeNestedAllocation(); /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -616,10 +527,7 @@ public List QueryNestedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List QueryNestedAnalysisCase() - { - return this.ComputeNestedAnalysisCase(); - } + public List nestedAnalysisCase => this.ComputeNestedAnalysisCase(); /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -627,10 +535,7 @@ public List QueryNestedAnalysisCase() [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List QueryNestedAttribute() - { - return this.ComputeNestedAttribute(); - } + public List nestedAttribute => this.ComputeNestedAttribute(); /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -638,10 +543,7 @@ public List QueryNestedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List QueryNestedCalculation() - { - return this.ComputeNestedCalculation(); - } + public List nestedCalculation => this.ComputeNestedCalculation(); /// /// The CaseUsages that are nestedUsages of this Usage. @@ -649,10 +551,7 @@ public List QueryNestedCalculation() [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List QueryNestedCase() - { - return this.ComputeNestedCase(); - } + public List nestedCase => this.ComputeNestedCase(); /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -660,10 +559,7 @@ public List QueryNestedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List QueryNestedConcern() - { - return this.ComputeNestedConcern(); - } + public List nestedConcern => this.ComputeNestedConcern(); /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -673,10 +569,7 @@ public List QueryNestedConcern() [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List QueryNestedConnection() - { - return this.ComputeNestedConnection(); - } + public List nestedConnection => this.ComputeNestedConnection(); /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -684,10 +577,7 @@ public List QueryNestedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List QueryNestedConstraint() - { - return this.ComputeNestedConstraint(); - } + public List nestedConstraint => this.ComputeNestedConstraint(); /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -695,10 +585,7 @@ public List QueryNestedConstraint() [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List QueryNestedEnumeration() - { - return this.ComputeNestedEnumeration(); - } + public List nestedEnumeration => this.ComputeNestedEnumeration(); /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -706,10 +593,7 @@ public List QueryNestedEnumeration() [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List QueryNestedFlow() - { - return this.ComputeNestedFlow(); - } + public List nestedFlow => this.ComputeNestedFlow(); /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -717,10 +601,7 @@ public List QueryNestedFlow() [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List QueryNestedInterface() - { - return this.ComputeNestedInterface(); - } + public List nestedInterface => this.ComputeNestedInterface(); /// /// The ItemUsages that are nestedUsages of this Usage. @@ -728,10 +609,7 @@ public List QueryNestedInterface() [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List QueryNestedItem() - { - return this.ComputeNestedItem(); - } + public List nestedItem => this.ComputeNestedItem(); /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -739,10 +617,7 @@ public List QueryNestedItem() [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List QueryNestedMetadata() - { - return this.ComputeNestedMetadata(); - } + public List nestedMetadata => this.ComputeNestedMetadata(); /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -750,10 +625,7 @@ public List QueryNestedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List QueryNestedOccurrence() - { - return this.ComputeNestedOccurrence(); - } + public List nestedOccurrence => this.ComputeNestedOccurrence(); /// /// The PartUsages that are nestedUsages of this Usage. @@ -761,10 +633,7 @@ public List QueryNestedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List QueryNestedPart() - { - return this.ComputeNestedPart(); - } + public List nestedPart => this.ComputeNestedPart(); /// /// The PortUsages that are nestedUsages of this Usage. @@ -772,10 +641,7 @@ public List QueryNestedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List QueryNestedPort() - { - return this.ComputeNestedPort(); - } + public List nestedPort => this.ComputeNestedPort(); /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -783,10 +649,7 @@ public List QueryNestedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List QueryNestedReference() - { - return this.ComputeNestedReference(); - } + public List nestedReference => this.ComputeNestedReference(); /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -794,10 +657,7 @@ public List QueryNestedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List QueryNestedRendering() - { - return this.ComputeNestedRendering(); - } + public List nestedRendering => this.ComputeNestedRendering(); /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -805,10 +665,7 @@ public List QueryNestedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List QueryNestedRequirement() - { - return this.ComputeNestedRequirement(); - } + public List nestedRequirement => this.ComputeNestedRequirement(); /// /// The StateUsages that are nestedUsages of this Usage. @@ -816,10 +673,7 @@ public List QueryNestedRequirement() [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List QueryNestedState() - { - return this.ComputeNestedState(); - } + public List nestedState => this.ComputeNestedState(); /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -827,10 +681,7 @@ public List QueryNestedState() [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List QueryNestedTransition() - { - return this.ComputeNestedTransition(); - } + public List nestedTransition => this.ComputeNestedTransition(); /// /// The Usages that are ownedFeatures of this Usage. @@ -839,10 +690,7 @@ public List QueryNestedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List QueryNestedUsage() - { - return this.ComputeNestedUsage(); - } + public List nestedUsage => this.ComputeNestedUsage(); /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -850,10 +698,7 @@ public List QueryNestedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List QueryNestedUseCase() - { - return this.ComputeNestedUseCase(); - } + public List nestedUseCase => this.ComputeNestedUseCase(); /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -861,10 +706,7 @@ public List QueryNestedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List QueryNestedVerificationCase() - { - return this.ComputeNestedVerificationCase(); - } + public List nestedVerificationCase => this.ComputeNestedVerificationCase(); /// /// The ViewUsages that are nestedUsages of this Usage. @@ -872,10 +714,7 @@ public List QueryNestedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List QueryNestedView() - { - return this.ComputeNestedView(); - } + public List nestedView => this.ComputeNestedView(); /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -883,10 +722,7 @@ public List QueryNestedView() [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List QueryNestedViewpoint() - { - return this.ComputeNestedViewpoint(); - } + public List nestedViewpoint => this.ComputeNestedViewpoint(); /// /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, @@ -897,10 +733,7 @@ public List QueryNestedViewpoint() [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] [RedefinedByProperty("IActionUsage.ActionDefinition")] [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List QueryOccurrenceDefinition() - { - return this.ComputeOccurrenceDefinition(); - } + List Systems.Occurrences.IOccurrenceUsage.occurrenceDefinition => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -908,10 +741,7 @@ public List QueryOccurrenceDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -921,10 +751,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -933,10 +760,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -945,10 +769,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -958,10 +779,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -971,10 +789,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -982,10 +797,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -994,10 +806,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -1005,10 +814,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -1018,10 +824,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -1031,10 +834,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -1044,10 +844,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -1057,10 +854,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -1069,10 +863,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -1081,10 +872,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -1095,10 +883,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -1107,10 +892,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -1119,10 +901,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -1140,10 +919,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -1153,10 +929,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -1166,10 +939,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -1179,10 +949,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1191,10 +958,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1202,10 +966,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The Definition that owns this Usage (if any). @@ -1214,10 +975,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public IDefinition QueryOwningDefinition() - { - return this.ComputeOwningDefinition(); - } + public IDefinition owningDefinition => this.ComputeOwningDefinition(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1225,10 +983,7 @@ public IDefinition QueryOwningDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1237,10 +992,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1249,10 +1001,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -1270,10 +1019,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The Usage in which this Usage is nested (if any). @@ -1281,10 +1027,7 @@ public IType QueryOwningType() [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public IUsage QueryOwningUsage() - { - return this.ComputeOwningUsage(); - } + public IUsage owningUsage => this.ComputeOwningUsage(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -1293,10 +1036,7 @@ public IUsage QueryOwningUsage() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If @@ -1317,10 +1057,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1330,10 +1067,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -1342,10 +1076,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1356,10 +1087,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1370,10 +1098,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1381,10 +1106,7 @@ public List QueryUnioningType() [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1393,10 +1115,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1405,10 +1124,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/Metaclass.cs b/SysML2.NET/Core/AutoGenPoco/Metaclass.cs index bd8dbd2a..937506e0 100644 --- a/SysML2.NET/Core/AutoGenPoco/Metaclass.cs +++ b/SysML2.NET/Core/AutoGenPoco/Metaclass.cs @@ -86,10 +86,7 @@ public partial class Metaclass : IMetaclass /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -97,10 +94,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// The Documentation owned by this Element. @@ -109,10 +103,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -128,10 +119,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -139,10 +127,7 @@ public List QueryEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -151,10 +136,7 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -162,10 +144,7 @@ public List QueryFeatureMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -173,10 +152,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -185,10 +161,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -196,10 +169,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -212,10 +182,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -230,10 +197,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// Whether all necessary implied Relationships have been included in the ownedRelationships of this @@ -251,10 +215,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -274,10 +235,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -285,10 +243,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -298,10 +253,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -311,10 +263,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -322,10 +271,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -335,10 +281,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -347,10 +290,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -360,10 +300,7 @@ public IConjugation QueryOwnedConjugator() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -373,10 +310,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -384,10 +318,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -396,10 +327,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -407,10 +335,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -420,10 +345,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -433,10 +355,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -445,10 +364,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -457,10 +373,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -471,10 +384,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -492,10 +402,7 @@ public List QueryOwnedMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier @@ -504,10 +411,7 @@ public List QueryOwnedSpecialization() [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List QueryOwnedSubclassification() - { - return this.ComputeOwnedSubclassification(); - } + public List ownedSubclassification => this.ComputeOwnedSubclassification(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -516,10 +420,7 @@ public List QueryOwnedSubclassification() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -527,10 +428,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -539,10 +437,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -551,10 +446,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -574,10 +466,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -587,10 +476,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -599,10 +485,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -613,10 +496,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/MetadataAccessExpression.cs b/SysML2.NET/Core/AutoGenPoco/MetadataAccessExpression.cs index 2982b272..113506b9 100644 --- a/SysML2.NET/Core/AutoGenPoco/MetadataAccessExpression.cs +++ b/SysML2.NET/Core/AutoGenPoco/MetadataAccessExpression.cs @@ -69,10 +69,7 @@ public partial class MetadataAccessExpression : IMetadataAccessExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IExpression.Function")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -84,10 +81,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -97,10 +91,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -130,10 +121,7 @@ public IFeature QueryCrossFeature() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -142,10 +130,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -162,10 +147,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -181,10 +163,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -194,10 +173,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -205,10 +181,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -217,20 +190,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -240,10 +207,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Function that types this Expression. @@ -251,10 +215,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [Implements(implementation: "IExpression.Function")] - public IFunction QueryFunction() - { - return this.ComputeFunction(); - } + public IFunction function => this.ComputeFunction(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -262,10 +223,7 @@ public IFunction QueryFunction() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -273,10 +231,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -285,10 +240,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -296,10 +248,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -312,10 +261,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -339,10 +285,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -389,10 +332,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, @@ -400,10 +340,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool QueryIsModelLevelEvaluable() - { - return this.ComputeIsModelLevelEvaluable(); - } + public bool isModelLevelEvaluable => this.ComputeIsModelLevelEvaluable(); /// /// Whether an order exists for the values of this Feature or not. @@ -453,10 +390,7 @@ public bool QueryIsModelLevelEvaluable() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -464,10 +398,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -477,10 +408,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -490,10 +418,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -501,10 +426,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -514,10 +436,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -526,10 +445,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -538,10 +454,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -551,10 +464,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -564,10 +474,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -575,10 +482,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -587,10 +491,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -598,10 +499,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -611,10 +509,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -624,10 +519,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -637,10 +529,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -650,10 +539,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -662,10 +548,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -674,10 +557,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -688,10 +568,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -700,10 +577,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -712,10 +586,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -733,10 +604,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -746,10 +614,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -759,10 +624,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -772,10 +634,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -784,10 +643,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -795,10 +651,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -806,10 +659,7 @@ public IElement QueryOwner() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -818,10 +668,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -830,10 +677,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -851,10 +695,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -863,10 +704,7 @@ public IType QueryOwningType() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -878,10 +716,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Element whose metadata is being accessed. @@ -889,10 +724,7 @@ public string QueryQualifiedName() [Property(xmiId: "_19_0_4_12e503d9_1665514131655_247232_1341", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IMetadataAccessExpression.ReferencedElement")] - public IElement QueryReferencedElement() - { - return this.ComputeReferencedElement(); - } + public IElement referencedElement => this.ComputeReferencedElement(); /// /// An output parameter of the Expression whose value is the result of the Expression. The result of an @@ -903,10 +735,7 @@ public IElement QueryReferencedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [Implements(implementation: "IExpression.Result")] - public IFeature QueryResult() - { - return this.ComputeResult(); - } + public IFeature result => this.ComputeResult(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -916,10 +745,7 @@ public IFeature QueryResult() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -928,10 +754,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -941,10 +764,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + public List type => this.ComputeType(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -955,10 +775,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/MetadataDefinition.cs b/SysML2.NET/Core/AutoGenPoco/MetadataDefinition.cs index 340f1fc9..d9739be7 100644 --- a/SysML2.NET/Core/AutoGenPoco/MetadataDefinition.cs +++ b/SysML2.NET/Core/AutoGenPoco/MetadataDefinition.cs @@ -107,10 +107,7 @@ public partial class MetadataDefinition : IMetadataDefinition /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -118,10 +115,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// The usages of this Definition that are directedFeatures. @@ -130,10 +124,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// The Documentation owned by this Element. @@ -142,10 +133,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -161,10 +149,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -172,10 +157,7 @@ public List QueryEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -184,10 +166,7 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -195,10 +174,7 @@ public List QueryFeatureMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -206,10 +182,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -218,10 +191,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -229,10 +199,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -245,10 +212,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -263,10 +227,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// Whether all necessary implied Relationships have been included in the ownedRelationships of this @@ -291,10 +252,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -322,10 +280,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -333,10 +288,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -346,10 +298,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -359,10 +308,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -370,10 +316,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ActionUsages that are ownedUsages of this Definition. @@ -381,10 +324,7 @@ public List QueryOutput() [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedAction")] - public List QueryOwnedAction() - { - return this.ComputeOwnedAction(); - } + public List ownedAction => this.ComputeOwnedAction(); /// /// The AllocationUsages that are ownedUsages of this Definition. @@ -392,10 +332,7 @@ public List QueryOwnedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedAllocation")] - public List QueryOwnedAllocation() - { - return this.ComputeOwnedAllocation(); - } + public List ownedAllocation => this.ComputeOwnedAllocation(); /// /// The AnalysisCaseUsages that are ownedUsages of this Definition. @@ -403,10 +340,7 @@ public List QueryOwnedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List QueryOwnedAnalysisCase() - { - return this.ComputeOwnedAnalysisCase(); - } + public List ownedAnalysisCase => this.ComputeOwnedAnalysisCase(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -416,10 +350,7 @@ public List QueryOwnedAnalysisCase() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The AttributeUsages that are ownedUsages of this Definition. @@ -427,10 +358,7 @@ public List QueryOwnedAnnotation() [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedAttribute")] - public List QueryOwnedAttribute() - { - return this.ComputeOwnedAttribute(); - } + public List ownedAttribute => this.ComputeOwnedAttribute(); /// /// The CalculationUsages that are ownedUsages of this Definition. @@ -438,10 +366,7 @@ public List QueryOwnedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedCalculation")] - public List QueryOwnedCalculation() - { - return this.ComputeOwnedCalculation(); - } + public List ownedCalculation => this.ComputeOwnedCalculation(); /// /// The code>CaseUsages that are ownedUsages of this Definition. @@ -449,10 +374,7 @@ public List QueryOwnedCalculation() [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] [Implements(implementation: "IDefinition.OwnedCase")] - public List QueryOwnedCase() - { - return this.ComputeOwnedCase(); - } + public List ownedCase => this.ComputeOwnedCase(); /// /// The ConcernUsages that are ownedUsages of this Definition. @@ -460,10 +382,7 @@ public List QueryOwnedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedConcern")] - public List QueryOwnedConcern() - { - return this.ComputeOwnedConcern(); - } + public List ownedConcern => this.ComputeOwnedConcern(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -472,10 +391,7 @@ public List QueryOwnedConcern() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes @@ -485,10 +401,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedConnection")] - public List QueryOwnedConnection() - { - return this.ComputeOwnedConnection(); - } + public List ownedConnection => this.ComputeOwnedConnection(); /// /// The ConstraintUsages that are ownedUsages of this Definition. @@ -496,10 +409,7 @@ public List QueryOwnedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedConstraint")] - public List QueryOwnedConstraint() - { - return this.ComputeOwnedConstraint(); - } + public List ownedConstraint => this.ComputeOwnedConstraint(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -509,10 +419,7 @@ public List QueryOwnedConstraint() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -522,10 +429,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -533,10 +437,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -545,10 +446,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The EnumerationUsages that are ownedUsages of this Definition. @@ -556,10 +454,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List QueryOwnedEnumeration() - { - return this.ComputeOwnedEnumeration(); - } + public List ownedEnumeration => this.ComputeOwnedEnumeration(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -567,10 +462,7 @@ public List QueryOwnedEnumeration() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -580,10 +472,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The FlowUsages that are ownedUsages of this Definition. @@ -591,10 +480,7 @@ public List QueryOwnedFeatureMembership() [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedFlow")] - public List QueryOwnedFlow() - { - return this.ComputeOwnedFlow(); - } + public List ownedFlow => this.ComputeOwnedFlow(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -604,10 +490,7 @@ public List QueryOwnedFlow() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The InterfaceUsages that are ownedUsages of this Definition. @@ -615,10 +498,7 @@ public List QueryOwnedImport() [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedInterface")] - public List QueryOwnedInterface() - { - return this.ComputeOwnedInterface(); - } + public List ownedInterface => this.ComputeOwnedInterface(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -627,10 +507,7 @@ public List QueryOwnedInterface() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The ItemUsages that are ownedUsages of this Definition. @@ -638,10 +515,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedItem")] - public List QueryOwnedItem() - { - return this.ComputeOwnedItem(); - } + public List ownedItem => this.ComputeOwnedItem(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -650,10 +524,7 @@ public List QueryOwnedItem() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -664,10 +535,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The MetadataUsages that are ownedUsages of this Definition. @@ -675,10 +543,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedMetadata")] - public List QueryOwnedMetadata() - { - return this.ComputeOwnedMetadata(); - } + public List ownedMetadata => this.ComputeOwnedMetadata(); /// /// The OccurrenceUsages that are ownedUsages of this Definition. @@ -686,10 +551,7 @@ public List QueryOwnedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List QueryOwnedOccurrence() - { - return this.ComputeOwnedOccurrence(); - } + public List ownedOccurrence => this.ComputeOwnedOccurrence(); /// /// The PartUsages that are ownedUsages of this Definition. @@ -697,10 +559,7 @@ public List QueryOwnedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedPart")] - public List QueryOwnedPart() - { - return this.ComputeOwnedPart(); - } + public List ownedPart => this.ComputeOwnedPart(); /// /// The PortUsages that are ownedUsages of this Definition. @@ -708,10 +567,7 @@ public List QueryOwnedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedPort")] - public List QueryOwnedPort() - { - return this.ComputeOwnedPort(); - } + public List ownedPort => this.ComputeOwnedPort(); /// /// The ReferenceUsages that are ownedUsages of this Definition. @@ -719,10 +575,7 @@ public List QueryOwnedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedReference")] - public List QueryOwnedReference() - { - return this.ComputeOwnedReference(); - } + public List ownedReference => this.ComputeOwnedReference(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -738,10 +591,7 @@ public List QueryOwnedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedRendering")] - public List QueryOwnedRendering() - { - return this.ComputeOwnedRendering(); - } + public List ownedRendering => this.ComputeOwnedRendering(); /// /// The RequirementUsages that are ownedUsages of this Definition. @@ -749,10 +599,7 @@ public List QueryOwnedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] [Implements(implementation: "IDefinition.OwnedRequirement")] - public List QueryOwnedRequirement() - { - return this.ComputeOwnedRequirement(); - } + public List ownedRequirement => this.ComputeOwnedRequirement(); /// /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific @@ -762,10 +609,7 @@ public List QueryOwnedRequirement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The StateUsages that are ownedUsages of this Definition. @@ -773,10 +617,7 @@ public List QueryOwnedSpecialization() [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedState")] - public List QueryOwnedState() - { - return this.ComputeOwnedState(); - } + public List ownedState => this.ComputeOwnedState(); /// /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier @@ -785,10 +626,7 @@ public List QueryOwnedState() [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List QueryOwnedSubclassification() - { - return this.ComputeOwnedSubclassification(); - } + public List ownedSubclassification => this.ComputeOwnedSubclassification(); /// /// The TransitionUsages that are ownedUsages of this Definition. @@ -796,10 +634,7 @@ public List QueryOwnedSubclassification() [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedTransition")] - public List QueryOwnedTransition() - { - return this.ComputeOwnedTransition(); - } + public List ownedTransition => this.ComputeOwnedTransition(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -808,10 +643,7 @@ public List QueryOwnedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The Usages that are ownedFeatures of this Definition. @@ -820,10 +652,7 @@ public List QueryOwnedUnioning() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.OwnedUsage")] - public List QueryOwnedUsage() - { - return this.ComputeOwnedUsage(); - } + public List ownedUsage => this.ComputeOwnedUsage(); /// /// The UseCaseUsages that are ownedUsages of this Definition. @@ -831,10 +660,7 @@ public List QueryOwnedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedUseCase")] - public List QueryOwnedUseCase() - { - return this.ComputeOwnedUseCase(); - } + public List ownedUseCase => this.ComputeOwnedUseCase(); /// /// The VerificationCaseUsages that are ownedUsages of this Definition. @@ -842,10 +668,7 @@ public List QueryOwnedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List QueryOwnedVerificationCase() - { - return this.ComputeOwnedVerificationCase(); - } + public List ownedVerificationCase => this.ComputeOwnedVerificationCase(); /// /// The ViewUsages that are ownedUsages of this Definition. @@ -853,10 +676,7 @@ public List QueryOwnedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedView")] - public List QueryOwnedView() - { - return this.ComputeOwnedView(); - } + public List ownedView => this.ComputeOwnedView(); /// /// The ViewpointUsages that are ownedUsages of this Definition. @@ -864,10 +684,7 @@ public List QueryOwnedView() [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List QueryOwnedViewpoint() - { - return this.ComputeOwnedViewpoint(); - } + public List ownedViewpoint => this.ComputeOwnedViewpoint(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -875,10 +692,7 @@ public List QueryOwnedViewpoint() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -887,10 +701,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -899,10 +710,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -922,10 +730,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -935,10 +740,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -947,10 +749,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -961,10 +760,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Definition (not necessarily owned). @@ -972,10 +768,7 @@ public List QueryUnioningType() [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IDefinition.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Definition as a variation point Definition, if @@ -984,10 +777,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IDefinition.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then @@ -997,10 +787,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IDefinition.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/MetadataFeature.cs b/SysML2.NET/Core/AutoGenPoco/MetadataFeature.cs index e1fbaa95..2844963d 100644 --- a/SysML2.NET/Core/AutoGenPoco/MetadataFeature.cs +++ b/SysML2.NET/Core/AutoGenPoco/MetadataFeature.cs @@ -66,10 +66,7 @@ public partial class MetadataFeature : IMetadataFeature /// [Property(xmiId: "_19_0_2_12e503d9_1594145755058_99428_86", aggregation: AggregationKind.None, lowerValue: 1, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IAnnotatingElement.AnnotatedElement")] - public List QueryAnnotatedElement() - { - return this.ComputeAnnotatedElement(); - } + public List annotatedElement => this.ComputeAnnotatedElement(); /// /// The Annotations that relate this AnnotatingElement to its annotatedElements. This includes the @@ -78,10 +75,7 @@ public List QueryAnnotatedElement() [Property(xmiId: "_18_5_3_12e503d9_1543094212714_953084_18407", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IAnnotatingElement.Annotation")] - public List QueryAnnotation() - { - return this.ComputeAnnotation(); - } + public List annotation => this.ComputeAnnotation(); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -93,10 +87,7 @@ public List QueryAnnotation() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -106,10 +97,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -139,10 +127,7 @@ public IFeature QueryCrossFeature() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -150,10 +135,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -170,10 +152,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -189,10 +168,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -202,10 +178,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -213,10 +186,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -225,20 +195,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -248,10 +212,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -259,10 +220,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -270,10 +228,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -282,10 +237,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -293,10 +245,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -309,10 +258,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -336,10 +282,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -386,10 +329,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -439,10 +379,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -450,10 +387,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// The type of this MetadataFeature, which must be a Metaclass. @@ -461,10 +395,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_4_12e503d9_1606345564958_925589_327", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [Implements(implementation: "IMetadataFeature.Metaclass")] - public IMetaclass QueryMetaclass() - { - return this.ComputeMetaclass(); - } + public IMetaclass metaclass => this.ComputeMetaclass(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -474,10 +405,7 @@ public IMetaclass QueryMetaclass() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -487,10 +415,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -498,10 +423,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this AnnotatingElement that are Annotations, for which this @@ -511,10 +433,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IAnnotatingElement.OwnedAnnotatingRelationship")] - public List QueryOwnedAnnotatingRelationship() - { - return this.ComputeOwnedAnnotatingRelationship(); - } + public List ownedAnnotatingRelationship => this.ComputeOwnedAnnotatingRelationship(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -524,10 +443,7 @@ public List QueryOwnedAnnotatingRelationship() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -536,10 +452,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -548,10 +461,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -561,10 +471,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -574,10 +481,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -585,10 +489,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -597,10 +498,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -608,10 +506,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -621,10 +516,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -634,10 +526,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -647,10 +536,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -660,10 +546,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -672,10 +555,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -684,10 +564,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -698,10 +575,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -710,10 +584,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -722,10 +593,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -743,10 +611,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -756,10 +621,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -769,10 +631,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -782,10 +641,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -794,10 +650,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -805,10 +658,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this AnnotatingRelationship, if it is an Annotation @@ -817,10 +667,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] [Implements(implementation: "IAnnotatingElement.OwningAnnotatingRelationship")] - public IAnnotation QueryOwningAnnotatingRelationship() - { - return this.ComputeOwningAnnotatingRelationship(); - } + public IAnnotation owningAnnotatingRelationship => this.ComputeOwningAnnotatingRelationship(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -828,10 +675,7 @@ public IAnnotation QueryOwningAnnotatingRelationship() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -840,10 +684,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -852,10 +693,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -873,10 +711,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -888,10 +723,7 @@ public IType QueryOwningType() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -901,10 +733,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -913,10 +742,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -926,10 +752,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + public List type => this.ComputeType(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -940,10 +763,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/MetadataUsage.cs b/SysML2.NET/Core/AutoGenPoco/MetadataUsage.cs index a06b95a5..1d25469e 100644 --- a/SysML2.NET/Core/AutoGenPoco/MetadataUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/MetadataUsage.cs @@ -93,10 +93,7 @@ public partial class MetadataUsage : IMetadataUsage /// [Property(xmiId: "_19_0_2_12e503d9_1594145755058_99428_86", aggregation: AggregationKind.None, lowerValue: 1, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IAnnotatingElement.AnnotatedElement")] - public List QueryAnnotatedElement() - { - return this.ComputeAnnotatedElement(); - } + public List annotatedElement => this.ComputeAnnotatedElement(); /// /// The Annotations that relate this AnnotatingElement to its annotatedElements. This includes the @@ -105,10 +102,7 @@ public List QueryAnnotatedElement() [Property(xmiId: "_18_5_3_12e503d9_1543094212714_953084_18407", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IAnnotatingElement.Annotation")] - public List QueryAnnotation() - { - return this.ComputeAnnotation(); - } + public List annotation => this.ComputeAnnotation(); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -120,10 +114,7 @@ public List QueryAnnotation() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -133,10 +124,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -164,10 +152,7 @@ public IFeature QueryCrossFeature() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] [Implements(implementation: "IUsage.Definition")] - public List QueryDefinition() - { - return this.ComputeDefinition(); - } + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -180,10 +165,7 @@ public List QueryDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -191,10 +173,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// The usages of this Usage that are directedFeatures. @@ -203,10 +182,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -223,10 +199,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -242,10 +215,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -255,10 +225,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -266,10 +233,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -278,20 +242,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -301,10 +259,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -312,10 +267,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// The at most one occurrenceDefinition that has isIndividual = true. @@ -323,10 +275,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public IOccurrenceDefinition QueryIndividualDefinition() - { - return this.ComputeIndividualDefinition(); - } + public IOccurrenceDefinition individualDefinition => this.ComputeIndividualDefinition(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -334,10 +283,7 @@ public IOccurrenceDefinition QueryIndividualDefinition() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -346,10 +292,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -357,10 +300,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -373,10 +313,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -400,10 +337,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -458,10 +392,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -483,10 +414,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IUsage.IsReference")] - public bool QueryIsReference() - { - return this.ComputeIsReference(); - } + public bool isReference => this.ComputeIsReference(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -514,7 +442,11 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -533,10 +465,7 @@ public bool QueryIsReference() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [RedefinedByProperty("IMetadataUsage.MetadataDefinition")] [Implements(implementation: "IItemUsage.ItemDefinition")] - public List QueryItemDefinition() - { - return this.ComputeItemDefinition(); - } + List Systems.Items.IItemUsage.itemDefinition => throw new InvalidOperationException("Redefined by property IMetadataUsage.MetadataDefinition"); /// /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its @@ -549,10 +478,7 @@ public List QueryItemDefinition() [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool QueryMayTimeVary() - { - return this.ComputeMayTimeVary(); - } + public bool mayTimeVary => this.ComputeMayTimeVary(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -560,10 +486,7 @@ public bool QueryMayTimeVary() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -571,10 +494,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// The type of this MetadataFeature, which must be a Metaclass. @@ -583,10 +503,7 @@ public List QueryMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IMetadataUsage.MetadataDefinition")] [Implements(implementation: "IMetadataFeature.Metaclass")] - public IMetaclass QueryMetaclass() - { - return this.ComputeMetaclass(); - } + IMetaclass Kernel.Metadata.IMetadataFeature.metaclass => throw new InvalidOperationException("Redefined by property IMetadataUsage.MetadataDefinition"); /// /// The MetadataDefinition that is the definition of this MetadataUsage. @@ -595,10 +512,7 @@ public IMetaclass QueryMetaclass() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1565471361757_649736_20796")] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1606345564958_925589_327")] [Implements(implementation: "IMetadataUsage.MetadataDefinition")] - public IMetaclass QueryMetadataDefinition() - { - return this.ComputeMetadataDefinition(); - } + public IMetaclass metadataDefinition => this.ComputeMetadataDefinition(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -608,10 +522,7 @@ public IMetaclass QueryMetadataDefinition() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -621,10 +532,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ActionUsages that are nestedUsages of this Usage. @@ -632,10 +540,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List QueryNestedAction() - { - return this.ComputeNestedAction(); - } + public List nestedAction => this.ComputeNestedAction(); /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -643,10 +548,7 @@ public List QueryNestedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List QueryNestedAllocation() - { - return this.ComputeNestedAllocation(); - } + public List nestedAllocation => this.ComputeNestedAllocation(); /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -654,10 +556,7 @@ public List QueryNestedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List QueryNestedAnalysisCase() - { - return this.ComputeNestedAnalysisCase(); - } + public List nestedAnalysisCase => this.ComputeNestedAnalysisCase(); /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -665,10 +564,7 @@ public List QueryNestedAnalysisCase() [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List QueryNestedAttribute() - { - return this.ComputeNestedAttribute(); - } + public List nestedAttribute => this.ComputeNestedAttribute(); /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -676,10 +572,7 @@ public List QueryNestedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List QueryNestedCalculation() - { - return this.ComputeNestedCalculation(); - } + public List nestedCalculation => this.ComputeNestedCalculation(); /// /// The CaseUsages that are nestedUsages of this Usage. @@ -687,10 +580,7 @@ public List QueryNestedCalculation() [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List QueryNestedCase() - { - return this.ComputeNestedCase(); - } + public List nestedCase => this.ComputeNestedCase(); /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -698,10 +588,7 @@ public List QueryNestedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List QueryNestedConcern() - { - return this.ComputeNestedConcern(); - } + public List nestedConcern => this.ComputeNestedConcern(); /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -711,10 +598,7 @@ public List QueryNestedConcern() [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List QueryNestedConnection() - { - return this.ComputeNestedConnection(); - } + public List nestedConnection => this.ComputeNestedConnection(); /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -722,10 +606,7 @@ public List QueryNestedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List QueryNestedConstraint() - { - return this.ComputeNestedConstraint(); - } + public List nestedConstraint => this.ComputeNestedConstraint(); /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -733,10 +614,7 @@ public List QueryNestedConstraint() [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List QueryNestedEnumeration() - { - return this.ComputeNestedEnumeration(); - } + public List nestedEnumeration => this.ComputeNestedEnumeration(); /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -744,10 +622,7 @@ public List QueryNestedEnumeration() [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List QueryNestedFlow() - { - return this.ComputeNestedFlow(); - } + public List nestedFlow => this.ComputeNestedFlow(); /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -755,10 +630,7 @@ public List QueryNestedFlow() [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List QueryNestedInterface() - { - return this.ComputeNestedInterface(); - } + public List nestedInterface => this.ComputeNestedInterface(); /// /// The ItemUsages that are nestedUsages of this Usage. @@ -766,10 +638,7 @@ public List QueryNestedInterface() [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List QueryNestedItem() - { - return this.ComputeNestedItem(); - } + public List nestedItem => this.ComputeNestedItem(); /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -777,10 +646,7 @@ public List QueryNestedItem() [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List QueryNestedMetadata() - { - return this.ComputeNestedMetadata(); - } + public List nestedMetadata => this.ComputeNestedMetadata(); /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -788,10 +654,7 @@ public List QueryNestedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List QueryNestedOccurrence() - { - return this.ComputeNestedOccurrence(); - } + public List nestedOccurrence => this.ComputeNestedOccurrence(); /// /// The PartUsages that are nestedUsages of this Usage. @@ -799,10 +662,7 @@ public List QueryNestedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List QueryNestedPart() - { - return this.ComputeNestedPart(); - } + public List nestedPart => this.ComputeNestedPart(); /// /// The PortUsages that are nestedUsages of this Usage. @@ -810,10 +670,7 @@ public List QueryNestedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List QueryNestedPort() - { - return this.ComputeNestedPort(); - } + public List nestedPort => this.ComputeNestedPort(); /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -821,10 +678,7 @@ public List QueryNestedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List QueryNestedReference() - { - return this.ComputeNestedReference(); - } + public List nestedReference => this.ComputeNestedReference(); /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -832,10 +686,7 @@ public List QueryNestedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List QueryNestedRendering() - { - return this.ComputeNestedRendering(); - } + public List nestedRendering => this.ComputeNestedRendering(); /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -843,10 +694,7 @@ public List QueryNestedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List QueryNestedRequirement() - { - return this.ComputeNestedRequirement(); - } + public List nestedRequirement => this.ComputeNestedRequirement(); /// /// The StateUsages that are nestedUsages of this Usage. @@ -854,10 +702,7 @@ public List QueryNestedRequirement() [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List QueryNestedState() - { - return this.ComputeNestedState(); - } + public List nestedState => this.ComputeNestedState(); /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -865,10 +710,7 @@ public List QueryNestedState() [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List QueryNestedTransition() - { - return this.ComputeNestedTransition(); - } + public List nestedTransition => this.ComputeNestedTransition(); /// /// The Usages that are ownedFeatures of this Usage. @@ -877,10 +719,7 @@ public List QueryNestedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List QueryNestedUsage() - { - return this.ComputeNestedUsage(); - } + public List nestedUsage => this.ComputeNestedUsage(); /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -888,10 +727,7 @@ public List QueryNestedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List QueryNestedUseCase() - { - return this.ComputeNestedUseCase(); - } + public List nestedUseCase => this.ComputeNestedUseCase(); /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -899,10 +735,7 @@ public List QueryNestedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List QueryNestedVerificationCase() - { - return this.ComputeNestedVerificationCase(); - } + public List nestedVerificationCase => this.ComputeNestedVerificationCase(); /// /// The ViewUsages that are nestedUsages of this Usage. @@ -910,10 +743,7 @@ public List QueryNestedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List QueryNestedView() - { - return this.ComputeNestedView(); - } + public List nestedView => this.ComputeNestedView(); /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -921,10 +751,7 @@ public List QueryNestedView() [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List QueryNestedViewpoint() - { - return this.ComputeNestedViewpoint(); - } + public List nestedViewpoint => this.ComputeNestedViewpoint(); /// /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, @@ -934,10 +761,7 @@ public List QueryNestedViewpoint() [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List QueryOccurrenceDefinition() - { - return this.ComputeOccurrenceDefinition(); - } + public List occurrenceDefinition => this.ComputeOccurrenceDefinition(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -945,10 +769,7 @@ public List QueryOccurrenceDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this AnnotatingElement that are Annotations, for which this @@ -958,10 +779,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IAnnotatingElement.OwnedAnnotatingRelationship")] - public List QueryOwnedAnnotatingRelationship() - { - return this.ComputeOwnedAnnotatingRelationship(); - } + public List ownedAnnotatingRelationship => this.ComputeOwnedAnnotatingRelationship(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -971,10 +789,7 @@ public List QueryOwnedAnnotatingRelationship() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -983,10 +798,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -995,10 +807,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -1008,10 +817,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -1021,10 +827,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -1032,10 +835,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -1044,10 +844,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -1055,10 +852,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -1068,10 +862,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -1081,10 +872,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -1094,10 +882,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -1107,10 +892,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -1119,10 +901,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -1131,10 +910,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -1145,10 +921,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -1157,10 +930,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -1169,10 +939,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -1190,10 +957,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -1203,10 +967,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -1216,10 +977,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -1229,10 +987,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1241,10 +996,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1252,10 +1004,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this AnnotatingRelationship, if it is an Annotation @@ -1264,10 +1013,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] [Implements(implementation: "IAnnotatingElement.OwningAnnotatingRelationship")] - public IAnnotation QueryOwningAnnotatingRelationship() - { - return this.ComputeOwningAnnotatingRelationship(); - } + public IAnnotation owningAnnotatingRelationship => this.ComputeOwningAnnotatingRelationship(); /// /// The Definition that owns this Usage (if any). @@ -1276,10 +1022,7 @@ public IAnnotation QueryOwningAnnotatingRelationship() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public IDefinition QueryOwningDefinition() - { - return this.ComputeOwningDefinition(); - } + public IDefinition owningDefinition => this.ComputeOwningDefinition(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1287,10 +1030,7 @@ public IDefinition QueryOwningDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1299,10 +1039,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1311,10 +1048,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -1332,10 +1066,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The Usage in which this Usage is nested (if any). @@ -1343,10 +1074,7 @@ public IType QueryOwningType() [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public IUsage QueryOwningUsage() - { - return this.ComputeOwningUsage(); - } + public IUsage owningUsage => this.ComputeOwningUsage(); /// /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If @@ -1367,10 +1095,7 @@ public IUsage QueryOwningUsage() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1380,10 +1105,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -1392,10 +1114,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1406,10 +1125,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1420,10 +1136,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1431,10 +1144,7 @@ public List QueryUnioningType() [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1443,10 +1153,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1455,10 +1162,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/Multiplicity.cs b/SysML2.NET/Core/AutoGenPoco/Multiplicity.cs index f9c17263..b30286bf 100644 --- a/SysML2.NET/Core/AutoGenPoco/Multiplicity.cs +++ b/SysML2.NET/Core/AutoGenPoco/Multiplicity.cs @@ -77,10 +77,7 @@ public partial class Multiplicity : IMultiplicity /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -90,10 +87,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -123,10 +117,7 @@ public IFeature QueryCrossFeature() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -134,10 +125,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -154,10 +142,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -173,10 +158,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -186,10 +168,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -197,10 +176,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -209,20 +185,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -232,10 +202,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -243,10 +210,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -254,10 +218,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -266,10 +227,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -277,10 +235,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -293,10 +248,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -320,10 +272,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -370,10 +319,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -423,10 +369,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -434,10 +377,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -447,10 +387,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -460,10 +397,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -471,10 +405,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -484,10 +415,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -496,10 +424,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -508,10 +433,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -521,10 +443,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -534,10 +453,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -545,10 +461,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -557,10 +470,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -568,10 +478,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -581,10 +488,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -594,10 +498,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -607,10 +508,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -620,10 +518,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -632,10 +527,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -644,10 +536,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -658,10 +547,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -670,10 +556,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -682,10 +565,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -703,10 +583,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -716,10 +593,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -729,10 +603,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -742,10 +613,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -754,10 +622,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -765,10 +630,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -776,10 +638,7 @@ public IElement QueryOwner() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -788,10 +647,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -800,10 +656,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -821,10 +674,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -836,10 +686,7 @@ public IType QueryOwningType() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -849,10 +696,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -861,10 +705,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -874,10 +715,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + public List type => this.ComputeType(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -888,10 +726,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/MultiplicityRange.cs b/SysML2.NET/Core/AutoGenPoco/MultiplicityRange.cs index ee1b4677..b1b89368 100644 --- a/SysML2.NET/Core/AutoGenPoco/MultiplicityRange.cs +++ b/SysML2.NET/Core/AutoGenPoco/MultiplicityRange.cs @@ -71,10 +71,7 @@ public partial class MultiplicityRange : IMultiplicityRange [Property(xmiId: "_19_0_2_12e503d9_1573095221994_519580_5095", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 2, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IMultiplicityRange.Bound")] - public List QueryBound() - { - return this.ComputeBound(); - } + public List bound => this.ComputeBound(); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -86,10 +83,7 @@ public List QueryBound() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -99,10 +93,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -132,10 +123,7 @@ public IFeature QueryCrossFeature() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -143,10 +131,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -163,10 +148,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -182,10 +164,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -195,10 +174,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -206,10 +182,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -218,20 +191,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -241,10 +208,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -252,10 +216,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -263,10 +224,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -275,10 +233,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -286,10 +241,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -302,10 +254,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -329,10 +278,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -379,10 +325,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -434,10 +377,7 @@ public bool QueryIsLibraryElement() [Property(xmiId: "_19_0_2_12e503d9_1573094905677_801324_4744", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1573095221994_519580_5095")] [Implements(implementation: "IMultiplicityRange.LowerBound")] - public IExpression QueryLowerBound() - { - return this.ComputeLowerBound(); - } + public IExpression lowerBound => this.ComputeLowerBound(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -445,10 +385,7 @@ public IExpression QueryLowerBound() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -456,10 +393,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -469,10 +403,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -482,10 +413,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -493,10 +421,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -506,10 +431,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -518,10 +440,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -530,10 +449,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -543,10 +459,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -556,10 +469,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -567,10 +477,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -579,10 +486,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -590,10 +494,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -603,10 +504,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -616,10 +514,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -629,10 +524,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -642,10 +534,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -654,10 +543,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -666,10 +552,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -680,10 +563,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -692,10 +572,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -704,10 +581,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -725,10 +599,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -738,10 +609,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -751,10 +619,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -764,10 +629,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -776,10 +638,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -787,10 +646,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -798,10 +654,7 @@ public IElement QueryOwner() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -810,10 +663,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -822,10 +672,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -843,10 +690,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -858,10 +702,7 @@ public IType QueryOwningType() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -871,10 +712,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -883,10 +721,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -896,10 +731,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + public List type => this.ComputeType(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -910,10 +742,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Expression whose result is the upper bound of the MultiplicityRange. @@ -921,10 +750,7 @@ public List QueryUnioningType() [Property(xmiId: "_19_0_2_12e503d9_1573094947427_797440_4796", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1573095221994_519580_5095")] [Implements(implementation: "IMultiplicityRange.UpperBound")] - public IExpression QueryUpperBound() - { - return this.ComputeUpperBound(); - } + public IExpression upperBound => this.ComputeUpperBound(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/Namespace.cs b/SysML2.NET/Core/AutoGenPoco/Namespace.cs index aa553493..840a3cf5 100644 --- a/SysML2.NET/Core/AutoGenPoco/Namespace.cs +++ b/SysML2.NET/Core/AutoGenPoco/Namespace.cs @@ -85,10 +85,7 @@ public partial class Namespace : INamespace [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -104,10 +101,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// Whether all necessary implied Relationships have been included in the ownedRelationships of this @@ -125,10 +119,7 @@ public List QueryImportedMembership() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -136,10 +127,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -147,10 +135,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -160,10 +145,7 @@ public List QueryMembership() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -173,10 +155,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -184,10 +163,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -197,10 +173,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -209,10 +182,7 @@ public List QueryOwnedImport() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -223,10 +193,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -242,10 +209,7 @@ public List QueryOwnedMembership() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -254,10 +218,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -266,10 +227,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -289,10 +247,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -302,10 +257,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -314,10 +266,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/NamespaceExpose.cs b/SysML2.NET/Core/AutoGenPoco/NamespaceExpose.cs index bd5b241b..bdf9c4cd 100644 --- a/SysML2.NET/Core/AutoGenPoco/NamespaceExpose.cs +++ b/SysML2.NET/Core/AutoGenPoco/NamespaceExpose.cs @@ -80,10 +80,7 @@ public partial class NamespaceExpose : INamespaceExpose [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -99,10 +96,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1668801846848_909736_64", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IImport.ImportedElement")] - public IElement QueryImportedElement() - { - return this.ComputeImportedElement(); - } + public IElement importedElement => this.ComputeImportedElement(); /// /// The Namespace whose visible Memberships are imported by this NamespaceImport. @@ -120,10 +114,7 @@ public IElement QueryImportedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [Implements(implementation: "IImport.ImportOwningNamespace")] - public INamespace QueryImportOwningNamespace() - { - return this.ComputeImportOwningNamespace(); - } + public INamespace importOwningNamespace => this.ComputeImportOwningNamespace(); /// /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being @@ -150,7 +141,7 @@ public INamespace QueryImportOwningNamespace() [Property(xmiId: "_19_0_4_12e503d9_1622578615027_762161_80", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "true")] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1622577942205_869984_64")] [Implements(implementation: "IExpose.IsImportAll")] - bool IExpose.IsImportAll { get; set; } + public bool IsImportAll { get; set; } /// /// Whether to import memberships without regard to declared visibility. @@ -158,17 +149,18 @@ public INamespace QueryImportOwningNamespace() [Property(xmiId: "_19_0_4_12e503d9_1622577942205_869984_64", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IExpose.IsImportAll")] [Implements(implementation: "IImport.IsImportAll")] - bool Root.Namespaces.IImport.IsImportAll { get; set; } + bool Root.Namespaces.IImport.IsImportAll + { + get => throw new InvalidOperationException("Redefined by property IExpose.IsImportAll"); + set => throw new InvalidOperationException("Redefined by property IExpose.IsImportAll"); + } /// /// Whether this Element is contained in the ownership tree of a library model. /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether to recursively import Memberships from visible, owned sub-Namespaces. @@ -185,10 +177,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -198,10 +187,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -209,10 +195,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -236,10 +219,7 @@ public List QueryOwnedElement() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -248,10 +228,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -260,10 +237,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -291,10 +265,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -302,10 +273,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + public List relatedElement => this.ComputeRelatedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -315,10 +283,7 @@ public List QueryRelatedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -327,7 +292,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IImport.ImportOwningNamespace")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IImport.ImportOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IImport.ImportOwningNamespace"); + } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -336,7 +305,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("INamespaceImport.ImportedNamespace")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property INamespaceImport.ImportedNamespace"); + set => throw new InvalidOperationException("Redefined by property INamespaceImport.ImportedNamespace"); + } /// /// The TextualRepresentations that annotate this Element. @@ -345,10 +318,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// An Expose always has protected visibility. @@ -356,7 +326,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_2022x_2_12e503d9_1720469034555_222060_1140", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "protected")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674976_798509_43257")] [Implements(implementation: "IExpose.Visibility")] - VisibilityKind IExpose.Visibility { get; set; } + public VisibilityKind Visibility { get; set; } /// /// The visibility level of the imported members from this Import relative to the importOwningNamespace. @@ -365,7 +335,11 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674976_798509_43257", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "private")] [RedefinedByProperty("IExpose.Visibility")] [Implements(implementation: "IImport.Visibility")] - VisibilityKind Root.Namespaces.IImport.Visibility { get; set; } + VisibilityKind Root.Namespaces.IImport.Visibility + { + get => throw new InvalidOperationException("Redefined by property IExpose.Visibility"); + set => throw new InvalidOperationException("Redefined by property IExpose.Visibility"); + } } } diff --git a/SysML2.NET/Core/AutoGenPoco/NamespaceImport.cs b/SysML2.NET/Core/AutoGenPoco/NamespaceImport.cs index 78979995..4f12b573 100644 --- a/SysML2.NET/Core/AutoGenPoco/NamespaceImport.cs +++ b/SysML2.NET/Core/AutoGenPoco/NamespaceImport.cs @@ -81,10 +81,7 @@ public partial class NamespaceImport : INamespaceImport [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -100,10 +97,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1668801846848_909736_64", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IImport.ImportedElement")] - public IElement QueryImportedElement() - { - return this.ComputeImportedElement(); - } + public IElement importedElement => this.ComputeImportedElement(); /// /// The Namespace whose visible Memberships are imported by this NamespaceImport. @@ -121,10 +115,7 @@ public IElement QueryImportedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [Implements(implementation: "IImport.ImportOwningNamespace")] - public INamespace QueryImportOwningNamespace() - { - return this.ComputeImportOwningNamespace(); - } + public INamespace importOwningNamespace => this.ComputeImportOwningNamespace(); /// /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being @@ -157,10 +148,7 @@ public INamespace QueryImportOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether to recursively import Memberships from visible, owned sub-Namespaces. @@ -177,10 +165,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -190,10 +175,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -201,10 +183,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -228,10 +207,7 @@ public List QueryOwnedElement() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -240,10 +216,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -252,10 +225,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -283,10 +253,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -294,10 +261,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + public List relatedElement => this.ComputeRelatedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -307,10 +271,7 @@ public List QueryRelatedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -319,7 +280,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IImport.ImportOwningNamespace")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IImport.ImportOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IImport.ImportOwningNamespace"); + } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -328,7 +293,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("INamespaceImport.ImportedNamespace")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property INamespaceImport.ImportedNamespace"); + set => throw new InvalidOperationException("Redefined by property INamespaceImport.ImportedNamespace"); + } /// /// The TextualRepresentations that annotate this Element. @@ -337,10 +306,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// The visibility level of the imported members from this Import relative to the importOwningNamespace. diff --git a/SysML2.NET/Core/AutoGenPoco/NullExpression.cs b/SysML2.NET/Core/AutoGenPoco/NullExpression.cs index 2e5b112d..dbefd78f 100644 --- a/SysML2.NET/Core/AutoGenPoco/NullExpression.cs +++ b/SysML2.NET/Core/AutoGenPoco/NullExpression.cs @@ -66,10 +66,7 @@ public partial class NullExpression : INullExpression [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IExpression.Function")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -81,10 +78,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -94,10 +88,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -127,10 +118,7 @@ public IFeature QueryCrossFeature() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -139,10 +127,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -159,10 +144,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -178,10 +160,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -191,10 +170,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -202,10 +178,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -214,20 +187,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -237,10 +204,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Function that types this Expression. @@ -248,10 +212,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [Implements(implementation: "IExpression.Function")] - public IFunction QueryFunction() - { - return this.ComputeFunction(); - } + public IFunction function => this.ComputeFunction(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -259,10 +220,7 @@ public IFunction QueryFunction() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -270,10 +228,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -282,10 +237,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -293,10 +245,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -309,10 +258,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -336,10 +282,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -386,10 +329,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, @@ -397,10 +337,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool QueryIsModelLevelEvaluable() - { - return this.ComputeIsModelLevelEvaluable(); - } + public bool isModelLevelEvaluable => this.ComputeIsModelLevelEvaluable(); /// /// Whether an order exists for the values of this Feature or not. @@ -450,10 +387,7 @@ public bool QueryIsModelLevelEvaluable() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -461,10 +395,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -474,10 +405,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -487,10 +415,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -498,10 +423,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -511,10 +433,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -523,10 +442,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -535,10 +451,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -548,10 +461,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -561,10 +471,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -572,10 +479,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -584,10 +488,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -595,10 +496,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -608,10 +506,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -621,10 +516,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -634,10 +526,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -647,10 +536,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -659,10 +545,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -671,10 +554,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -685,10 +565,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -697,10 +574,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -709,10 +583,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -730,10 +601,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -743,10 +611,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -756,10 +621,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -769,10 +631,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -781,10 +640,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -792,10 +648,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -803,10 +656,7 @@ public IElement QueryOwner() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -815,10 +665,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -827,10 +674,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -848,10 +692,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -860,10 +701,7 @@ public IType QueryOwningType() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -875,10 +713,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// An output parameter of the Expression whose value is the result of the Expression. The result of an @@ -889,10 +724,7 @@ public string QueryQualifiedName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [Implements(implementation: "IExpression.Result")] - public IFeature QueryResult() - { - return this.ComputeResult(); - } + public IFeature result => this.ComputeResult(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -902,10 +734,7 @@ public IFeature QueryResult() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -914,10 +743,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -927,10 +753,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + public List type => this.ComputeType(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -941,10 +764,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/ObjectiveMembership.cs b/SysML2.NET/Core/AutoGenPoco/ObjectiveMembership.cs index c6bfd477..3f8958fd 100644 --- a/SysML2.NET/Core/AutoGenPoco/ObjectiveMembership.cs +++ b/SysML2.NET/Core/AutoGenPoco/ObjectiveMembership.cs @@ -83,10 +83,7 @@ public partial class ObjectiveMembership : IObjectiveMembership [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -120,10 +117,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. @@ -132,7 +126,11 @@ public bool QueryIsLibraryElement() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] [Implements(implementation: "IMembership.MemberElement")] - public IElement MemberElement { get; set; } + IElement Root.Namespaces.IMembership.MemberElement + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + } /// /// The elementId of the memberElement. @@ -140,10 +138,7 @@ public bool QueryIsLibraryElement() [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] [Implements(implementation: "IMembership.MemberElementId")] - public string QueryMemberElementId() - { - return this.ComputeMemberElementId(); - } + string Root.Namespaces.IMembership.memberElementId => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElementId"); /// /// The name of the memberElement relative to the membershipOwningNamespace. @@ -151,7 +146,11 @@ public string QueryMemberElementId() [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberName")] [Implements(implementation: "IMembership.MemberName")] - public string MemberName { get; set; } + string Root.Namespaces.IMembership.MemberName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + } /// /// The Namespace of which the memberElement becomes a member due to this Membership. @@ -162,10 +161,7 @@ public string QueryMemberElementId() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [RedefinedByProperty("IFeatureMembership.OwningType")] [Implements(implementation: "IMembership.MembershipOwningNamespace")] - public INamespace QueryMembershipOwningNamespace() - { - return this.ComputeMembershipOwningNamespace(); - } + INamespace Root.Namespaces.IMembership.membershipOwningNamespace => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwningType"); /// /// The short name of the memberElement relative to the membershipOwningNamespace. @@ -173,7 +169,11 @@ public INamespace QueryMembershipOwningNamespace() [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] [Implements(implementation: "IMembership.MemberShortName")] - public string MemberShortName { get; set; } + string Root.Namespaces.IMembership.MemberShortName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + } /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -183,10 +183,7 @@ public INamespace QueryMembershipOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -196,10 +193,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -207,10 +201,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this @@ -221,10 +212,7 @@ public List QueryOwnedElement() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] [RedefinedByProperty("IFeatureMembership.OwnedMemberFeature")] [Implements(implementation: "IOwningMembership.OwnedMemberElement")] - public IElement QueryOwnedMemberElement() - { - return this.ComputeOwnedMemberElement(); - } + IElement Root.Namespaces.IOwningMembership.ownedMemberElement => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwnedMemberFeature"); /// /// The elementId of the ownedMemberElement. @@ -232,10 +220,7 @@ public IElement QueryOwnedMemberElement() [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] - public string QueryOwnedMemberElementId() - { - return this.ComputeOwnedMemberElementId(); - } + public string ownedMemberElementId => this.ComputeOwnedMemberElementId(); /// /// The Feature that this FeatureMembership relates to its owningType, making it an ownedFeature of the @@ -245,10 +230,7 @@ public string QueryOwnedMemberElementId() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] [RedefinedByProperty("IObjectiveMembership.OwnedObjectiveRequirement")] [Implements(implementation: "IFeatureMembership.OwnedMemberFeature")] - public IFeature QueryOwnedMemberFeature() - { - return this.ComputeOwnedMemberFeature(); - } + IFeature Core.Types.IFeatureMembership.ownedMemberFeature => throw new InvalidOperationException("Redefined by property IObjectiveMembership.OwnedObjectiveRequirement"); /// /// The name of the ownedMemberElement. @@ -256,10 +238,7 @@ public IFeature QueryOwnedMemberFeature() [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] [Implements(implementation: "IOwningMembership.OwnedMemberName")] - public string QueryOwnedMemberName() - { - return this.ComputeOwnedMemberName(); - } + public string ownedMemberName => this.ComputeOwnedMemberName(); /// /// The shortName of the ownedMemberElement. @@ -267,10 +246,7 @@ public string QueryOwnedMemberName() [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] - public string QueryOwnedMemberShortName() - { - return this.ComputeOwnedMemberShortName(); - } + public string ownedMemberShortName => this.ComputeOwnedMemberShortName(); /// /// The RequirementUsage that is the ownedMemberFeature of this RequirementUsage. @@ -278,10 +254,7 @@ public string QueryOwnedMemberShortName() [Property(xmiId: "_19_0_2_59601fc_1590258776804_538578_832", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] [Implements(implementation: "IObjectiveMembership.OwnedObjectiveRequirement")] - public IRequirementUsage QueryOwnedObjectiveRequirement() - { - return this.ComputeOwnedObjectiveRequirement(); - } + public IRequirementUsage ownedObjectiveRequirement => this.ComputeOwnedObjectiveRequirement(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -305,10 +278,7 @@ public IRequirementUsage QueryOwnedObjectiveRequirement() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -317,10 +287,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -329,10 +296,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -357,10 +321,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866524_738482_486")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] [Implements(implementation: "IFeatureMembership.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -372,10 +333,7 @@ public IType QueryOwningType() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -383,10 +341,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + public List relatedElement => this.ComputeRelatedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -396,10 +351,7 @@ public List QueryRelatedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -408,7 +360,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembership.MembershipOwningNamespace")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -417,7 +373,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembership.MemberElement")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + set => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + } /// /// The TextualRepresentations that annotate this Element. @@ -426,10 +386,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly diff --git a/SysML2.NET/Core/AutoGenPoco/OccurrenceDefinition.cs b/SysML2.NET/Core/AutoGenPoco/OccurrenceDefinition.cs index 44b06cb1..b2832aef 100644 --- a/SysML2.NET/Core/AutoGenPoco/OccurrenceDefinition.cs +++ b/SysML2.NET/Core/AutoGenPoco/OccurrenceDefinition.cs @@ -110,10 +110,7 @@ public partial class OccurrenceDefinition : IOccurrenceDefinition /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -121,10 +118,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// The usages of this Definition that are directedFeatures. @@ -133,10 +127,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// The Documentation owned by this Element. @@ -145,10 +136,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -164,10 +152,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -175,10 +160,7 @@ public List QueryEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -187,10 +169,7 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -198,10 +177,7 @@ public List QueryFeatureMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -209,10 +185,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -221,10 +194,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -232,10 +202,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -248,10 +215,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -266,10 +230,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// Whether all necessary implied Relationships have been included in the ownedRelationships of this @@ -294,10 +255,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -325,10 +283,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -336,10 +291,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -349,10 +301,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -362,10 +311,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -373,10 +319,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ActionUsages that are ownedUsages of this Definition. @@ -384,10 +327,7 @@ public List QueryOutput() [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedAction")] - public List QueryOwnedAction() - { - return this.ComputeOwnedAction(); - } + public List ownedAction => this.ComputeOwnedAction(); /// /// The AllocationUsages that are ownedUsages of this Definition. @@ -395,10 +335,7 @@ public List QueryOwnedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedAllocation")] - public List QueryOwnedAllocation() - { - return this.ComputeOwnedAllocation(); - } + public List ownedAllocation => this.ComputeOwnedAllocation(); /// /// The AnalysisCaseUsages that are ownedUsages of this Definition. @@ -406,10 +343,7 @@ public List QueryOwnedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List QueryOwnedAnalysisCase() - { - return this.ComputeOwnedAnalysisCase(); - } + public List ownedAnalysisCase => this.ComputeOwnedAnalysisCase(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -419,10 +353,7 @@ public List QueryOwnedAnalysisCase() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The AttributeUsages that are ownedUsages of this Definition. @@ -430,10 +361,7 @@ public List QueryOwnedAnnotation() [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedAttribute")] - public List QueryOwnedAttribute() - { - return this.ComputeOwnedAttribute(); - } + public List ownedAttribute => this.ComputeOwnedAttribute(); /// /// The CalculationUsages that are ownedUsages of this Definition. @@ -441,10 +369,7 @@ public List QueryOwnedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedCalculation")] - public List QueryOwnedCalculation() - { - return this.ComputeOwnedCalculation(); - } + public List ownedCalculation => this.ComputeOwnedCalculation(); /// /// The code>CaseUsages that are ownedUsages of this Definition. @@ -452,10 +377,7 @@ public List QueryOwnedCalculation() [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] [Implements(implementation: "IDefinition.OwnedCase")] - public List QueryOwnedCase() - { - return this.ComputeOwnedCase(); - } + public List ownedCase => this.ComputeOwnedCase(); /// /// The ConcernUsages that are ownedUsages of this Definition. @@ -463,10 +385,7 @@ public List QueryOwnedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedConcern")] - public List QueryOwnedConcern() - { - return this.ComputeOwnedConcern(); - } + public List ownedConcern => this.ComputeOwnedConcern(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -475,10 +394,7 @@ public List QueryOwnedConcern() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes @@ -488,10 +404,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedConnection")] - public List QueryOwnedConnection() - { - return this.ComputeOwnedConnection(); - } + public List ownedConnection => this.ComputeOwnedConnection(); /// /// The ConstraintUsages that are ownedUsages of this Definition. @@ -499,10 +412,7 @@ public List QueryOwnedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedConstraint")] - public List QueryOwnedConstraint() - { - return this.ComputeOwnedConstraint(); - } + public List ownedConstraint => this.ComputeOwnedConstraint(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -512,10 +422,7 @@ public List QueryOwnedConstraint() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -525,10 +432,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -536,10 +440,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -548,10 +449,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The EnumerationUsages that are ownedUsages of this Definition. @@ -559,10 +457,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List QueryOwnedEnumeration() - { - return this.ComputeOwnedEnumeration(); - } + public List ownedEnumeration => this.ComputeOwnedEnumeration(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -570,10 +465,7 @@ public List QueryOwnedEnumeration() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -583,10 +475,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The FlowUsages that are ownedUsages of this Definition. @@ -594,10 +483,7 @@ public List QueryOwnedFeatureMembership() [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedFlow")] - public List QueryOwnedFlow() - { - return this.ComputeOwnedFlow(); - } + public List ownedFlow => this.ComputeOwnedFlow(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -607,10 +493,7 @@ public List QueryOwnedFlow() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The InterfaceUsages that are ownedUsages of this Definition. @@ -618,10 +501,7 @@ public List QueryOwnedImport() [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedInterface")] - public List QueryOwnedInterface() - { - return this.ComputeOwnedInterface(); - } + public List ownedInterface => this.ComputeOwnedInterface(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -630,10 +510,7 @@ public List QueryOwnedInterface() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The ItemUsages that are ownedUsages of this Definition. @@ -641,10 +518,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedItem")] - public List QueryOwnedItem() - { - return this.ComputeOwnedItem(); - } + public List ownedItem => this.ComputeOwnedItem(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -653,10 +527,7 @@ public List QueryOwnedItem() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -667,10 +538,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The MetadataUsages that are ownedUsages of this Definition. @@ -678,10 +546,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedMetadata")] - public List QueryOwnedMetadata() - { - return this.ComputeOwnedMetadata(); - } + public List ownedMetadata => this.ComputeOwnedMetadata(); /// /// The OccurrenceUsages that are ownedUsages of this Definition. @@ -689,10 +554,7 @@ public List QueryOwnedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List QueryOwnedOccurrence() - { - return this.ComputeOwnedOccurrence(); - } + public List ownedOccurrence => this.ComputeOwnedOccurrence(); /// /// The PartUsages that are ownedUsages of this Definition. @@ -700,10 +562,7 @@ public List QueryOwnedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedPart")] - public List QueryOwnedPart() - { - return this.ComputeOwnedPart(); - } + public List ownedPart => this.ComputeOwnedPart(); /// /// The PortUsages that are ownedUsages of this Definition. @@ -711,10 +570,7 @@ public List QueryOwnedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedPort")] - public List QueryOwnedPort() - { - return this.ComputeOwnedPort(); - } + public List ownedPort => this.ComputeOwnedPort(); /// /// The ReferenceUsages that are ownedUsages of this Definition. @@ -722,10 +578,7 @@ public List QueryOwnedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedReference")] - public List QueryOwnedReference() - { - return this.ComputeOwnedReference(); - } + public List ownedReference => this.ComputeOwnedReference(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -741,10 +594,7 @@ public List QueryOwnedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedRendering")] - public List QueryOwnedRendering() - { - return this.ComputeOwnedRendering(); - } + public List ownedRendering => this.ComputeOwnedRendering(); /// /// The RequirementUsages that are ownedUsages of this Definition. @@ -752,10 +602,7 @@ public List QueryOwnedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] [Implements(implementation: "IDefinition.OwnedRequirement")] - public List QueryOwnedRequirement() - { - return this.ComputeOwnedRequirement(); - } + public List ownedRequirement => this.ComputeOwnedRequirement(); /// /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific @@ -765,10 +612,7 @@ public List QueryOwnedRequirement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The StateUsages that are ownedUsages of this Definition. @@ -776,10 +620,7 @@ public List QueryOwnedSpecialization() [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedState")] - public List QueryOwnedState() - { - return this.ComputeOwnedState(); - } + public List ownedState => this.ComputeOwnedState(); /// /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier @@ -788,10 +629,7 @@ public List QueryOwnedState() [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List QueryOwnedSubclassification() - { - return this.ComputeOwnedSubclassification(); - } + public List ownedSubclassification => this.ComputeOwnedSubclassification(); /// /// The TransitionUsages that are ownedUsages of this Definition. @@ -799,10 +637,7 @@ public List QueryOwnedSubclassification() [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedTransition")] - public List QueryOwnedTransition() - { - return this.ComputeOwnedTransition(); - } + public List ownedTransition => this.ComputeOwnedTransition(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -811,10 +646,7 @@ public List QueryOwnedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The Usages that are ownedFeatures of this Definition. @@ -823,10 +655,7 @@ public List QueryOwnedUnioning() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.OwnedUsage")] - public List QueryOwnedUsage() - { - return this.ComputeOwnedUsage(); - } + public List ownedUsage => this.ComputeOwnedUsage(); /// /// The UseCaseUsages that are ownedUsages of this Definition. @@ -834,10 +663,7 @@ public List QueryOwnedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedUseCase")] - public List QueryOwnedUseCase() - { - return this.ComputeOwnedUseCase(); - } + public List ownedUseCase => this.ComputeOwnedUseCase(); /// /// The VerificationCaseUsages that are ownedUsages of this Definition. @@ -845,10 +671,7 @@ public List QueryOwnedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List QueryOwnedVerificationCase() - { - return this.ComputeOwnedVerificationCase(); - } + public List ownedVerificationCase => this.ComputeOwnedVerificationCase(); /// /// The ViewUsages that are ownedUsages of this Definition. @@ -856,10 +679,7 @@ public List QueryOwnedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedView")] - public List QueryOwnedView() - { - return this.ComputeOwnedView(); - } + public List ownedView => this.ComputeOwnedView(); /// /// The ViewpointUsages that are ownedUsages of this Definition. @@ -867,10 +687,7 @@ public List QueryOwnedView() [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List QueryOwnedViewpoint() - { - return this.ComputeOwnedViewpoint(); - } + public List ownedViewpoint => this.ComputeOwnedViewpoint(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -878,10 +695,7 @@ public List QueryOwnedViewpoint() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -890,10 +704,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -902,10 +713,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -925,10 +733,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -938,10 +743,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -950,10 +752,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -964,10 +763,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Definition (not necessarily owned). @@ -975,10 +771,7 @@ public List QueryUnioningType() [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IDefinition.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Definition as a variation point Definition, if @@ -987,10 +780,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IDefinition.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then @@ -1000,10 +790,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IDefinition.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/OccurrenceUsage.cs b/SysML2.NET/Core/AutoGenPoco/OccurrenceUsage.cs index 7e5b2c1a..8d112701 100644 --- a/SysML2.NET/Core/AutoGenPoco/OccurrenceUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/OccurrenceUsage.cs @@ -94,10 +94,7 @@ public partial class OccurrenceUsage : IOccurrenceUsage /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -107,10 +104,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -138,10 +132,7 @@ public IFeature QueryCrossFeature() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] [Implements(implementation: "IUsage.Definition")] - public List QueryDefinition() - { - return this.ComputeDefinition(); - } + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -154,10 +145,7 @@ public List QueryDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -165,10 +153,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// The usages of this Usage that are directedFeatures. @@ -177,10 +162,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -197,10 +179,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -216,10 +195,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -229,10 +205,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -240,10 +213,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -252,20 +222,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -275,10 +239,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -286,10 +247,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// The at most one occurrenceDefinition that has isIndividual = true. @@ -297,10 +255,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public IOccurrenceDefinition QueryIndividualDefinition() - { - return this.ComputeIndividualDefinition(); - } + public IOccurrenceDefinition individualDefinition => this.ComputeIndividualDefinition(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -308,10 +263,7 @@ public IOccurrenceDefinition QueryIndividualDefinition() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -320,10 +272,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -331,10 +280,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -347,10 +293,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -374,10 +317,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -432,10 +372,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -457,10 +394,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IUsage.IsReference")] - public bool QueryIsReference() - { - return this.ComputeIsReference(); - } + public bool isReference => this.ComputeIsReference(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -488,7 +422,11 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -509,10 +447,7 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool QueryMayTimeVary() - { - return this.ComputeMayTimeVary(); - } + public bool mayTimeVary => this.ComputeMayTimeVary(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -520,10 +455,7 @@ public bool QueryMayTimeVary() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -531,10 +463,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -544,10 +473,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -557,10 +483,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ActionUsages that are nestedUsages of this Usage. @@ -568,10 +491,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List QueryNestedAction() - { - return this.ComputeNestedAction(); - } + public List nestedAction => this.ComputeNestedAction(); /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -579,10 +499,7 @@ public List QueryNestedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List QueryNestedAllocation() - { - return this.ComputeNestedAllocation(); - } + public List nestedAllocation => this.ComputeNestedAllocation(); /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -590,10 +507,7 @@ public List QueryNestedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List QueryNestedAnalysisCase() - { - return this.ComputeNestedAnalysisCase(); - } + public List nestedAnalysisCase => this.ComputeNestedAnalysisCase(); /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -601,10 +515,7 @@ public List QueryNestedAnalysisCase() [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List QueryNestedAttribute() - { - return this.ComputeNestedAttribute(); - } + public List nestedAttribute => this.ComputeNestedAttribute(); /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -612,10 +523,7 @@ public List QueryNestedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List QueryNestedCalculation() - { - return this.ComputeNestedCalculation(); - } + public List nestedCalculation => this.ComputeNestedCalculation(); /// /// The CaseUsages that are nestedUsages of this Usage. @@ -623,10 +531,7 @@ public List QueryNestedCalculation() [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List QueryNestedCase() - { - return this.ComputeNestedCase(); - } + public List nestedCase => this.ComputeNestedCase(); /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -634,10 +539,7 @@ public List QueryNestedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List QueryNestedConcern() - { - return this.ComputeNestedConcern(); - } + public List nestedConcern => this.ComputeNestedConcern(); /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -647,10 +549,7 @@ public List QueryNestedConcern() [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List QueryNestedConnection() - { - return this.ComputeNestedConnection(); - } + public List nestedConnection => this.ComputeNestedConnection(); /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -658,10 +557,7 @@ public List QueryNestedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List QueryNestedConstraint() - { - return this.ComputeNestedConstraint(); - } + public List nestedConstraint => this.ComputeNestedConstraint(); /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -669,10 +565,7 @@ public List QueryNestedConstraint() [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List QueryNestedEnumeration() - { - return this.ComputeNestedEnumeration(); - } + public List nestedEnumeration => this.ComputeNestedEnumeration(); /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -680,10 +573,7 @@ public List QueryNestedEnumeration() [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List QueryNestedFlow() - { - return this.ComputeNestedFlow(); - } + public List nestedFlow => this.ComputeNestedFlow(); /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -691,10 +581,7 @@ public List QueryNestedFlow() [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List QueryNestedInterface() - { - return this.ComputeNestedInterface(); - } + public List nestedInterface => this.ComputeNestedInterface(); /// /// The ItemUsages that are nestedUsages of this Usage. @@ -702,10 +589,7 @@ public List QueryNestedInterface() [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List QueryNestedItem() - { - return this.ComputeNestedItem(); - } + public List nestedItem => this.ComputeNestedItem(); /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -713,10 +597,7 @@ public List QueryNestedItem() [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List QueryNestedMetadata() - { - return this.ComputeNestedMetadata(); - } + public List nestedMetadata => this.ComputeNestedMetadata(); /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -724,10 +605,7 @@ public List QueryNestedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List QueryNestedOccurrence() - { - return this.ComputeNestedOccurrence(); - } + public List nestedOccurrence => this.ComputeNestedOccurrence(); /// /// The PartUsages that are nestedUsages of this Usage. @@ -735,10 +613,7 @@ public List QueryNestedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List QueryNestedPart() - { - return this.ComputeNestedPart(); - } + public List nestedPart => this.ComputeNestedPart(); /// /// The PortUsages that are nestedUsages of this Usage. @@ -746,10 +621,7 @@ public List QueryNestedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List QueryNestedPort() - { - return this.ComputeNestedPort(); - } + public List nestedPort => this.ComputeNestedPort(); /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -757,10 +629,7 @@ public List QueryNestedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List QueryNestedReference() - { - return this.ComputeNestedReference(); - } + public List nestedReference => this.ComputeNestedReference(); /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -768,10 +637,7 @@ public List QueryNestedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List QueryNestedRendering() - { - return this.ComputeNestedRendering(); - } + public List nestedRendering => this.ComputeNestedRendering(); /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -779,10 +645,7 @@ public List QueryNestedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List QueryNestedRequirement() - { - return this.ComputeNestedRequirement(); - } + public List nestedRequirement => this.ComputeNestedRequirement(); /// /// The StateUsages that are nestedUsages of this Usage. @@ -790,10 +653,7 @@ public List QueryNestedRequirement() [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List QueryNestedState() - { - return this.ComputeNestedState(); - } + public List nestedState => this.ComputeNestedState(); /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -801,10 +661,7 @@ public List QueryNestedState() [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List QueryNestedTransition() - { - return this.ComputeNestedTransition(); - } + public List nestedTransition => this.ComputeNestedTransition(); /// /// The Usages that are ownedFeatures of this Usage. @@ -813,10 +670,7 @@ public List QueryNestedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List QueryNestedUsage() - { - return this.ComputeNestedUsage(); - } + public List nestedUsage => this.ComputeNestedUsage(); /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -824,10 +678,7 @@ public List QueryNestedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List QueryNestedUseCase() - { - return this.ComputeNestedUseCase(); - } + public List nestedUseCase => this.ComputeNestedUseCase(); /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -835,10 +686,7 @@ public List QueryNestedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List QueryNestedVerificationCase() - { - return this.ComputeNestedVerificationCase(); - } + public List nestedVerificationCase => this.ComputeNestedVerificationCase(); /// /// The ViewUsages that are nestedUsages of this Usage. @@ -846,10 +694,7 @@ public List QueryNestedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List QueryNestedView() - { - return this.ComputeNestedView(); - } + public List nestedView => this.ComputeNestedView(); /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -857,10 +702,7 @@ public List QueryNestedView() [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List QueryNestedViewpoint() - { - return this.ComputeNestedViewpoint(); - } + public List nestedViewpoint => this.ComputeNestedViewpoint(); /// /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, @@ -870,10 +712,7 @@ public List QueryNestedViewpoint() [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List QueryOccurrenceDefinition() - { - return this.ComputeOccurrenceDefinition(); - } + public List occurrenceDefinition => this.ComputeOccurrenceDefinition(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -881,10 +720,7 @@ public List QueryOccurrenceDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -894,10 +730,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -906,10 +739,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -918,10 +748,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -931,10 +758,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -944,10 +768,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -955,10 +776,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -967,10 +785,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -978,10 +793,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -991,10 +803,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -1004,10 +813,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -1017,10 +823,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -1030,10 +833,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -1042,10 +842,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -1054,10 +851,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -1068,10 +862,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -1080,10 +871,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -1092,10 +880,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -1113,10 +898,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -1126,10 +908,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -1139,10 +918,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -1152,10 +928,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1164,10 +937,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1175,10 +945,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The Definition that owns this Usage (if any). @@ -1187,10 +954,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public IDefinition QueryOwningDefinition() - { - return this.ComputeOwningDefinition(); - } + public IDefinition owningDefinition => this.ComputeOwningDefinition(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1198,10 +962,7 @@ public IDefinition QueryOwningDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1210,10 +971,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1222,10 +980,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -1243,10 +998,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The Usage in which this Usage is nested (if any). @@ -1254,10 +1006,7 @@ public IType QueryOwningType() [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public IUsage QueryOwningUsage() - { - return this.ComputeOwningUsage(); - } + public IUsage owningUsage => this.ComputeOwningUsage(); /// /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If @@ -1278,10 +1027,7 @@ public IUsage QueryOwningUsage() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1291,10 +1037,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -1303,10 +1046,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1317,10 +1057,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1331,10 +1068,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1342,10 +1076,7 @@ public List QueryUnioningType() [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1354,10 +1085,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1366,10 +1094,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/OperatorExpression.cs b/SysML2.NET/Core/AutoGenPoco/OperatorExpression.cs index a243af0b..899b264d 100644 --- a/SysML2.NET/Core/AutoGenPoco/OperatorExpression.cs +++ b/SysML2.NET/Core/AutoGenPoco/OperatorExpression.cs @@ -68,10 +68,7 @@ public partial class OperatorExpression : IOperatorExpression /// [Property(xmiId: "_2022x_2_12e503d9_1739134437590_328753_108", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IInstantiationExpression.Argument")] - public List QueryArgument() - { - return this.ComputeArgument(); - } + public List argument => this.ComputeArgument(); /// /// The Behaviors that type this Step. @@ -80,10 +77,7 @@ public List QueryArgument() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IExpression.Function")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -95,10 +89,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -108,10 +99,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -141,10 +129,7 @@ public IFeature QueryCrossFeature() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -153,10 +138,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -173,10 +155,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -192,10 +171,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -205,10 +181,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -216,10 +189,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -228,20 +198,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -251,10 +215,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Function that types this Expression. @@ -262,10 +223,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [Implements(implementation: "IExpression.Function")] - public IFunction QueryFunction() - { - return this.ComputeFunction(); - } + public IFunction function => this.ComputeFunction(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -273,10 +231,7 @@ public IFunction QueryFunction() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -284,10 +239,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -296,10 +248,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -307,10 +256,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The Type that is being instantiated. @@ -318,10 +264,7 @@ public List QueryInput() [Property(xmiId: "_2022x_2_12e503d9_1739134352572_416088_80", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IInstantiationExpression.InstantiatedType")] - public IType QueryInstantiatedType() - { - return this.ComputeInstantiatedType(); - } + public IType instantiatedType => this.ComputeInstantiatedType(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -334,10 +277,7 @@ public IType QueryInstantiatedType() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -361,10 +301,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -411,10 +348,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, @@ -422,10 +356,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool QueryIsModelLevelEvaluable() - { - return this.ComputeIsModelLevelEvaluable(); - } + public bool isModelLevelEvaluable => this.ComputeIsModelLevelEvaluable(); /// /// Whether an order exists for the values of this Feature or not. @@ -475,10 +406,7 @@ public bool QueryIsModelLevelEvaluable() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -486,10 +414,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -499,10 +424,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -512,10 +434,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// An operator symbol that names a corresponding Function from one of the standard packages from the @@ -531,10 +450,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -544,10 +460,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -556,10 +469,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -568,10 +478,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -581,10 +488,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -594,10 +498,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -605,10 +506,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -617,10 +515,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -628,10 +523,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -641,10 +533,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -654,10 +543,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -667,10 +553,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -680,10 +563,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -692,10 +572,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -704,10 +581,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -718,10 +592,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -730,10 +601,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -742,10 +610,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -763,10 +628,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -776,10 +638,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -789,10 +648,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -802,10 +658,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -814,10 +667,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -825,10 +675,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -836,10 +683,7 @@ public IElement QueryOwner() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -848,10 +692,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -860,10 +701,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -881,10 +719,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -893,10 +728,7 @@ public IType QueryOwningType() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -908,10 +740,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// An output parameter of the Expression whose value is the result of the Expression. The result of an @@ -922,10 +751,7 @@ public string QueryQualifiedName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [Implements(implementation: "IExpression.Result")] - public IFeature QueryResult() - { - return this.ComputeResult(); - } + public IFeature result => this.ComputeResult(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -935,10 +761,7 @@ public IFeature QueryResult() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -947,10 +770,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -960,10 +780,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + public List type => this.ComputeType(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -974,10 +791,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/OwningMembership.cs b/SysML2.NET/Core/AutoGenPoco/OwningMembership.cs index e25df82e..9cc6b218 100644 --- a/SysML2.NET/Core/AutoGenPoco/OwningMembership.cs +++ b/SysML2.NET/Core/AutoGenPoco/OwningMembership.cs @@ -79,10 +79,7 @@ public partial class OwningMembership : IOwningMembership [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -116,10 +113,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. @@ -128,7 +122,11 @@ public bool QueryIsLibraryElement() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] [Implements(implementation: "IMembership.MemberElement")] - public IElement MemberElement { get; set; } + IElement IMembership.MemberElement + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + } /// /// The elementId of the memberElement. @@ -136,10 +134,7 @@ public bool QueryIsLibraryElement() [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] [Implements(implementation: "IMembership.MemberElementId")] - public string QueryMemberElementId() - { - return this.ComputeMemberElementId(); - } + string IMembership.memberElementId => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElementId"); /// /// The name of the memberElement relative to the membershipOwningNamespace. @@ -147,7 +142,11 @@ public string QueryMemberElementId() [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberName")] [Implements(implementation: "IMembership.MemberName")] - public string MemberName { get; set; } + string IMembership.MemberName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + } /// /// The Namespace of which the memberElement becomes a member due to this Membership. @@ -157,10 +156,7 @@ public string QueryMemberElementId() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [Implements(implementation: "IMembership.MembershipOwningNamespace")] - public INamespace QueryMembershipOwningNamespace() - { - return this.ComputeMembershipOwningNamespace(); - } + public INamespace membershipOwningNamespace => this.ComputeMembershipOwningNamespace(); /// /// The short name of the memberElement relative to the membershipOwningNamespace. @@ -168,7 +164,11 @@ public INamespace QueryMembershipOwningNamespace() [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] [Implements(implementation: "IMembership.MemberShortName")] - public string MemberShortName { get; set; } + string IMembership.MemberShortName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + } /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -178,10 +178,7 @@ public INamespace QueryMembershipOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -191,10 +188,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -202,10 +196,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this @@ -215,10 +206,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_59873_43302")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] [Implements(implementation: "IOwningMembership.OwnedMemberElement")] - public IElement QueryOwnedMemberElement() - { - return this.ComputeOwnedMemberElement(); - } + public IElement ownedMemberElement => this.ComputeOwnedMemberElement(); /// /// The elementId of the ownedMemberElement. @@ -226,10 +214,7 @@ public IElement QueryOwnedMemberElement() [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] - public string QueryOwnedMemberElementId() - { - return this.ComputeOwnedMemberElementId(); - } + public string ownedMemberElementId => this.ComputeOwnedMemberElementId(); /// /// The name of the ownedMemberElement. @@ -237,10 +222,7 @@ public string QueryOwnedMemberElementId() [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] [Implements(implementation: "IOwningMembership.OwnedMemberName")] - public string QueryOwnedMemberName() - { - return this.ComputeOwnedMemberName(); - } + public string ownedMemberName => this.ComputeOwnedMemberName(); /// /// The shortName of the ownedMemberElement. @@ -248,10 +230,7 @@ public string QueryOwnedMemberName() [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] - public string QueryOwnedMemberShortName() - { - return this.ComputeOwnedMemberShortName(); - } + public string ownedMemberShortName => this.ComputeOwnedMemberShortName(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -275,10 +254,7 @@ public string QueryOwnedMemberShortName() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -287,10 +263,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -299,10 +272,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -330,10 +300,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -341,10 +308,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + public List relatedElement => this.ComputeRelatedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -354,10 +318,7 @@ public List QueryRelatedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -366,7 +327,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembership.MembershipOwningNamespace")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -375,7 +340,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembership.MemberElement")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + set => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + } /// /// The TextualRepresentations that annotate this Element. @@ -384,10 +353,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly diff --git a/SysML2.NET/Core/AutoGenPoco/Package.cs b/SysML2.NET/Core/AutoGenPoco/Package.cs index 8c67ca4a..274e2875 100644 --- a/SysML2.NET/Core/AutoGenPoco/Package.cs +++ b/SysML2.NET/Core/AutoGenPoco/Package.cs @@ -81,10 +81,7 @@ public partial class Package : IPackage [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -101,10 +98,7 @@ public List QueryDocumentation() [Property(xmiId: "_19_0_4_12e503d9_1607033896050_867332_6206", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IPackage.FilterCondition")] - public List QueryFilterCondition() - { - return this.ComputeFilterCondition(); - } + public List filterCondition => this.ComputeFilterCondition(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -112,10 +106,7 @@ public List QueryFilterCondition() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// Whether all necessary implied Relationships have been included in the ownedRelationships of this @@ -133,10 +124,7 @@ public List QueryImportedMembership() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -144,10 +132,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -155,10 +140,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -168,10 +150,7 @@ public List QueryMembership() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -181,10 +160,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -192,10 +168,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -205,10 +178,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -217,10 +187,7 @@ public List QueryOwnedImport() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -231,10 +198,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -250,10 +214,7 @@ public List QueryOwnedMembership() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -262,10 +223,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -274,10 +232,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -297,10 +252,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -310,10 +262,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -322,10 +271,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/ParameterMembership.cs b/SysML2.NET/Core/AutoGenPoco/ParameterMembership.cs index 6b8d84b9..0dc5113f 100644 --- a/SysML2.NET/Core/AutoGenPoco/ParameterMembership.cs +++ b/SysML2.NET/Core/AutoGenPoco/ParameterMembership.cs @@ -83,10 +83,7 @@ public partial class ParameterMembership : IParameterMembership [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -120,10 +117,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. @@ -132,7 +126,11 @@ public bool QueryIsLibraryElement() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] [Implements(implementation: "IMembership.MemberElement")] - public IElement MemberElement { get; set; } + IElement Root.Namespaces.IMembership.MemberElement + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + } /// /// The elementId of the memberElement. @@ -140,10 +138,7 @@ public bool QueryIsLibraryElement() [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] [Implements(implementation: "IMembership.MemberElementId")] - public string QueryMemberElementId() - { - return this.ComputeMemberElementId(); - } + string Root.Namespaces.IMembership.memberElementId => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElementId"); /// /// The name of the memberElement relative to the membershipOwningNamespace. @@ -151,7 +146,11 @@ public string QueryMemberElementId() [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberName")] [Implements(implementation: "IMembership.MemberName")] - public string MemberName { get; set; } + string Root.Namespaces.IMembership.MemberName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + } /// /// The Namespace of which the memberElement becomes a member due to this Membership. @@ -162,10 +161,7 @@ public string QueryMemberElementId() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [RedefinedByProperty("IFeatureMembership.OwningType")] [Implements(implementation: "IMembership.MembershipOwningNamespace")] - public INamespace QueryMembershipOwningNamespace() - { - return this.ComputeMembershipOwningNamespace(); - } + INamespace Root.Namespaces.IMembership.membershipOwningNamespace => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwningType"); /// /// The short name of the memberElement relative to the membershipOwningNamespace. @@ -173,7 +169,11 @@ public INamespace QueryMembershipOwningNamespace() [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] [Implements(implementation: "IMembership.MemberShortName")] - public string MemberShortName { get; set; } + string Root.Namespaces.IMembership.MemberShortName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + } /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -183,10 +183,7 @@ public INamespace QueryMembershipOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -196,10 +193,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -207,10 +201,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this @@ -221,10 +212,7 @@ public List QueryOwnedElement() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] [RedefinedByProperty("IFeatureMembership.OwnedMemberFeature")] [Implements(implementation: "IOwningMembership.OwnedMemberElement")] - public IElement QueryOwnedMemberElement() - { - return this.ComputeOwnedMemberElement(); - } + IElement Root.Namespaces.IOwningMembership.ownedMemberElement => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwnedMemberFeature"); /// /// The elementId of the ownedMemberElement. @@ -232,10 +220,7 @@ public IElement QueryOwnedMemberElement() [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] - public string QueryOwnedMemberElementId() - { - return this.ComputeOwnedMemberElementId(); - } + public string ownedMemberElementId => this.ComputeOwnedMemberElementId(); /// /// The Feature that this FeatureMembership relates to its owningType, making it an ownedFeature of the @@ -245,10 +230,7 @@ public string QueryOwnedMemberElementId() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] [RedefinedByProperty("IParameterMembership.OwnedMemberParameter")] [Implements(implementation: "IFeatureMembership.OwnedMemberFeature")] - public IFeature QueryOwnedMemberFeature() - { - return this.ComputeOwnedMemberFeature(); - } + IFeature Core.Types.IFeatureMembership.ownedMemberFeature => throw new InvalidOperationException("Redefined by property IParameterMembership.OwnedMemberParameter"); /// /// The name of the ownedMemberElement. @@ -256,10 +238,7 @@ public IFeature QueryOwnedMemberFeature() [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] [Implements(implementation: "IOwningMembership.OwnedMemberName")] - public string QueryOwnedMemberName() - { - return this.ComputeOwnedMemberName(); - } + public string ownedMemberName => this.ComputeOwnedMemberName(); /// /// The Feature that is identified as a parameter by this ParameterMembership. @@ -267,10 +246,7 @@ public string QueryOwnedMemberName() [Property(xmiId: "_18_5_3_12e503d9_1557528016548_548098_110830", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] [Implements(implementation: "IParameterMembership.OwnedMemberParameter")] - public IFeature QueryOwnedMemberParameter() - { - return this.ComputeOwnedMemberParameter(); - } + public IFeature ownedMemberParameter => this.ComputeOwnedMemberParameter(); /// /// The shortName of the ownedMemberElement. @@ -278,10 +254,7 @@ public IFeature QueryOwnedMemberParameter() [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] - public string QueryOwnedMemberShortName() - { - return this.ComputeOwnedMemberShortName(); - } + public string ownedMemberShortName => this.ComputeOwnedMemberShortName(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -305,10 +278,7 @@ public string QueryOwnedMemberShortName() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -317,10 +287,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -329,10 +296,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -357,10 +321,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866524_738482_486")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] [Implements(implementation: "IFeatureMembership.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -372,10 +333,7 @@ public IType QueryOwningType() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -383,10 +341,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + public List relatedElement => this.ComputeRelatedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -396,10 +351,7 @@ public List QueryRelatedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -408,7 +360,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembership.MembershipOwningNamespace")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -417,7 +373,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembership.MemberElement")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + set => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + } /// /// The TextualRepresentations that annotate this Element. @@ -426,10 +386,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly diff --git a/SysML2.NET/Core/AutoGenPoco/PartDefinition.cs b/SysML2.NET/Core/AutoGenPoco/PartDefinition.cs index 3222f138..8bef58f0 100644 --- a/SysML2.NET/Core/AutoGenPoco/PartDefinition.cs +++ b/SysML2.NET/Core/AutoGenPoco/PartDefinition.cs @@ -108,10 +108,7 @@ public partial class PartDefinition : IPartDefinition /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -119,10 +116,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// The usages of this Definition that are directedFeatures. @@ -131,10 +125,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// The Documentation owned by this Element. @@ -143,10 +134,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -162,10 +150,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -173,10 +158,7 @@ public List QueryEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -185,10 +167,7 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -196,10 +175,7 @@ public List QueryFeatureMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -207,10 +183,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -219,10 +192,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -230,10 +200,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -246,10 +213,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -264,10 +228,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// Whether all necessary implied Relationships have been included in the ownedRelationships of this @@ -292,10 +253,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -323,10 +281,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -334,10 +289,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -347,10 +299,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -360,10 +309,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -371,10 +317,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ActionUsages that are ownedUsages of this Definition. @@ -382,10 +325,7 @@ public List QueryOutput() [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedAction")] - public List QueryOwnedAction() - { - return this.ComputeOwnedAction(); - } + public List ownedAction => this.ComputeOwnedAction(); /// /// The AllocationUsages that are ownedUsages of this Definition. @@ -393,10 +333,7 @@ public List QueryOwnedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedAllocation")] - public List QueryOwnedAllocation() - { - return this.ComputeOwnedAllocation(); - } + public List ownedAllocation => this.ComputeOwnedAllocation(); /// /// The AnalysisCaseUsages that are ownedUsages of this Definition. @@ -404,10 +341,7 @@ public List QueryOwnedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List QueryOwnedAnalysisCase() - { - return this.ComputeOwnedAnalysisCase(); - } + public List ownedAnalysisCase => this.ComputeOwnedAnalysisCase(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -417,10 +351,7 @@ public List QueryOwnedAnalysisCase() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The AttributeUsages that are ownedUsages of this Definition. @@ -428,10 +359,7 @@ public List QueryOwnedAnnotation() [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedAttribute")] - public List QueryOwnedAttribute() - { - return this.ComputeOwnedAttribute(); - } + public List ownedAttribute => this.ComputeOwnedAttribute(); /// /// The CalculationUsages that are ownedUsages of this Definition. @@ -439,10 +367,7 @@ public List QueryOwnedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedCalculation")] - public List QueryOwnedCalculation() - { - return this.ComputeOwnedCalculation(); - } + public List ownedCalculation => this.ComputeOwnedCalculation(); /// /// The code>CaseUsages that are ownedUsages of this Definition. @@ -450,10 +375,7 @@ public List QueryOwnedCalculation() [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] [Implements(implementation: "IDefinition.OwnedCase")] - public List QueryOwnedCase() - { - return this.ComputeOwnedCase(); - } + public List ownedCase => this.ComputeOwnedCase(); /// /// The ConcernUsages that are ownedUsages of this Definition. @@ -461,10 +383,7 @@ public List QueryOwnedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedConcern")] - public List QueryOwnedConcern() - { - return this.ComputeOwnedConcern(); - } + public List ownedConcern => this.ComputeOwnedConcern(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -473,10 +392,7 @@ public List QueryOwnedConcern() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes @@ -486,10 +402,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedConnection")] - public List QueryOwnedConnection() - { - return this.ComputeOwnedConnection(); - } + public List ownedConnection => this.ComputeOwnedConnection(); /// /// The ConstraintUsages that are ownedUsages of this Definition. @@ -497,10 +410,7 @@ public List QueryOwnedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedConstraint")] - public List QueryOwnedConstraint() - { - return this.ComputeOwnedConstraint(); - } + public List ownedConstraint => this.ComputeOwnedConstraint(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -510,10 +420,7 @@ public List QueryOwnedConstraint() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -523,10 +430,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -534,10 +438,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -546,10 +447,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The EnumerationUsages that are ownedUsages of this Definition. @@ -557,10 +455,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List QueryOwnedEnumeration() - { - return this.ComputeOwnedEnumeration(); - } + public List ownedEnumeration => this.ComputeOwnedEnumeration(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -568,10 +463,7 @@ public List QueryOwnedEnumeration() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -581,10 +473,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The FlowUsages that are ownedUsages of this Definition. @@ -592,10 +481,7 @@ public List QueryOwnedFeatureMembership() [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedFlow")] - public List QueryOwnedFlow() - { - return this.ComputeOwnedFlow(); - } + public List ownedFlow => this.ComputeOwnedFlow(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -605,10 +491,7 @@ public List QueryOwnedFlow() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The InterfaceUsages that are ownedUsages of this Definition. @@ -616,10 +499,7 @@ public List QueryOwnedImport() [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedInterface")] - public List QueryOwnedInterface() - { - return this.ComputeOwnedInterface(); - } + public List ownedInterface => this.ComputeOwnedInterface(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -628,10 +508,7 @@ public List QueryOwnedInterface() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The ItemUsages that are ownedUsages of this Definition. @@ -639,10 +516,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedItem")] - public List QueryOwnedItem() - { - return this.ComputeOwnedItem(); - } + public List ownedItem => this.ComputeOwnedItem(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -651,10 +525,7 @@ public List QueryOwnedItem() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -665,10 +536,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The MetadataUsages that are ownedUsages of this Definition. @@ -676,10 +544,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedMetadata")] - public List QueryOwnedMetadata() - { - return this.ComputeOwnedMetadata(); - } + public List ownedMetadata => this.ComputeOwnedMetadata(); /// /// The OccurrenceUsages that are ownedUsages of this Definition. @@ -687,10 +552,7 @@ public List QueryOwnedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List QueryOwnedOccurrence() - { - return this.ComputeOwnedOccurrence(); - } + public List ownedOccurrence => this.ComputeOwnedOccurrence(); /// /// The PartUsages that are ownedUsages of this Definition. @@ -698,10 +560,7 @@ public List QueryOwnedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedPart")] - public List QueryOwnedPart() - { - return this.ComputeOwnedPart(); - } + public List ownedPart => this.ComputeOwnedPart(); /// /// The PortUsages that are ownedUsages of this Definition. @@ -709,10 +568,7 @@ public List QueryOwnedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedPort")] - public List QueryOwnedPort() - { - return this.ComputeOwnedPort(); - } + public List ownedPort => this.ComputeOwnedPort(); /// /// The ReferenceUsages that are ownedUsages of this Definition. @@ -720,10 +576,7 @@ public List QueryOwnedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedReference")] - public List QueryOwnedReference() - { - return this.ComputeOwnedReference(); - } + public List ownedReference => this.ComputeOwnedReference(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -739,10 +592,7 @@ public List QueryOwnedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedRendering")] - public List QueryOwnedRendering() - { - return this.ComputeOwnedRendering(); - } + public List ownedRendering => this.ComputeOwnedRendering(); /// /// The RequirementUsages that are ownedUsages of this Definition. @@ -750,10 +600,7 @@ public List QueryOwnedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] [Implements(implementation: "IDefinition.OwnedRequirement")] - public List QueryOwnedRequirement() - { - return this.ComputeOwnedRequirement(); - } + public List ownedRequirement => this.ComputeOwnedRequirement(); /// /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific @@ -763,10 +610,7 @@ public List QueryOwnedRequirement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The StateUsages that are ownedUsages of this Definition. @@ -774,10 +618,7 @@ public List QueryOwnedSpecialization() [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedState")] - public List QueryOwnedState() - { - return this.ComputeOwnedState(); - } + public List ownedState => this.ComputeOwnedState(); /// /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier @@ -786,10 +627,7 @@ public List QueryOwnedState() [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List QueryOwnedSubclassification() - { - return this.ComputeOwnedSubclassification(); - } + public List ownedSubclassification => this.ComputeOwnedSubclassification(); /// /// The TransitionUsages that are ownedUsages of this Definition. @@ -797,10 +635,7 @@ public List QueryOwnedSubclassification() [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedTransition")] - public List QueryOwnedTransition() - { - return this.ComputeOwnedTransition(); - } + public List ownedTransition => this.ComputeOwnedTransition(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -809,10 +644,7 @@ public List QueryOwnedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The Usages that are ownedFeatures of this Definition. @@ -821,10 +653,7 @@ public List QueryOwnedUnioning() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.OwnedUsage")] - public List QueryOwnedUsage() - { - return this.ComputeOwnedUsage(); - } + public List ownedUsage => this.ComputeOwnedUsage(); /// /// The UseCaseUsages that are ownedUsages of this Definition. @@ -832,10 +661,7 @@ public List QueryOwnedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedUseCase")] - public List QueryOwnedUseCase() - { - return this.ComputeOwnedUseCase(); - } + public List ownedUseCase => this.ComputeOwnedUseCase(); /// /// The VerificationCaseUsages that are ownedUsages of this Definition. @@ -843,10 +669,7 @@ public List QueryOwnedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List QueryOwnedVerificationCase() - { - return this.ComputeOwnedVerificationCase(); - } + public List ownedVerificationCase => this.ComputeOwnedVerificationCase(); /// /// The ViewUsages that are ownedUsages of this Definition. @@ -854,10 +677,7 @@ public List QueryOwnedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedView")] - public List QueryOwnedView() - { - return this.ComputeOwnedView(); - } + public List ownedView => this.ComputeOwnedView(); /// /// The ViewpointUsages that are ownedUsages of this Definition. @@ -865,10 +685,7 @@ public List QueryOwnedView() [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List QueryOwnedViewpoint() - { - return this.ComputeOwnedViewpoint(); - } + public List ownedViewpoint => this.ComputeOwnedViewpoint(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -876,10 +693,7 @@ public List QueryOwnedViewpoint() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -888,10 +702,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -900,10 +711,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -923,10 +731,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -936,10 +741,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -948,10 +750,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -962,10 +761,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Definition (not necessarily owned). @@ -973,10 +769,7 @@ public List QueryUnioningType() [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IDefinition.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Definition as a variation point Definition, if @@ -985,10 +778,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IDefinition.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then @@ -998,10 +788,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IDefinition.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/PartUsage.cs b/SysML2.NET/Core/AutoGenPoco/PartUsage.cs index afb72e5c..a0768bec 100644 --- a/SysML2.NET/Core/AutoGenPoco/PartUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/PartUsage.cs @@ -94,10 +94,7 @@ public partial class PartUsage : IPartUsage /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -107,10 +104,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -138,10 +132,7 @@ public IFeature QueryCrossFeature() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] [Implements(implementation: "IUsage.Definition")] - public List QueryDefinition() - { - return this.ComputeDefinition(); - } + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -154,10 +145,7 @@ public List QueryDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -165,10 +153,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// The usages of this Usage that are directedFeatures. @@ -177,10 +162,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -197,10 +179,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -216,10 +195,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -229,10 +205,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -240,10 +213,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -252,20 +222,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -275,10 +239,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -286,10 +247,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// The at most one occurrenceDefinition that has isIndividual = true. @@ -297,10 +255,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public IOccurrenceDefinition QueryIndividualDefinition() - { - return this.ComputeIndividualDefinition(); - } + public IOccurrenceDefinition individualDefinition => this.ComputeIndividualDefinition(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -308,10 +263,7 @@ public IOccurrenceDefinition QueryIndividualDefinition() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -320,10 +272,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -331,10 +280,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -347,10 +293,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -374,10 +317,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -432,10 +372,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -457,10 +394,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IUsage.IsReference")] - public bool QueryIsReference() - { - return this.ComputeIsReference(); - } + public bool isReference => this.ComputeIsReference(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -488,7 +422,11 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -506,10 +444,7 @@ public bool QueryIsReference() [Property(xmiId: "_18_5_3_12e503d9_1565471361757_649736_20796", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IItemUsage.ItemDefinition")] - public List QueryItemDefinition() - { - return this.ComputeItemDefinition(); - } + public List itemDefinition => this.ComputeItemDefinition(); /// /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its @@ -522,10 +457,7 @@ public List QueryItemDefinition() [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool QueryMayTimeVary() - { - return this.ComputeMayTimeVary(); - } + public bool mayTimeVary => this.ComputeMayTimeVary(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -533,10 +465,7 @@ public bool QueryMayTimeVary() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -544,10 +473,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -557,10 +483,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -570,10 +493,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ActionUsages that are nestedUsages of this Usage. @@ -581,10 +501,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List QueryNestedAction() - { - return this.ComputeNestedAction(); - } + public List nestedAction => this.ComputeNestedAction(); /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -592,10 +509,7 @@ public List QueryNestedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List QueryNestedAllocation() - { - return this.ComputeNestedAllocation(); - } + public List nestedAllocation => this.ComputeNestedAllocation(); /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -603,10 +517,7 @@ public List QueryNestedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List QueryNestedAnalysisCase() - { - return this.ComputeNestedAnalysisCase(); - } + public List nestedAnalysisCase => this.ComputeNestedAnalysisCase(); /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -614,10 +525,7 @@ public List QueryNestedAnalysisCase() [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List QueryNestedAttribute() - { - return this.ComputeNestedAttribute(); - } + public List nestedAttribute => this.ComputeNestedAttribute(); /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -625,10 +533,7 @@ public List QueryNestedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List QueryNestedCalculation() - { - return this.ComputeNestedCalculation(); - } + public List nestedCalculation => this.ComputeNestedCalculation(); /// /// The CaseUsages that are nestedUsages of this Usage. @@ -636,10 +541,7 @@ public List QueryNestedCalculation() [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List QueryNestedCase() - { - return this.ComputeNestedCase(); - } + public List nestedCase => this.ComputeNestedCase(); /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -647,10 +549,7 @@ public List QueryNestedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List QueryNestedConcern() - { - return this.ComputeNestedConcern(); - } + public List nestedConcern => this.ComputeNestedConcern(); /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -660,10 +559,7 @@ public List QueryNestedConcern() [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List QueryNestedConnection() - { - return this.ComputeNestedConnection(); - } + public List nestedConnection => this.ComputeNestedConnection(); /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -671,10 +567,7 @@ public List QueryNestedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List QueryNestedConstraint() - { - return this.ComputeNestedConstraint(); - } + public List nestedConstraint => this.ComputeNestedConstraint(); /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -682,10 +575,7 @@ public List QueryNestedConstraint() [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List QueryNestedEnumeration() - { - return this.ComputeNestedEnumeration(); - } + public List nestedEnumeration => this.ComputeNestedEnumeration(); /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -693,10 +583,7 @@ public List QueryNestedEnumeration() [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List QueryNestedFlow() - { - return this.ComputeNestedFlow(); - } + public List nestedFlow => this.ComputeNestedFlow(); /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -704,10 +591,7 @@ public List QueryNestedFlow() [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List QueryNestedInterface() - { - return this.ComputeNestedInterface(); - } + public List nestedInterface => this.ComputeNestedInterface(); /// /// The ItemUsages that are nestedUsages of this Usage. @@ -715,10 +599,7 @@ public List QueryNestedInterface() [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List QueryNestedItem() - { - return this.ComputeNestedItem(); - } + public List nestedItem => this.ComputeNestedItem(); /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -726,10 +607,7 @@ public List QueryNestedItem() [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List QueryNestedMetadata() - { - return this.ComputeNestedMetadata(); - } + public List nestedMetadata => this.ComputeNestedMetadata(); /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -737,10 +615,7 @@ public List QueryNestedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List QueryNestedOccurrence() - { - return this.ComputeNestedOccurrence(); - } + public List nestedOccurrence => this.ComputeNestedOccurrence(); /// /// The PartUsages that are nestedUsages of this Usage. @@ -748,10 +623,7 @@ public List QueryNestedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List QueryNestedPart() - { - return this.ComputeNestedPart(); - } + public List nestedPart => this.ComputeNestedPart(); /// /// The PortUsages that are nestedUsages of this Usage. @@ -759,10 +631,7 @@ public List QueryNestedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List QueryNestedPort() - { - return this.ComputeNestedPort(); - } + public List nestedPort => this.ComputeNestedPort(); /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -770,10 +639,7 @@ public List QueryNestedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List QueryNestedReference() - { - return this.ComputeNestedReference(); - } + public List nestedReference => this.ComputeNestedReference(); /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -781,10 +647,7 @@ public List QueryNestedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List QueryNestedRendering() - { - return this.ComputeNestedRendering(); - } + public List nestedRendering => this.ComputeNestedRendering(); /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -792,10 +655,7 @@ public List QueryNestedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List QueryNestedRequirement() - { - return this.ComputeNestedRequirement(); - } + public List nestedRequirement => this.ComputeNestedRequirement(); /// /// The StateUsages that are nestedUsages of this Usage. @@ -803,10 +663,7 @@ public List QueryNestedRequirement() [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List QueryNestedState() - { - return this.ComputeNestedState(); - } + public List nestedState => this.ComputeNestedState(); /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -814,10 +671,7 @@ public List QueryNestedState() [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List QueryNestedTransition() - { - return this.ComputeNestedTransition(); - } + public List nestedTransition => this.ComputeNestedTransition(); /// /// The Usages that are ownedFeatures of this Usage. @@ -826,10 +680,7 @@ public List QueryNestedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List QueryNestedUsage() - { - return this.ComputeNestedUsage(); - } + public List nestedUsage => this.ComputeNestedUsage(); /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -837,10 +688,7 @@ public List QueryNestedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List QueryNestedUseCase() - { - return this.ComputeNestedUseCase(); - } + public List nestedUseCase => this.ComputeNestedUseCase(); /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -848,10 +696,7 @@ public List QueryNestedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List QueryNestedVerificationCase() - { - return this.ComputeNestedVerificationCase(); - } + public List nestedVerificationCase => this.ComputeNestedVerificationCase(); /// /// The ViewUsages that are nestedUsages of this Usage. @@ -859,10 +704,7 @@ public List QueryNestedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List QueryNestedView() - { - return this.ComputeNestedView(); - } + public List nestedView => this.ComputeNestedView(); /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -870,10 +712,7 @@ public List QueryNestedView() [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List QueryNestedViewpoint() - { - return this.ComputeNestedViewpoint(); - } + public List nestedViewpoint => this.ComputeNestedViewpoint(); /// /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, @@ -883,10 +722,7 @@ public List QueryNestedViewpoint() [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List QueryOccurrenceDefinition() - { - return this.ComputeOccurrenceDefinition(); - } + public List occurrenceDefinition => this.ComputeOccurrenceDefinition(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -894,10 +730,7 @@ public List QueryOccurrenceDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -907,10 +740,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -919,10 +749,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -931,10 +758,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -944,10 +768,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -957,10 +778,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -968,10 +786,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -980,10 +795,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -991,10 +803,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -1004,10 +813,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -1017,10 +823,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -1030,10 +833,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -1043,10 +843,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -1055,10 +852,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -1067,10 +861,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -1081,10 +872,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -1093,10 +881,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -1105,10 +890,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -1126,10 +908,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -1139,10 +918,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -1152,10 +928,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -1165,10 +938,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1177,10 +947,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1188,10 +955,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The Definition that owns this Usage (if any). @@ -1200,10 +964,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public IDefinition QueryOwningDefinition() - { - return this.ComputeOwningDefinition(); - } + public IDefinition owningDefinition => this.ComputeOwningDefinition(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1211,10 +972,7 @@ public IDefinition QueryOwningDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1223,10 +981,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1235,10 +990,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -1256,10 +1008,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The Usage in which this Usage is nested (if any). @@ -1267,10 +1016,7 @@ public IType QueryOwningType() [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public IUsage QueryOwningUsage() - { - return this.ComputeOwningUsage(); - } + public IUsage owningUsage => this.ComputeOwningUsage(); /// /// The itemDefinitions of this PartUsage that are PartDefinitions. @@ -1278,10 +1024,7 @@ public IUsage QueryOwningUsage() [Property(xmiId: "_19_0_2_12e503d9_1591475180488_929065_121", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565471361757_649736_20796")] [Implements(implementation: "IPartUsage.PartDefinition")] - public List QueryPartDefinition() - { - return this.ComputePartDefinition(); - } + public List partDefinition => this.ComputePartDefinition(); /// /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If @@ -1302,10 +1045,7 @@ public List QueryPartDefinition() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1315,10 +1055,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -1327,10 +1064,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1341,10 +1075,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1355,10 +1086,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1366,10 +1094,7 @@ public List QueryUnioningType() [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1378,10 +1103,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1390,10 +1112,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/PayloadFeature.cs b/SysML2.NET/Core/AutoGenPoco/PayloadFeature.cs index 8463c44b..12a0ab72 100644 --- a/SysML2.NET/Core/AutoGenPoco/PayloadFeature.cs +++ b/SysML2.NET/Core/AutoGenPoco/PayloadFeature.cs @@ -68,10 +68,7 @@ public partial class PayloadFeature : IPayloadFeature /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -81,10 +78,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -114,10 +108,7 @@ public IFeature QueryCrossFeature() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -125,10 +116,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -145,10 +133,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -164,10 +149,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -177,10 +159,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -188,10 +167,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -200,20 +176,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -223,10 +193,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -234,10 +201,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -245,10 +209,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -257,10 +218,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -268,10 +226,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -284,10 +239,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -311,10 +263,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -361,10 +310,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -414,10 +360,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -425,10 +368,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -438,10 +378,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -451,10 +388,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -462,10 +396,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -475,10 +406,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -487,10 +415,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -499,10 +424,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -512,10 +434,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -525,10 +444,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -536,10 +452,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -548,10 +461,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -559,10 +469,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -572,10 +479,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -585,10 +489,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -598,10 +499,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -611,10 +509,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -623,10 +518,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -635,10 +527,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -649,10 +538,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -661,10 +547,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -673,10 +556,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -694,10 +574,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -707,10 +584,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -720,10 +594,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -733,10 +604,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -745,10 +613,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -756,10 +621,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -767,10 +629,7 @@ public IElement QueryOwner() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -779,10 +638,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -791,10 +647,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -812,10 +665,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -827,10 +677,7 @@ public IType QueryOwningType() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -840,10 +687,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -852,10 +696,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -865,10 +706,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + public List type => this.ComputeType(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -879,10 +717,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/PerformActionUsage.cs b/SysML2.NET/Core/AutoGenPoco/PerformActionUsage.cs index d6b0b349..f15c5814 100644 --- a/SysML2.NET/Core/AutoGenPoco/PerformActionUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/PerformActionUsage.cs @@ -87,10 +87,7 @@ public partial class PerformActionUsage : IPerformActionUsage [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IActionUsage.ActionDefinition")] - public List QueryActionDefinition() - { - return this.ComputeActionDefinition(); - } + public List actionDefinition => this.ComputeActionDefinition(); /// /// Various alternative identifiers for this Element. Generally, these will be set by tools. @@ -106,10 +103,7 @@ public List QueryActionDefinition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IActionUsage.ActionDefinition")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -121,10 +115,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -134,10 +125,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -165,10 +153,7 @@ public IFeature QueryCrossFeature() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] [Implements(implementation: "IUsage.Definition")] - public List QueryDefinition() - { - return this.ComputeDefinition(); - } + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -181,10 +166,7 @@ public List QueryDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -193,10 +175,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// The usages of this Usage that are directedFeatures. @@ -205,10 +184,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -225,10 +201,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -244,10 +217,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -257,10 +227,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The OccurrenceUsage referenced as an event by this EventOccurrenceUsage. It is the referenceFeature @@ -270,10 +237,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_19_0_4_12e503d9_1622831790393_676695_195", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IPerformActionUsage.PerformedAction")] [Implements(implementation: "IEventOccurrenceUsage.EventOccurrence")] - public IOccurrenceUsage QueryEventOccurrence() - { - return this.ComputeEventOccurrence(); - } + IOccurrenceUsage Systems.Occurrences.IEventOccurrenceUsage.eventOccurrence => throw new InvalidOperationException("Redefined by property IPerformActionUsage.PerformedAction"); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -281,10 +245,7 @@ public IOccurrenceUsage QueryEventOccurrence() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -293,20 +254,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -316,10 +271,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -327,10 +279,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// The at most one occurrenceDefinition that has isIndividual = true. @@ -338,10 +287,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public IOccurrenceDefinition QueryIndividualDefinition() - { - return this.ComputeIndividualDefinition(); - } + public IOccurrenceDefinition individualDefinition => this.ComputeIndividualDefinition(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -349,10 +295,7 @@ public IOccurrenceDefinition QueryIndividualDefinition() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -361,10 +304,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -372,10 +312,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -388,10 +325,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -415,10 +349,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -473,10 +404,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -499,10 +427,7 @@ public bool QueryIsLibraryElement() [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IEventOccurrenceUsage.IsReference")] [Implements(implementation: "IUsage.IsReference")] - bool Systems.DefinitionAndUsage.IUsage.QueryIsReference() - { - return this.ComputeIsReference(); - } + bool Systems.DefinitionAndUsage.IUsage.isReference => throw new InvalidOperationException("Redefined by property IEventOccurrenceUsage.IsReference"); /// /// Always true for an EventOccurrenceUsage. @@ -510,10 +435,7 @@ bool Systems.DefinitionAndUsage.IUsage.QueryIsReference() [Property(xmiId: "_19_0_4_12e503d9_1672526906017_786343_306", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: "true")] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1624035114787_488767_41423")] [Implements(implementation: "IEventOccurrenceUsage.IsReference")] - bool Systems.Occurrences.IEventOccurrenceUsage.QueryIsReference() - { - return this.ComputeIsReference(); - } + public bool isReference => this.ComputeIsReference(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -541,7 +463,11 @@ bool Systems.Occurrences.IEventOccurrenceUsage.QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -562,10 +488,7 @@ bool Systems.Occurrences.IEventOccurrenceUsage.QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool QueryMayTimeVary() - { - return this.ComputeMayTimeVary(); - } + public bool mayTimeVary => this.ComputeMayTimeVary(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -573,10 +496,7 @@ public bool QueryMayTimeVary() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -584,10 +504,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -597,10 +514,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -610,10 +524,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ActionUsages that are nestedUsages of this Usage. @@ -621,10 +532,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List QueryNestedAction() - { - return this.ComputeNestedAction(); - } + public List nestedAction => this.ComputeNestedAction(); /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -632,10 +540,7 @@ public List QueryNestedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List QueryNestedAllocation() - { - return this.ComputeNestedAllocation(); - } + public List nestedAllocation => this.ComputeNestedAllocation(); /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -643,10 +548,7 @@ public List QueryNestedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List QueryNestedAnalysisCase() - { - return this.ComputeNestedAnalysisCase(); - } + public List nestedAnalysisCase => this.ComputeNestedAnalysisCase(); /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -654,10 +556,7 @@ public List QueryNestedAnalysisCase() [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List QueryNestedAttribute() - { - return this.ComputeNestedAttribute(); - } + public List nestedAttribute => this.ComputeNestedAttribute(); /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -665,10 +564,7 @@ public List QueryNestedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List QueryNestedCalculation() - { - return this.ComputeNestedCalculation(); - } + public List nestedCalculation => this.ComputeNestedCalculation(); /// /// The CaseUsages that are nestedUsages of this Usage. @@ -676,10 +572,7 @@ public List QueryNestedCalculation() [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List QueryNestedCase() - { - return this.ComputeNestedCase(); - } + public List nestedCase => this.ComputeNestedCase(); /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -687,10 +580,7 @@ public List QueryNestedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List QueryNestedConcern() - { - return this.ComputeNestedConcern(); - } + public List nestedConcern => this.ComputeNestedConcern(); /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -700,10 +590,7 @@ public List QueryNestedConcern() [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List QueryNestedConnection() - { - return this.ComputeNestedConnection(); - } + public List nestedConnection => this.ComputeNestedConnection(); /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -711,10 +598,7 @@ public List QueryNestedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List QueryNestedConstraint() - { - return this.ComputeNestedConstraint(); - } + public List nestedConstraint => this.ComputeNestedConstraint(); /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -722,10 +606,7 @@ public List QueryNestedConstraint() [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List QueryNestedEnumeration() - { - return this.ComputeNestedEnumeration(); - } + public List nestedEnumeration => this.ComputeNestedEnumeration(); /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -733,10 +614,7 @@ public List QueryNestedEnumeration() [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List QueryNestedFlow() - { - return this.ComputeNestedFlow(); - } + public List nestedFlow => this.ComputeNestedFlow(); /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -744,10 +622,7 @@ public List QueryNestedFlow() [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List QueryNestedInterface() - { - return this.ComputeNestedInterface(); - } + public List nestedInterface => this.ComputeNestedInterface(); /// /// The ItemUsages that are nestedUsages of this Usage. @@ -755,10 +630,7 @@ public List QueryNestedInterface() [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List QueryNestedItem() - { - return this.ComputeNestedItem(); - } + public List nestedItem => this.ComputeNestedItem(); /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -766,10 +638,7 @@ public List QueryNestedItem() [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List QueryNestedMetadata() - { - return this.ComputeNestedMetadata(); - } + public List nestedMetadata => this.ComputeNestedMetadata(); /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -777,10 +646,7 @@ public List QueryNestedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List QueryNestedOccurrence() - { - return this.ComputeNestedOccurrence(); - } + public List nestedOccurrence => this.ComputeNestedOccurrence(); /// /// The PartUsages that are nestedUsages of this Usage. @@ -788,10 +654,7 @@ public List QueryNestedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List QueryNestedPart() - { - return this.ComputeNestedPart(); - } + public List nestedPart => this.ComputeNestedPart(); /// /// The PortUsages that are nestedUsages of this Usage. @@ -799,10 +662,7 @@ public List QueryNestedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List QueryNestedPort() - { - return this.ComputeNestedPort(); - } + public List nestedPort => this.ComputeNestedPort(); /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -810,10 +670,7 @@ public List QueryNestedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List QueryNestedReference() - { - return this.ComputeNestedReference(); - } + public List nestedReference => this.ComputeNestedReference(); /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -821,10 +678,7 @@ public List QueryNestedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List QueryNestedRendering() - { - return this.ComputeNestedRendering(); - } + public List nestedRendering => this.ComputeNestedRendering(); /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -832,10 +686,7 @@ public List QueryNestedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List QueryNestedRequirement() - { - return this.ComputeNestedRequirement(); - } + public List nestedRequirement => this.ComputeNestedRequirement(); /// /// The StateUsages that are nestedUsages of this Usage. @@ -843,10 +694,7 @@ public List QueryNestedRequirement() [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List QueryNestedState() - { - return this.ComputeNestedState(); - } + public List nestedState => this.ComputeNestedState(); /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -854,10 +702,7 @@ public List QueryNestedState() [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List QueryNestedTransition() - { - return this.ComputeNestedTransition(); - } + public List nestedTransition => this.ComputeNestedTransition(); /// /// The Usages that are ownedFeatures of this Usage. @@ -866,10 +711,7 @@ public List QueryNestedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List QueryNestedUsage() - { - return this.ComputeNestedUsage(); - } + public List nestedUsage => this.ComputeNestedUsage(); /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -877,10 +719,7 @@ public List QueryNestedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List QueryNestedUseCase() - { - return this.ComputeNestedUseCase(); - } + public List nestedUseCase => this.ComputeNestedUseCase(); /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -888,10 +727,7 @@ public List QueryNestedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List QueryNestedVerificationCase() - { - return this.ComputeNestedVerificationCase(); - } + public List nestedVerificationCase => this.ComputeNestedVerificationCase(); /// /// The ViewUsages that are nestedUsages of this Usage. @@ -899,10 +735,7 @@ public List QueryNestedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List QueryNestedView() - { - return this.ComputeNestedView(); - } + public List nestedView => this.ComputeNestedView(); /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -910,10 +743,7 @@ public List QueryNestedView() [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List QueryNestedViewpoint() - { - return this.ComputeNestedViewpoint(); - } + public List nestedViewpoint => this.ComputeNestedViewpoint(); /// /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, @@ -924,10 +754,7 @@ public List QueryNestedViewpoint() [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] [RedefinedByProperty("IActionUsage.ActionDefinition")] [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List QueryOccurrenceDefinition() - { - return this.ComputeOccurrenceDefinition(); - } + List Systems.Occurrences.IOccurrenceUsage.occurrenceDefinition => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -935,10 +762,7 @@ public List QueryOccurrenceDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -948,10 +772,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -960,10 +781,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -972,10 +790,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -985,10 +800,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -998,10 +810,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -1009,10 +818,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -1021,10 +827,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -1032,10 +835,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -1045,10 +845,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -1058,10 +855,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -1071,10 +865,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -1084,10 +875,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -1096,10 +884,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -1108,10 +893,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -1122,10 +904,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -1134,10 +913,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -1146,10 +922,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -1167,10 +940,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -1180,10 +950,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -1193,10 +960,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -1206,10 +970,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1218,10 +979,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1229,10 +987,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The Definition that owns this Usage (if any). @@ -1241,10 +996,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public IDefinition QueryOwningDefinition() - { - return this.ComputeOwningDefinition(); - } + public IDefinition owningDefinition => this.ComputeOwningDefinition(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1252,10 +1004,7 @@ public IDefinition QueryOwningDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1264,10 +1013,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1276,10 +1022,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -1297,10 +1040,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The Usage in which this Usage is nested (if any). @@ -1308,10 +1048,7 @@ public IType QueryOwningType() [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public IUsage QueryOwningUsage() - { - return this.ComputeOwningUsage(); - } + public IUsage owningUsage => this.ComputeOwningUsage(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -1320,10 +1057,7 @@ public IUsage QueryOwningUsage() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The ActionUsage to be performed by this PerformedActionUsage. It is the eventOccurrence of the @@ -1332,10 +1066,7 @@ public List QueryParameter() [Property(xmiId: "_19_0_2_12e503d9_1567740791820_867719_18017", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1622831790393_676695_195")] [Implements(implementation: "IPerformActionUsage.PerformedAction")] - public IActionUsage QueryPerformedAction() - { - return this.ComputePerformedAction(); - } + public IActionUsage performedAction => this.ComputePerformedAction(); /// /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If @@ -1356,10 +1087,7 @@ public IActionUsage QueryPerformedAction() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1369,10 +1097,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -1381,10 +1106,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1395,10 +1117,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1409,10 +1128,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1420,10 +1136,7 @@ public List QueryUnioningType() [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1432,10 +1145,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1444,10 +1154,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/PortConjugation.cs b/SysML2.NET/Core/AutoGenPoco/PortConjugation.cs index 46dbff93..2a382c91 100644 --- a/SysML2.NET/Core/AutoGenPoco/PortConjugation.cs +++ b/SysML2.NET/Core/AutoGenPoco/PortConjugation.cs @@ -65,10 +65,7 @@ public partial class PortConjugation : IPortConjugation [Property(xmiId: "_19_0_2_12e503d9_1575484344899_880331_946", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1575482646809_778895_441")] [Implements(implementation: "IPortConjugation.ConjugatedPortDefinition")] - public IConjugatedPortDefinition QueryConjugatedPortDefinition() - { - return this.ComputeConjugatedPortDefinition(); - } + public IConjugatedPortDefinition conjugatedPortDefinition => this.ComputeConjugatedPortDefinition(); /// /// The Type that is the result of applying Conjugation to the originalType. @@ -102,10 +99,7 @@ public IConjugatedPortDefinition QueryConjugatedPortDefinition() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -139,10 +133,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -152,10 +143,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The PortDefinition being conjugated. @@ -172,7 +160,11 @@ public string QueryName() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [RedefinedByProperty("IPortConjugation.OriginalPortDefinition")] [Implements(implementation: "IConjugation.OriginalType")] - public IType OriginalType { get; set; } + IType Core.Types.IConjugation.OriginalType + { + get => throw new InvalidOperationException("Redefined by property IPortConjugation.OriginalPortDefinition"); + set => throw new InvalidOperationException("Redefined by property IPortConjugation.OriginalPortDefinition"); + } /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -182,10 +174,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -193,10 +182,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -220,10 +206,7 @@ public List QueryOwnedElement() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -232,10 +215,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -244,10 +224,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -273,10 +250,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] [RedefinedByProperty("IPortConjugation.ConjugatedPortDefinition")] [Implements(implementation: "IConjugation.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + IType Core.Types.IConjugation.owningType => throw new InvalidOperationException("Redefined by property IPortConjugation.ConjugatedPortDefinition"); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -288,10 +262,7 @@ public IType QueryOwningType() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -299,10 +270,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + public List relatedElement => this.ComputeRelatedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -312,10 +280,7 @@ public List QueryRelatedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -324,7 +289,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IConjugation.ConjugatedType")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IConjugation.ConjugatedType"); + set => throw new InvalidOperationException("Redefined by property IConjugation.ConjugatedType"); + } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -333,7 +302,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IConjugation.OriginalType")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IConjugation.OriginalType"); + set => throw new InvalidOperationException("Redefined by property IConjugation.OriginalType"); + } /// /// The TextualRepresentations that annotate this Element. @@ -342,10 +315,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/PortDefinition.cs b/SysML2.NET/Core/AutoGenPoco/PortDefinition.cs index 5837c931..f36b0fc4 100644 --- a/SysML2.NET/Core/AutoGenPoco/PortDefinition.cs +++ b/SysML2.NET/Core/AutoGenPoco/PortDefinition.cs @@ -87,10 +87,7 @@ public partial class PortDefinition : IPortDefinition [Property(xmiId: "_19_0_2_12e503d9_1575484364015_206236_989", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IPortDefinition.ConjugatedPortDefinition")] - public IConjugatedPortDefinition QueryConjugatedPortDefinition() - { - return this.ComputeConjugatedPortDefinition(); - } + public IConjugatedPortDefinition conjugatedPortDefinition => this.ComputeConjugatedPortDefinition(); /// /// The declared name of this Element. @@ -120,10 +117,7 @@ public IConjugatedPortDefinition QueryConjugatedPortDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -131,10 +125,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// The usages of this Definition that are directedFeatures. @@ -143,10 +134,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// The Documentation owned by this Element. @@ -155,10 +143,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -174,10 +159,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -185,10 +167,7 @@ public List QueryEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -197,10 +176,7 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -208,10 +184,7 @@ public List QueryFeatureMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -219,10 +192,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -231,10 +201,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -242,10 +209,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -258,10 +222,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -276,10 +237,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// Whether all necessary implied Relationships have been included in the ownedRelationships of this @@ -304,10 +262,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -335,10 +290,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -346,10 +298,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -359,10 +308,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -372,10 +318,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -383,10 +326,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ActionUsages that are ownedUsages of this Definition. @@ -394,10 +334,7 @@ public List QueryOutput() [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedAction")] - public List QueryOwnedAction() - { - return this.ComputeOwnedAction(); - } + public List ownedAction => this.ComputeOwnedAction(); /// /// The AllocationUsages that are ownedUsages of this Definition. @@ -405,10 +342,7 @@ public List QueryOwnedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedAllocation")] - public List QueryOwnedAllocation() - { - return this.ComputeOwnedAllocation(); - } + public List ownedAllocation => this.ComputeOwnedAllocation(); /// /// The AnalysisCaseUsages that are ownedUsages of this Definition. @@ -416,10 +350,7 @@ public List QueryOwnedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List QueryOwnedAnalysisCase() - { - return this.ComputeOwnedAnalysisCase(); - } + public List ownedAnalysisCase => this.ComputeOwnedAnalysisCase(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -429,10 +360,7 @@ public List QueryOwnedAnalysisCase() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The AttributeUsages that are ownedUsages of this Definition. @@ -440,10 +368,7 @@ public List QueryOwnedAnnotation() [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedAttribute")] - public List QueryOwnedAttribute() - { - return this.ComputeOwnedAttribute(); - } + public List ownedAttribute => this.ComputeOwnedAttribute(); /// /// The CalculationUsages that are ownedUsages of this Definition. @@ -451,10 +376,7 @@ public List QueryOwnedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedCalculation")] - public List QueryOwnedCalculation() - { - return this.ComputeOwnedCalculation(); - } + public List ownedCalculation => this.ComputeOwnedCalculation(); /// /// The code>CaseUsages that are ownedUsages of this Definition. @@ -462,10 +384,7 @@ public List QueryOwnedCalculation() [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] [Implements(implementation: "IDefinition.OwnedCase")] - public List QueryOwnedCase() - { - return this.ComputeOwnedCase(); - } + public List ownedCase => this.ComputeOwnedCase(); /// /// The ConcernUsages that are ownedUsages of this Definition. @@ -473,10 +392,7 @@ public List QueryOwnedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedConcern")] - public List QueryOwnedConcern() - { - return this.ComputeOwnedConcern(); - } + public List ownedConcern => this.ComputeOwnedConcern(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -485,10 +401,7 @@ public List QueryOwnedConcern() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes @@ -498,10 +411,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedConnection")] - public List QueryOwnedConnection() - { - return this.ComputeOwnedConnection(); - } + public List ownedConnection => this.ComputeOwnedConnection(); /// /// The ConstraintUsages that are ownedUsages of this Definition. @@ -509,10 +419,7 @@ public List QueryOwnedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedConstraint")] - public List QueryOwnedConstraint() - { - return this.ComputeOwnedConstraint(); - } + public List ownedConstraint => this.ComputeOwnedConstraint(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -522,10 +429,7 @@ public List QueryOwnedConstraint() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -535,10 +439,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -546,10 +447,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -558,10 +456,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The EnumerationUsages that are ownedUsages of this Definition. @@ -569,10 +464,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List QueryOwnedEnumeration() - { - return this.ComputeOwnedEnumeration(); - } + public List ownedEnumeration => this.ComputeOwnedEnumeration(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -580,10 +472,7 @@ public List QueryOwnedEnumeration() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -593,10 +482,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The FlowUsages that are ownedUsages of this Definition. @@ -604,10 +490,7 @@ public List QueryOwnedFeatureMembership() [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedFlow")] - public List QueryOwnedFlow() - { - return this.ComputeOwnedFlow(); - } + public List ownedFlow => this.ComputeOwnedFlow(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -617,10 +500,7 @@ public List QueryOwnedFlow() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The InterfaceUsages that are ownedUsages of this Definition. @@ -628,10 +508,7 @@ public List QueryOwnedImport() [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedInterface")] - public List QueryOwnedInterface() - { - return this.ComputeOwnedInterface(); - } + public List ownedInterface => this.ComputeOwnedInterface(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -640,10 +517,7 @@ public List QueryOwnedInterface() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The ItemUsages that are ownedUsages of this Definition. @@ -651,10 +525,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedItem")] - public List QueryOwnedItem() - { - return this.ComputeOwnedItem(); - } + public List ownedItem => this.ComputeOwnedItem(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -663,10 +534,7 @@ public List QueryOwnedItem() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -677,10 +545,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The MetadataUsages that are ownedUsages of this Definition. @@ -688,10 +553,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedMetadata")] - public List QueryOwnedMetadata() - { - return this.ComputeOwnedMetadata(); - } + public List ownedMetadata => this.ComputeOwnedMetadata(); /// /// The OccurrenceUsages that are ownedUsages of this Definition. @@ -699,10 +561,7 @@ public List QueryOwnedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List QueryOwnedOccurrence() - { - return this.ComputeOwnedOccurrence(); - } + public List ownedOccurrence => this.ComputeOwnedOccurrence(); /// /// The PartUsages that are ownedUsages of this Definition. @@ -710,10 +569,7 @@ public List QueryOwnedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedPart")] - public List QueryOwnedPart() - { - return this.ComputeOwnedPart(); - } + public List ownedPart => this.ComputeOwnedPart(); /// /// The PortUsages that are ownedUsages of this Definition. @@ -721,10 +577,7 @@ public List QueryOwnedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedPort")] - public List QueryOwnedPort() - { - return this.ComputeOwnedPort(); - } + public List ownedPort => this.ComputeOwnedPort(); /// /// The ReferenceUsages that are ownedUsages of this Definition. @@ -732,10 +585,7 @@ public List QueryOwnedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedReference")] - public List QueryOwnedReference() - { - return this.ComputeOwnedReference(); - } + public List ownedReference => this.ComputeOwnedReference(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -751,10 +601,7 @@ public List QueryOwnedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedRendering")] - public List QueryOwnedRendering() - { - return this.ComputeOwnedRendering(); - } + public List ownedRendering => this.ComputeOwnedRendering(); /// /// The RequirementUsages that are ownedUsages of this Definition. @@ -762,10 +609,7 @@ public List QueryOwnedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] [Implements(implementation: "IDefinition.OwnedRequirement")] - public List QueryOwnedRequirement() - { - return this.ComputeOwnedRequirement(); - } + public List ownedRequirement => this.ComputeOwnedRequirement(); /// /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific @@ -775,10 +619,7 @@ public List QueryOwnedRequirement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The StateUsages that are ownedUsages of this Definition. @@ -786,10 +627,7 @@ public List QueryOwnedSpecialization() [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedState")] - public List QueryOwnedState() - { - return this.ComputeOwnedState(); - } + public List ownedState => this.ComputeOwnedState(); /// /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier @@ -798,10 +636,7 @@ public List QueryOwnedState() [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List QueryOwnedSubclassification() - { - return this.ComputeOwnedSubclassification(); - } + public List ownedSubclassification => this.ComputeOwnedSubclassification(); /// /// The TransitionUsages that are ownedUsages of this Definition. @@ -809,10 +644,7 @@ public List QueryOwnedSubclassification() [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedTransition")] - public List QueryOwnedTransition() - { - return this.ComputeOwnedTransition(); - } + public List ownedTransition => this.ComputeOwnedTransition(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -821,10 +653,7 @@ public List QueryOwnedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The Usages that are ownedFeatures of this Definition. @@ -833,10 +662,7 @@ public List QueryOwnedUnioning() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.OwnedUsage")] - public List QueryOwnedUsage() - { - return this.ComputeOwnedUsage(); - } + public List ownedUsage => this.ComputeOwnedUsage(); /// /// The UseCaseUsages that are ownedUsages of this Definition. @@ -844,10 +670,7 @@ public List QueryOwnedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedUseCase")] - public List QueryOwnedUseCase() - { - return this.ComputeOwnedUseCase(); - } + public List ownedUseCase => this.ComputeOwnedUseCase(); /// /// The VerificationCaseUsages that are ownedUsages of this Definition. @@ -855,10 +678,7 @@ public List QueryOwnedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List QueryOwnedVerificationCase() - { - return this.ComputeOwnedVerificationCase(); - } + public List ownedVerificationCase => this.ComputeOwnedVerificationCase(); /// /// The ViewUsages that are ownedUsages of this Definition. @@ -866,10 +686,7 @@ public List QueryOwnedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedView")] - public List QueryOwnedView() - { - return this.ComputeOwnedView(); - } + public List ownedView => this.ComputeOwnedView(); /// /// The ViewpointUsages that are ownedUsages of this Definition. @@ -877,10 +694,7 @@ public List QueryOwnedView() [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List QueryOwnedViewpoint() - { - return this.ComputeOwnedViewpoint(); - } + public List ownedViewpoint => this.ComputeOwnedViewpoint(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -888,10 +702,7 @@ public List QueryOwnedViewpoint() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -900,10 +711,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -912,10 +720,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -935,10 +740,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -948,10 +750,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -960,10 +759,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -974,10 +770,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Definition (not necessarily owned). @@ -985,10 +778,7 @@ public List QueryUnioningType() [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IDefinition.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Definition as a variation point Definition, if @@ -997,10 +787,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IDefinition.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then @@ -1010,10 +797,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IDefinition.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/PortUsage.cs b/SysML2.NET/Core/AutoGenPoco/PortUsage.cs index ff07b6ae..371c3740 100644 --- a/SysML2.NET/Core/AutoGenPoco/PortUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/PortUsage.cs @@ -92,10 +92,7 @@ public partial class PortUsage : IPortUsage /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -105,10 +102,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -136,10 +130,7 @@ public IFeature QueryCrossFeature() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] [Implements(implementation: "IUsage.Definition")] - public List QueryDefinition() - { - return this.ComputeDefinition(); - } + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -152,10 +143,7 @@ public List QueryDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -163,10 +151,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// The usages of this Usage that are directedFeatures. @@ -175,10 +160,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -195,10 +177,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -214,10 +193,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -227,10 +203,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -238,10 +211,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -250,20 +220,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -273,10 +237,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -284,10 +245,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// The at most one occurrenceDefinition that has isIndividual = true. @@ -295,10 +253,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public IOccurrenceDefinition QueryIndividualDefinition() - { - return this.ComputeIndividualDefinition(); - } + public IOccurrenceDefinition individualDefinition => this.ComputeIndividualDefinition(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -306,10 +261,7 @@ public IOccurrenceDefinition QueryIndividualDefinition() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -318,10 +270,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -329,10 +278,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -345,10 +291,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -372,10 +315,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -430,10 +370,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -455,10 +392,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IUsage.IsReference")] - public bool QueryIsReference() - { - return this.ComputeIsReference(); - } + public bool isReference => this.ComputeIsReference(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -486,7 +420,11 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -507,10 +445,7 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool QueryMayTimeVary() - { - return this.ComputeMayTimeVary(); - } + public bool mayTimeVary => this.ComputeMayTimeVary(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -518,10 +453,7 @@ public bool QueryMayTimeVary() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -529,10 +461,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -542,10 +471,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -555,10 +481,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ActionUsages that are nestedUsages of this Usage. @@ -566,10 +489,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List QueryNestedAction() - { - return this.ComputeNestedAction(); - } + public List nestedAction => this.ComputeNestedAction(); /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -577,10 +497,7 @@ public List QueryNestedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List QueryNestedAllocation() - { - return this.ComputeNestedAllocation(); - } + public List nestedAllocation => this.ComputeNestedAllocation(); /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -588,10 +505,7 @@ public List QueryNestedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List QueryNestedAnalysisCase() - { - return this.ComputeNestedAnalysisCase(); - } + public List nestedAnalysisCase => this.ComputeNestedAnalysisCase(); /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -599,10 +513,7 @@ public List QueryNestedAnalysisCase() [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List QueryNestedAttribute() - { - return this.ComputeNestedAttribute(); - } + public List nestedAttribute => this.ComputeNestedAttribute(); /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -610,10 +521,7 @@ public List QueryNestedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List QueryNestedCalculation() - { - return this.ComputeNestedCalculation(); - } + public List nestedCalculation => this.ComputeNestedCalculation(); /// /// The CaseUsages that are nestedUsages of this Usage. @@ -621,10 +529,7 @@ public List QueryNestedCalculation() [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List QueryNestedCase() - { - return this.ComputeNestedCase(); - } + public List nestedCase => this.ComputeNestedCase(); /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -632,10 +537,7 @@ public List QueryNestedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List QueryNestedConcern() - { - return this.ComputeNestedConcern(); - } + public List nestedConcern => this.ComputeNestedConcern(); /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -645,10 +547,7 @@ public List QueryNestedConcern() [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List QueryNestedConnection() - { - return this.ComputeNestedConnection(); - } + public List nestedConnection => this.ComputeNestedConnection(); /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -656,10 +555,7 @@ public List QueryNestedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List QueryNestedConstraint() - { - return this.ComputeNestedConstraint(); - } + public List nestedConstraint => this.ComputeNestedConstraint(); /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -667,10 +563,7 @@ public List QueryNestedConstraint() [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List QueryNestedEnumeration() - { - return this.ComputeNestedEnumeration(); - } + public List nestedEnumeration => this.ComputeNestedEnumeration(); /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -678,10 +571,7 @@ public List QueryNestedEnumeration() [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List QueryNestedFlow() - { - return this.ComputeNestedFlow(); - } + public List nestedFlow => this.ComputeNestedFlow(); /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -689,10 +579,7 @@ public List QueryNestedFlow() [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List QueryNestedInterface() - { - return this.ComputeNestedInterface(); - } + public List nestedInterface => this.ComputeNestedInterface(); /// /// The ItemUsages that are nestedUsages of this Usage. @@ -700,10 +587,7 @@ public List QueryNestedInterface() [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List QueryNestedItem() - { - return this.ComputeNestedItem(); - } + public List nestedItem => this.ComputeNestedItem(); /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -711,10 +595,7 @@ public List QueryNestedItem() [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List QueryNestedMetadata() - { - return this.ComputeNestedMetadata(); - } + public List nestedMetadata => this.ComputeNestedMetadata(); /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -722,10 +603,7 @@ public List QueryNestedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List QueryNestedOccurrence() - { - return this.ComputeNestedOccurrence(); - } + public List nestedOccurrence => this.ComputeNestedOccurrence(); /// /// The PartUsages that are nestedUsages of this Usage. @@ -733,10 +611,7 @@ public List QueryNestedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List QueryNestedPart() - { - return this.ComputeNestedPart(); - } + public List nestedPart => this.ComputeNestedPart(); /// /// The PortUsages that are nestedUsages of this Usage. @@ -744,10 +619,7 @@ public List QueryNestedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List QueryNestedPort() - { - return this.ComputeNestedPort(); - } + public List nestedPort => this.ComputeNestedPort(); /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -755,10 +627,7 @@ public List QueryNestedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List QueryNestedReference() - { - return this.ComputeNestedReference(); - } + public List nestedReference => this.ComputeNestedReference(); /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -766,10 +635,7 @@ public List QueryNestedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List QueryNestedRendering() - { - return this.ComputeNestedRendering(); - } + public List nestedRendering => this.ComputeNestedRendering(); /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -777,10 +643,7 @@ public List QueryNestedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List QueryNestedRequirement() - { - return this.ComputeNestedRequirement(); - } + public List nestedRequirement => this.ComputeNestedRequirement(); /// /// The StateUsages that are nestedUsages of this Usage. @@ -788,10 +651,7 @@ public List QueryNestedRequirement() [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List QueryNestedState() - { - return this.ComputeNestedState(); - } + public List nestedState => this.ComputeNestedState(); /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -799,10 +659,7 @@ public List QueryNestedState() [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List QueryNestedTransition() - { - return this.ComputeNestedTransition(); - } + public List nestedTransition => this.ComputeNestedTransition(); /// /// The Usages that are ownedFeatures of this Usage. @@ -811,10 +668,7 @@ public List QueryNestedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List QueryNestedUsage() - { - return this.ComputeNestedUsage(); - } + public List nestedUsage => this.ComputeNestedUsage(); /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -822,10 +676,7 @@ public List QueryNestedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List QueryNestedUseCase() - { - return this.ComputeNestedUseCase(); - } + public List nestedUseCase => this.ComputeNestedUseCase(); /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -833,10 +684,7 @@ public List QueryNestedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List QueryNestedVerificationCase() - { - return this.ComputeNestedVerificationCase(); - } + public List nestedVerificationCase => this.ComputeNestedVerificationCase(); /// /// The ViewUsages that are nestedUsages of this Usage. @@ -844,10 +692,7 @@ public List QueryNestedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List QueryNestedView() - { - return this.ComputeNestedView(); - } + public List nestedView => this.ComputeNestedView(); /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -855,10 +700,7 @@ public List QueryNestedView() [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List QueryNestedViewpoint() - { - return this.ComputeNestedViewpoint(); - } + public List nestedViewpoint => this.ComputeNestedViewpoint(); /// /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, @@ -869,10 +711,7 @@ public List QueryNestedViewpoint() [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] [RedefinedByProperty("IPortUsage.PortDefinition")] [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List QueryOccurrenceDefinition() - { - return this.ComputeOccurrenceDefinition(); - } + List Systems.Occurrences.IOccurrenceUsage.occurrenceDefinition => throw new InvalidOperationException("Redefined by property IPortUsage.PortDefinition"); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -880,10 +719,7 @@ public List QueryOccurrenceDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -893,10 +729,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -905,10 +738,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -917,10 +747,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -930,10 +757,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -943,10 +767,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -954,10 +775,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -966,10 +784,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -977,10 +792,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -990,10 +802,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -1003,10 +812,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -1016,10 +822,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -1029,10 +832,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -1041,10 +841,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -1053,10 +850,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -1067,10 +861,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -1079,10 +870,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -1091,10 +879,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -1112,10 +897,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -1125,10 +907,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -1138,10 +917,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -1151,10 +927,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1163,10 +936,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1174,10 +944,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The Definition that owns this Usage (if any). @@ -1186,10 +953,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public IDefinition QueryOwningDefinition() - { - return this.ComputeOwningDefinition(); - } + public IDefinition owningDefinition => this.ComputeOwningDefinition(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1197,10 +961,7 @@ public IDefinition QueryOwningDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1209,10 +970,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1221,10 +979,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -1242,10 +997,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The Usage in which this Usage is nested (if any). @@ -1253,10 +1005,7 @@ public IType QueryOwningType() [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public IUsage QueryOwningUsage() - { - return this.ComputeOwningUsage(); - } + public IUsage owningUsage => this.ComputeOwningUsage(); /// /// The occurrenceDefinitions of this PortUsage, which must all be PortDefinitions. @@ -1264,10 +1013,7 @@ public IUsage QueryOwningUsage() [Property(xmiId: "_18_5_3_12e503d9_1565492740124_880100_25026", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IPortUsage.PortDefinition")] - public List QueryPortDefinition() - { - return this.ComputePortDefinition(); - } + public List portDefinition => this.ComputePortDefinition(); /// /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If @@ -1288,10 +1034,7 @@ public List QueryPortDefinition() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1301,10 +1044,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -1313,10 +1053,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1327,10 +1064,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1341,10 +1075,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1352,10 +1083,7 @@ public List QueryUnioningType() [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1364,10 +1092,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1376,10 +1101,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/Predicate.cs b/SysML2.NET/Core/AutoGenPoco/Predicate.cs index 94b7db11..c5746650 100644 --- a/SysML2.NET/Core/AutoGenPoco/Predicate.cs +++ b/SysML2.NET/Core/AutoGenPoco/Predicate.cs @@ -86,10 +86,7 @@ public partial class Predicate : IPredicate /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -98,10 +95,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IBehavior.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IBehavior.Parameter"); /// /// The Documentation owned by this Element. @@ -110,10 +104,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -129,10 +120,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Expressions that are steps in the calculation of the result of this Function. @@ -140,10 +128,7 @@ public List QueryEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1543948400639_301251_20841", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] [Implements(implementation: "IFunction.Expression")] - public List QueryExpression() - { - return this.ComputeExpression(); - } + public List expression => this.ComputeExpression(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -151,10 +136,7 @@ public List QueryExpression() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -163,10 +145,7 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -174,10 +153,7 @@ public List QueryFeatureMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -185,10 +161,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -197,10 +170,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -208,10 +178,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -224,10 +191,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -242,10 +206,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// Whether all necessary implied Relationships have been included in the ownedRelationships of this @@ -263,10 +224,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether this Function can be used as the function of a model-level evaluable InvocationExpression. @@ -277,10 +235,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1617395221463_139517_26381", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFunction.IsModelLevelEvaluable")] - public bool QueryIsModelLevelEvaluable() - { - return this.ComputeIsModelLevelEvaluable(); - } + public bool isModelLevelEvaluable => this.ComputeIsModelLevelEvaluable(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -300,10 +255,7 @@ public bool QueryIsModelLevelEvaluable() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -311,10 +263,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -324,10 +273,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -337,10 +283,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -348,10 +291,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -361,10 +301,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -373,10 +310,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -386,10 +320,7 @@ public IConjugation QueryOwnedConjugator() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -399,10 +330,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -410,10 +338,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -422,10 +347,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -433,10 +355,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -446,10 +365,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -459,10 +375,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -471,10 +384,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -483,10 +393,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -497,10 +404,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -518,10 +422,7 @@ public List QueryOwnedMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier @@ -530,10 +431,7 @@ public List QueryOwnedSpecialization() [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List QueryOwnedSubclassification() - { - return this.ComputeOwnedSubclassification(); - } + public List ownedSubclassification => this.ComputeOwnedSubclassification(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -542,10 +440,7 @@ public List QueryOwnedSubclassification() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -553,10 +448,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -565,10 +457,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -577,10 +466,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -597,10 +483,7 @@ public INamespace QueryOwningNamespace() [Property(xmiId: "_18_5_3_12e503d9_1543948010065_362066_20413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IBehavior.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -612,10 +495,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The object or value that is the result of evaluating the Function. @@ -624,10 +504,7 @@ public string QueryQualifiedName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] [Implements(implementation: "IFunction.Result")] - public IFeature QueryResult() - { - return this.ComputeResult(); - } + public IFeature result => this.ComputeResult(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -637,10 +514,7 @@ public IFeature QueryResult() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The Steps that make up this Behavior. @@ -648,10 +522,7 @@ public string QueryShortName() [Property(xmiId: "_18_5_3_b9102da_1536346067212_587255_17343", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IBehavior.Step")] - public List QueryStep() - { - return this.ComputeStep(); - } + public List step => this.ComputeStep(); /// /// The TextualRepresentations that annotate this Element. @@ -660,10 +531,7 @@ public List QueryStep() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -674,10 +542,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/Redefinition.cs b/SysML2.NET/Core/AutoGenPoco/Redefinition.cs index 71c88f5f..e620d602 100644 --- a/SysML2.NET/Core/AutoGenPoco/Redefinition.cs +++ b/SysML2.NET/Core/AutoGenPoco/Redefinition.cs @@ -90,10 +90,7 @@ public partial class Redefinition : IRedefinition [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -110,7 +107,11 @@ public List QueryDocumentation() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [RedefinedByProperty("ISubsetting.SubsettedFeature")] [Implements(implementation: "ISpecialization.General")] - public IType General { get; set; } + IType Core.Types.ISpecialization.General + { + get => throw new InvalidOperationException("Redefined by property ISubsetting.SubsettedFeature"); + set => throw new InvalidOperationException("Redefined by property ISubsetting.SubsettedFeature"); + } /// /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being @@ -136,10 +137,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -149,10 +147,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -162,10 +157,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -173,10 +165,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -200,10 +189,7 @@ public List QueryOwnedElement() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// A subsettingFeature that is also the owningRelatedElement of this Subsetting. @@ -212,10 +198,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674967_140305_43206")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_573157_43226")] [Implements(implementation: "ISubsetting.OwningFeature")] - public IFeature QueryOwningFeature() - { - return this.ComputeOwningFeature(); - } + public IFeature owningFeature => this.ComputeOwningFeature(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -224,10 +207,7 @@ public IFeature QueryOwningFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -236,10 +216,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -265,10 +242,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] [RedefinedByProperty("ISubsetting.OwningFeature")] [Implements(implementation: "ISpecialization.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + IType Core.Types.ISpecialization.owningType => throw new InvalidOperationException("Redefined by property ISubsetting.OwningFeature"); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -280,10 +254,7 @@ public IType QueryOwningType() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Feature that is redefined by the redefiningFeature of this Redefinition. @@ -307,10 +278,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + public List relatedElement => this.ComputeRelatedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -320,10 +288,7 @@ public List QueryRelatedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -332,7 +297,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("ISpecialization.Specific")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property ISpecialization.Specific"); + set => throw new InvalidOperationException("Redefined by property ISpecialization.Specific"); + } /// /// A Type with a subset of all instances of the general Type, which might be the same set. @@ -341,7 +310,11 @@ public string QueryShortName() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [RedefinedByProperty("ISubsetting.SubsettingFeature")] [Implements(implementation: "ISpecialization.Specific")] - public IType Specific { get; set; } + IType Core.Types.ISpecialization.Specific + { + get => throw new InvalidOperationException("Redefined by property ISubsetting.SubsettingFeature"); + set => throw new InvalidOperationException("Redefined by property ISubsetting.SubsettingFeature"); + } /// /// The Feature that is subsetted by the subsettingFeature of this Subsetting. @@ -350,7 +323,11 @@ public string QueryShortName() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_563969_43273")] [RedefinedByProperty("IRedefinition.RedefinedFeature")] [Implements(implementation: "ISubsetting.SubsettedFeature")] - public IFeature SubsettedFeature { get; set; } + IFeature ISubsetting.SubsettedFeature + { + get => throw new InvalidOperationException("Redefined by property IRedefinition.RedefinedFeature"); + set => throw new InvalidOperationException("Redefined by property IRedefinition.RedefinedFeature"); + } /// /// The Feature that is a subset of the subsettedFeature of this Subsetting. @@ -359,7 +336,11 @@ public string QueryShortName() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] [RedefinedByProperty("IRedefinition.RedefiningFeature")] [Implements(implementation: "ISubsetting.SubsettingFeature")] - public IFeature SubsettingFeature { get; set; } + IFeature ISubsetting.SubsettingFeature + { + get => throw new InvalidOperationException("Redefined by property IRedefinition.RedefiningFeature"); + set => throw new InvalidOperationException("Redefined by property IRedefinition.RedefiningFeature"); + } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -368,7 +349,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("ISpecialization.General")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property ISpecialization.General"); + set => throw new InvalidOperationException("Redefined by property ISpecialization.General"); + } /// /// The TextualRepresentations that annotate this Element. @@ -377,10 +362,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/ReferenceSubsetting.cs b/SysML2.NET/Core/AutoGenPoco/ReferenceSubsetting.cs index 9335b661..e8995952 100644 --- a/SysML2.NET/Core/AutoGenPoco/ReferenceSubsetting.cs +++ b/SysML2.NET/Core/AutoGenPoco/ReferenceSubsetting.cs @@ -84,10 +84,7 @@ public partial class ReferenceSubsetting : IReferenceSubsetting [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -104,7 +101,11 @@ public List QueryDocumentation() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [RedefinedByProperty("ISubsetting.SubsettedFeature")] [Implements(implementation: "ISpecialization.General")] - public IType General { get; set; } + IType Core.Types.ISpecialization.General + { + get => throw new InvalidOperationException("Redefined by property ISubsetting.SubsettedFeature"); + set => throw new InvalidOperationException("Redefined by property ISubsetting.SubsettedFeature"); + } /// /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being @@ -130,10 +131,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -143,10 +141,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -156,10 +151,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -167,10 +159,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -194,10 +183,7 @@ public List QueryOwnedElement() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// A subsettingFeature that is also the owningRelatedElement of this Subsetting. @@ -207,10 +193,7 @@ public IElement QueryOwner() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_573157_43226")] [RedefinedByProperty("IReferenceSubsetting.ReferencingFeature")] [Implements(implementation: "ISubsetting.OwningFeature")] - public IFeature QueryOwningFeature() - { - return this.ComputeOwningFeature(); - } + IFeature ISubsetting.owningFeature => throw new InvalidOperationException("Redefined by property IReferenceSubsetting.ReferencingFeature"); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -219,10 +202,7 @@ public IFeature QueryOwningFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -231,10 +211,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -260,10 +237,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] [RedefinedByProperty("ISubsetting.OwningFeature")] [Implements(implementation: "ISpecialization.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + IType Core.Types.ISpecialization.owningType => throw new InvalidOperationException("Redefined by property ISubsetting.OwningFeature"); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -275,10 +249,7 @@ public IType QueryOwningType() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Feature that is referenced by the referencingFeature of this ReferenceSubsetting. @@ -295,10 +266,7 @@ public string QueryQualifiedName() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674987_236250_43311")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674967_140305_43206")] [Implements(implementation: "IReferenceSubsetting.ReferencingFeature")] - public IFeature QueryReferencingFeature() - { - return this.ComputeReferencingFeature(); - } + public IFeature referencingFeature => this.ComputeReferencingFeature(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -306,10 +274,7 @@ public IFeature QueryReferencingFeature() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + public List relatedElement => this.ComputeRelatedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -319,10 +284,7 @@ public List QueryRelatedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -331,7 +293,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("ISpecialization.Specific")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property ISpecialization.Specific"); + set => throw new InvalidOperationException("Redefined by property ISpecialization.Specific"); + } /// /// A Type with a subset of all instances of the general Type, which might be the same set. @@ -340,7 +306,11 @@ public string QueryShortName() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [RedefinedByProperty("ISubsetting.SubsettingFeature")] [Implements(implementation: "ISpecialization.Specific")] - public IType Specific { get; set; } + IType Core.Types.ISpecialization.Specific + { + get => throw new InvalidOperationException("Redefined by property ISubsetting.SubsettingFeature"); + set => throw new InvalidOperationException("Redefined by property ISubsetting.SubsettingFeature"); + } /// /// The Feature that is subsetted by the subsettingFeature of this Subsetting. @@ -349,7 +319,11 @@ public string QueryShortName() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_563969_43273")] [RedefinedByProperty("IReferenceSubsetting.ReferencedFeature")] [Implements(implementation: "ISubsetting.SubsettedFeature")] - public IFeature SubsettedFeature { get; set; } + IFeature ISubsetting.SubsettedFeature + { + get => throw new InvalidOperationException("Redefined by property IReferenceSubsetting.ReferencedFeature"); + set => throw new InvalidOperationException("Redefined by property IReferenceSubsetting.ReferencedFeature"); + } /// /// The Feature that is a subset of the subsettedFeature of this Subsetting. @@ -358,7 +332,11 @@ public string QueryShortName() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] [RedefinedByProperty("IReferenceSubsetting.ReferencingFeature")] [Implements(implementation: "ISubsetting.SubsettingFeature")] - public IFeature SubsettingFeature { get; set; } + IFeature ISubsetting.SubsettingFeature + { + get => throw new InvalidOperationException("Redefined by property IReferenceSubsetting.ReferencingFeature"); + set => throw new InvalidOperationException("Redefined by property IReferenceSubsetting.ReferencingFeature"); + } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -367,7 +345,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("ISpecialization.General")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property ISpecialization.General"); + set => throw new InvalidOperationException("Redefined by property ISpecialization.General"); + } /// /// The TextualRepresentations that annotate this Element. @@ -376,10 +358,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/ReferenceUsage.cs b/SysML2.NET/Core/AutoGenPoco/ReferenceUsage.cs index 265b4a31..2a02540b 100644 --- a/SysML2.NET/Core/AutoGenPoco/ReferenceUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/ReferenceUsage.cs @@ -93,10 +93,7 @@ public partial class ReferenceUsage : IReferenceUsage /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -106,10 +103,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -136,10 +130,7 @@ public IFeature QueryCrossFeature() [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [Implements(implementation: "IUsage.Definition")] - public List QueryDefinition() - { - return this.ComputeDefinition(); - } + public List definition => this.ComputeDefinition(); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -152,10 +143,7 @@ public List QueryDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -163,10 +151,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// The usages of this Usage that are directedFeatures. @@ -175,10 +160,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -195,10 +177,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -214,10 +193,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -227,10 +203,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -238,10 +211,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -250,20 +220,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -273,10 +237,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -284,10 +245,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -295,10 +253,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -307,10 +262,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -318,10 +270,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -334,10 +283,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -361,10 +307,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -411,10 +354,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -437,10 +377,7 @@ public bool QueryIsLibraryElement() [Property(xmiId: "_19_0_4_12e503d9_1624035133434_200283_41434", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: "true")] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1624035114787_488767_41423")] [Implements(implementation: "IReferenceUsage.IsReference")] - bool IReferenceUsage.QueryIsReference() - { - return this.ComputeIsReference(); - } + public bool isReference => this.ComputeIsReference(); /// /// Whether this Usage is a referential Usage, that is, it has isComposite = false. @@ -448,10 +385,7 @@ bool IReferenceUsage.QueryIsReference() [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IReferenceUsage.IsReference")] [Implements(implementation: "IUsage.IsReference")] - bool IUsage.QueryIsReference() - { - return this.ComputeIsReference(); - } + bool IUsage.isReference => throw new InvalidOperationException("Redefined by property IReferenceUsage.IsReference"); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -479,7 +413,11 @@ bool IUsage.QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -500,10 +438,7 @@ bool IUsage.QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool QueryMayTimeVary() - { - return this.ComputeMayTimeVary(); - } + public bool mayTimeVary => this.ComputeMayTimeVary(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -511,10 +446,7 @@ public bool QueryMayTimeVary() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -522,10 +454,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -535,10 +464,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -548,10 +474,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ActionUsages that are nestedUsages of this Usage. @@ -559,10 +482,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List QueryNestedAction() - { - return this.ComputeNestedAction(); - } + public List nestedAction => this.ComputeNestedAction(); /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -570,10 +490,7 @@ public List QueryNestedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List QueryNestedAllocation() - { - return this.ComputeNestedAllocation(); - } + public List nestedAllocation => this.ComputeNestedAllocation(); /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -581,10 +498,7 @@ public List QueryNestedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List QueryNestedAnalysisCase() - { - return this.ComputeNestedAnalysisCase(); - } + public List nestedAnalysisCase => this.ComputeNestedAnalysisCase(); /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -592,10 +506,7 @@ public List QueryNestedAnalysisCase() [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List QueryNestedAttribute() - { - return this.ComputeNestedAttribute(); - } + public List nestedAttribute => this.ComputeNestedAttribute(); /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -603,10 +514,7 @@ public List QueryNestedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List QueryNestedCalculation() - { - return this.ComputeNestedCalculation(); - } + public List nestedCalculation => this.ComputeNestedCalculation(); /// /// The CaseUsages that are nestedUsages of this Usage. @@ -614,10 +522,7 @@ public List QueryNestedCalculation() [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List QueryNestedCase() - { - return this.ComputeNestedCase(); - } + public List nestedCase => this.ComputeNestedCase(); /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -625,10 +530,7 @@ public List QueryNestedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List QueryNestedConcern() - { - return this.ComputeNestedConcern(); - } + public List nestedConcern => this.ComputeNestedConcern(); /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -638,10 +540,7 @@ public List QueryNestedConcern() [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List QueryNestedConnection() - { - return this.ComputeNestedConnection(); - } + public List nestedConnection => this.ComputeNestedConnection(); /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -649,10 +548,7 @@ public List QueryNestedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List QueryNestedConstraint() - { - return this.ComputeNestedConstraint(); - } + public List nestedConstraint => this.ComputeNestedConstraint(); /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -660,10 +556,7 @@ public List QueryNestedConstraint() [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List QueryNestedEnumeration() - { - return this.ComputeNestedEnumeration(); - } + public List nestedEnumeration => this.ComputeNestedEnumeration(); /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -671,10 +564,7 @@ public List QueryNestedEnumeration() [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List QueryNestedFlow() - { - return this.ComputeNestedFlow(); - } + public List nestedFlow => this.ComputeNestedFlow(); /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -682,10 +572,7 @@ public List QueryNestedFlow() [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List QueryNestedInterface() - { - return this.ComputeNestedInterface(); - } + public List nestedInterface => this.ComputeNestedInterface(); /// /// The ItemUsages that are nestedUsages of this Usage. @@ -693,10 +580,7 @@ public List QueryNestedInterface() [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List QueryNestedItem() - { - return this.ComputeNestedItem(); - } + public List nestedItem => this.ComputeNestedItem(); /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -704,10 +588,7 @@ public List QueryNestedItem() [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List QueryNestedMetadata() - { - return this.ComputeNestedMetadata(); - } + public List nestedMetadata => this.ComputeNestedMetadata(); /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -715,10 +596,7 @@ public List QueryNestedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List QueryNestedOccurrence() - { - return this.ComputeNestedOccurrence(); - } + public List nestedOccurrence => this.ComputeNestedOccurrence(); /// /// The PartUsages that are nestedUsages of this Usage. @@ -726,10 +604,7 @@ public List QueryNestedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List QueryNestedPart() - { - return this.ComputeNestedPart(); - } + public List nestedPart => this.ComputeNestedPart(); /// /// The PortUsages that are nestedUsages of this Usage. @@ -737,10 +612,7 @@ public List QueryNestedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List QueryNestedPort() - { - return this.ComputeNestedPort(); - } + public List nestedPort => this.ComputeNestedPort(); /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -748,10 +620,7 @@ public List QueryNestedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List QueryNestedReference() - { - return this.ComputeNestedReference(); - } + public List nestedReference => this.ComputeNestedReference(); /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -759,10 +628,7 @@ public List QueryNestedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List QueryNestedRendering() - { - return this.ComputeNestedRendering(); - } + public List nestedRendering => this.ComputeNestedRendering(); /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -770,10 +636,7 @@ public List QueryNestedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List QueryNestedRequirement() - { - return this.ComputeNestedRequirement(); - } + public List nestedRequirement => this.ComputeNestedRequirement(); /// /// The StateUsages that are nestedUsages of this Usage. @@ -781,10 +644,7 @@ public List QueryNestedRequirement() [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List QueryNestedState() - { - return this.ComputeNestedState(); - } + public List nestedState => this.ComputeNestedState(); /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -792,10 +652,7 @@ public List QueryNestedState() [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List QueryNestedTransition() - { - return this.ComputeNestedTransition(); - } + public List nestedTransition => this.ComputeNestedTransition(); /// /// The Usages that are ownedFeatures of this Usage. @@ -804,10 +661,7 @@ public List QueryNestedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List QueryNestedUsage() - { - return this.ComputeNestedUsage(); - } + public List nestedUsage => this.ComputeNestedUsage(); /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -815,10 +669,7 @@ public List QueryNestedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List QueryNestedUseCase() - { - return this.ComputeNestedUseCase(); - } + public List nestedUseCase => this.ComputeNestedUseCase(); /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -826,10 +677,7 @@ public List QueryNestedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List QueryNestedVerificationCase() - { - return this.ComputeNestedVerificationCase(); - } + public List nestedVerificationCase => this.ComputeNestedVerificationCase(); /// /// The ViewUsages that are nestedUsages of this Usage. @@ -837,10 +685,7 @@ public List QueryNestedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List QueryNestedView() - { - return this.ComputeNestedView(); - } + public List nestedView => this.ComputeNestedView(); /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -848,10 +693,7 @@ public List QueryNestedView() [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List QueryNestedViewpoint() - { - return this.ComputeNestedViewpoint(); - } + public List nestedViewpoint => this.ComputeNestedViewpoint(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -859,10 +701,7 @@ public List QueryNestedViewpoint() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -872,10 +711,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -884,10 +720,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -896,10 +729,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -909,10 +739,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -922,10 +749,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -933,10 +757,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -945,10 +766,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -956,10 +774,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -969,10 +784,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -982,10 +794,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -995,10 +804,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -1008,10 +814,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -1020,10 +823,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -1032,10 +832,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -1046,10 +843,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -1058,10 +852,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -1070,10 +861,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -1091,10 +879,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -1104,10 +889,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -1117,10 +899,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -1130,10 +909,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1142,10 +918,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1153,10 +926,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The Definition that owns this Usage (if any). @@ -1165,10 +935,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public IDefinition QueryOwningDefinition() - { - return this.ComputeOwningDefinition(); - } + public IDefinition owningDefinition => this.ComputeOwningDefinition(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1176,10 +943,7 @@ public IDefinition QueryOwningDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1188,10 +952,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1200,10 +961,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -1221,10 +979,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The Usage in which this Usage is nested (if any). @@ -1232,10 +987,7 @@ public IType QueryOwningType() [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public IUsage QueryOwningUsage() - { - return this.ComputeOwningUsage(); - } + public IUsage owningUsage => this.ComputeOwningUsage(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -1247,10 +999,7 @@ public IUsage QueryOwningUsage() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1260,10 +1009,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -1272,10 +1018,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1286,10 +1029,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1300,10 +1040,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1311,10 +1048,7 @@ public List QueryUnioningType() [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1323,10 +1057,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1335,10 +1066,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/Relationship.cs b/SysML2.NET/Core/AutoGenPoco/Relationship.cs index e8359027..b47105fc 100644 --- a/SysML2.NET/Core/AutoGenPoco/Relationship.cs +++ b/SysML2.NET/Core/AutoGenPoco/Relationship.cs @@ -88,10 +88,7 @@ public partial class Relationship : IRelationship [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -125,10 +122,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -138,10 +132,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -151,10 +142,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -162,10 +150,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -189,10 +174,7 @@ public List QueryOwnedElement() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -201,10 +183,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -213,10 +192,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -244,10 +220,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -255,10 +228,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + public List relatedElement => this.ComputeRelatedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -268,10 +238,7 @@ public List QueryRelatedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -296,10 +263,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/RenderingDefinition.cs b/SysML2.NET/Core/AutoGenPoco/RenderingDefinition.cs index b7f8218b..9c94ba40 100644 --- a/SysML2.NET/Core/AutoGenPoco/RenderingDefinition.cs +++ b/SysML2.NET/Core/AutoGenPoco/RenderingDefinition.cs @@ -107,10 +107,7 @@ public partial class RenderingDefinition : IRenderingDefinition /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -118,10 +115,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// The usages of this Definition that are directedFeatures. @@ -130,10 +124,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// The Documentation owned by this Element. @@ -142,10 +133,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -161,10 +149,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -172,10 +157,7 @@ public List QueryEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -184,10 +166,7 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -195,10 +174,7 @@ public List QueryFeatureMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -206,10 +182,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -218,10 +191,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -229,10 +199,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -245,10 +212,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -263,10 +227,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// Whether all necessary implied Relationships have been included in the ownedRelationships of this @@ -291,10 +252,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -322,10 +280,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -333,10 +288,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -346,10 +298,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -359,10 +308,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -370,10 +316,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ActionUsages that are ownedUsages of this Definition. @@ -381,10 +324,7 @@ public List QueryOutput() [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedAction")] - public List QueryOwnedAction() - { - return this.ComputeOwnedAction(); - } + public List ownedAction => this.ComputeOwnedAction(); /// /// The AllocationUsages that are ownedUsages of this Definition. @@ -392,10 +332,7 @@ public List QueryOwnedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedAllocation")] - public List QueryOwnedAllocation() - { - return this.ComputeOwnedAllocation(); - } + public List ownedAllocation => this.ComputeOwnedAllocation(); /// /// The AnalysisCaseUsages that are ownedUsages of this Definition. @@ -403,10 +340,7 @@ public List QueryOwnedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List QueryOwnedAnalysisCase() - { - return this.ComputeOwnedAnalysisCase(); - } + public List ownedAnalysisCase => this.ComputeOwnedAnalysisCase(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -416,10 +350,7 @@ public List QueryOwnedAnalysisCase() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The AttributeUsages that are ownedUsages of this Definition. @@ -427,10 +358,7 @@ public List QueryOwnedAnnotation() [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedAttribute")] - public List QueryOwnedAttribute() - { - return this.ComputeOwnedAttribute(); - } + public List ownedAttribute => this.ComputeOwnedAttribute(); /// /// The CalculationUsages that are ownedUsages of this Definition. @@ -438,10 +366,7 @@ public List QueryOwnedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedCalculation")] - public List QueryOwnedCalculation() - { - return this.ComputeOwnedCalculation(); - } + public List ownedCalculation => this.ComputeOwnedCalculation(); /// /// The code>CaseUsages that are ownedUsages of this Definition. @@ -449,10 +374,7 @@ public List QueryOwnedCalculation() [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] [Implements(implementation: "IDefinition.OwnedCase")] - public List QueryOwnedCase() - { - return this.ComputeOwnedCase(); - } + public List ownedCase => this.ComputeOwnedCase(); /// /// The ConcernUsages that are ownedUsages of this Definition. @@ -460,10 +382,7 @@ public List QueryOwnedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedConcern")] - public List QueryOwnedConcern() - { - return this.ComputeOwnedConcern(); - } + public List ownedConcern => this.ComputeOwnedConcern(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -472,10 +391,7 @@ public List QueryOwnedConcern() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes @@ -485,10 +401,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedConnection")] - public List QueryOwnedConnection() - { - return this.ComputeOwnedConnection(); - } + public List ownedConnection => this.ComputeOwnedConnection(); /// /// The ConstraintUsages that are ownedUsages of this Definition. @@ -496,10 +409,7 @@ public List QueryOwnedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedConstraint")] - public List QueryOwnedConstraint() - { - return this.ComputeOwnedConstraint(); - } + public List ownedConstraint => this.ComputeOwnedConstraint(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -509,10 +419,7 @@ public List QueryOwnedConstraint() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -522,10 +429,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -533,10 +437,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -545,10 +446,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The EnumerationUsages that are ownedUsages of this Definition. @@ -556,10 +454,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List QueryOwnedEnumeration() - { - return this.ComputeOwnedEnumeration(); - } + public List ownedEnumeration => this.ComputeOwnedEnumeration(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -567,10 +462,7 @@ public List QueryOwnedEnumeration() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -580,10 +472,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The FlowUsages that are ownedUsages of this Definition. @@ -591,10 +480,7 @@ public List QueryOwnedFeatureMembership() [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedFlow")] - public List QueryOwnedFlow() - { - return this.ComputeOwnedFlow(); - } + public List ownedFlow => this.ComputeOwnedFlow(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -604,10 +490,7 @@ public List QueryOwnedFlow() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The InterfaceUsages that are ownedUsages of this Definition. @@ -615,10 +498,7 @@ public List QueryOwnedImport() [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedInterface")] - public List QueryOwnedInterface() - { - return this.ComputeOwnedInterface(); - } + public List ownedInterface => this.ComputeOwnedInterface(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -627,10 +507,7 @@ public List QueryOwnedInterface() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The ItemUsages that are ownedUsages of this Definition. @@ -638,10 +515,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedItem")] - public List QueryOwnedItem() - { - return this.ComputeOwnedItem(); - } + public List ownedItem => this.ComputeOwnedItem(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -650,10 +524,7 @@ public List QueryOwnedItem() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -664,10 +535,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The MetadataUsages that are ownedUsages of this Definition. @@ -675,10 +543,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedMetadata")] - public List QueryOwnedMetadata() - { - return this.ComputeOwnedMetadata(); - } + public List ownedMetadata => this.ComputeOwnedMetadata(); /// /// The OccurrenceUsages that are ownedUsages of this Definition. @@ -686,10 +551,7 @@ public List QueryOwnedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List QueryOwnedOccurrence() - { - return this.ComputeOwnedOccurrence(); - } + public List ownedOccurrence => this.ComputeOwnedOccurrence(); /// /// The PartUsages that are ownedUsages of this Definition. @@ -697,10 +559,7 @@ public List QueryOwnedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedPart")] - public List QueryOwnedPart() - { - return this.ComputeOwnedPart(); - } + public List ownedPart => this.ComputeOwnedPart(); /// /// The PortUsages that are ownedUsages of this Definition. @@ -708,10 +567,7 @@ public List QueryOwnedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedPort")] - public List QueryOwnedPort() - { - return this.ComputeOwnedPort(); - } + public List ownedPort => this.ComputeOwnedPort(); /// /// The ReferenceUsages that are ownedUsages of this Definition. @@ -719,10 +575,7 @@ public List QueryOwnedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedReference")] - public List QueryOwnedReference() - { - return this.ComputeOwnedReference(); - } + public List ownedReference => this.ComputeOwnedReference(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -738,10 +591,7 @@ public List QueryOwnedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedRendering")] - public List QueryOwnedRendering() - { - return this.ComputeOwnedRendering(); - } + public List ownedRendering => this.ComputeOwnedRendering(); /// /// The RequirementUsages that are ownedUsages of this Definition. @@ -749,10 +599,7 @@ public List QueryOwnedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] [Implements(implementation: "IDefinition.OwnedRequirement")] - public List QueryOwnedRequirement() - { - return this.ComputeOwnedRequirement(); - } + public List ownedRequirement => this.ComputeOwnedRequirement(); /// /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific @@ -762,10 +609,7 @@ public List QueryOwnedRequirement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The StateUsages that are ownedUsages of this Definition. @@ -773,10 +617,7 @@ public List QueryOwnedSpecialization() [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedState")] - public List QueryOwnedState() - { - return this.ComputeOwnedState(); - } + public List ownedState => this.ComputeOwnedState(); /// /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier @@ -785,10 +626,7 @@ public List QueryOwnedState() [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List QueryOwnedSubclassification() - { - return this.ComputeOwnedSubclassification(); - } + public List ownedSubclassification => this.ComputeOwnedSubclassification(); /// /// The TransitionUsages that are ownedUsages of this Definition. @@ -796,10 +634,7 @@ public List QueryOwnedSubclassification() [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedTransition")] - public List QueryOwnedTransition() - { - return this.ComputeOwnedTransition(); - } + public List ownedTransition => this.ComputeOwnedTransition(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -808,10 +643,7 @@ public List QueryOwnedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The Usages that are ownedFeatures of this Definition. @@ -820,10 +652,7 @@ public List QueryOwnedUnioning() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.OwnedUsage")] - public List QueryOwnedUsage() - { - return this.ComputeOwnedUsage(); - } + public List ownedUsage => this.ComputeOwnedUsage(); /// /// The UseCaseUsages that are ownedUsages of this Definition. @@ -831,10 +660,7 @@ public List QueryOwnedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedUseCase")] - public List QueryOwnedUseCase() - { - return this.ComputeOwnedUseCase(); - } + public List ownedUseCase => this.ComputeOwnedUseCase(); /// /// The VerificationCaseUsages that are ownedUsages of this Definition. @@ -842,10 +668,7 @@ public List QueryOwnedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List QueryOwnedVerificationCase() - { - return this.ComputeOwnedVerificationCase(); - } + public List ownedVerificationCase => this.ComputeOwnedVerificationCase(); /// /// The ViewUsages that are ownedUsages of this Definition. @@ -853,10 +676,7 @@ public List QueryOwnedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedView")] - public List QueryOwnedView() - { - return this.ComputeOwnedView(); - } + public List ownedView => this.ComputeOwnedView(); /// /// The ViewpointUsages that are ownedUsages of this Definition. @@ -864,10 +684,7 @@ public List QueryOwnedView() [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List QueryOwnedViewpoint() - { - return this.ComputeOwnedViewpoint(); - } + public List ownedViewpoint => this.ComputeOwnedViewpoint(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -875,10 +692,7 @@ public List QueryOwnedViewpoint() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -887,10 +701,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -899,10 +710,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -922,10 +730,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The usages of a RenderingDefinition that are RenderingUsages. @@ -933,10 +738,7 @@ public string QueryQualifiedName() [Property(xmiId: "_19_0_2_12e503d9_1596741367270_249607_6373", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IRenderingDefinition.Rendering")] - public List QueryRendering() - { - return this.ComputeRendering(); - } + public List rendering => this.ComputeRendering(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -946,10 +748,7 @@ public List QueryRendering() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -958,10 +757,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -972,10 +768,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Definition (not necessarily owned). @@ -983,10 +776,7 @@ public List QueryUnioningType() [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IDefinition.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Definition as a variation point Definition, if @@ -995,10 +785,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IDefinition.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then @@ -1008,10 +795,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IDefinition.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/RenderingUsage.cs b/SysML2.NET/Core/AutoGenPoco/RenderingUsage.cs index 92f683c0..b837e762 100644 --- a/SysML2.NET/Core/AutoGenPoco/RenderingUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/RenderingUsage.cs @@ -93,10 +93,7 @@ public partial class RenderingUsage : IRenderingUsage /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -106,10 +103,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -137,10 +131,7 @@ public IFeature QueryCrossFeature() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] [Implements(implementation: "IUsage.Definition")] - public List QueryDefinition() - { - return this.ComputeDefinition(); - } + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -153,10 +144,7 @@ public List QueryDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -164,10 +152,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// The usages of this Usage that are directedFeatures. @@ -176,10 +161,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -196,10 +178,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -215,10 +194,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -228,10 +204,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -239,10 +212,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -251,20 +221,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -274,10 +238,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -285,10 +246,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// The at most one occurrenceDefinition that has isIndividual = true. @@ -296,10 +254,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public IOccurrenceDefinition QueryIndividualDefinition() - { - return this.ComputeIndividualDefinition(); - } + public IOccurrenceDefinition individualDefinition => this.ComputeIndividualDefinition(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -307,10 +262,7 @@ public IOccurrenceDefinition QueryIndividualDefinition() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -319,10 +271,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -330,10 +279,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -346,10 +292,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -373,10 +316,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -431,10 +371,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -456,10 +393,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IUsage.IsReference")] - public bool QueryIsReference() - { - return this.ComputeIsReference(); - } + public bool isReference => this.ComputeIsReference(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -487,7 +421,11 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -505,10 +443,7 @@ public bool QueryIsReference() [Property(xmiId: "_18_5_3_12e503d9_1565471361757_649736_20796", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IItemUsage.ItemDefinition")] - public List QueryItemDefinition() - { - return this.ComputeItemDefinition(); - } + public List itemDefinition => this.ComputeItemDefinition(); /// /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its @@ -521,10 +456,7 @@ public List QueryItemDefinition() [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool QueryMayTimeVary() - { - return this.ComputeMayTimeVary(); - } + public bool mayTimeVary => this.ComputeMayTimeVary(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -532,10 +464,7 @@ public bool QueryMayTimeVary() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -543,10 +472,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -556,10 +482,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -569,10 +492,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ActionUsages that are nestedUsages of this Usage. @@ -580,10 +500,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List QueryNestedAction() - { - return this.ComputeNestedAction(); - } + public List nestedAction => this.ComputeNestedAction(); /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -591,10 +508,7 @@ public List QueryNestedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List QueryNestedAllocation() - { - return this.ComputeNestedAllocation(); - } + public List nestedAllocation => this.ComputeNestedAllocation(); /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -602,10 +516,7 @@ public List QueryNestedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List QueryNestedAnalysisCase() - { - return this.ComputeNestedAnalysisCase(); - } + public List nestedAnalysisCase => this.ComputeNestedAnalysisCase(); /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -613,10 +524,7 @@ public List QueryNestedAnalysisCase() [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List QueryNestedAttribute() - { - return this.ComputeNestedAttribute(); - } + public List nestedAttribute => this.ComputeNestedAttribute(); /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -624,10 +532,7 @@ public List QueryNestedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List QueryNestedCalculation() - { - return this.ComputeNestedCalculation(); - } + public List nestedCalculation => this.ComputeNestedCalculation(); /// /// The CaseUsages that are nestedUsages of this Usage. @@ -635,10 +540,7 @@ public List QueryNestedCalculation() [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List QueryNestedCase() - { - return this.ComputeNestedCase(); - } + public List nestedCase => this.ComputeNestedCase(); /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -646,10 +548,7 @@ public List QueryNestedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List QueryNestedConcern() - { - return this.ComputeNestedConcern(); - } + public List nestedConcern => this.ComputeNestedConcern(); /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -659,10 +558,7 @@ public List QueryNestedConcern() [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List QueryNestedConnection() - { - return this.ComputeNestedConnection(); - } + public List nestedConnection => this.ComputeNestedConnection(); /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -670,10 +566,7 @@ public List QueryNestedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List QueryNestedConstraint() - { - return this.ComputeNestedConstraint(); - } + public List nestedConstraint => this.ComputeNestedConstraint(); /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -681,10 +574,7 @@ public List QueryNestedConstraint() [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List QueryNestedEnumeration() - { - return this.ComputeNestedEnumeration(); - } + public List nestedEnumeration => this.ComputeNestedEnumeration(); /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -692,10 +582,7 @@ public List QueryNestedEnumeration() [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List QueryNestedFlow() - { - return this.ComputeNestedFlow(); - } + public List nestedFlow => this.ComputeNestedFlow(); /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -703,10 +590,7 @@ public List QueryNestedFlow() [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List QueryNestedInterface() - { - return this.ComputeNestedInterface(); - } + public List nestedInterface => this.ComputeNestedInterface(); /// /// The ItemUsages that are nestedUsages of this Usage. @@ -714,10 +598,7 @@ public List QueryNestedInterface() [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List QueryNestedItem() - { - return this.ComputeNestedItem(); - } + public List nestedItem => this.ComputeNestedItem(); /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -725,10 +606,7 @@ public List QueryNestedItem() [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List QueryNestedMetadata() - { - return this.ComputeNestedMetadata(); - } + public List nestedMetadata => this.ComputeNestedMetadata(); /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -736,10 +614,7 @@ public List QueryNestedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List QueryNestedOccurrence() - { - return this.ComputeNestedOccurrence(); - } + public List nestedOccurrence => this.ComputeNestedOccurrence(); /// /// The PartUsages that are nestedUsages of this Usage. @@ -747,10 +622,7 @@ public List QueryNestedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List QueryNestedPart() - { - return this.ComputeNestedPart(); - } + public List nestedPart => this.ComputeNestedPart(); /// /// The PortUsages that are nestedUsages of this Usage. @@ -758,10 +630,7 @@ public List QueryNestedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List QueryNestedPort() - { - return this.ComputeNestedPort(); - } + public List nestedPort => this.ComputeNestedPort(); /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -769,10 +638,7 @@ public List QueryNestedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List QueryNestedReference() - { - return this.ComputeNestedReference(); - } + public List nestedReference => this.ComputeNestedReference(); /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -780,10 +646,7 @@ public List QueryNestedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List QueryNestedRendering() - { - return this.ComputeNestedRendering(); - } + public List nestedRendering => this.ComputeNestedRendering(); /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -791,10 +654,7 @@ public List QueryNestedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List QueryNestedRequirement() - { - return this.ComputeNestedRequirement(); - } + public List nestedRequirement => this.ComputeNestedRequirement(); /// /// The StateUsages that are nestedUsages of this Usage. @@ -802,10 +662,7 @@ public List QueryNestedRequirement() [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List QueryNestedState() - { - return this.ComputeNestedState(); - } + public List nestedState => this.ComputeNestedState(); /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -813,10 +670,7 @@ public List QueryNestedState() [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List QueryNestedTransition() - { - return this.ComputeNestedTransition(); - } + public List nestedTransition => this.ComputeNestedTransition(); /// /// The Usages that are ownedFeatures of this Usage. @@ -825,10 +679,7 @@ public List QueryNestedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List QueryNestedUsage() - { - return this.ComputeNestedUsage(); - } + public List nestedUsage => this.ComputeNestedUsage(); /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -836,10 +687,7 @@ public List QueryNestedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List QueryNestedUseCase() - { - return this.ComputeNestedUseCase(); - } + public List nestedUseCase => this.ComputeNestedUseCase(); /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -847,10 +695,7 @@ public List QueryNestedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List QueryNestedVerificationCase() - { - return this.ComputeNestedVerificationCase(); - } + public List nestedVerificationCase => this.ComputeNestedVerificationCase(); /// /// The ViewUsages that are nestedUsages of this Usage. @@ -858,10 +703,7 @@ public List QueryNestedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List QueryNestedView() - { - return this.ComputeNestedView(); - } + public List nestedView => this.ComputeNestedView(); /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -869,10 +711,7 @@ public List QueryNestedView() [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List QueryNestedViewpoint() - { - return this.ComputeNestedViewpoint(); - } + public List nestedViewpoint => this.ComputeNestedViewpoint(); /// /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, @@ -882,10 +721,7 @@ public List QueryNestedViewpoint() [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List QueryOccurrenceDefinition() - { - return this.ComputeOccurrenceDefinition(); - } + public List occurrenceDefinition => this.ComputeOccurrenceDefinition(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -893,10 +729,7 @@ public List QueryOccurrenceDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -906,10 +739,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -918,10 +748,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -930,10 +757,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -943,10 +767,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -956,10 +777,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -967,10 +785,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -979,10 +794,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -990,10 +802,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -1003,10 +812,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -1016,10 +822,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -1029,10 +832,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -1042,10 +842,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -1054,10 +851,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -1066,10 +860,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -1080,10 +871,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -1092,10 +880,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -1104,10 +889,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -1125,10 +907,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -1138,10 +917,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -1151,10 +927,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -1164,10 +937,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1176,10 +946,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1187,10 +954,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The Definition that owns this Usage (if any). @@ -1199,10 +963,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public IDefinition QueryOwningDefinition() - { - return this.ComputeOwningDefinition(); - } + public IDefinition owningDefinition => this.ComputeOwningDefinition(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1210,10 +971,7 @@ public IDefinition QueryOwningDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1222,10 +980,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1234,10 +989,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -1255,10 +1007,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The Usage in which this Usage is nested (if any). @@ -1266,10 +1015,7 @@ public IType QueryOwningType() [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public IUsage QueryOwningUsage() - { - return this.ComputeOwningUsage(); - } + public IUsage owningUsage => this.ComputeOwningUsage(); /// /// The itemDefinitions of this PartUsage that are PartDefinitions. @@ -1278,10 +1024,7 @@ public IUsage QueryOwningUsage() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565471361757_649736_20796")] [RedefinedByProperty("IRenderingUsage.RenderingDefinition")] [Implements(implementation: "IPartUsage.PartDefinition")] - public List QueryPartDefinition() - { - return this.ComputePartDefinition(); - } + List Systems.Parts.IPartUsage.partDefinition => throw new InvalidOperationException("Redefined by property IRenderingUsage.RenderingDefinition"); /// /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If @@ -1302,10 +1045,7 @@ public List QueryPartDefinition() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The RenderingDefinition that is the definition of this RenderingUsage. @@ -1313,10 +1053,7 @@ public string QueryQualifiedName() [Property(xmiId: "_19_0_2_12e503d9_1596741320785_268295_6306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591475180488_929065_121")] [Implements(implementation: "IRenderingUsage.RenderingDefinition")] - public IRenderingDefinition QueryRenderingDefinition() - { - return this.ComputeRenderingDefinition(); - } + public IRenderingDefinition renderingDefinition => this.ComputeRenderingDefinition(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1326,10 +1063,7 @@ public IRenderingDefinition QueryRenderingDefinition() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -1338,10 +1072,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1352,10 +1083,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1366,10 +1094,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1377,10 +1102,7 @@ public List QueryUnioningType() [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1389,10 +1111,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1401,10 +1120,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/RequirementConstraintMembership.cs b/SysML2.NET/Core/AutoGenPoco/RequirementConstraintMembership.cs index 98fd9870..ffd1f5ac 100644 --- a/SysML2.NET/Core/AutoGenPoco/RequirementConstraintMembership.cs +++ b/SysML2.NET/Core/AutoGenPoco/RequirementConstraintMembership.cs @@ -84,10 +84,7 @@ public partial class RequirementConstraintMembership : IRequirementConstraintMem [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -121,10 +118,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether the RequirementConstraintMembership is for an assumed or required ConstraintUsage. @@ -140,7 +134,11 @@ public bool QueryIsLibraryElement() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] [Implements(implementation: "IMembership.MemberElement")] - public IElement MemberElement { get; set; } + IElement Root.Namespaces.IMembership.MemberElement + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + } /// /// The elementId of the memberElement. @@ -148,10 +146,7 @@ public bool QueryIsLibraryElement() [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] [Implements(implementation: "IMembership.MemberElementId")] - public string QueryMemberElementId() - { - return this.ComputeMemberElementId(); - } + string Root.Namespaces.IMembership.memberElementId => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElementId"); /// /// The name of the memberElement relative to the membershipOwningNamespace. @@ -159,7 +154,11 @@ public string QueryMemberElementId() [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberName")] [Implements(implementation: "IMembership.MemberName")] - public string MemberName { get; set; } + string Root.Namespaces.IMembership.MemberName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + } /// /// The Namespace of which the memberElement becomes a member due to this Membership. @@ -170,10 +169,7 @@ public string QueryMemberElementId() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [RedefinedByProperty("IFeatureMembership.OwningType")] [Implements(implementation: "IMembership.MembershipOwningNamespace")] - public INamespace QueryMembershipOwningNamespace() - { - return this.ComputeMembershipOwningNamespace(); - } + INamespace Root.Namespaces.IMembership.membershipOwningNamespace => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwningType"); /// /// The short name of the memberElement relative to the membershipOwningNamespace. @@ -181,7 +177,11 @@ public INamespace QueryMembershipOwningNamespace() [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] [Implements(implementation: "IMembership.MemberShortName")] - public string MemberShortName { get; set; } + string Root.Namespaces.IMembership.MemberShortName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + } /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -191,10 +191,7 @@ public INamespace QueryMembershipOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -204,10 +201,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The ConstraintUsage that is the ownedMemberFeature of this RequirementConstraintMembership. @@ -215,10 +209,7 @@ public List QueryOwnedAnnotation() [Property(xmiId: "_19_0_2_12e503d9_1584048366950_985767_426", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] [Implements(implementation: "IRequirementConstraintMembership.OwnedConstraint")] - public IConstraintUsage QueryOwnedConstraint() - { - return this.ComputeOwnedConstraint(); - } + public IConstraintUsage ownedConstraint => this.ComputeOwnedConstraint(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -226,10 +217,7 @@ public IConstraintUsage QueryOwnedConstraint() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this @@ -240,10 +228,7 @@ public List QueryOwnedElement() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] [RedefinedByProperty("IFeatureMembership.OwnedMemberFeature")] [Implements(implementation: "IOwningMembership.OwnedMemberElement")] - public IElement QueryOwnedMemberElement() - { - return this.ComputeOwnedMemberElement(); - } + IElement Root.Namespaces.IOwningMembership.ownedMemberElement => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwnedMemberFeature"); /// /// The elementId of the ownedMemberElement. @@ -251,10 +236,7 @@ public IElement QueryOwnedMemberElement() [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] - public string QueryOwnedMemberElementId() - { - return this.ComputeOwnedMemberElementId(); - } + public string ownedMemberElementId => this.ComputeOwnedMemberElementId(); /// /// The Feature that this FeatureMembership relates to its owningType, making it an ownedFeature of the @@ -264,10 +246,7 @@ public string QueryOwnedMemberElementId() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] [RedefinedByProperty("IRequirementConstraintMembership.OwnedConstraint")] [Implements(implementation: "IFeatureMembership.OwnedMemberFeature")] - public IFeature QueryOwnedMemberFeature() - { - return this.ComputeOwnedMemberFeature(); - } + IFeature Core.Types.IFeatureMembership.ownedMemberFeature => throw new InvalidOperationException("Redefined by property IRequirementConstraintMembership.OwnedConstraint"); /// /// The name of the ownedMemberElement. @@ -275,10 +254,7 @@ public IFeature QueryOwnedMemberFeature() [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] [Implements(implementation: "IOwningMembership.OwnedMemberName")] - public string QueryOwnedMemberName() - { - return this.ComputeOwnedMemberName(); - } + public string ownedMemberName => this.ComputeOwnedMemberName(); /// /// The shortName of the ownedMemberElement. @@ -286,10 +262,7 @@ public string QueryOwnedMemberName() [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] - public string QueryOwnedMemberShortName() - { - return this.ComputeOwnedMemberShortName(); - } + public string ownedMemberShortName => this.ComputeOwnedMemberShortName(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -313,10 +286,7 @@ public string QueryOwnedMemberShortName() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -325,10 +295,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -337,10 +304,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -365,10 +329,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866524_738482_486")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] [Implements(implementation: "IFeatureMembership.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -380,10 +341,7 @@ public IType QueryOwningType() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The ConstraintUsage that is referenced through this RequirementConstraintMembership. It is the @@ -392,10 +350,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1617118807597_77864_3544", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IRequirementConstraintMembership.ReferencedConstraint")] - public IConstraintUsage QueryReferencedConstraint() - { - return this.ComputeReferencedConstraint(); - } + public IConstraintUsage referencedConstraint => this.ComputeReferencedConstraint(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -403,10 +358,7 @@ public IConstraintUsage QueryReferencedConstraint() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + public List relatedElement => this.ComputeRelatedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -416,10 +368,7 @@ public List QueryRelatedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -428,7 +377,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembership.MembershipOwningNamespace")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -437,7 +390,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembership.MemberElement")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + set => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + } /// /// The TextualRepresentations that annotate this Element. @@ -446,10 +403,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly diff --git a/SysML2.NET/Core/AutoGenPoco/RequirementDefinition.cs b/SysML2.NET/Core/AutoGenPoco/RequirementDefinition.cs index afc446df..b3532e70 100644 --- a/SysML2.NET/Core/AutoGenPoco/RequirementDefinition.cs +++ b/SysML2.NET/Core/AutoGenPoco/RequirementDefinition.cs @@ -82,10 +82,7 @@ public partial class RequirementDefinition : IRequirementDefinition [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IRequirementDefinition.ActorParameter")] - public List QueryActorParameter() - { - return this.ComputeActorParameter(); - } + public List actorParameter => this.ComputeActorParameter(); /// /// Various alternative identifiers for this Element. Generally, these will be set by tools. @@ -102,10 +99,7 @@ public List QueryActorParameter() [Property(xmiId: "_19_0_2_12e503d9_1583376806647_629021_133", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IRequirementDefinition.AssumedConstraint")] - public List QueryAssumedConstraint() - { - return this.ComputeAssumedConstraint(); - } + public List assumedConstraint => this.ComputeAssumedConstraint(); /// /// The declared name of this Element. @@ -123,7 +117,11 @@ public List QueryAssumedConstraint() [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IRequirementDefinition.ReqId")] [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } + string Root.Elements.IElement.DeclaredShortName + { + get => throw new InvalidOperationException("Redefined by property IRequirementDefinition.ReqId"); + set => throw new InvalidOperationException("Redefined by property IRequirementDefinition.ReqId"); + } /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -136,10 +134,7 @@ public List QueryAssumedConstraint() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -148,10 +143,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IBehavior.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IBehavior.Parameter"); /// /// The usages of this Definition that are directedFeatures. @@ -160,10 +152,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// The Documentation owned by this Element. @@ -172,10 +161,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -191,10 +177,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Expressions that are steps in the calculation of the result of this Function. @@ -202,10 +185,7 @@ public List QueryEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1543948400639_301251_20841", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] [Implements(implementation: "IFunction.Expression")] - public List QueryExpression() - { - return this.ComputeExpression(); - } + public List expression => this.ComputeExpression(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -213,10 +193,7 @@ public List QueryExpression() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -225,10 +202,7 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The ConcernUsages framed by this RequirementDefinition, which are the ownedConcerns of all @@ -237,10 +211,7 @@ public List QueryFeatureMembership() [Property(xmiId: "_19_0_4_12e503d9_1617116733499_587735_3242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583376932997_792124_158")] [Implements(implementation: "IRequirementDefinition.FramedConcern")] - public List QueryFramedConcern() - { - return this.ComputeFramedConcern(); - } + public List framedConcern => this.ComputeFramedConcern(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -248,10 +219,7 @@ public List QueryFramedConcern() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -259,10 +227,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -271,10 +236,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -282,10 +244,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -298,10 +257,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -316,10 +272,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// Whether all necessary implied Relationships have been included in the ownedRelationships of this @@ -344,10 +297,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether this Function can be used as the function of a model-level evaluable InvocationExpression. @@ -358,10 +308,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1617395221463_139517_26381", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFunction.IsModelLevelEvaluable")] - public bool QueryIsModelLevelEvaluable() - { - return this.ComputeIsModelLevelEvaluable(); - } + public bool isModelLevelEvaluable => this.ComputeIsModelLevelEvaluable(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -389,10 +336,7 @@ public bool QueryIsModelLevelEvaluable() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -400,10 +344,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -413,10 +354,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -426,10 +364,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -437,10 +372,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ActionUsages that are ownedUsages of this Definition. @@ -448,10 +380,7 @@ public List QueryOutput() [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedAction")] - public List QueryOwnedAction() - { - return this.ComputeOwnedAction(); - } + public List ownedAction => this.ComputeOwnedAction(); /// /// The AllocationUsages that are ownedUsages of this Definition. @@ -459,10 +388,7 @@ public List QueryOwnedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedAllocation")] - public List QueryOwnedAllocation() - { - return this.ComputeOwnedAllocation(); - } + public List ownedAllocation => this.ComputeOwnedAllocation(); /// /// The AnalysisCaseUsages that are ownedUsages of this Definition. @@ -470,10 +396,7 @@ public List QueryOwnedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List QueryOwnedAnalysisCase() - { - return this.ComputeOwnedAnalysisCase(); - } + public List ownedAnalysisCase => this.ComputeOwnedAnalysisCase(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -483,10 +406,7 @@ public List QueryOwnedAnalysisCase() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The AttributeUsages that are ownedUsages of this Definition. @@ -494,10 +414,7 @@ public List QueryOwnedAnnotation() [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedAttribute")] - public List QueryOwnedAttribute() - { - return this.ComputeOwnedAttribute(); - } + public List ownedAttribute => this.ComputeOwnedAttribute(); /// /// The CalculationUsages that are ownedUsages of this Definition. @@ -505,10 +422,7 @@ public List QueryOwnedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedCalculation")] - public List QueryOwnedCalculation() - { - return this.ComputeOwnedCalculation(); - } + public List ownedCalculation => this.ComputeOwnedCalculation(); /// /// The code>CaseUsages that are ownedUsages of this Definition. @@ -516,10 +430,7 @@ public List QueryOwnedCalculation() [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] [Implements(implementation: "IDefinition.OwnedCase")] - public List QueryOwnedCase() - { - return this.ComputeOwnedCase(); - } + public List ownedCase => this.ComputeOwnedCase(); /// /// The ConcernUsages that are ownedUsages of this Definition. @@ -527,10 +438,7 @@ public List QueryOwnedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedConcern")] - public List QueryOwnedConcern() - { - return this.ComputeOwnedConcern(); - } + public List ownedConcern => this.ComputeOwnedConcern(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -539,10 +447,7 @@ public List QueryOwnedConcern() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes @@ -552,10 +457,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedConnection")] - public List QueryOwnedConnection() - { - return this.ComputeOwnedConnection(); - } + public List ownedConnection => this.ComputeOwnedConnection(); /// /// The ConstraintUsages that are ownedUsages of this Definition. @@ -563,10 +465,7 @@ public List QueryOwnedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedConstraint")] - public List QueryOwnedConstraint() - { - return this.ComputeOwnedConstraint(); - } + public List ownedConstraint => this.ComputeOwnedConstraint(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -576,10 +475,7 @@ public List QueryOwnedConstraint() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -589,10 +485,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -600,10 +493,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -612,10 +502,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The EnumerationUsages that are ownedUsages of this Definition. @@ -623,10 +510,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List QueryOwnedEnumeration() - { - return this.ComputeOwnedEnumeration(); - } + public List ownedEnumeration => this.ComputeOwnedEnumeration(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -634,10 +518,7 @@ public List QueryOwnedEnumeration() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -647,10 +528,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The FlowUsages that are ownedUsages of this Definition. @@ -658,10 +536,7 @@ public List QueryOwnedFeatureMembership() [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedFlow")] - public List QueryOwnedFlow() - { - return this.ComputeOwnedFlow(); - } + public List ownedFlow => this.ComputeOwnedFlow(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -671,10 +546,7 @@ public List QueryOwnedFlow() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The InterfaceUsages that are ownedUsages of this Definition. @@ -682,10 +554,7 @@ public List QueryOwnedImport() [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedInterface")] - public List QueryOwnedInterface() - { - return this.ComputeOwnedInterface(); - } + public List ownedInterface => this.ComputeOwnedInterface(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -694,10 +563,7 @@ public List QueryOwnedInterface() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The ItemUsages that are ownedUsages of this Definition. @@ -705,10 +571,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedItem")] - public List QueryOwnedItem() - { - return this.ComputeOwnedItem(); - } + public List ownedItem => this.ComputeOwnedItem(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -717,10 +580,7 @@ public List QueryOwnedItem() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -731,10 +591,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The MetadataUsages that are ownedUsages of this Definition. @@ -742,10 +599,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedMetadata")] - public List QueryOwnedMetadata() - { - return this.ComputeOwnedMetadata(); - } + public List ownedMetadata => this.ComputeOwnedMetadata(); /// /// The OccurrenceUsages that are ownedUsages of this Definition. @@ -753,10 +607,7 @@ public List QueryOwnedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List QueryOwnedOccurrence() - { - return this.ComputeOwnedOccurrence(); - } + public List ownedOccurrence => this.ComputeOwnedOccurrence(); /// /// The PartUsages that are ownedUsages of this Definition. @@ -764,10 +615,7 @@ public List QueryOwnedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedPart")] - public List QueryOwnedPart() - { - return this.ComputeOwnedPart(); - } + public List ownedPart => this.ComputeOwnedPart(); /// /// The PortUsages that are ownedUsages of this Definition. @@ -775,10 +623,7 @@ public List QueryOwnedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedPort")] - public List QueryOwnedPort() - { - return this.ComputeOwnedPort(); - } + public List ownedPort => this.ComputeOwnedPort(); /// /// The ReferenceUsages that are ownedUsages of this Definition. @@ -786,10 +631,7 @@ public List QueryOwnedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedReference")] - public List QueryOwnedReference() - { - return this.ComputeOwnedReference(); - } + public List ownedReference => this.ComputeOwnedReference(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -805,10 +647,7 @@ public List QueryOwnedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedRendering")] - public List QueryOwnedRendering() - { - return this.ComputeOwnedRendering(); - } + public List ownedRendering => this.ComputeOwnedRendering(); /// /// The RequirementUsages that are ownedUsages of this Definition. @@ -816,10 +655,7 @@ public List QueryOwnedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] [Implements(implementation: "IDefinition.OwnedRequirement")] - public List QueryOwnedRequirement() - { - return this.ComputeOwnedRequirement(); - } + public List ownedRequirement => this.ComputeOwnedRequirement(); /// /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific @@ -829,10 +665,7 @@ public List QueryOwnedRequirement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The StateUsages that are ownedUsages of this Definition. @@ -840,10 +673,7 @@ public List QueryOwnedSpecialization() [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedState")] - public List QueryOwnedState() - { - return this.ComputeOwnedState(); - } + public List ownedState => this.ComputeOwnedState(); /// /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier @@ -852,10 +682,7 @@ public List QueryOwnedState() [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List QueryOwnedSubclassification() - { - return this.ComputeOwnedSubclassification(); - } + public List ownedSubclassification => this.ComputeOwnedSubclassification(); /// /// The TransitionUsages that are ownedUsages of this Definition. @@ -863,10 +690,7 @@ public List QueryOwnedSubclassification() [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedTransition")] - public List QueryOwnedTransition() - { - return this.ComputeOwnedTransition(); - } + public List ownedTransition => this.ComputeOwnedTransition(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -875,10 +699,7 @@ public List QueryOwnedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The Usages that are ownedFeatures of this Definition. @@ -887,10 +708,7 @@ public List QueryOwnedUnioning() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.OwnedUsage")] - public List QueryOwnedUsage() - { - return this.ComputeOwnedUsage(); - } + public List ownedUsage => this.ComputeOwnedUsage(); /// /// The UseCaseUsages that are ownedUsages of this Definition. @@ -898,10 +716,7 @@ public List QueryOwnedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedUseCase")] - public List QueryOwnedUseCase() - { - return this.ComputeOwnedUseCase(); - } + public List ownedUseCase => this.ComputeOwnedUseCase(); /// /// The VerificationCaseUsages that are ownedUsages of this Definition. @@ -909,10 +724,7 @@ public List QueryOwnedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List QueryOwnedVerificationCase() - { - return this.ComputeOwnedVerificationCase(); - } + public List ownedVerificationCase => this.ComputeOwnedVerificationCase(); /// /// The ViewUsages that are ownedUsages of this Definition. @@ -920,10 +732,7 @@ public List QueryOwnedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedView")] - public List QueryOwnedView() - { - return this.ComputeOwnedView(); - } + public List ownedView => this.ComputeOwnedView(); /// /// The ViewpointUsages that are ownedUsages of this Definition. @@ -931,10 +740,7 @@ public List QueryOwnedView() [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List QueryOwnedViewpoint() - { - return this.ComputeOwnedViewpoint(); - } + public List ownedViewpoint => this.ComputeOwnedViewpoint(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -942,10 +748,7 @@ public List QueryOwnedViewpoint() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -954,10 +757,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -966,10 +766,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -986,10 +783,7 @@ public INamespace QueryOwningNamespace() [Property(xmiId: "_18_5_3_12e503d9_1543948010065_362066_20413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IBehavior.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -1001,10 +795,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// An optional modeler-specified identifier for this RequirementDefinition (used, e.g., to link it to @@ -1024,10 +815,7 @@ public string QueryQualifiedName() [Property(xmiId: "_19_0_2_12e503d9_1583376932997_792124_158", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IRequirementDefinition.RequiredConstraint")] - public List QueryRequiredConstraint() - { - return this.ComputeRequiredConstraint(); - } + public List requiredConstraint => this.ComputeRequiredConstraint(); /// /// The object or value that is the result of evaluating the Function. @@ -1036,10 +824,7 @@ public List QueryRequiredConstraint() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] [Implements(implementation: "IFunction.Result")] - public IFeature QueryResult() - { - return this.ComputeResult(); - } + public IFeature result => this.ComputeResult(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1049,10 +834,7 @@ public IFeature QueryResult() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The parameters of this RequirementDefinition that represent stakeholders for th requirement. @@ -1061,10 +843,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IRequirementDefinition.StakeholderParameter")] - public List QueryStakeholderParameter() - { - return this.ComputeStakeholderParameter(); - } + public List stakeholderParameter => this.ComputeStakeholderParameter(); /// /// The Steps that make up this Behavior. @@ -1072,10 +851,7 @@ public List QueryStakeholderParameter() [Property(xmiId: "_18_5_3_b9102da_1536346067212_587255_17343", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IBehavior.Step")] - public List QueryStep() - { - return this.ComputeStep(); - } + public List step => this.ComputeStep(); /// /// The parameter of this RequirementDefinition that represents its subject. @@ -1084,10 +860,7 @@ public List QueryStep() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IRequirementDefinition.SubjectParameter")] - public IUsage QuerySubjectParameter() - { - return this.ComputeSubjectParameter(); - } + public IUsage subjectParameter => this.ComputeSubjectParameter(); /// /// An optional textual statement of the requirement represented by this RequirementDefinition, derived @@ -1095,10 +868,7 @@ public IUsage QuerySubjectParameter() /// [Property(xmiId: "_19_0_2_12e503d9_1583376433122_189839_94", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IRequirementDefinition.Text")] - public List QueryText() - { - return this.ComputeText(); - } + public List text => this.ComputeText(); /// /// The TextualRepresentations that annotate this Element. @@ -1107,10 +877,7 @@ public List QueryText() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1121,10 +888,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Definition (not necessarily owned). @@ -1132,10 +896,7 @@ public List QueryUnioningType() [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IDefinition.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Definition as a variation point Definition, if @@ -1144,10 +905,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IDefinition.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then @@ -1157,10 +915,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IDefinition.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/RequirementUsage.cs b/SysML2.NET/Core/AutoGenPoco/RequirementUsage.cs index f5822479..b6343195 100644 --- a/SysML2.NET/Core/AutoGenPoco/RequirementUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/RequirementUsage.cs @@ -83,10 +83,7 @@ public partial class RequirementUsage : IRequirementUsage [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IRequirementUsage.ActorParameter")] - public List QueryActorParameter() - { - return this.ComputeActorParameter(); - } + public List actorParameter => this.ComputeActorParameter(); /// /// Various alternative identifiers for this Element. Generally, these will be set by tools. @@ -103,10 +100,7 @@ public List QueryActorParameter() [Property(xmiId: "_19_0_2_12e503d9_1583377612865_991722_535", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IRequirementUsage.AssumedConstraint")] - public List QueryAssumedConstraint() - { - return this.ComputeAssumedConstraint(); - } + public List assumedConstraint => this.ComputeAssumedConstraint(); /// /// The Behaviors that type this Step. @@ -115,10 +109,7 @@ public List QueryAssumedConstraint() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IExpression.Function")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -130,10 +121,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The (single) Predicate that is the type of this ConstraintUsage. Nominally, this will be a @@ -144,10 +132,7 @@ public List QueryChainingFeature() [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1578025035149_386_969")] [RedefinedByProperty("IRequirementUsage.RequirementDefinition")] [Implements(implementation: "IConstraintUsage.ConstraintDefinition")] - public IPredicate QueryConstraintDefinition() - { - return this.ComputeConstraintDefinition(); - } + IPredicate Systems.Constraints.IConstraintUsage.constraintDefinition => throw new InvalidOperationException("Redefined by property IRequirementUsage.RequirementDefinition"); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -157,10 +142,7 @@ public IPredicate QueryConstraintDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -178,7 +160,11 @@ public IFeature QueryCrossFeature() [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IRequirementUsage.ReqId")] [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } + string Root.Elements.IElement.DeclaredShortName + { + get => throw new InvalidOperationException("Redefined by property IRequirementUsage.ReqId"); + set => throw new InvalidOperationException("Redefined by property IRequirementUsage.ReqId"); + } /// /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds @@ -189,10 +175,7 @@ public IFeature QueryCrossFeature() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] [Implements(implementation: "IUsage.Definition")] - public List QueryDefinition() - { - return this.ComputeDefinition(); - } + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -205,10 +188,7 @@ public List QueryDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -217,10 +197,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// The usages of this Usage that are directedFeatures. @@ -229,10 +206,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -249,10 +223,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -268,10 +239,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -281,10 +249,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -292,10 +257,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -304,20 +266,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -327,10 +283,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The ConcernUsages framed by this RequirementUsage, which are the ownedConcerns of all @@ -339,10 +292,7 @@ public List QueryFeaturingType() [Property(xmiId: "_19_0_4_12e503d9_1617116922864_514612_3264", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583377448339_252740_390")] [Implements(implementation: "IRequirementUsage.FramedConcern")] - public List QueryFramedConcern() - { - return this.ComputeFramedConcern(); - } + public List framedConcern => this.ComputeFramedConcern(); /// /// The Function that types this Expression. @@ -351,10 +301,7 @@ public List QueryFramedConcern() [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [RedefinedByProperty("IBooleanExpression.Predicate")] [Implements(implementation: "IExpression.Function")] - public IFunction QueryFunction() - { - return this.ComputeFunction(); - } + IFunction Kernel.Functions.IExpression.function => throw new InvalidOperationException("Redefined by property IBooleanExpression.Predicate"); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -362,10 +309,7 @@ public IFunction QueryFunction() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// The at most one occurrenceDefinition that has isIndividual = true. @@ -373,10 +317,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public IOccurrenceDefinition QueryIndividualDefinition() - { - return this.ComputeIndividualDefinition(); - } + public IOccurrenceDefinition individualDefinition => this.ComputeIndividualDefinition(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -384,10 +325,7 @@ public IOccurrenceDefinition QueryIndividualDefinition() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -396,10 +334,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -407,10 +342,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -423,10 +355,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -450,10 +379,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -508,10 +434,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, @@ -519,10 +442,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool QueryIsModelLevelEvaluable() - { - return this.ComputeIsModelLevelEvaluable(); - } + public bool isModelLevelEvaluable => this.ComputeIsModelLevelEvaluable(); /// /// Whether an order exists for the values of this Feature or not. @@ -544,10 +464,7 @@ public bool QueryIsModelLevelEvaluable() /// [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IUsage.IsReference")] - public bool QueryIsReference() - { - return this.ComputeIsReference(); - } + public bool isReference => this.ComputeIsReference(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -575,7 +492,11 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -596,10 +517,7 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool QueryMayTimeVary() - { - return this.ComputeMayTimeVary(); - } + public bool mayTimeVary => this.ComputeMayTimeVary(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -607,10 +525,7 @@ public bool QueryMayTimeVary() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -618,10 +533,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -631,10 +543,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -644,10 +553,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ActionUsages that are nestedUsages of this Usage. @@ -655,10 +561,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List QueryNestedAction() - { - return this.ComputeNestedAction(); - } + public List nestedAction => this.ComputeNestedAction(); /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -666,10 +569,7 @@ public List QueryNestedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List QueryNestedAllocation() - { - return this.ComputeNestedAllocation(); - } + public List nestedAllocation => this.ComputeNestedAllocation(); /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -677,10 +577,7 @@ public List QueryNestedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List QueryNestedAnalysisCase() - { - return this.ComputeNestedAnalysisCase(); - } + public List nestedAnalysisCase => this.ComputeNestedAnalysisCase(); /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -688,10 +585,7 @@ public List QueryNestedAnalysisCase() [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List QueryNestedAttribute() - { - return this.ComputeNestedAttribute(); - } + public List nestedAttribute => this.ComputeNestedAttribute(); /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -699,10 +593,7 @@ public List QueryNestedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List QueryNestedCalculation() - { - return this.ComputeNestedCalculation(); - } + public List nestedCalculation => this.ComputeNestedCalculation(); /// /// The CaseUsages that are nestedUsages of this Usage. @@ -710,10 +601,7 @@ public List QueryNestedCalculation() [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List QueryNestedCase() - { - return this.ComputeNestedCase(); - } + public List nestedCase => this.ComputeNestedCase(); /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -721,10 +609,7 @@ public List QueryNestedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List QueryNestedConcern() - { - return this.ComputeNestedConcern(); - } + public List nestedConcern => this.ComputeNestedConcern(); /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -734,10 +619,7 @@ public List QueryNestedConcern() [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List QueryNestedConnection() - { - return this.ComputeNestedConnection(); - } + public List nestedConnection => this.ComputeNestedConnection(); /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -745,10 +627,7 @@ public List QueryNestedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List QueryNestedConstraint() - { - return this.ComputeNestedConstraint(); - } + public List nestedConstraint => this.ComputeNestedConstraint(); /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -756,10 +635,7 @@ public List QueryNestedConstraint() [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List QueryNestedEnumeration() - { - return this.ComputeNestedEnumeration(); - } + public List nestedEnumeration => this.ComputeNestedEnumeration(); /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -767,10 +643,7 @@ public List QueryNestedEnumeration() [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List QueryNestedFlow() - { - return this.ComputeNestedFlow(); - } + public List nestedFlow => this.ComputeNestedFlow(); /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -778,10 +651,7 @@ public List QueryNestedFlow() [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List QueryNestedInterface() - { - return this.ComputeNestedInterface(); - } + public List nestedInterface => this.ComputeNestedInterface(); /// /// The ItemUsages that are nestedUsages of this Usage. @@ -789,10 +659,7 @@ public List QueryNestedInterface() [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List QueryNestedItem() - { - return this.ComputeNestedItem(); - } + public List nestedItem => this.ComputeNestedItem(); /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -800,10 +667,7 @@ public List QueryNestedItem() [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List QueryNestedMetadata() - { - return this.ComputeNestedMetadata(); - } + public List nestedMetadata => this.ComputeNestedMetadata(); /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -811,10 +675,7 @@ public List QueryNestedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List QueryNestedOccurrence() - { - return this.ComputeNestedOccurrence(); - } + public List nestedOccurrence => this.ComputeNestedOccurrence(); /// /// The PartUsages that are nestedUsages of this Usage. @@ -822,10 +683,7 @@ public List QueryNestedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List QueryNestedPart() - { - return this.ComputeNestedPart(); - } + public List nestedPart => this.ComputeNestedPart(); /// /// The PortUsages that are nestedUsages of this Usage. @@ -833,10 +691,7 @@ public List QueryNestedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List QueryNestedPort() - { - return this.ComputeNestedPort(); - } + public List nestedPort => this.ComputeNestedPort(); /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -844,10 +699,7 @@ public List QueryNestedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List QueryNestedReference() - { - return this.ComputeNestedReference(); - } + public List nestedReference => this.ComputeNestedReference(); /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -855,10 +707,7 @@ public List QueryNestedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List QueryNestedRendering() - { - return this.ComputeNestedRendering(); - } + public List nestedRendering => this.ComputeNestedRendering(); /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -866,10 +715,7 @@ public List QueryNestedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List QueryNestedRequirement() - { - return this.ComputeNestedRequirement(); - } + public List nestedRequirement => this.ComputeNestedRequirement(); /// /// The StateUsages that are nestedUsages of this Usage. @@ -877,10 +723,7 @@ public List QueryNestedRequirement() [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List QueryNestedState() - { - return this.ComputeNestedState(); - } + public List nestedState => this.ComputeNestedState(); /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -888,10 +731,7 @@ public List QueryNestedState() [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List QueryNestedTransition() - { - return this.ComputeNestedTransition(); - } + public List nestedTransition => this.ComputeNestedTransition(); /// /// The Usages that are ownedFeatures of this Usage. @@ -900,10 +740,7 @@ public List QueryNestedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List QueryNestedUsage() - { - return this.ComputeNestedUsage(); - } + public List nestedUsage => this.ComputeNestedUsage(); /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -911,10 +748,7 @@ public List QueryNestedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List QueryNestedUseCase() - { - return this.ComputeNestedUseCase(); - } + public List nestedUseCase => this.ComputeNestedUseCase(); /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -922,10 +756,7 @@ public List QueryNestedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List QueryNestedVerificationCase() - { - return this.ComputeNestedVerificationCase(); - } + public List nestedVerificationCase => this.ComputeNestedVerificationCase(); /// /// The ViewUsages that are nestedUsages of this Usage. @@ -933,10 +764,7 @@ public List QueryNestedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List QueryNestedView() - { - return this.ComputeNestedView(); - } + public List nestedView => this.ComputeNestedView(); /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -944,10 +772,7 @@ public List QueryNestedView() [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List QueryNestedViewpoint() - { - return this.ComputeNestedViewpoint(); - } + public List nestedViewpoint => this.ComputeNestedViewpoint(); /// /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, @@ -957,10 +782,7 @@ public List QueryNestedViewpoint() [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List QueryOccurrenceDefinition() - { - return this.ComputeOccurrenceDefinition(); - } + public List occurrenceDefinition => this.ComputeOccurrenceDefinition(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -968,10 +790,7 @@ public List QueryOccurrenceDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -981,10 +800,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -993,10 +809,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -1005,10 +818,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -1018,10 +828,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -1031,10 +838,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -1042,10 +846,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -1054,10 +855,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -1065,10 +863,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -1078,10 +873,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -1091,10 +883,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -1104,10 +893,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -1117,10 +903,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -1129,10 +912,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -1141,10 +921,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -1155,10 +932,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -1167,10 +941,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -1179,10 +950,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -1200,10 +968,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -1213,10 +978,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -1226,10 +988,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -1239,10 +998,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1251,10 +1007,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1262,10 +1015,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The Definition that owns this Usage (if any). @@ -1274,10 +1024,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public IDefinition QueryOwningDefinition() - { - return this.ComputeOwningDefinition(); - } + public IDefinition owningDefinition => this.ComputeOwningDefinition(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1285,10 +1032,7 @@ public IDefinition QueryOwningDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1297,10 +1041,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1309,10 +1050,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -1330,10 +1068,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The Usage in which this Usage is nested (if any). @@ -1341,10 +1076,7 @@ public IType QueryOwningType() [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public IUsage QueryOwningUsage() - { - return this.ComputeOwningUsage(); - } + public IUsage owningUsage => this.ComputeOwningUsage(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -1353,10 +1085,7 @@ public IUsage QueryOwningUsage() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If @@ -1374,10 +1103,7 @@ public List QueryParameter() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1543948477241_299049_20934")] [RedefinedByProperty("IConstraintUsage.ConstraintDefinition")] [Implements(implementation: "IBooleanExpression.Predicate")] - public IPredicate QueryPredicate() - { - return this.ComputePredicate(); - } + IPredicate Kernel.Functions.IBooleanExpression.predicate => throw new InvalidOperationException("Redefined by property IConstraintUsage.ConstraintDefinition"); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -1389,10 +1115,7 @@ public IPredicate QueryPredicate() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// An optional modeler-specified identifier for this RequirementUsage (used, e.g., to link it to an @@ -1412,10 +1135,7 @@ public string QueryQualifiedName() [Property(xmiId: "_19_0_2_12e503d9_1583377448339_252740_390", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IRequirementUsage.RequiredConstraint")] - public List QueryRequiredConstraint() - { - return this.ComputeRequiredConstraint(); - } + public List requiredConstraint => this.ComputeRequiredConstraint(); /// /// The RequirementDefinition that is the single definition of this RequirementUsage. @@ -1423,10 +1143,7 @@ public List QueryRequiredConstraint() [Property(xmiId: "_19_0_2_12e503d9_1583000408905_769743_1223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1578067546711_751168_1745")] [Implements(implementation: "IRequirementUsage.RequirementDefinition")] - public IRequirementDefinition QueryRequirementDefinition() - { - return this.ComputeRequirementDefinition(); - } + public IRequirementDefinition requirementDefinition => this.ComputeRequirementDefinition(); /// /// An output parameter of the Expression whose value is the result of the Expression. The result of an @@ -1437,10 +1154,7 @@ public IRequirementDefinition QueryRequirementDefinition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [Implements(implementation: "IExpression.Result")] - public IFeature QueryResult() - { - return this.ComputeResult(); - } + public IFeature result => this.ComputeResult(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1450,10 +1164,7 @@ public IFeature QueryResult() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The parameters of this RequirementUsage that represent stakeholders for the requirement. @@ -1462,10 +1173,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IRequirementUsage.StakeholderParameter")] - public List QueryStakeholderParameter() - { - return this.ComputeStakeholderParameter(); - } + public List stakeholderParameter => this.ComputeStakeholderParameter(); /// /// The parameter of this RequirementUsage that represents its subject. @@ -1474,10 +1182,7 @@ public List QueryStakeholderParameter() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IRequirementUsage.SubjectParameter")] - public IUsage QuerySubjectParameter() - { - return this.ComputeSubjectParameter(); - } + public IUsage subjectParameter => this.ComputeSubjectParameter(); /// /// An optional textual statement of the requirement represented by this RequirementUsage, derived from @@ -1485,10 +1190,7 @@ public IUsage QuerySubjectParameter() /// [Property(xmiId: "_19_0_2_12e503d9_1583376480942_745679_99", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IRequirementUsage.Text")] - public List QueryText() - { - return this.ComputeText(); - } + public List text => this.ComputeText(); /// /// The TextualRepresentations that annotate this Element. @@ -1497,10 +1199,7 @@ public List QueryText() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1511,10 +1210,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1525,10 +1221,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1536,10 +1229,7 @@ public List QueryUnioningType() [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1548,10 +1238,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1560,10 +1247,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/RequirementVerificationMembership.cs b/SysML2.NET/Core/AutoGenPoco/RequirementVerificationMembership.cs index 1ee270c5..917a8dd1 100644 --- a/SysML2.NET/Core/AutoGenPoco/RequirementVerificationMembership.cs +++ b/SysML2.NET/Core/AutoGenPoco/RequirementVerificationMembership.cs @@ -85,10 +85,7 @@ public partial class RequirementVerificationMembership : IRequirementVerificatio [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -122,10 +119,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// The kind of a RequirementVerificationMembership must be requirement. @@ -133,7 +127,7 @@ public bool QueryIsLibraryElement() [Property(xmiId: "_19_0_4_12e503d9_1603921465292_637146_187", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "requirement")] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1584048161309_821854_390")] [Implements(implementation: "IRequirementVerificationMembership.Kind")] - RequirementConstraintKind IRequirementVerificationMembership.Kind { get; set; } + public RequirementConstraintKind Kind { get; set; } /// /// Whether the RequirementConstraintMembership is for an assumed or required ConstraintUsage. @@ -141,7 +135,11 @@ public bool QueryIsLibraryElement() [Property(xmiId: "_19_0_2_12e503d9_1584048161309_821854_390", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IRequirementVerificationMembership.Kind")] [Implements(implementation: "IRequirementConstraintMembership.Kind")] - RequirementConstraintKind Systems.Requirements.IRequirementConstraintMembership.Kind { get; set; } + RequirementConstraintKind Systems.Requirements.IRequirementConstraintMembership.Kind + { + get => throw new InvalidOperationException("Redefined by property IRequirementVerificationMembership.Kind"); + set => throw new InvalidOperationException("Redefined by property IRequirementVerificationMembership.Kind"); + } /// /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. @@ -150,7 +148,11 @@ public bool QueryIsLibraryElement() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] [Implements(implementation: "IMembership.MemberElement")] - public IElement MemberElement { get; set; } + IElement Root.Namespaces.IMembership.MemberElement + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + } /// /// The elementId of the memberElement. @@ -158,10 +160,7 @@ public bool QueryIsLibraryElement() [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] [Implements(implementation: "IMembership.MemberElementId")] - public string QueryMemberElementId() - { - return this.ComputeMemberElementId(); - } + string Root.Namespaces.IMembership.memberElementId => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElementId"); /// /// The name of the memberElement relative to the membershipOwningNamespace. @@ -169,7 +168,11 @@ public string QueryMemberElementId() [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberName")] [Implements(implementation: "IMembership.MemberName")] - public string MemberName { get; set; } + string Root.Namespaces.IMembership.MemberName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + } /// /// The Namespace of which the memberElement becomes a member due to this Membership. @@ -180,10 +183,7 @@ public string QueryMemberElementId() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [RedefinedByProperty("IFeatureMembership.OwningType")] [Implements(implementation: "IMembership.MembershipOwningNamespace")] - public INamespace QueryMembershipOwningNamespace() - { - return this.ComputeMembershipOwningNamespace(); - } + INamespace Root.Namespaces.IMembership.membershipOwningNamespace => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwningType"); /// /// The short name of the memberElement relative to the membershipOwningNamespace. @@ -191,7 +191,11 @@ public INamespace QueryMembershipOwningNamespace() [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] [Implements(implementation: "IMembership.MemberShortName")] - public string MemberShortName { get; set; } + string Root.Namespaces.IMembership.MemberShortName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + } /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -201,10 +205,7 @@ public INamespace QueryMembershipOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -214,10 +215,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The ConstraintUsage that is the ownedMemberFeature of this RequirementConstraintMembership. @@ -226,10 +224,7 @@ public List QueryOwnedAnnotation() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] [RedefinedByProperty("IRequirementVerificationMembership.OwnedRequirement")] [Implements(implementation: "IRequirementConstraintMembership.OwnedConstraint")] - public IConstraintUsage QueryOwnedConstraint() - { - return this.ComputeOwnedConstraint(); - } + IConstraintUsage Systems.Requirements.IRequirementConstraintMembership.ownedConstraint => throw new InvalidOperationException("Redefined by property IRequirementVerificationMembership.OwnedRequirement"); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -237,10 +232,7 @@ public IConstraintUsage QueryOwnedConstraint() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this @@ -251,10 +243,7 @@ public List QueryOwnedElement() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] [RedefinedByProperty("IFeatureMembership.OwnedMemberFeature")] [Implements(implementation: "IOwningMembership.OwnedMemberElement")] - public IElement QueryOwnedMemberElement() - { - return this.ComputeOwnedMemberElement(); - } + IElement Root.Namespaces.IOwningMembership.ownedMemberElement => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwnedMemberFeature"); /// /// The elementId of the ownedMemberElement. @@ -262,10 +251,7 @@ public IElement QueryOwnedMemberElement() [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] - public string QueryOwnedMemberElementId() - { - return this.ComputeOwnedMemberElementId(); - } + public string ownedMemberElementId => this.ComputeOwnedMemberElementId(); /// /// The Feature that this FeatureMembership relates to its owningType, making it an ownedFeature of the @@ -275,10 +261,7 @@ public string QueryOwnedMemberElementId() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] [RedefinedByProperty("IRequirementConstraintMembership.OwnedConstraint")] [Implements(implementation: "IFeatureMembership.OwnedMemberFeature")] - public IFeature QueryOwnedMemberFeature() - { - return this.ComputeOwnedMemberFeature(); - } + IFeature Core.Types.IFeatureMembership.ownedMemberFeature => throw new InvalidOperationException("Redefined by property IRequirementConstraintMembership.OwnedConstraint"); /// /// The name of the ownedMemberElement. @@ -286,10 +269,7 @@ public IFeature QueryOwnedMemberFeature() [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] [Implements(implementation: "IOwningMembership.OwnedMemberName")] - public string QueryOwnedMemberName() - { - return this.ComputeOwnedMemberName(); - } + public string ownedMemberName => this.ComputeOwnedMemberName(); /// /// The shortName of the ownedMemberElement. @@ -297,10 +277,7 @@ public string QueryOwnedMemberName() [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] - public string QueryOwnedMemberShortName() - { - return this.ComputeOwnedMemberShortName(); - } + public string ownedMemberShortName => this.ComputeOwnedMemberShortName(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -326,10 +303,7 @@ public string QueryOwnedMemberShortName() [Property(xmiId: "_19_0_4_12e503d9_1603921329650_612380_147", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1584048366950_985767_426")] [Implements(implementation: "IRequirementVerificationMembership.OwnedRequirement")] - public IRequirementUsage QueryOwnedRequirement() - { - return this.ComputeOwnedRequirement(); - } + public IRequirementUsage ownedRequirement => this.ComputeOwnedRequirement(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -337,10 +311,7 @@ public IRequirementUsage QueryOwnedRequirement() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -349,10 +320,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -361,10 +329,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -389,10 +354,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866524_738482_486")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] [Implements(implementation: "IFeatureMembership.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -404,10 +366,7 @@ public IType QueryOwningType() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The ConstraintUsage that is referenced through this RequirementConstraintMembership. It is the @@ -417,10 +376,7 @@ public string QueryQualifiedName() [Property(xmiId: "_19_0_4_12e503d9_1617118807597_77864_3544", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IRequirementVerificationMembership.VerifiedRequirement")] [Implements(implementation: "IRequirementConstraintMembership.ReferencedConstraint")] - public IConstraintUsage QueryReferencedConstraint() - { - return this.ComputeReferencedConstraint(); - } + IConstraintUsage Systems.Requirements.IRequirementConstraintMembership.referencedConstraint => throw new InvalidOperationException("Redefined by property IRequirementVerificationMembership.VerifiedRequirement"); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -428,10 +384,7 @@ public IConstraintUsage QueryReferencedConstraint() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + public List relatedElement => this.ComputeRelatedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -441,10 +394,7 @@ public List QueryRelatedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -453,7 +403,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembership.MembershipOwningNamespace")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -462,7 +416,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembership.MemberElement")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + set => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + } /// /// The TextualRepresentations that annotate this Element. @@ -471,10 +429,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// The RequirementUsage that is identified as being verified. It is the referencedConstraint of the @@ -484,10 +439,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_19_0_4_12e503d9_1603921870169_98378_309", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1617118807597_77864_3544")] [Implements(implementation: "IRequirementVerificationMembership.VerifiedRequirement")] - public IRequirementUsage QueryVerifiedRequirement() - { - return this.ComputeVerifiedRequirement(); - } + public IRequirementUsage verifiedRequirement => this.ComputeVerifiedRequirement(); /// /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly diff --git a/SysML2.NET/Core/AutoGenPoco/ResultExpressionMembership.cs b/SysML2.NET/Core/AutoGenPoco/ResultExpressionMembership.cs index 4b99d579..b6149f0b 100644 --- a/SysML2.NET/Core/AutoGenPoco/ResultExpressionMembership.cs +++ b/SysML2.NET/Core/AutoGenPoco/ResultExpressionMembership.cs @@ -84,10 +84,7 @@ public partial class ResultExpressionMembership : IResultExpressionMembership [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -121,10 +118,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. @@ -133,7 +127,11 @@ public bool QueryIsLibraryElement() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] [Implements(implementation: "IMembership.MemberElement")] - public IElement MemberElement { get; set; } + IElement Root.Namespaces.IMembership.MemberElement + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + } /// /// The elementId of the memberElement. @@ -141,10 +139,7 @@ public bool QueryIsLibraryElement() [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] [Implements(implementation: "IMembership.MemberElementId")] - public string QueryMemberElementId() - { - return this.ComputeMemberElementId(); - } + string Root.Namespaces.IMembership.memberElementId => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElementId"); /// /// The name of the memberElement relative to the membershipOwningNamespace. @@ -152,7 +147,11 @@ public string QueryMemberElementId() [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberName")] [Implements(implementation: "IMembership.MemberName")] - public string MemberName { get; set; } + string Root.Namespaces.IMembership.MemberName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + } /// /// The Namespace of which the memberElement becomes a member due to this Membership. @@ -163,10 +162,7 @@ public string QueryMemberElementId() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [RedefinedByProperty("IFeatureMembership.OwningType")] [Implements(implementation: "IMembership.MembershipOwningNamespace")] - public INamespace QueryMembershipOwningNamespace() - { - return this.ComputeMembershipOwningNamespace(); - } + INamespace Root.Namespaces.IMembership.membershipOwningNamespace => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwningType"); /// /// The short name of the memberElement relative to the membershipOwningNamespace. @@ -174,7 +170,11 @@ public INamespace QueryMembershipOwningNamespace() [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] [Implements(implementation: "IMembership.MemberShortName")] - public string MemberShortName { get; set; } + string Root.Namespaces.IMembership.MemberShortName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + } /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -184,10 +184,7 @@ public INamespace QueryMembershipOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -197,10 +194,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -208,10 +202,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this @@ -222,10 +213,7 @@ public List QueryOwnedElement() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] [RedefinedByProperty("IFeatureMembership.OwnedMemberFeature")] [Implements(implementation: "IOwningMembership.OwnedMemberElement")] - public IElement QueryOwnedMemberElement() - { - return this.ComputeOwnedMemberElement(); - } + IElement Root.Namespaces.IOwningMembership.ownedMemberElement => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwnedMemberFeature"); /// /// The elementId of the ownedMemberElement. @@ -233,10 +221,7 @@ public IElement QueryOwnedMemberElement() [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] - public string QueryOwnedMemberElementId() - { - return this.ComputeOwnedMemberElementId(); - } + public string ownedMemberElementId => this.ComputeOwnedMemberElementId(); /// /// The Feature that this FeatureMembership relates to its owningType, making it an ownedFeature of the @@ -246,10 +231,7 @@ public string QueryOwnedMemberElementId() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] [RedefinedByProperty("IResultExpressionMembership.OwnedResultExpression")] [Implements(implementation: "IFeatureMembership.OwnedMemberFeature")] - public IFeature QueryOwnedMemberFeature() - { - return this.ComputeOwnedMemberFeature(); - } + IFeature Core.Types.IFeatureMembership.ownedMemberFeature => throw new InvalidOperationException("Redefined by property IResultExpressionMembership.OwnedResultExpression"); /// /// The name of the ownedMemberElement. @@ -257,10 +239,7 @@ public IFeature QueryOwnedMemberFeature() [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] [Implements(implementation: "IOwningMembership.OwnedMemberName")] - public string QueryOwnedMemberName() - { - return this.ComputeOwnedMemberName(); - } + public string ownedMemberName => this.ComputeOwnedMemberName(); /// /// The shortName of the ownedMemberElement. @@ -268,10 +247,7 @@ public string QueryOwnedMemberName() [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] - public string QueryOwnedMemberShortName() - { - return this.ComputeOwnedMemberShortName(); - } + public string ownedMemberShortName => this.ComputeOwnedMemberShortName(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -295,10 +271,7 @@ public string QueryOwnedMemberShortName() [Property(xmiId: "_19_0_2_12e503d9_1594868945944_989058_2545", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] [Implements(implementation: "IResultExpressionMembership.OwnedResultExpression")] - public IExpression QueryOwnedResultExpression() - { - return this.ComputeOwnedResultExpression(); - } + public IExpression ownedResultExpression => this.ComputeOwnedResultExpression(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -306,10 +279,7 @@ public IExpression QueryOwnedResultExpression() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -318,10 +288,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -330,10 +297,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -358,10 +322,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866524_738482_486")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] [Implements(implementation: "IFeatureMembership.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -373,10 +334,7 @@ public IType QueryOwningType() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -384,10 +342,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + public List relatedElement => this.ComputeRelatedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -397,10 +352,7 @@ public List QueryRelatedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -409,7 +361,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembership.MembershipOwningNamespace")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -418,7 +374,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembership.MemberElement")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + set => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + } /// /// The TextualRepresentations that annotate this Element. @@ -427,10 +387,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly diff --git a/SysML2.NET/Core/AutoGenPoco/ReturnParameterMembership.cs b/SysML2.NET/Core/AutoGenPoco/ReturnParameterMembership.cs index f981829d..bb2f6718 100644 --- a/SysML2.NET/Core/AutoGenPoco/ReturnParameterMembership.cs +++ b/SysML2.NET/Core/AutoGenPoco/ReturnParameterMembership.cs @@ -84,10 +84,7 @@ public partial class ReturnParameterMembership : IReturnParameterMembership [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -121,10 +118,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. @@ -133,7 +127,11 @@ public bool QueryIsLibraryElement() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] [Implements(implementation: "IMembership.MemberElement")] - public IElement MemberElement { get; set; } + IElement Root.Namespaces.IMembership.MemberElement + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + } /// /// The elementId of the memberElement. @@ -141,10 +139,7 @@ public bool QueryIsLibraryElement() [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] [Implements(implementation: "IMembership.MemberElementId")] - public string QueryMemberElementId() - { - return this.ComputeMemberElementId(); - } + string Root.Namespaces.IMembership.memberElementId => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElementId"); /// /// The name of the memberElement relative to the membershipOwningNamespace. @@ -152,7 +147,11 @@ public string QueryMemberElementId() [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberName")] [Implements(implementation: "IMembership.MemberName")] - public string MemberName { get; set; } + string Root.Namespaces.IMembership.MemberName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + } /// /// The Namespace of which the memberElement becomes a member due to this Membership. @@ -163,10 +162,7 @@ public string QueryMemberElementId() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [RedefinedByProperty("IFeatureMembership.OwningType")] [Implements(implementation: "IMembership.MembershipOwningNamespace")] - public INamespace QueryMembershipOwningNamespace() - { - return this.ComputeMembershipOwningNamespace(); - } + INamespace Root.Namespaces.IMembership.membershipOwningNamespace => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwningType"); /// /// The short name of the memberElement relative to the membershipOwningNamespace. @@ -174,7 +170,11 @@ public INamespace QueryMembershipOwningNamespace() [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] [Implements(implementation: "IMembership.MemberShortName")] - public string MemberShortName { get; set; } + string Root.Namespaces.IMembership.MemberShortName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + } /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -184,10 +184,7 @@ public INamespace QueryMembershipOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -197,10 +194,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -208,10 +202,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this @@ -222,10 +213,7 @@ public List QueryOwnedElement() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] [RedefinedByProperty("IFeatureMembership.OwnedMemberFeature")] [Implements(implementation: "IOwningMembership.OwnedMemberElement")] - public IElement QueryOwnedMemberElement() - { - return this.ComputeOwnedMemberElement(); - } + IElement Root.Namespaces.IOwningMembership.ownedMemberElement => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwnedMemberFeature"); /// /// The elementId of the ownedMemberElement. @@ -233,10 +221,7 @@ public IElement QueryOwnedMemberElement() [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] - public string QueryOwnedMemberElementId() - { - return this.ComputeOwnedMemberElementId(); - } + public string ownedMemberElementId => this.ComputeOwnedMemberElementId(); /// /// The Feature that this FeatureMembership relates to its owningType, making it an ownedFeature of the @@ -246,10 +231,7 @@ public string QueryOwnedMemberElementId() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] [RedefinedByProperty("IParameterMembership.OwnedMemberParameter")] [Implements(implementation: "IFeatureMembership.OwnedMemberFeature")] - public IFeature QueryOwnedMemberFeature() - { - return this.ComputeOwnedMemberFeature(); - } + IFeature Core.Types.IFeatureMembership.ownedMemberFeature => throw new InvalidOperationException("Redefined by property IParameterMembership.OwnedMemberParameter"); /// /// The name of the ownedMemberElement. @@ -257,10 +239,7 @@ public IFeature QueryOwnedMemberFeature() [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] [Implements(implementation: "IOwningMembership.OwnedMemberName")] - public string QueryOwnedMemberName() - { - return this.ComputeOwnedMemberName(); - } + public string ownedMemberName => this.ComputeOwnedMemberName(); /// /// The Feature that is identified as a parameter by this ParameterMembership. @@ -268,10 +247,7 @@ public string QueryOwnedMemberName() [Property(xmiId: "_18_5_3_12e503d9_1557528016548_548098_110830", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] [Implements(implementation: "IParameterMembership.OwnedMemberParameter")] - public IFeature QueryOwnedMemberParameter() - { - return this.ComputeOwnedMemberParameter(); - } + public IFeature ownedMemberParameter => this.ComputeOwnedMemberParameter(); /// /// The shortName of the ownedMemberElement. @@ -279,10 +255,7 @@ public IFeature QueryOwnedMemberParameter() [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] - public string QueryOwnedMemberShortName() - { - return this.ComputeOwnedMemberShortName(); - } + public string ownedMemberShortName => this.ComputeOwnedMemberShortName(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -306,10 +279,7 @@ public string QueryOwnedMemberShortName() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -318,10 +288,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -330,10 +297,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -358,10 +322,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866524_738482_486")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] [Implements(implementation: "IFeatureMembership.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -373,10 +334,7 @@ public IType QueryOwningType() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -384,10 +342,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + public List relatedElement => this.ComputeRelatedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -397,10 +352,7 @@ public List QueryRelatedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -409,7 +361,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembership.MembershipOwningNamespace")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -418,7 +374,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembership.MemberElement")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + set => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + } /// /// The TextualRepresentations that annotate this Element. @@ -427,10 +387,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly diff --git a/SysML2.NET/Core/AutoGenPoco/SatisfyRequirementUsage.cs b/SysML2.NET/Core/AutoGenPoco/SatisfyRequirementUsage.cs index 93f4a431..c46936bf 100644 --- a/SysML2.NET/Core/AutoGenPoco/SatisfyRequirementUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/SatisfyRequirementUsage.cs @@ -86,10 +86,7 @@ public partial class SatisfyRequirementUsage : ISatisfyRequirementUsage [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IRequirementUsage.ActorParameter")] - public List QueryActorParameter() - { - return this.ComputeActorParameter(); - } + public List actorParameter => this.ComputeActorParameter(); /// /// Various alternative identifiers for this Element. Generally, these will be set by tools. @@ -106,10 +103,7 @@ public List QueryActorParameter() [Property(xmiId: "_19_0_2_12e503d9_1581045158665_239617_9458", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("ISatisfyRequirementUsage.SatisfiedRequirement")] [Implements(implementation: "IAssertConstraintUsage.AssertedConstraint")] - public IConstraintUsage QueryAssertedConstraint() - { - return this.ComputeAssertedConstraint(); - } + IConstraintUsage Systems.Constraints.IAssertConstraintUsage.assertedConstraint => throw new InvalidOperationException("Redefined by property ISatisfyRequirementUsage.SatisfiedRequirement"); /// /// The owned ConstraintUsages that represent assumptions of this RequirementUsage, derived as the @@ -119,10 +113,7 @@ public IConstraintUsage QueryAssertedConstraint() [Property(xmiId: "_19_0_2_12e503d9_1583377612865_991722_535", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IRequirementUsage.AssumedConstraint")] - public List QueryAssumedConstraint() - { - return this.ComputeAssumedConstraint(); - } + public List assumedConstraint => this.ComputeAssumedConstraint(); /// /// The Behaviors that type this Step. @@ -131,10 +122,7 @@ public List QueryAssumedConstraint() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IExpression.Function")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -146,10 +134,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The (single) Predicate that is the type of this ConstraintUsage. Nominally, this will be a @@ -160,10 +145,7 @@ public List QueryChainingFeature() [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1578025035149_386_969")] [RedefinedByProperty("IRequirementUsage.RequirementDefinition")] [Implements(implementation: "IConstraintUsage.ConstraintDefinition")] - public IPredicate QueryConstraintDefinition() - { - return this.ComputeConstraintDefinition(); - } + IPredicate Systems.Constraints.IConstraintUsage.constraintDefinition => throw new InvalidOperationException("Redefined by property IRequirementUsage.RequirementDefinition"); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -173,10 +155,7 @@ public IPredicate QueryConstraintDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -194,7 +173,11 @@ public IFeature QueryCrossFeature() [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IRequirementUsage.ReqId")] [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } + string Root.Elements.IElement.DeclaredShortName + { + get => throw new InvalidOperationException("Redefined by property IRequirementUsage.ReqId"); + set => throw new InvalidOperationException("Redefined by property IRequirementUsage.ReqId"); + } /// /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds @@ -205,10 +188,7 @@ public IFeature QueryCrossFeature() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] [Implements(implementation: "IUsage.Definition")] - public List QueryDefinition() - { - return this.ComputeDefinition(); - } + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -221,10 +201,7 @@ public List QueryDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -233,10 +210,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// The usages of this Usage that are directedFeatures. @@ -245,10 +219,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -265,10 +236,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -284,10 +252,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -297,10 +262,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -308,10 +270,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -320,20 +279,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -343,10 +296,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The ConcernUsages framed by this RequirementUsage, which are the ownedConcerns of all @@ -355,10 +305,7 @@ public List QueryFeaturingType() [Property(xmiId: "_19_0_4_12e503d9_1617116922864_514612_3264", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583377448339_252740_390")] [Implements(implementation: "IRequirementUsage.FramedConcern")] - public List QueryFramedConcern() - { - return this.ComputeFramedConcern(); - } + public List framedConcern => this.ComputeFramedConcern(); /// /// The Function that types this Expression. @@ -367,10 +314,7 @@ public List QueryFramedConcern() [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [RedefinedByProperty("IBooleanExpression.Predicate")] [Implements(implementation: "IExpression.Function")] - public IFunction QueryFunction() - { - return this.ComputeFunction(); - } + IFunction Kernel.Functions.IExpression.function => throw new InvalidOperationException("Redefined by property IBooleanExpression.Predicate"); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -378,10 +322,7 @@ public IFunction QueryFunction() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// The at most one occurrenceDefinition that has isIndividual = true. @@ -389,10 +330,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public IOccurrenceDefinition QueryIndividualDefinition() - { - return this.ComputeIndividualDefinition(); - } + public IOccurrenceDefinition individualDefinition => this.ComputeIndividualDefinition(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -400,10 +338,7 @@ public IOccurrenceDefinition QueryIndividualDefinition() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -412,10 +347,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -423,10 +355,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -439,10 +368,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -466,10 +392,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -524,10 +447,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, @@ -535,10 +455,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool QueryIsModelLevelEvaluable() - { - return this.ComputeIsModelLevelEvaluable(); - } + public bool isModelLevelEvaluable => this.ComputeIsModelLevelEvaluable(); /// /// Whether this Invariant is asserted to be false rather than true. @@ -567,10 +484,7 @@ public bool QueryIsModelLevelEvaluable() /// [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IUsage.IsReference")] - public bool QueryIsReference() - { - return this.ComputeIsReference(); - } + public bool isReference => this.ComputeIsReference(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -598,7 +512,11 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -619,10 +537,7 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool QueryMayTimeVary() - { - return this.ComputeMayTimeVary(); - } + public bool mayTimeVary => this.ComputeMayTimeVary(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -630,10 +545,7 @@ public bool QueryMayTimeVary() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -641,10 +553,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -654,10 +563,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -667,10 +573,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ActionUsages that are nestedUsages of this Usage. @@ -678,10 +581,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List QueryNestedAction() - { - return this.ComputeNestedAction(); - } + public List nestedAction => this.ComputeNestedAction(); /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -689,10 +589,7 @@ public List QueryNestedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List QueryNestedAllocation() - { - return this.ComputeNestedAllocation(); - } + public List nestedAllocation => this.ComputeNestedAllocation(); /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -700,10 +597,7 @@ public List QueryNestedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List QueryNestedAnalysisCase() - { - return this.ComputeNestedAnalysisCase(); - } + public List nestedAnalysisCase => this.ComputeNestedAnalysisCase(); /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -711,10 +605,7 @@ public List QueryNestedAnalysisCase() [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List QueryNestedAttribute() - { - return this.ComputeNestedAttribute(); - } + public List nestedAttribute => this.ComputeNestedAttribute(); /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -722,10 +613,7 @@ public List QueryNestedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List QueryNestedCalculation() - { - return this.ComputeNestedCalculation(); - } + public List nestedCalculation => this.ComputeNestedCalculation(); /// /// The CaseUsages that are nestedUsages of this Usage. @@ -733,10 +621,7 @@ public List QueryNestedCalculation() [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List QueryNestedCase() - { - return this.ComputeNestedCase(); - } + public List nestedCase => this.ComputeNestedCase(); /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -744,10 +629,7 @@ public List QueryNestedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List QueryNestedConcern() - { - return this.ComputeNestedConcern(); - } + public List nestedConcern => this.ComputeNestedConcern(); /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -757,10 +639,7 @@ public List QueryNestedConcern() [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List QueryNestedConnection() - { - return this.ComputeNestedConnection(); - } + public List nestedConnection => this.ComputeNestedConnection(); /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -768,10 +647,7 @@ public List QueryNestedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List QueryNestedConstraint() - { - return this.ComputeNestedConstraint(); - } + public List nestedConstraint => this.ComputeNestedConstraint(); /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -779,10 +655,7 @@ public List QueryNestedConstraint() [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List QueryNestedEnumeration() - { - return this.ComputeNestedEnumeration(); - } + public List nestedEnumeration => this.ComputeNestedEnumeration(); /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -790,10 +663,7 @@ public List QueryNestedEnumeration() [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List QueryNestedFlow() - { - return this.ComputeNestedFlow(); - } + public List nestedFlow => this.ComputeNestedFlow(); /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -801,10 +671,7 @@ public List QueryNestedFlow() [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List QueryNestedInterface() - { - return this.ComputeNestedInterface(); - } + public List nestedInterface => this.ComputeNestedInterface(); /// /// The ItemUsages that are nestedUsages of this Usage. @@ -812,10 +679,7 @@ public List QueryNestedInterface() [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List QueryNestedItem() - { - return this.ComputeNestedItem(); - } + public List nestedItem => this.ComputeNestedItem(); /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -823,10 +687,7 @@ public List QueryNestedItem() [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List QueryNestedMetadata() - { - return this.ComputeNestedMetadata(); - } + public List nestedMetadata => this.ComputeNestedMetadata(); /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -834,10 +695,7 @@ public List QueryNestedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List QueryNestedOccurrence() - { - return this.ComputeNestedOccurrence(); - } + public List nestedOccurrence => this.ComputeNestedOccurrence(); /// /// The PartUsages that are nestedUsages of this Usage. @@ -845,10 +703,7 @@ public List QueryNestedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List QueryNestedPart() - { - return this.ComputeNestedPart(); - } + public List nestedPart => this.ComputeNestedPart(); /// /// The PortUsages that are nestedUsages of this Usage. @@ -856,10 +711,7 @@ public List QueryNestedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List QueryNestedPort() - { - return this.ComputeNestedPort(); - } + public List nestedPort => this.ComputeNestedPort(); /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -867,10 +719,7 @@ public List QueryNestedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List QueryNestedReference() - { - return this.ComputeNestedReference(); - } + public List nestedReference => this.ComputeNestedReference(); /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -878,10 +727,7 @@ public List QueryNestedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List QueryNestedRendering() - { - return this.ComputeNestedRendering(); - } + public List nestedRendering => this.ComputeNestedRendering(); /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -889,10 +735,7 @@ public List QueryNestedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List QueryNestedRequirement() - { - return this.ComputeNestedRequirement(); - } + public List nestedRequirement => this.ComputeNestedRequirement(); /// /// The StateUsages that are nestedUsages of this Usage. @@ -900,10 +743,7 @@ public List QueryNestedRequirement() [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List QueryNestedState() - { - return this.ComputeNestedState(); - } + public List nestedState => this.ComputeNestedState(); /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -911,10 +751,7 @@ public List QueryNestedState() [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List QueryNestedTransition() - { - return this.ComputeNestedTransition(); - } + public List nestedTransition => this.ComputeNestedTransition(); /// /// The Usages that are ownedFeatures of this Usage. @@ -923,10 +760,7 @@ public List QueryNestedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List QueryNestedUsage() - { - return this.ComputeNestedUsage(); - } + public List nestedUsage => this.ComputeNestedUsage(); /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -934,10 +768,7 @@ public List QueryNestedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List QueryNestedUseCase() - { - return this.ComputeNestedUseCase(); - } + public List nestedUseCase => this.ComputeNestedUseCase(); /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -945,10 +776,7 @@ public List QueryNestedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List QueryNestedVerificationCase() - { - return this.ComputeNestedVerificationCase(); - } + public List nestedVerificationCase => this.ComputeNestedVerificationCase(); /// /// The ViewUsages that are nestedUsages of this Usage. @@ -956,10 +784,7 @@ public List QueryNestedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List QueryNestedView() - { - return this.ComputeNestedView(); - } + public List nestedView => this.ComputeNestedView(); /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -967,10 +792,7 @@ public List QueryNestedView() [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List QueryNestedViewpoint() - { - return this.ComputeNestedViewpoint(); - } + public List nestedViewpoint => this.ComputeNestedViewpoint(); /// /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, @@ -980,10 +802,7 @@ public List QueryNestedViewpoint() [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List QueryOccurrenceDefinition() - { - return this.ComputeOccurrenceDefinition(); - } + public List occurrenceDefinition => this.ComputeOccurrenceDefinition(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -991,10 +810,7 @@ public List QueryOccurrenceDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -1004,10 +820,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -1016,10 +829,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -1028,10 +838,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -1041,10 +848,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -1054,10 +858,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -1065,10 +866,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -1077,10 +875,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -1088,10 +883,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -1101,10 +893,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -1114,10 +903,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -1127,10 +913,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -1140,10 +923,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -1152,10 +932,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -1164,10 +941,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -1178,10 +952,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -1190,10 +961,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -1202,10 +970,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -1223,10 +988,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -1236,10 +998,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -1249,10 +1008,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -1262,10 +1018,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1274,10 +1027,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1285,10 +1035,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The Definition that owns this Usage (if any). @@ -1297,10 +1044,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public IDefinition QueryOwningDefinition() - { - return this.ComputeOwningDefinition(); - } + public IDefinition owningDefinition => this.ComputeOwningDefinition(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1308,10 +1052,7 @@ public IDefinition QueryOwningDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1320,10 +1061,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1332,10 +1070,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -1353,10 +1088,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The Usage in which this Usage is nested (if any). @@ -1364,10 +1096,7 @@ public IType QueryOwningType() [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public IUsage QueryOwningUsage() - { - return this.ComputeOwningUsage(); - } + public IUsage owningUsage => this.ComputeOwningUsage(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -1376,10 +1105,7 @@ public IUsage QueryOwningUsage() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If @@ -1397,10 +1123,7 @@ public List QueryParameter() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1543948477241_299049_20934")] [RedefinedByProperty("IConstraintUsage.ConstraintDefinition")] [Implements(implementation: "IBooleanExpression.Predicate")] - public IPredicate QueryPredicate() - { - return this.ComputePredicate(); - } + IPredicate Kernel.Functions.IBooleanExpression.predicate => throw new InvalidOperationException("Redefined by property IConstraintUsage.ConstraintDefinition"); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -1412,10 +1135,7 @@ public IPredicate QueryPredicate() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// An optional modeler-specified identifier for this RequirementUsage (used, e.g., to link it to an @@ -1435,10 +1155,7 @@ public string QueryQualifiedName() [Property(xmiId: "_19_0_2_12e503d9_1583377448339_252740_390", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IRequirementUsage.RequiredConstraint")] - public List QueryRequiredConstraint() - { - return this.ComputeRequiredConstraint(); - } + public List requiredConstraint => this.ComputeRequiredConstraint(); /// /// The RequirementDefinition that is the single definition of this RequirementUsage. @@ -1446,10 +1163,7 @@ public List QueryRequiredConstraint() [Property(xmiId: "_19_0_2_12e503d9_1583000408905_769743_1223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1578067546711_751168_1745")] [Implements(implementation: "IRequirementUsage.RequirementDefinition")] - public IRequirementDefinition QueryRequirementDefinition() - { - return this.ComputeRequirementDefinition(); - } + public IRequirementDefinition requirementDefinition => this.ComputeRequirementDefinition(); /// /// An output parameter of the Expression whose value is the result of the Expression. The result of an @@ -1460,10 +1174,7 @@ public IRequirementDefinition QueryRequirementDefinition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [Implements(implementation: "IExpression.Result")] - public IFeature QueryResult() - { - return this.ComputeResult(); - } + public IFeature result => this.ComputeResult(); /// /// The RequirementUsage that is satisfied by the satisfyingSubject of this SatisfyRequirementUsage. It @@ -1473,10 +1184,7 @@ public IFeature QueryResult() [Property(xmiId: "_19_0_2_12e503d9_1583185037725_699150_2332", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1581045158665_239617_9458")] [Implements(implementation: "ISatisfyRequirementUsage.SatisfiedRequirement")] - public IRequirementUsage QuerySatisfiedRequirement() - { - return this.ComputeSatisfiedRequirement(); - } + public IRequirementUsage satisfiedRequirement => this.ComputeSatisfiedRequirement(); /// /// The Feature that represents the actual subject that is asserted to satisfy the satisfiedRequirement. @@ -1484,10 +1192,7 @@ public IRequirementUsage QuerySatisfiedRequirement() /// [Property(xmiId: "_19_0_2_12e503d9_1583378847285_929988_1396", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "ISatisfyRequirementUsage.SatisfyingFeature")] - public IFeature QuerySatisfyingFeature() - { - return this.ComputeSatisfyingFeature(); - } + public IFeature satisfyingFeature => this.ComputeSatisfyingFeature(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1497,10 +1202,7 @@ public IFeature QuerySatisfyingFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The parameters of this RequirementUsage that represent stakeholders for the requirement. @@ -1509,10 +1211,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IRequirementUsage.StakeholderParameter")] - public List QueryStakeholderParameter() - { - return this.ComputeStakeholderParameter(); - } + public List stakeholderParameter => this.ComputeStakeholderParameter(); /// /// The parameter of this RequirementUsage that represents its subject. @@ -1521,10 +1220,7 @@ public List QueryStakeholderParameter() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IRequirementUsage.SubjectParameter")] - public IUsage QuerySubjectParameter() - { - return this.ComputeSubjectParameter(); - } + public IUsage subjectParameter => this.ComputeSubjectParameter(); /// /// An optional textual statement of the requirement represented by this RequirementUsage, derived from @@ -1532,10 +1228,7 @@ public IUsage QuerySubjectParameter() /// [Property(xmiId: "_19_0_2_12e503d9_1583376480942_745679_99", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IRequirementUsage.Text")] - public List QueryText() - { - return this.ComputeText(); - } + public List text => this.ComputeText(); /// /// The TextualRepresentations that annotate this Element. @@ -1544,10 +1237,7 @@ public List QueryText() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1558,10 +1248,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1572,10 +1259,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1583,10 +1267,7 @@ public List QueryUnioningType() [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1595,10 +1276,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1607,10 +1285,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/SelectExpression.cs b/SysML2.NET/Core/AutoGenPoco/SelectExpression.cs index fdcf56bb..f42c109b 100644 --- a/SysML2.NET/Core/AutoGenPoco/SelectExpression.cs +++ b/SysML2.NET/Core/AutoGenPoco/SelectExpression.cs @@ -68,10 +68,7 @@ public partial class SelectExpression : ISelectExpression /// [Property(xmiId: "_2022x_2_12e503d9_1739134437590_328753_108", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IInstantiationExpression.Argument")] - public List QueryArgument() - { - return this.ComputeArgument(); - } + public List argument => this.ComputeArgument(); /// /// The Behaviors that type this Step. @@ -80,10 +77,7 @@ public List QueryArgument() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IExpression.Function")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -95,10 +89,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -108,10 +99,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -141,10 +129,7 @@ public IFeature QueryCrossFeature() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -153,10 +138,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -173,10 +155,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -192,10 +171,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -205,10 +181,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -216,10 +189,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -228,20 +198,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -251,10 +215,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Function that types this Expression. @@ -262,10 +223,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [Implements(implementation: "IExpression.Function")] - public IFunction QueryFunction() - { - return this.ComputeFunction(); - } + public IFunction function => this.ComputeFunction(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -273,10 +231,7 @@ public IFunction QueryFunction() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -284,10 +239,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -296,10 +248,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -307,10 +256,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The Type that is being instantiated. @@ -318,10 +264,7 @@ public List QueryInput() [Property(xmiId: "_2022x_2_12e503d9_1739134352572_416088_80", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IInstantiationExpression.InstantiatedType")] - public IType QueryInstantiatedType() - { - return this.ComputeInstantiatedType(); - } + public IType instantiatedType => this.ComputeInstantiatedType(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -334,10 +277,7 @@ public IType QueryInstantiatedType() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -361,10 +301,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -411,10 +348,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, @@ -422,10 +356,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool QueryIsModelLevelEvaluable() - { - return this.ComputeIsModelLevelEvaluable(); - } + public bool isModelLevelEvaluable => this.ComputeIsModelLevelEvaluable(); /// /// Whether an order exists for the values of this Feature or not. @@ -475,10 +406,7 @@ public bool QueryIsModelLevelEvaluable() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -486,10 +414,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -499,10 +424,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -512,17 +434,14 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// [Property(xmiId: "_18_5_3_12e503d9_1559596728932_861031_29126", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "select")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1557528808100_646606_111674")] [Implements(implementation: "ISelectExpression.Operator")] - string ISelectExpression.Operator { get; set; } + public string Operator { get; set; } /// /// An operator symbol that names a corresponding Function from one of the standard packages from the @@ -531,7 +450,11 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1557528808100_646606_111674", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("ISelectExpression.Operator")] [Implements(implementation: "IOperatorExpression.Operator")] - string IOperatorExpression.Operator { get; set; } + string IOperatorExpression.Operator + { + get => throw new InvalidOperationException("Redefined by property ISelectExpression.Operator"); + set => throw new InvalidOperationException("Redefined by property ISelectExpression.Operator"); + } /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -539,10 +462,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -552,10 +472,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -564,10 +481,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -576,10 +490,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -589,10 +500,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -602,10 +510,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -613,10 +518,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -625,10 +527,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -636,10 +535,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -649,10 +545,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -662,10 +555,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -675,10 +565,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -688,10 +575,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -700,10 +584,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -712,10 +593,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -726,10 +604,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -738,10 +613,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -750,10 +622,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -771,10 +640,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -784,10 +650,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -797,10 +660,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -810,10 +670,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -822,10 +679,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -833,10 +687,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -844,10 +695,7 @@ public IElement QueryOwner() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -856,10 +704,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -868,10 +713,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -889,10 +731,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -901,10 +740,7 @@ public IType QueryOwningType() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -916,10 +752,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// An output parameter of the Expression whose value is the result of the Expression. The result of an @@ -930,10 +763,7 @@ public string QueryQualifiedName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [Implements(implementation: "IExpression.Result")] - public IFeature QueryResult() - { - return this.ComputeResult(); - } + public IFeature result => this.ComputeResult(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -943,10 +773,7 @@ public IFeature QueryResult() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -955,10 +782,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -968,10 +792,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + public List type => this.ComputeType(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -982,10 +803,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/SendActionUsage.cs b/SysML2.NET/Core/AutoGenPoco/SendActionUsage.cs index d0c7a3a1..b7ef2461 100644 --- a/SysML2.NET/Core/AutoGenPoco/SendActionUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/SendActionUsage.cs @@ -90,10 +90,7 @@ public partial class SendActionUsage : ISendActionUsage [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IActionUsage.ActionDefinition")] - public List QueryActionDefinition() - { - return this.ComputeActionDefinition(); - } + public List actionDefinition => this.ComputeActionDefinition(); /// /// Various alternative identifiers for this Element. Generally, these will be set by tools. @@ -109,10 +106,7 @@ public List QueryActionDefinition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IActionUsage.ActionDefinition")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -124,10 +118,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -137,10 +128,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -168,10 +156,7 @@ public IFeature QueryCrossFeature() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] [Implements(implementation: "IUsage.Definition")] - public List QueryDefinition() - { - return this.ComputeDefinition(); - } + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -184,10 +169,7 @@ public List QueryDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -196,10 +178,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// The usages of this Usage that are directedFeatures. @@ -208,10 +187,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -228,10 +204,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -247,10 +220,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -260,10 +230,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -271,10 +238,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -283,20 +247,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -306,10 +264,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -317,10 +272,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// The at most one occurrenceDefinition that has isIndividual = true. @@ -328,10 +280,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public IOccurrenceDefinition QueryIndividualDefinition() - { - return this.ComputeIndividualDefinition(); - } + public IOccurrenceDefinition individualDefinition => this.ComputeIndividualDefinition(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -339,10 +288,7 @@ public IOccurrenceDefinition QueryIndividualDefinition() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -351,10 +297,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -362,10 +305,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -378,10 +318,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -405,10 +342,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -463,10 +397,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -488,10 +419,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IUsage.IsReference")] - public bool QueryIsReference() - { - return this.ComputeIsReference(); - } + public bool isReference => this.ComputeIsReference(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -519,7 +447,11 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -540,10 +472,7 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool QueryMayTimeVary() - { - return this.ComputeMayTimeVary(); - } + public bool mayTimeVary => this.ComputeMayTimeVary(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -551,10 +480,7 @@ public bool QueryMayTimeVary() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -562,10 +488,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -575,10 +498,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -588,10 +508,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ActionUsages that are nestedUsages of this Usage. @@ -599,10 +516,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List QueryNestedAction() - { - return this.ComputeNestedAction(); - } + public List nestedAction => this.ComputeNestedAction(); /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -610,10 +524,7 @@ public List QueryNestedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List QueryNestedAllocation() - { - return this.ComputeNestedAllocation(); - } + public List nestedAllocation => this.ComputeNestedAllocation(); /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -621,10 +532,7 @@ public List QueryNestedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List QueryNestedAnalysisCase() - { - return this.ComputeNestedAnalysisCase(); - } + public List nestedAnalysisCase => this.ComputeNestedAnalysisCase(); /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -632,10 +540,7 @@ public List QueryNestedAnalysisCase() [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List QueryNestedAttribute() - { - return this.ComputeNestedAttribute(); - } + public List nestedAttribute => this.ComputeNestedAttribute(); /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -643,10 +548,7 @@ public List QueryNestedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List QueryNestedCalculation() - { - return this.ComputeNestedCalculation(); - } + public List nestedCalculation => this.ComputeNestedCalculation(); /// /// The CaseUsages that are nestedUsages of this Usage. @@ -654,10 +556,7 @@ public List QueryNestedCalculation() [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List QueryNestedCase() - { - return this.ComputeNestedCase(); - } + public List nestedCase => this.ComputeNestedCase(); /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -665,10 +564,7 @@ public List QueryNestedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List QueryNestedConcern() - { - return this.ComputeNestedConcern(); - } + public List nestedConcern => this.ComputeNestedConcern(); /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -678,10 +574,7 @@ public List QueryNestedConcern() [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List QueryNestedConnection() - { - return this.ComputeNestedConnection(); - } + public List nestedConnection => this.ComputeNestedConnection(); /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -689,10 +582,7 @@ public List QueryNestedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List QueryNestedConstraint() - { - return this.ComputeNestedConstraint(); - } + public List nestedConstraint => this.ComputeNestedConstraint(); /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -700,10 +590,7 @@ public List QueryNestedConstraint() [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List QueryNestedEnumeration() - { - return this.ComputeNestedEnumeration(); - } + public List nestedEnumeration => this.ComputeNestedEnumeration(); /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -711,10 +598,7 @@ public List QueryNestedEnumeration() [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List QueryNestedFlow() - { - return this.ComputeNestedFlow(); - } + public List nestedFlow => this.ComputeNestedFlow(); /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -722,10 +606,7 @@ public List QueryNestedFlow() [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List QueryNestedInterface() - { - return this.ComputeNestedInterface(); - } + public List nestedInterface => this.ComputeNestedInterface(); /// /// The ItemUsages that are nestedUsages of this Usage. @@ -733,10 +614,7 @@ public List QueryNestedInterface() [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List QueryNestedItem() - { - return this.ComputeNestedItem(); - } + public List nestedItem => this.ComputeNestedItem(); /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -744,10 +622,7 @@ public List QueryNestedItem() [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List QueryNestedMetadata() - { - return this.ComputeNestedMetadata(); - } + public List nestedMetadata => this.ComputeNestedMetadata(); /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -755,10 +630,7 @@ public List QueryNestedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List QueryNestedOccurrence() - { - return this.ComputeNestedOccurrence(); - } + public List nestedOccurrence => this.ComputeNestedOccurrence(); /// /// The PartUsages that are nestedUsages of this Usage. @@ -766,10 +638,7 @@ public List QueryNestedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List QueryNestedPart() - { - return this.ComputeNestedPart(); - } + public List nestedPart => this.ComputeNestedPart(); /// /// The PortUsages that are nestedUsages of this Usage. @@ -777,10 +646,7 @@ public List QueryNestedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List QueryNestedPort() - { - return this.ComputeNestedPort(); - } + public List nestedPort => this.ComputeNestedPort(); /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -788,10 +654,7 @@ public List QueryNestedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List QueryNestedReference() - { - return this.ComputeNestedReference(); - } + public List nestedReference => this.ComputeNestedReference(); /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -799,10 +662,7 @@ public List QueryNestedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List QueryNestedRendering() - { - return this.ComputeNestedRendering(); - } + public List nestedRendering => this.ComputeNestedRendering(); /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -810,10 +670,7 @@ public List QueryNestedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List QueryNestedRequirement() - { - return this.ComputeNestedRequirement(); - } + public List nestedRequirement => this.ComputeNestedRequirement(); /// /// The StateUsages that are nestedUsages of this Usage. @@ -821,10 +678,7 @@ public List QueryNestedRequirement() [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List QueryNestedState() - { - return this.ComputeNestedState(); - } + public List nestedState => this.ComputeNestedState(); /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -832,10 +686,7 @@ public List QueryNestedState() [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List QueryNestedTransition() - { - return this.ComputeNestedTransition(); - } + public List nestedTransition => this.ComputeNestedTransition(); /// /// The Usages that are ownedFeatures of this Usage. @@ -844,10 +695,7 @@ public List QueryNestedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List QueryNestedUsage() - { - return this.ComputeNestedUsage(); - } + public List nestedUsage => this.ComputeNestedUsage(); /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -855,10 +703,7 @@ public List QueryNestedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List QueryNestedUseCase() - { - return this.ComputeNestedUseCase(); - } + public List nestedUseCase => this.ComputeNestedUseCase(); /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -866,10 +711,7 @@ public List QueryNestedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List QueryNestedVerificationCase() - { - return this.ComputeNestedVerificationCase(); - } + public List nestedVerificationCase => this.ComputeNestedVerificationCase(); /// /// The ViewUsages that are nestedUsages of this Usage. @@ -877,10 +719,7 @@ public List QueryNestedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List QueryNestedView() - { - return this.ComputeNestedView(); - } + public List nestedView => this.ComputeNestedView(); /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -888,10 +727,7 @@ public List QueryNestedView() [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List QueryNestedViewpoint() - { - return this.ComputeNestedViewpoint(); - } + public List nestedViewpoint => this.ComputeNestedViewpoint(); /// /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, @@ -902,10 +738,7 @@ public List QueryNestedViewpoint() [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] [RedefinedByProperty("IActionUsage.ActionDefinition")] [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List QueryOccurrenceDefinition() - { - return this.ComputeOccurrenceDefinition(); - } + List Systems.Occurrences.IOccurrenceUsage.occurrenceDefinition => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -913,10 +746,7 @@ public List QueryOccurrenceDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -926,10 +756,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -938,10 +765,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -950,10 +774,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -963,10 +784,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -976,10 +794,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -987,10 +802,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -999,10 +811,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -1010,10 +819,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -1023,10 +829,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -1036,10 +839,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -1049,10 +849,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -1062,10 +859,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -1074,10 +868,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -1086,10 +877,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -1100,10 +888,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -1112,10 +897,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -1124,10 +906,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -1145,10 +924,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -1158,10 +934,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -1171,10 +944,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -1184,10 +954,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1196,10 +963,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1207,10 +971,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The Definition that owns this Usage (if any). @@ -1219,10 +980,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public IDefinition QueryOwningDefinition() - { - return this.ComputeOwningDefinition(); - } + public IDefinition owningDefinition => this.ComputeOwningDefinition(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1230,10 +988,7 @@ public IDefinition QueryOwningDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1242,10 +997,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1254,10 +1006,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -1275,10 +1024,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The Usage in which this Usage is nested (if any). @@ -1286,10 +1032,7 @@ public IType QueryOwningType() [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public IUsage QueryOwningUsage() - { - return this.ComputeOwningUsage(); - } + public IUsage owningUsage => this.ComputeOwningUsage(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -1298,20 +1041,14 @@ public IUsage QueryOwningUsage() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// An Expression whose result is bound to the payload input parameter of this SendActionUsage. /// [Property(xmiId: "_19_0_4_12e503d9_1612814399422_336683_143", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "ISendActionUsage.PayloadArgument")] - public IExpression QueryPayloadArgument() - { - return this.ComputePayloadArgument(); - } + public IExpression payloadArgument => this.ComputePayloadArgument(); /// /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If @@ -1332,30 +1069,21 @@ public IExpression QueryPayloadArgument() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// An Expression whose result is bound to the receiver input parameter of this SendActionUsage. /// [Property(xmiId: "_19_0_2_12e503d9_1567742374932_10504_18141", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "ISendActionUsage.ReceiverArgument")] - public IExpression QueryReceiverArgument() - { - return this.ComputeReceiverArgument(); - } + public IExpression receiverArgument => this.ComputeReceiverArgument(); /// /// An Expression whose result is bound to the sender input parameter of this SendActionUsage. /// [Property(xmiId: "_19_0_4_12e503d9_1665504224536_894018_944", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "ISendActionUsage.SenderArgument")] - public IExpression QuerySenderArgument() - { - return this.ComputeSenderArgument(); - } + public IExpression senderArgument => this.ComputeSenderArgument(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1365,10 +1093,7 @@ public IExpression QuerySenderArgument() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -1377,10 +1102,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1391,10 +1113,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1405,10 +1124,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1416,10 +1132,7 @@ public List QueryUnioningType() [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1428,10 +1141,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1440,10 +1150,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/Specialization.cs b/SysML2.NET/Core/AutoGenPoco/Specialization.cs index dfd419d7..a69ff9ef 100644 --- a/SysML2.NET/Core/AutoGenPoco/Specialization.cs +++ b/SysML2.NET/Core/AutoGenPoco/Specialization.cs @@ -80,10 +80,7 @@ public partial class Specialization : ISpecialization [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -125,10 +122,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -138,10 +132,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -151,10 +142,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -162,10 +150,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -189,10 +174,7 @@ public List QueryOwnedElement() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -201,10 +183,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -213,10 +192,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -241,10 +217,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] [Implements(implementation: "ISpecialization.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -256,10 +229,7 @@ public IType QueryOwningType() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -267,10 +237,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + public List relatedElement => this.ComputeRelatedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -280,10 +247,7 @@ public List QueryRelatedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -292,7 +256,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("ISpecialization.Specific")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property ISpecialization.Specific"); + set => throw new InvalidOperationException("Redefined by property ISpecialization.Specific"); + } /// /// A Type with a subset of all instances of the general Type, which might be the same set. @@ -309,7 +277,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("ISpecialization.General")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property ISpecialization.General"); + set => throw new InvalidOperationException("Redefined by property ISpecialization.General"); + } /// /// The TextualRepresentations that annotate this Element. @@ -318,10 +290,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/StakeholderMembership.cs b/SysML2.NET/Core/AutoGenPoco/StakeholderMembership.cs index a88eef39..9d4a2fc0 100644 --- a/SysML2.NET/Core/AutoGenPoco/StakeholderMembership.cs +++ b/SysML2.NET/Core/AutoGenPoco/StakeholderMembership.cs @@ -85,10 +85,7 @@ public partial class StakeholderMembership : IStakeholderMembership [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -122,10 +119,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. @@ -134,7 +128,11 @@ public bool QueryIsLibraryElement() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] [Implements(implementation: "IMembership.MemberElement")] - public IElement MemberElement { get; set; } + IElement Root.Namespaces.IMembership.MemberElement + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + } /// /// The elementId of the memberElement. @@ -142,10 +140,7 @@ public bool QueryIsLibraryElement() [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] [Implements(implementation: "IMembership.MemberElementId")] - public string QueryMemberElementId() - { - return this.ComputeMemberElementId(); - } + string Root.Namespaces.IMembership.memberElementId => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElementId"); /// /// The name of the memberElement relative to the membershipOwningNamespace. @@ -153,7 +148,11 @@ public string QueryMemberElementId() [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberName")] [Implements(implementation: "IMembership.MemberName")] - public string MemberName { get; set; } + string Root.Namespaces.IMembership.MemberName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + } /// /// The Namespace of which the memberElement becomes a member due to this Membership. @@ -164,10 +163,7 @@ public string QueryMemberElementId() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [RedefinedByProperty("IFeatureMembership.OwningType")] [Implements(implementation: "IMembership.MembershipOwningNamespace")] - public INamespace QueryMembershipOwningNamespace() - { - return this.ComputeMembershipOwningNamespace(); - } + INamespace Root.Namespaces.IMembership.membershipOwningNamespace => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwningType"); /// /// The short name of the memberElement relative to the membershipOwningNamespace. @@ -175,7 +171,11 @@ public INamespace QueryMembershipOwningNamespace() [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] [Implements(implementation: "IMembership.MemberShortName")] - public string MemberShortName { get; set; } + string Root.Namespaces.IMembership.MemberShortName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + } /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -185,10 +185,7 @@ public INamespace QueryMembershipOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -198,10 +195,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -209,10 +203,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this @@ -223,10 +214,7 @@ public List QueryOwnedElement() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] [RedefinedByProperty("IFeatureMembership.OwnedMemberFeature")] [Implements(implementation: "IOwningMembership.OwnedMemberElement")] - public IElement QueryOwnedMemberElement() - { - return this.ComputeOwnedMemberElement(); - } + IElement Root.Namespaces.IOwningMembership.ownedMemberElement => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwnedMemberFeature"); /// /// The elementId of the ownedMemberElement. @@ -234,10 +222,7 @@ public IElement QueryOwnedMemberElement() [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] - public string QueryOwnedMemberElementId() - { - return this.ComputeOwnedMemberElementId(); - } + public string ownedMemberElementId => this.ComputeOwnedMemberElementId(); /// /// The Feature that this FeatureMembership relates to its owningType, making it an ownedFeature of the @@ -247,10 +232,7 @@ public string QueryOwnedMemberElementId() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] [RedefinedByProperty("IParameterMembership.OwnedMemberParameter")] [Implements(implementation: "IFeatureMembership.OwnedMemberFeature")] - public IFeature QueryOwnedMemberFeature() - { - return this.ComputeOwnedMemberFeature(); - } + IFeature Core.Types.IFeatureMembership.ownedMemberFeature => throw new InvalidOperationException("Redefined by property IParameterMembership.OwnedMemberParameter"); /// /// The name of the ownedMemberElement. @@ -258,10 +240,7 @@ public IFeature QueryOwnedMemberFeature() [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] [Implements(implementation: "IOwningMembership.OwnedMemberName")] - public string QueryOwnedMemberName() - { - return this.ComputeOwnedMemberName(); - } + public string ownedMemberName => this.ComputeOwnedMemberName(); /// /// The Feature that is identified as a parameter by this ParameterMembership. @@ -270,10 +249,7 @@ public string QueryOwnedMemberName() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] [RedefinedByProperty("IStakeholderMembership.OwnedStakeholderParameter")] [Implements(implementation: "IParameterMembership.OwnedMemberParameter")] - public IFeature QueryOwnedMemberParameter() - { - return this.ComputeOwnedMemberParameter(); - } + IFeature Kernel.Behaviors.IParameterMembership.ownedMemberParameter => throw new InvalidOperationException("Redefined by property IStakeholderMembership.OwnedStakeholderParameter"); /// /// The shortName of the ownedMemberElement. @@ -281,10 +257,7 @@ public IFeature QueryOwnedMemberParameter() [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] - public string QueryOwnedMemberShortName() - { - return this.ComputeOwnedMemberShortName(); - } + public string ownedMemberShortName => this.ComputeOwnedMemberShortName(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -308,10 +281,7 @@ public string QueryOwnedMemberShortName() [Property(xmiId: "_19_0_4_12e503d9_1624034451301_6622_40822", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1557528016548_548098_110830")] [Implements(implementation: "IStakeholderMembership.OwnedStakeholderParameter")] - public IPartUsage QueryOwnedStakeholderParameter() - { - return this.ComputeOwnedStakeholderParameter(); - } + public IPartUsage ownedStakeholderParameter => this.ComputeOwnedStakeholderParameter(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -319,10 +289,7 @@ public IPartUsage QueryOwnedStakeholderParameter() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -331,10 +298,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -343,10 +307,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -371,10 +332,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866524_738482_486")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] [Implements(implementation: "IFeatureMembership.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -386,10 +344,7 @@ public IType QueryOwningType() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -397,10 +352,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + public List relatedElement => this.ComputeRelatedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -410,10 +362,7 @@ public List QueryRelatedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -422,7 +371,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembership.MembershipOwningNamespace")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -431,7 +384,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembership.MemberElement")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + set => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + } /// /// The TextualRepresentations that annotate this Element. @@ -440,10 +397,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly diff --git a/SysML2.NET/Core/AutoGenPoco/StateDefinition.cs b/SysML2.NET/Core/AutoGenPoco/StateDefinition.cs index 8d9ba20b..0bf65f8e 100644 --- a/SysML2.NET/Core/AutoGenPoco/StateDefinition.cs +++ b/SysML2.NET/Core/AutoGenPoco/StateDefinition.cs @@ -83,10 +83,7 @@ public partial class StateDefinition : IStateDefinition [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IActionDefinition.Action")] - public List QueryAction() - { - return this.ComputeAction(); - } + public List action => this.ComputeAction(); /// /// Various alternative identifiers for this Element. Generally, these will be set by tools. @@ -123,10 +120,7 @@ public List QueryAction() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -135,10 +129,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IBehavior.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IBehavior.Parameter"); /// /// The usages of this Definition that are directedFeatures. @@ -147,10 +138,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// The ActionUsage of this StateDefinition to be performed while in the state defined by the @@ -159,10 +147,7 @@ public List QueryDirectedUsage() /// [Property(xmiId: "_19_0_2_12e503d9_1582975916386_388324_339", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IStateDefinition.DoAction")] - public IActionUsage QueryDoAction() - { - return this.ComputeDoAction(); - } + public IActionUsage doAction => this.ComputeDoAction(); /// /// The Documentation owned by this Element. @@ -171,10 +156,7 @@ public IActionUsage QueryDoAction() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -190,10 +172,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The ActionUsage of this StateDefinition to be performed on entry to the state defined by the @@ -202,10 +181,7 @@ public List QueryEndFeature() /// [Property(xmiId: "_19_0_2_12e503d9_1582975902339_513804_312", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IStateDefinition.EntryAction")] - public IActionUsage QueryEntryAction() - { - return this.ComputeEntryAction(); - } + public IActionUsage entryAction => this.ComputeEntryAction(); /// /// The ActionUsage of this StateDefinition to be performed on exit to the state defined by the @@ -214,10 +190,7 @@ public IActionUsage QueryEntryAction() /// [Property(xmiId: "_19_0_2_12e503d9_1582975927011_696894_352", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IStateDefinition.ExitAction")] - public IActionUsage QueryExitAction() - { - return this.ComputeExitAction(); - } + public IActionUsage exitAction => this.ComputeExitAction(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -225,10 +198,7 @@ public IActionUsage QueryExitAction() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -237,10 +207,7 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -248,10 +215,7 @@ public List QueryFeatureMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -259,10 +223,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -271,10 +232,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -282,10 +240,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -298,10 +253,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -316,10 +268,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// Whether all necessary implied Relationships have been included in the ownedRelationships of this @@ -344,10 +293,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether the ownedStates of this StateDefinition are to all be performed in parallel. If true, none @@ -384,10 +330,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -395,10 +338,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -408,10 +348,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -421,10 +358,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -432,10 +366,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ActionUsages that are ownedUsages of this Definition. @@ -443,10 +374,7 @@ public List QueryOutput() [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedAction")] - public List QueryOwnedAction() - { - return this.ComputeOwnedAction(); - } + public List ownedAction => this.ComputeOwnedAction(); /// /// The AllocationUsages that are ownedUsages of this Definition. @@ -454,10 +382,7 @@ public List QueryOwnedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedAllocation")] - public List QueryOwnedAllocation() - { - return this.ComputeOwnedAllocation(); - } + public List ownedAllocation => this.ComputeOwnedAllocation(); /// /// The AnalysisCaseUsages that are ownedUsages of this Definition. @@ -465,10 +390,7 @@ public List QueryOwnedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List QueryOwnedAnalysisCase() - { - return this.ComputeOwnedAnalysisCase(); - } + public List ownedAnalysisCase => this.ComputeOwnedAnalysisCase(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -478,10 +400,7 @@ public List QueryOwnedAnalysisCase() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The AttributeUsages that are ownedUsages of this Definition. @@ -489,10 +408,7 @@ public List QueryOwnedAnnotation() [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedAttribute")] - public List QueryOwnedAttribute() - { - return this.ComputeOwnedAttribute(); - } + public List ownedAttribute => this.ComputeOwnedAttribute(); /// /// The CalculationUsages that are ownedUsages of this Definition. @@ -500,10 +416,7 @@ public List QueryOwnedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedCalculation")] - public List QueryOwnedCalculation() - { - return this.ComputeOwnedCalculation(); - } + public List ownedCalculation => this.ComputeOwnedCalculation(); /// /// The code>CaseUsages that are ownedUsages of this Definition. @@ -511,10 +424,7 @@ public List QueryOwnedCalculation() [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] [Implements(implementation: "IDefinition.OwnedCase")] - public List QueryOwnedCase() - { - return this.ComputeOwnedCase(); - } + public List ownedCase => this.ComputeOwnedCase(); /// /// The ConcernUsages that are ownedUsages of this Definition. @@ -522,10 +432,7 @@ public List QueryOwnedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedConcern")] - public List QueryOwnedConcern() - { - return this.ComputeOwnedConcern(); - } + public List ownedConcern => this.ComputeOwnedConcern(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -534,10 +441,7 @@ public List QueryOwnedConcern() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes @@ -547,10 +451,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedConnection")] - public List QueryOwnedConnection() - { - return this.ComputeOwnedConnection(); - } + public List ownedConnection => this.ComputeOwnedConnection(); /// /// The ConstraintUsages that are ownedUsages of this Definition. @@ -558,10 +459,7 @@ public List QueryOwnedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedConstraint")] - public List QueryOwnedConstraint() - { - return this.ComputeOwnedConstraint(); - } + public List ownedConstraint => this.ComputeOwnedConstraint(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -571,10 +469,7 @@ public List QueryOwnedConstraint() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -584,10 +479,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -595,10 +487,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -607,10 +496,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The EnumerationUsages that are ownedUsages of this Definition. @@ -618,10 +504,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List QueryOwnedEnumeration() - { - return this.ComputeOwnedEnumeration(); - } + public List ownedEnumeration => this.ComputeOwnedEnumeration(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -629,10 +512,7 @@ public List QueryOwnedEnumeration() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -642,10 +522,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The FlowUsages that are ownedUsages of this Definition. @@ -653,10 +530,7 @@ public List QueryOwnedFeatureMembership() [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedFlow")] - public List QueryOwnedFlow() - { - return this.ComputeOwnedFlow(); - } + public List ownedFlow => this.ComputeOwnedFlow(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -666,10 +540,7 @@ public List QueryOwnedFlow() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The InterfaceUsages that are ownedUsages of this Definition. @@ -677,10 +548,7 @@ public List QueryOwnedImport() [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedInterface")] - public List QueryOwnedInterface() - { - return this.ComputeOwnedInterface(); - } + public List ownedInterface => this.ComputeOwnedInterface(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -689,10 +557,7 @@ public List QueryOwnedInterface() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The ItemUsages that are ownedUsages of this Definition. @@ -700,10 +565,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedItem")] - public List QueryOwnedItem() - { - return this.ComputeOwnedItem(); - } + public List ownedItem => this.ComputeOwnedItem(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -712,10 +574,7 @@ public List QueryOwnedItem() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -726,10 +585,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The MetadataUsages that are ownedUsages of this Definition. @@ -737,10 +593,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedMetadata")] - public List QueryOwnedMetadata() - { - return this.ComputeOwnedMetadata(); - } + public List ownedMetadata => this.ComputeOwnedMetadata(); /// /// The OccurrenceUsages that are ownedUsages of this Definition. @@ -748,10 +601,7 @@ public List QueryOwnedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List QueryOwnedOccurrence() - { - return this.ComputeOwnedOccurrence(); - } + public List ownedOccurrence => this.ComputeOwnedOccurrence(); /// /// The PartUsages that are ownedUsages of this Definition. @@ -759,10 +609,7 @@ public List QueryOwnedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedPart")] - public List QueryOwnedPart() - { - return this.ComputeOwnedPart(); - } + public List ownedPart => this.ComputeOwnedPart(); /// /// The PortUsages that are ownedUsages of this Definition. @@ -770,10 +617,7 @@ public List QueryOwnedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedPort")] - public List QueryOwnedPort() - { - return this.ComputeOwnedPort(); - } + public List ownedPort => this.ComputeOwnedPort(); /// /// The ReferenceUsages that are ownedUsages of this Definition. @@ -781,10 +625,7 @@ public List QueryOwnedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedReference")] - public List QueryOwnedReference() - { - return this.ComputeOwnedReference(); - } + public List ownedReference => this.ComputeOwnedReference(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -800,10 +641,7 @@ public List QueryOwnedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedRendering")] - public List QueryOwnedRendering() - { - return this.ComputeOwnedRendering(); - } + public List ownedRendering => this.ComputeOwnedRendering(); /// /// The RequirementUsages that are ownedUsages of this Definition. @@ -811,10 +649,7 @@ public List QueryOwnedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] [Implements(implementation: "IDefinition.OwnedRequirement")] - public List QueryOwnedRequirement() - { - return this.ComputeOwnedRequirement(); - } + public List ownedRequirement => this.ComputeOwnedRequirement(); /// /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific @@ -824,10 +659,7 @@ public List QueryOwnedRequirement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The StateUsages that are ownedUsages of this Definition. @@ -835,10 +667,7 @@ public List QueryOwnedSpecialization() [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedState")] - public List QueryOwnedState() - { - return this.ComputeOwnedState(); - } + public List ownedState => this.ComputeOwnedState(); /// /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier @@ -847,10 +676,7 @@ public List QueryOwnedState() [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List QueryOwnedSubclassification() - { - return this.ComputeOwnedSubclassification(); - } + public List ownedSubclassification => this.ComputeOwnedSubclassification(); /// /// The TransitionUsages that are ownedUsages of this Definition. @@ -858,10 +684,7 @@ public List QueryOwnedSubclassification() [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedTransition")] - public List QueryOwnedTransition() - { - return this.ComputeOwnedTransition(); - } + public List ownedTransition => this.ComputeOwnedTransition(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -870,10 +693,7 @@ public List QueryOwnedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The Usages that are ownedFeatures of this Definition. @@ -882,10 +702,7 @@ public List QueryOwnedUnioning() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.OwnedUsage")] - public List QueryOwnedUsage() - { - return this.ComputeOwnedUsage(); - } + public List ownedUsage => this.ComputeOwnedUsage(); /// /// The UseCaseUsages that are ownedUsages of this Definition. @@ -893,10 +710,7 @@ public List QueryOwnedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedUseCase")] - public List QueryOwnedUseCase() - { - return this.ComputeOwnedUseCase(); - } + public List ownedUseCase => this.ComputeOwnedUseCase(); /// /// The VerificationCaseUsages that are ownedUsages of this Definition. @@ -904,10 +718,7 @@ public List QueryOwnedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List QueryOwnedVerificationCase() - { - return this.ComputeOwnedVerificationCase(); - } + public List ownedVerificationCase => this.ComputeOwnedVerificationCase(); /// /// The ViewUsages that are ownedUsages of this Definition. @@ -915,10 +726,7 @@ public List QueryOwnedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedView")] - public List QueryOwnedView() - { - return this.ComputeOwnedView(); - } + public List ownedView => this.ComputeOwnedView(); /// /// The ViewpointUsages that are ownedUsages of this Definition. @@ -926,10 +734,7 @@ public List QueryOwnedView() [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List QueryOwnedViewpoint() - { - return this.ComputeOwnedViewpoint(); - } + public List ownedViewpoint => this.ComputeOwnedViewpoint(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -937,10 +742,7 @@ public List QueryOwnedViewpoint() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -949,10 +751,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -961,10 +760,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -981,10 +777,7 @@ public INamespace QueryOwningNamespace() [Property(xmiId: "_18_5_3_12e503d9_1543948010065_362066_20413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IBehavior.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -996,10 +789,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1009,10 +799,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The StateUsages, which are actions in the StateDefinition, that specify the discrete states in the @@ -1021,10 +808,7 @@ public string QueryShortName() [Property(xmiId: "_19_0_2_12e503d9_1575588190693_949879_1156", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565500809065_170841_30688")] [Implements(implementation: "IStateDefinition.State")] - public List QueryState() - { - return this.ComputeState(); - } + public List state => this.ComputeState(); /// /// The Steps that make up this Behavior. @@ -1032,10 +816,7 @@ public List QueryState() [Property(xmiId: "_18_5_3_b9102da_1536346067212_587255_17343", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IBehavior.Step")] - public List QueryStep() - { - return this.ComputeStep(); - } + public List step => this.ComputeStep(); /// /// The TextualRepresentations that annotate this Element. @@ -1044,10 +825,7 @@ public List QueryStep() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1058,10 +836,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Definition (not necessarily owned). @@ -1069,10 +844,7 @@ public List QueryUnioningType() [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IDefinition.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Definition as a variation point Definition, if @@ -1081,10 +853,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IDefinition.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then @@ -1094,10 +863,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IDefinition.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/StateSubactionMembership.cs b/SysML2.NET/Core/AutoGenPoco/StateSubactionMembership.cs index c822dca5..ca6b5770 100644 --- a/SysML2.NET/Core/AutoGenPoco/StateSubactionMembership.cs +++ b/SysML2.NET/Core/AutoGenPoco/StateSubactionMembership.cs @@ -59,10 +59,7 @@ public partial class StateSubactionMembership : IStateSubactionMembership [Property(xmiId: "_19_0_2_12e503d9_1582974847979_606181_96", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] [Implements(implementation: "IStateSubactionMembership.Action")] - public IActionUsage QueryAction() - { - return this.ComputeAction(); - } + public IActionUsage action => this.ComputeAction(); /// /// Various alternative identifiers for this Element. Generally, these will be set by tools. @@ -95,10 +92,7 @@ public IActionUsage QueryAction() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -132,10 +126,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether this StateSubactionMembership is for an entry, do or exit ActionUsage. @@ -151,7 +142,11 @@ public bool QueryIsLibraryElement() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] [Implements(implementation: "IMembership.MemberElement")] - public IElement MemberElement { get; set; } + IElement Root.Namespaces.IMembership.MemberElement + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + } /// /// The elementId of the memberElement. @@ -159,10 +154,7 @@ public bool QueryIsLibraryElement() [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] [Implements(implementation: "IMembership.MemberElementId")] - public string QueryMemberElementId() - { - return this.ComputeMemberElementId(); - } + string Root.Namespaces.IMembership.memberElementId => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElementId"); /// /// The name of the memberElement relative to the membershipOwningNamespace. @@ -170,7 +162,11 @@ public string QueryMemberElementId() [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberName")] [Implements(implementation: "IMembership.MemberName")] - public string MemberName { get; set; } + string Root.Namespaces.IMembership.MemberName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + } /// /// The Namespace of which the memberElement becomes a member due to this Membership. @@ -181,10 +177,7 @@ public string QueryMemberElementId() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [RedefinedByProperty("IFeatureMembership.OwningType")] [Implements(implementation: "IMembership.MembershipOwningNamespace")] - public INamespace QueryMembershipOwningNamespace() - { - return this.ComputeMembershipOwningNamespace(); - } + INamespace Root.Namespaces.IMembership.membershipOwningNamespace => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwningType"); /// /// The short name of the memberElement relative to the membershipOwningNamespace. @@ -192,7 +185,11 @@ public INamespace QueryMembershipOwningNamespace() [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] [Implements(implementation: "IMembership.MemberShortName")] - public string MemberShortName { get; set; } + string Root.Namespaces.IMembership.MemberShortName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + } /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -202,10 +199,7 @@ public INamespace QueryMembershipOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -215,10 +209,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -226,10 +217,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this @@ -240,10 +228,7 @@ public List QueryOwnedElement() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] [RedefinedByProperty("IFeatureMembership.OwnedMemberFeature")] [Implements(implementation: "IOwningMembership.OwnedMemberElement")] - public IElement QueryOwnedMemberElement() - { - return this.ComputeOwnedMemberElement(); - } + IElement Root.Namespaces.IOwningMembership.ownedMemberElement => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwnedMemberFeature"); /// /// The elementId of the ownedMemberElement. @@ -251,10 +236,7 @@ public IElement QueryOwnedMemberElement() [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] - public string QueryOwnedMemberElementId() - { - return this.ComputeOwnedMemberElementId(); - } + public string ownedMemberElementId => this.ComputeOwnedMemberElementId(); /// /// The Feature that this FeatureMembership relates to its owningType, making it an ownedFeature of the @@ -264,10 +246,7 @@ public string QueryOwnedMemberElementId() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] [RedefinedByProperty("IStateSubactionMembership.Action")] [Implements(implementation: "IFeatureMembership.OwnedMemberFeature")] - public IFeature QueryOwnedMemberFeature() - { - return this.ComputeOwnedMemberFeature(); - } + IFeature Core.Types.IFeatureMembership.ownedMemberFeature => throw new InvalidOperationException("Redefined by property IStateSubactionMembership.Action"); /// /// The name of the ownedMemberElement. @@ -275,10 +254,7 @@ public IFeature QueryOwnedMemberFeature() [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] [Implements(implementation: "IOwningMembership.OwnedMemberName")] - public string QueryOwnedMemberName() - { - return this.ComputeOwnedMemberName(); - } + public string ownedMemberName => this.ComputeOwnedMemberName(); /// /// The shortName of the ownedMemberElement. @@ -286,10 +262,7 @@ public string QueryOwnedMemberName() [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] - public string QueryOwnedMemberShortName() - { - return this.ComputeOwnedMemberShortName(); - } + public string ownedMemberShortName => this.ComputeOwnedMemberShortName(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -313,10 +286,7 @@ public string QueryOwnedMemberShortName() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -325,10 +295,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -337,10 +304,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -365,10 +329,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866524_738482_486")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] [Implements(implementation: "IFeatureMembership.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -380,10 +341,7 @@ public IType QueryOwningType() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -391,10 +349,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + public List relatedElement => this.ComputeRelatedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -404,10 +359,7 @@ public List QueryRelatedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -416,7 +368,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembership.MembershipOwningNamespace")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -425,7 +381,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembership.MemberElement")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + set => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + } /// /// The TextualRepresentations that annotate this Element. @@ -434,10 +394,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly diff --git a/SysML2.NET/Core/AutoGenPoco/StateUsage.cs b/SysML2.NET/Core/AutoGenPoco/StateUsage.cs index 218d35f2..5037294c 100644 --- a/SysML2.NET/Core/AutoGenPoco/StateUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/StateUsage.cs @@ -88,10 +88,7 @@ public partial class StateUsage : IStateUsage [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [RedefinedByProperty("IStateUsage.StateDefinition")] [Implements(implementation: "IActionUsage.ActionDefinition")] - public List QueryActionDefinition() - { - return this.ComputeActionDefinition(); - } + List Systems.Actions.IActionUsage.actionDefinition => throw new InvalidOperationException("Redefined by property IStateUsage.StateDefinition"); /// /// Various alternative identifiers for this Element. Generally, these will be set by tools. @@ -107,10 +104,7 @@ public List QueryActionDefinition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IActionUsage.ActionDefinition")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -122,10 +116,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -135,10 +126,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -166,10 +154,7 @@ public IFeature QueryCrossFeature() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] [Implements(implementation: "IUsage.Definition")] - public List QueryDefinition() - { - return this.ComputeDefinition(); - } + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -182,10 +167,7 @@ public List QueryDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -194,10 +176,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// The usages of this Usage that are directedFeatures. @@ -206,10 +185,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -226,10 +202,7 @@ public List QueryDirectedUsage() /// [Property(xmiId: "_19_0_2_12e503d9_1582976255473_203238_644", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IStateUsage.DoAction")] - public IActionUsage QueryDoAction() - { - return this.ComputeDoAction(); - } + public IActionUsage doAction => this.ComputeDoAction(); /// /// The Documentation owned by this Element. @@ -238,10 +211,7 @@ public IActionUsage QueryDoAction() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -257,10 +227,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -270,10 +237,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ActionUsage of this StateUsage to be performed on entry to the state defined by the @@ -282,10 +246,7 @@ public IType QueryEndOwningType() /// [Property(xmiId: "_19_0_2_12e503d9_1582976239200_979652_605", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IStateUsage.EntryAction")] - public IActionUsage QueryEntryAction() - { - return this.ComputeEntryAction(); - } + public IActionUsage entryAction => this.ComputeEntryAction(); /// /// The ActionUsage of this StateUsage to be performed on exit to the state defined by the @@ -294,10 +255,7 @@ public IActionUsage QueryEntryAction() /// [Property(xmiId: "_19_0_2_12e503d9_1582976283940_998741_691", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IStateUsage.ExitAction")] - public IActionUsage QueryExitAction() - { - return this.ComputeExitAction(); - } + public IActionUsage exitAction => this.ComputeExitAction(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -305,10 +263,7 @@ public IActionUsage QueryExitAction() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -317,20 +272,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -340,10 +289,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -351,10 +297,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// The at most one occurrenceDefinition that has isIndividual = true. @@ -362,10 +305,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public IOccurrenceDefinition QueryIndividualDefinition() - { - return this.ComputeIndividualDefinition(); - } + public IOccurrenceDefinition individualDefinition => this.ComputeIndividualDefinition(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -373,10 +313,7 @@ public IOccurrenceDefinition QueryIndividualDefinition() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -385,10 +322,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -396,10 +330,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -412,10 +343,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -439,10 +367,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -497,10 +422,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -531,10 +453,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IUsage.IsReference")] - public bool QueryIsReference() - { - return this.ComputeIsReference(); - } + public bool isReference => this.ComputeIsReference(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -562,7 +481,11 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -583,10 +506,7 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool QueryMayTimeVary() - { - return this.ComputeMayTimeVary(); - } + public bool mayTimeVary => this.ComputeMayTimeVary(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -594,10 +514,7 @@ public bool QueryMayTimeVary() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -605,10 +522,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -618,10 +532,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -631,10 +542,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ActionUsages that are nestedUsages of this Usage. @@ -642,10 +550,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List QueryNestedAction() - { - return this.ComputeNestedAction(); - } + public List nestedAction => this.ComputeNestedAction(); /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -653,10 +558,7 @@ public List QueryNestedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List QueryNestedAllocation() - { - return this.ComputeNestedAllocation(); - } + public List nestedAllocation => this.ComputeNestedAllocation(); /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -664,10 +566,7 @@ public List QueryNestedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List QueryNestedAnalysisCase() - { - return this.ComputeNestedAnalysisCase(); - } + public List nestedAnalysisCase => this.ComputeNestedAnalysisCase(); /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -675,10 +574,7 @@ public List QueryNestedAnalysisCase() [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List QueryNestedAttribute() - { - return this.ComputeNestedAttribute(); - } + public List nestedAttribute => this.ComputeNestedAttribute(); /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -686,10 +582,7 @@ public List QueryNestedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List QueryNestedCalculation() - { - return this.ComputeNestedCalculation(); - } + public List nestedCalculation => this.ComputeNestedCalculation(); /// /// The CaseUsages that are nestedUsages of this Usage. @@ -697,10 +590,7 @@ public List QueryNestedCalculation() [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List QueryNestedCase() - { - return this.ComputeNestedCase(); - } + public List nestedCase => this.ComputeNestedCase(); /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -708,10 +598,7 @@ public List QueryNestedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List QueryNestedConcern() - { - return this.ComputeNestedConcern(); - } + public List nestedConcern => this.ComputeNestedConcern(); /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -721,10 +608,7 @@ public List QueryNestedConcern() [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List QueryNestedConnection() - { - return this.ComputeNestedConnection(); - } + public List nestedConnection => this.ComputeNestedConnection(); /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -732,10 +616,7 @@ public List QueryNestedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List QueryNestedConstraint() - { - return this.ComputeNestedConstraint(); - } + public List nestedConstraint => this.ComputeNestedConstraint(); /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -743,10 +624,7 @@ public List QueryNestedConstraint() [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List QueryNestedEnumeration() - { - return this.ComputeNestedEnumeration(); - } + public List nestedEnumeration => this.ComputeNestedEnumeration(); /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -754,10 +632,7 @@ public List QueryNestedEnumeration() [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List QueryNestedFlow() - { - return this.ComputeNestedFlow(); - } + public List nestedFlow => this.ComputeNestedFlow(); /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -765,10 +640,7 @@ public List QueryNestedFlow() [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List QueryNestedInterface() - { - return this.ComputeNestedInterface(); - } + public List nestedInterface => this.ComputeNestedInterface(); /// /// The ItemUsages that are nestedUsages of this Usage. @@ -776,10 +648,7 @@ public List QueryNestedInterface() [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List QueryNestedItem() - { - return this.ComputeNestedItem(); - } + public List nestedItem => this.ComputeNestedItem(); /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -787,10 +656,7 @@ public List QueryNestedItem() [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List QueryNestedMetadata() - { - return this.ComputeNestedMetadata(); - } + public List nestedMetadata => this.ComputeNestedMetadata(); /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -798,10 +664,7 @@ public List QueryNestedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List QueryNestedOccurrence() - { - return this.ComputeNestedOccurrence(); - } + public List nestedOccurrence => this.ComputeNestedOccurrence(); /// /// The PartUsages that are nestedUsages of this Usage. @@ -809,10 +672,7 @@ public List QueryNestedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List QueryNestedPart() - { - return this.ComputeNestedPart(); - } + public List nestedPart => this.ComputeNestedPart(); /// /// The PortUsages that are nestedUsages of this Usage. @@ -820,10 +680,7 @@ public List QueryNestedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List QueryNestedPort() - { - return this.ComputeNestedPort(); - } + public List nestedPort => this.ComputeNestedPort(); /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -831,10 +688,7 @@ public List QueryNestedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List QueryNestedReference() - { - return this.ComputeNestedReference(); - } + public List nestedReference => this.ComputeNestedReference(); /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -842,10 +696,7 @@ public List QueryNestedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List QueryNestedRendering() - { - return this.ComputeNestedRendering(); - } + public List nestedRendering => this.ComputeNestedRendering(); /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -853,10 +704,7 @@ public List QueryNestedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List QueryNestedRequirement() - { - return this.ComputeNestedRequirement(); - } + public List nestedRequirement => this.ComputeNestedRequirement(); /// /// The StateUsages that are nestedUsages of this Usage. @@ -864,10 +712,7 @@ public List QueryNestedRequirement() [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List QueryNestedState() - { - return this.ComputeNestedState(); - } + public List nestedState => this.ComputeNestedState(); /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -875,10 +720,7 @@ public List QueryNestedState() [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List QueryNestedTransition() - { - return this.ComputeNestedTransition(); - } + public List nestedTransition => this.ComputeNestedTransition(); /// /// The Usages that are ownedFeatures of this Usage. @@ -887,10 +729,7 @@ public List QueryNestedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List QueryNestedUsage() - { - return this.ComputeNestedUsage(); - } + public List nestedUsage => this.ComputeNestedUsage(); /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -898,10 +737,7 @@ public List QueryNestedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List QueryNestedUseCase() - { - return this.ComputeNestedUseCase(); - } + public List nestedUseCase => this.ComputeNestedUseCase(); /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -909,10 +745,7 @@ public List QueryNestedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List QueryNestedVerificationCase() - { - return this.ComputeNestedVerificationCase(); - } + public List nestedVerificationCase => this.ComputeNestedVerificationCase(); /// /// The ViewUsages that are nestedUsages of this Usage. @@ -920,10 +753,7 @@ public List QueryNestedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List QueryNestedView() - { - return this.ComputeNestedView(); - } + public List nestedView => this.ComputeNestedView(); /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -931,10 +761,7 @@ public List QueryNestedView() [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List QueryNestedViewpoint() - { - return this.ComputeNestedViewpoint(); - } + public List nestedViewpoint => this.ComputeNestedViewpoint(); /// /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, @@ -945,10 +772,7 @@ public List QueryNestedViewpoint() [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] [RedefinedByProperty("IActionUsage.ActionDefinition")] [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List QueryOccurrenceDefinition() - { - return this.ComputeOccurrenceDefinition(); - } + List Systems.Occurrences.IOccurrenceUsage.occurrenceDefinition => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -956,10 +780,7 @@ public List QueryOccurrenceDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -969,10 +790,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -981,10 +799,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -993,10 +808,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -1006,10 +818,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -1019,10 +828,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -1030,10 +836,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -1042,10 +845,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -1053,10 +853,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -1066,10 +863,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -1079,10 +873,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -1092,10 +883,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -1105,10 +893,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -1117,10 +902,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -1129,10 +911,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -1143,10 +922,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -1155,10 +931,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -1167,10 +940,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -1188,10 +958,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -1201,10 +968,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -1214,10 +978,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -1227,10 +988,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1239,10 +997,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1250,10 +1005,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The Definition that owns this Usage (if any). @@ -1262,10 +1014,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public IDefinition QueryOwningDefinition() - { - return this.ComputeOwningDefinition(); - } + public IDefinition owningDefinition => this.ComputeOwningDefinition(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1273,10 +1022,7 @@ public IDefinition QueryOwningDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1285,10 +1031,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1297,10 +1040,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -1318,10 +1058,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The Usage in which this Usage is nested (if any). @@ -1329,10 +1066,7 @@ public IType QueryOwningType() [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public IUsage QueryOwningUsage() - { - return this.ComputeOwningUsage(); - } + public IUsage owningUsage => this.ComputeOwningUsage(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -1341,10 +1075,7 @@ public IUsage QueryOwningUsage() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If @@ -1365,10 +1096,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1378,10 +1106,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The Behaviors that are the types of this StateUsage. Nominally, these would be StateDefinitions, but @@ -1390,10 +1115,7 @@ public string QueryShortName() [Property(xmiId: "_19_0_2_12e503d9_1575588456737_49200_1438", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1565500905804_589845_30779")] [Implements(implementation: "IStateUsage.StateDefinition")] - public List QueryStateDefinition() - { - return this.ComputeStateDefinition(); - } + public List stateDefinition => this.ComputeStateDefinition(); /// /// The TextualRepresentations that annotate this Element. @@ -1402,10 +1124,7 @@ public List QueryStateDefinition() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1416,10 +1135,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1430,10 +1146,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1441,10 +1154,7 @@ public List QueryUnioningType() [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1453,10 +1163,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1465,10 +1172,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/Step.cs b/SysML2.NET/Core/AutoGenPoco/Step.cs index 2dd6618b..334f2f32 100644 --- a/SysML2.NET/Core/AutoGenPoco/Step.cs +++ b/SysML2.NET/Core/AutoGenPoco/Step.cs @@ -66,10 +66,7 @@ public partial class Step : IStep [Property(xmiId: "_18_5_3_b9102da_1536346315176_954314_17388", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + public List behavior => this.ComputeBehavior(); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -81,10 +78,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -94,10 +88,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -127,10 +118,7 @@ public IFeature QueryCrossFeature() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -139,10 +127,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -159,10 +144,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -178,10 +160,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -191,10 +170,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -202,10 +178,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -214,20 +187,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -237,10 +204,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -248,10 +212,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -259,10 +220,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -271,10 +229,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -282,10 +237,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -298,10 +250,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -325,10 +274,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -375,10 +321,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -428,10 +371,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -439,10 +379,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -452,10 +389,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -465,10 +399,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -476,10 +407,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -489,10 +417,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -501,10 +426,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -513,10 +435,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -526,10 +445,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -539,10 +455,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -550,10 +463,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -562,10 +472,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -573,10 +480,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -586,10 +490,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -599,10 +500,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -612,10 +510,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -625,10 +520,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -637,10 +529,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -649,10 +538,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -663,10 +549,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -675,10 +558,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -687,10 +567,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -708,10 +585,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -721,10 +595,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -734,10 +605,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -747,10 +615,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -759,10 +624,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -770,10 +632,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -781,10 +640,7 @@ public IElement QueryOwner() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -793,10 +649,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -805,10 +658,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -826,10 +676,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -838,10 +685,7 @@ public IType QueryOwningType() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -853,10 +697,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -866,10 +707,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -878,10 +716,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -891,10 +726,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + public List type => this.ComputeType(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -905,10 +737,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/Structure.cs b/SysML2.NET/Core/AutoGenPoco/Structure.cs index 09693812..e4f5f854 100644 --- a/SysML2.NET/Core/AutoGenPoco/Structure.cs +++ b/SysML2.NET/Core/AutoGenPoco/Structure.cs @@ -88,10 +88,7 @@ public partial class Structure : IStructure /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -99,10 +96,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// The Documentation owned by this Element. @@ -111,10 +105,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -130,10 +121,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -141,10 +129,7 @@ public List QueryEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -153,10 +138,7 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -164,10 +146,7 @@ public List QueryFeatureMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -175,10 +154,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -187,10 +163,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -198,10 +171,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -214,10 +184,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -232,10 +199,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// Whether all necessary implied Relationships have been included in the ownedRelationships of this @@ -253,10 +217,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -276,10 +237,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -287,10 +245,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -300,10 +255,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -313,10 +265,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -324,10 +273,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -337,10 +283,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -349,10 +292,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -362,10 +302,7 @@ public IConjugation QueryOwnedConjugator() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -375,10 +312,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -386,10 +320,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -398,10 +329,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -409,10 +337,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -422,10 +347,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -435,10 +357,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -447,10 +366,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -459,10 +375,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -473,10 +386,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -494,10 +404,7 @@ public List QueryOwnedMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier @@ -506,10 +413,7 @@ public List QueryOwnedSpecialization() [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List QueryOwnedSubclassification() - { - return this.ComputeOwnedSubclassification(); - } + public List ownedSubclassification => this.ComputeOwnedSubclassification(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -518,10 +422,7 @@ public List QueryOwnedSubclassification() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -529,10 +430,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -541,10 +439,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -553,10 +448,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -576,10 +468,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -589,10 +478,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -601,10 +487,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -615,10 +498,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/Subclassification.cs b/SysML2.NET/Core/AutoGenPoco/Subclassification.cs index 7b0a07b1..252599fb 100644 --- a/SysML2.NET/Core/AutoGenPoco/Subclassification.cs +++ b/SysML2.NET/Core/AutoGenPoco/Subclassification.cs @@ -80,10 +80,7 @@ public partial class Subclassification : ISubclassification [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -100,7 +97,11 @@ public List QueryDocumentation() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [RedefinedByProperty("ISubclassification.Superclassifier")] [Implements(implementation: "ISpecialization.General")] - public IType General { get; set; } + IType Core.Types.ISpecialization.General + { + get => throw new InvalidOperationException("Redefined by property ISubclassification.Superclassifier"); + set => throw new InvalidOperationException("Redefined by property ISubclassification.Superclassifier"); + } /// /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being @@ -126,10 +127,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -139,10 +137,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -152,10 +147,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -163,10 +155,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -190,10 +179,7 @@ public List QueryOwnedElement() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The Classifier that owns this Subclassification relationship, which must also be its subclassifier. @@ -201,10 +187,7 @@ public IElement QueryOwner() [Property(xmiId: "_18_5_3_12e503d9_1543189170642_857401_25506", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_573157_43226")] [Implements(implementation: "ISubclassification.OwningClassifier")] - public IClassifier QueryOwningClassifier() - { - return this.ComputeOwningClassifier(); - } + public IClassifier owningClassifier => this.ComputeOwningClassifier(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -213,10 +196,7 @@ public IClassifier QueryOwningClassifier() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -225,10 +205,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -254,10 +231,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] [RedefinedByProperty("ISubclassification.OwningClassifier")] [Implements(implementation: "ISpecialization.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + IType Core.Types.ISpecialization.owningType => throw new InvalidOperationException("Redefined by property ISubclassification.OwningClassifier"); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -269,10 +243,7 @@ public IType QueryOwningType() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -280,10 +251,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + public List relatedElement => this.ComputeRelatedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -293,10 +261,7 @@ public List QueryRelatedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -305,7 +270,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("ISpecialization.Specific")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property ISpecialization.Specific"); + set => throw new InvalidOperationException("Redefined by property ISpecialization.Specific"); + } /// /// A Type with a subset of all instances of the general Type, which might be the same set. @@ -314,7 +283,11 @@ public string QueryShortName() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [RedefinedByProperty("ISubclassification.Subclassifier")] [Implements(implementation: "ISpecialization.Specific")] - public IType Specific { get; set; } + IType Core.Types.ISpecialization.Specific + { + get => throw new InvalidOperationException("Redefined by property ISubclassification.Subclassifier"); + set => throw new InvalidOperationException("Redefined by property ISubclassification.Subclassifier"); + } /// /// The more specific Classifier in this Subclassification. @@ -339,7 +312,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("ISpecialization.General")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property ISpecialization.General"); + set => throw new InvalidOperationException("Redefined by property ISpecialization.General"); + } /// /// The TextualRepresentations that annotate this Element. @@ -348,10 +325,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/SubjectMembership.cs b/SysML2.NET/Core/AutoGenPoco/SubjectMembership.cs index 349cf336..1c6b7c74 100644 --- a/SysML2.NET/Core/AutoGenPoco/SubjectMembership.cs +++ b/SysML2.NET/Core/AutoGenPoco/SubjectMembership.cs @@ -85,10 +85,7 @@ public partial class SubjectMembership : ISubjectMembership [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -122,10 +119,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. @@ -134,7 +128,11 @@ public bool QueryIsLibraryElement() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] [Implements(implementation: "IMembership.MemberElement")] - public IElement MemberElement { get; set; } + IElement Root.Namespaces.IMembership.MemberElement + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + } /// /// The elementId of the memberElement. @@ -142,10 +140,7 @@ public bool QueryIsLibraryElement() [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] [Implements(implementation: "IMembership.MemberElementId")] - public string QueryMemberElementId() - { - return this.ComputeMemberElementId(); - } + string Root.Namespaces.IMembership.memberElementId => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElementId"); /// /// The name of the memberElement relative to the membershipOwningNamespace. @@ -153,7 +148,11 @@ public string QueryMemberElementId() [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberName")] [Implements(implementation: "IMembership.MemberName")] - public string MemberName { get; set; } + string Root.Namespaces.IMembership.MemberName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + } /// /// The Namespace of which the memberElement becomes a member due to this Membership. @@ -164,10 +163,7 @@ public string QueryMemberElementId() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [RedefinedByProperty("IFeatureMembership.OwningType")] [Implements(implementation: "IMembership.MembershipOwningNamespace")] - public INamespace QueryMembershipOwningNamespace() - { - return this.ComputeMembershipOwningNamespace(); - } + INamespace Root.Namespaces.IMembership.membershipOwningNamespace => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwningType"); /// /// The short name of the memberElement relative to the membershipOwningNamespace. @@ -175,7 +171,11 @@ public INamespace QueryMembershipOwningNamespace() [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] [Implements(implementation: "IMembership.MemberShortName")] - public string MemberShortName { get; set; } + string Root.Namespaces.IMembership.MemberShortName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + } /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -185,10 +185,7 @@ public INamespace QueryMembershipOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -198,10 +195,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -209,10 +203,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this @@ -223,10 +214,7 @@ public List QueryOwnedElement() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] [RedefinedByProperty("IFeatureMembership.OwnedMemberFeature")] [Implements(implementation: "IOwningMembership.OwnedMemberElement")] - public IElement QueryOwnedMemberElement() - { - return this.ComputeOwnedMemberElement(); - } + IElement Root.Namespaces.IOwningMembership.ownedMemberElement => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwnedMemberFeature"); /// /// The elementId of the ownedMemberElement. @@ -234,10 +222,7 @@ public IElement QueryOwnedMemberElement() [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] - public string QueryOwnedMemberElementId() - { - return this.ComputeOwnedMemberElementId(); - } + public string ownedMemberElementId => this.ComputeOwnedMemberElementId(); /// /// The Feature that this FeatureMembership relates to its owningType, making it an ownedFeature of the @@ -247,10 +232,7 @@ public string QueryOwnedMemberElementId() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] [RedefinedByProperty("IParameterMembership.OwnedMemberParameter")] [Implements(implementation: "IFeatureMembership.OwnedMemberFeature")] - public IFeature QueryOwnedMemberFeature() - { - return this.ComputeOwnedMemberFeature(); - } + IFeature Core.Types.IFeatureMembership.ownedMemberFeature => throw new InvalidOperationException("Redefined by property IParameterMembership.OwnedMemberParameter"); /// /// The name of the ownedMemberElement. @@ -258,10 +240,7 @@ public IFeature QueryOwnedMemberFeature() [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] [Implements(implementation: "IOwningMembership.OwnedMemberName")] - public string QueryOwnedMemberName() - { - return this.ComputeOwnedMemberName(); - } + public string ownedMemberName => this.ComputeOwnedMemberName(); /// /// The Feature that is identified as a parameter by this ParameterMembership. @@ -270,10 +249,7 @@ public string QueryOwnedMemberName() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] [RedefinedByProperty("ISubjectMembership.OwnedSubjectParameter")] [Implements(implementation: "IParameterMembership.OwnedMemberParameter")] - public IFeature QueryOwnedMemberParameter() - { - return this.ComputeOwnedMemberParameter(); - } + IFeature Kernel.Behaviors.IParameterMembership.ownedMemberParameter => throw new InvalidOperationException("Redefined by property ISubjectMembership.OwnedSubjectParameter"); /// /// The shortName of the ownedMemberElement. @@ -281,10 +257,7 @@ public IFeature QueryOwnedMemberParameter() [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] - public string QueryOwnedMemberShortName() - { - return this.ComputeOwnedMemberShortName(); - } + public string ownedMemberShortName => this.ComputeOwnedMemberShortName(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -308,10 +281,7 @@ public string QueryOwnedMemberShortName() [Property(xmiId: "_19_0_2_59601fc_1590258781117_655788_845", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1557528016548_548098_110830")] [Implements(implementation: "ISubjectMembership.OwnedSubjectParameter")] - public IUsage QueryOwnedSubjectParameter() - { - return this.ComputeOwnedSubjectParameter(); - } + public IUsage ownedSubjectParameter => this.ComputeOwnedSubjectParameter(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -319,10 +289,7 @@ public IUsage QueryOwnedSubjectParameter() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -331,10 +298,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -343,10 +307,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -371,10 +332,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866524_738482_486")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] [Implements(implementation: "IFeatureMembership.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -386,10 +344,7 @@ public IType QueryOwningType() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -397,10 +352,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + public List relatedElement => this.ComputeRelatedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -410,10 +362,7 @@ public List QueryRelatedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -422,7 +371,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembership.MembershipOwningNamespace")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -431,7 +384,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembership.MemberElement")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + set => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + } /// /// The TextualRepresentations that annotate this Element. @@ -440,10 +397,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly diff --git a/SysML2.NET/Core/AutoGenPoco/Subsetting.cs b/SysML2.NET/Core/AutoGenPoco/Subsetting.cs index 9c7d57ae..668d74f3 100644 --- a/SysML2.NET/Core/AutoGenPoco/Subsetting.cs +++ b/SysML2.NET/Core/AutoGenPoco/Subsetting.cs @@ -84,10 +84,7 @@ public partial class Subsetting : ISubsetting [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -104,7 +101,11 @@ public List QueryDocumentation() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [RedefinedByProperty("ISubsetting.SubsettedFeature")] [Implements(implementation: "ISpecialization.General")] - public IType General { get; set; } + IType Core.Types.ISpecialization.General + { + get => throw new InvalidOperationException("Redefined by property ISubsetting.SubsettedFeature"); + set => throw new InvalidOperationException("Redefined by property ISubsetting.SubsettedFeature"); + } /// /// Whether this Relationship was generated by tooling to meet semantic rules, rather than being @@ -130,10 +131,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -143,10 +141,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -156,10 +151,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -167,10 +159,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -194,10 +183,7 @@ public List QueryOwnedElement() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// A subsettingFeature that is also the owningRelatedElement of this Subsetting. @@ -206,10 +192,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674967_140305_43206")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_573157_43226")] [Implements(implementation: "ISubsetting.OwningFeature")] - public IFeature QueryOwningFeature() - { - return this.ComputeOwningFeature(); - } + public IFeature owningFeature => this.ComputeOwningFeature(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -218,10 +201,7 @@ public IFeature QueryOwningFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -230,10 +210,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -259,10 +236,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674982_253967_43281")] [RedefinedByProperty("ISubsetting.OwningFeature")] [Implements(implementation: "ISpecialization.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + IType Core.Types.ISpecialization.owningType => throw new InvalidOperationException("Redefined by property ISubsetting.OwningFeature"); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -274,10 +248,7 @@ public IType QueryOwningType() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -285,10 +256,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + public List relatedElement => this.ComputeRelatedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -298,10 +266,7 @@ public List QueryRelatedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -310,7 +275,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("ISpecialization.Specific")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property ISpecialization.Specific"); + set => throw new InvalidOperationException("Redefined by property ISpecialization.Specific"); + } /// /// A Type with a subset of all instances of the general Type, which might be the same set. @@ -319,7 +288,11 @@ public string QueryShortName() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [RedefinedByProperty("ISubsetting.SubsettingFeature")] [Implements(implementation: "ISpecialization.Specific")] - public IType Specific { get; set; } + IType Core.Types.ISpecialization.Specific + { + get => throw new InvalidOperationException("Redefined by property ISubsetting.SubsettingFeature"); + set => throw new InvalidOperationException("Redefined by property ISubsetting.SubsettingFeature"); + } /// /// The Feature that is subsetted by the subsettingFeature of this Subsetting. @@ -344,7 +317,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("ISpecialization.General")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property ISpecialization.General"); + set => throw new InvalidOperationException("Redefined by property ISpecialization.General"); + } /// /// The TextualRepresentations that annotate this Element. @@ -353,10 +330,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/Succession.cs b/SysML2.NET/Core/AutoGenPoco/Succession.cs index 63297da5..df1346c9 100644 --- a/SysML2.NET/Core/AutoGenPoco/Succession.cs +++ b/SysML2.NET/Core/AutoGenPoco/Succession.cs @@ -64,10 +64,7 @@ public partial class Succession : ISuccession [Property(xmiId: "_18_5_3_12e503d9_1533160674983_471497_43284", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [Implements(implementation: "IConnector.Association")] - public List QueryAssociation() - { - return this.ComputeAssociation(); - } + public List association => this.ComputeAssociation(); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -79,10 +76,7 @@ public List QueryAssociation() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The endFeatures of a Connector, which redefine the endFeatures of the associations of the Connector. @@ -92,10 +86,7 @@ public List QueryChainingFeature() [Property(xmiId: "_18_5_3_12e503d9_1556735067666_827798_21922", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [Implements(implementation: "IConnector.ConnectorEnd")] - public List QueryConnectorEnd() - { - return this.ComputeConnectorEnd(); - } + public List connectorEnd => this.ComputeConnectorEnd(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -105,10 +96,7 @@ public List QueryConnectorEnd() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -134,10 +122,7 @@ public IFeature QueryCrossFeature() /// [Property(xmiId: "_2022x_2_12e503d9_1737751598145_444042_71", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IConnector.DefaultFeaturingType")] - public IType QueryDefaultFeaturingType() - { - return this.ComputeDefaultFeaturingType(); - } + public IType defaultFeaturingType => this.ComputeDefaultFeaturingType(); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -150,10 +135,7 @@ public IType QueryDefaultFeaturingType() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -161,10 +143,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -181,10 +160,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -201,10 +177,7 @@ public List QueryDocumentation() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IConnector.ConnectorEnd")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + List Core.Types.IType.endFeature => throw new InvalidOperationException("Redefined by property IConnector.ConnectorEnd"); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -214,10 +187,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -225,10 +195,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -237,20 +204,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -260,10 +221,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -271,10 +229,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -282,10 +237,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -294,10 +246,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -305,10 +254,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -321,10 +267,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -348,10 +291,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -406,10 +346,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -459,10 +396,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -470,10 +404,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -483,10 +414,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -496,10 +424,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -507,10 +432,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -520,10 +442,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -532,10 +451,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -544,10 +460,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -557,10 +470,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -570,10 +480,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -581,10 +488,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -593,10 +497,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -604,10 +505,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -617,10 +515,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -630,10 +525,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -643,10 +535,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -656,10 +545,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -668,10 +554,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -680,10 +563,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -694,10 +574,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -706,10 +583,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -718,10 +592,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -747,10 +618,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -760,10 +628,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -773,10 +638,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -786,10 +648,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -798,10 +657,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -809,10 +665,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -820,10 +673,7 @@ public IElement QueryOwner() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -832,10 +682,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -844,10 +691,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -873,10 +717,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -888,10 +729,7 @@ public IType QueryOwningType() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -900,10 +738,7 @@ public string QueryQualifiedName() [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedByProperty("IConnector.RelatedFeature")] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + List Root.Elements.IRelationship.relatedElement => throw new InvalidOperationException("Redefined by property IConnector.RelatedFeature"); /// /// The Features that are related by this Connector considered as a Relationship and that restrict the @@ -912,10 +747,7 @@ public List QueryRelatedElement() [Property(xmiId: "_18_5_3_12e503d9_1533160674968_916334_43210", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [Implements(implementation: "IConnector.RelatedFeature")] - public List QueryRelatedFeature() - { - return this.ComputeRelatedFeature(); - } + public List relatedFeature => this.ComputeRelatedFeature(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -925,10 +757,7 @@ public List QueryRelatedFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -937,7 +766,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IConnector.SourceFeature")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + } /// /// The source relatedFeature for this Connector. It is the first relatedFeature. @@ -946,10 +779,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [Implements(implementation: "IConnector.SourceFeature")] - public IFeature QuerySourceFeature() - { - return this.ComputeSourceFeature(); - } + public IFeature sourceFeature => this.ComputeSourceFeature(); /// /// The relatedElements to which this Relationship is considered to be directed. @@ -958,7 +788,11 @@ public IFeature QuerySourceFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IConnector.TargetFeature")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + } /// /// The target relatedFeatures for this Connector. This includes all the relatedFeatures other than the @@ -968,10 +802,7 @@ public IFeature QuerySourceFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [Implements(implementation: "IConnector.TargetFeature")] - public List QueryTargetFeature() - { - return this.ComputeTargetFeature(); - } + public List targetFeature => this.ComputeTargetFeature(); /// /// The TextualRepresentations that annotate this Element. @@ -980,10 +811,7 @@ public List QueryTargetFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -994,10 +822,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IConnector.Association")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IConnector.Association"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1008,10 +833,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/SuccessionAsUsage.cs b/SysML2.NET/Core/AutoGenPoco/SuccessionAsUsage.cs index 11965d7e..27b217fc 100644 --- a/SysML2.NET/Core/AutoGenPoco/SuccessionAsUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/SuccessionAsUsage.cs @@ -87,10 +87,7 @@ public partial class SuccessionAsUsage : ISuccessionAsUsage [Property(xmiId: "_18_5_3_12e503d9_1533160674983_471497_43284", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [Implements(implementation: "IConnector.Association")] - public List QueryAssociation() - { - return this.ComputeAssociation(); - } + public List association => this.ComputeAssociation(); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -102,10 +99,7 @@ public List QueryAssociation() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The endFeatures of a Connector, which redefine the endFeatures of the associations of the Connector. @@ -115,10 +109,7 @@ public List QueryChainingFeature() [Property(xmiId: "_18_5_3_12e503d9_1556735067666_827798_21922", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [Implements(implementation: "IConnector.ConnectorEnd")] - public List QueryConnectorEnd() - { - return this.ComputeConnectorEnd(); - } + public List connectorEnd => this.ComputeConnectorEnd(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -128,10 +119,7 @@ public List QueryConnectorEnd() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -157,10 +145,7 @@ public IFeature QueryCrossFeature() /// [Property(xmiId: "_2022x_2_12e503d9_1737751598145_444042_71", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IConnector.DefaultFeaturingType")] - public IType QueryDefaultFeaturingType() - { - return this.ComputeDefaultFeaturingType(); - } + public IType defaultFeaturingType => this.ComputeDefaultFeaturingType(); /// /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds @@ -170,10 +155,7 @@ public IType QueryDefaultFeaturingType() [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [Implements(implementation: "IUsage.Definition")] - public List QueryDefinition() - { - return this.ComputeDefinition(); - } + public List definition => this.ComputeDefinition(); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -186,10 +168,7 @@ public List QueryDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -197,10 +176,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// The usages of this Usage that are directedFeatures. @@ -209,10 +185,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -229,10 +202,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -249,10 +219,7 @@ public List QueryDocumentation() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IConnector.ConnectorEnd")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + List Core.Types.IType.endFeature => throw new InvalidOperationException("Redefined by property IConnector.ConnectorEnd"); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -262,10 +229,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -273,10 +237,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -285,20 +246,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -308,10 +263,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -319,10 +271,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -330,10 +279,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -342,10 +288,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -353,10 +296,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -369,10 +309,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -396,10 +333,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -454,10 +388,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -479,10 +410,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IUsage.IsReference")] - public bool QueryIsReference() - { - return this.ComputeIsReference(); - } + public bool isReference => this.ComputeIsReference(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -510,7 +438,11 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -531,10 +463,7 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool QueryMayTimeVary() - { - return this.ComputeMayTimeVary(); - } + public bool mayTimeVary => this.ComputeMayTimeVary(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -542,10 +471,7 @@ public bool QueryMayTimeVary() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -553,10 +479,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -566,10 +489,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -579,10 +499,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ActionUsages that are nestedUsages of this Usage. @@ -590,10 +507,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List QueryNestedAction() - { - return this.ComputeNestedAction(); - } + public List nestedAction => this.ComputeNestedAction(); /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -601,10 +515,7 @@ public List QueryNestedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List QueryNestedAllocation() - { - return this.ComputeNestedAllocation(); - } + public List nestedAllocation => this.ComputeNestedAllocation(); /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -612,10 +523,7 @@ public List QueryNestedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List QueryNestedAnalysisCase() - { - return this.ComputeNestedAnalysisCase(); - } + public List nestedAnalysisCase => this.ComputeNestedAnalysisCase(); /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -623,10 +531,7 @@ public List QueryNestedAnalysisCase() [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List QueryNestedAttribute() - { - return this.ComputeNestedAttribute(); - } + public List nestedAttribute => this.ComputeNestedAttribute(); /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -634,10 +539,7 @@ public List QueryNestedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List QueryNestedCalculation() - { - return this.ComputeNestedCalculation(); - } + public List nestedCalculation => this.ComputeNestedCalculation(); /// /// The CaseUsages that are nestedUsages of this Usage. @@ -645,10 +547,7 @@ public List QueryNestedCalculation() [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List QueryNestedCase() - { - return this.ComputeNestedCase(); - } + public List nestedCase => this.ComputeNestedCase(); /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -656,10 +555,7 @@ public List QueryNestedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List QueryNestedConcern() - { - return this.ComputeNestedConcern(); - } + public List nestedConcern => this.ComputeNestedConcern(); /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -669,10 +565,7 @@ public List QueryNestedConcern() [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List QueryNestedConnection() - { - return this.ComputeNestedConnection(); - } + public List nestedConnection => this.ComputeNestedConnection(); /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -680,10 +573,7 @@ public List QueryNestedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List QueryNestedConstraint() - { - return this.ComputeNestedConstraint(); - } + public List nestedConstraint => this.ComputeNestedConstraint(); /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -691,10 +581,7 @@ public List QueryNestedConstraint() [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List QueryNestedEnumeration() - { - return this.ComputeNestedEnumeration(); - } + public List nestedEnumeration => this.ComputeNestedEnumeration(); /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -702,10 +589,7 @@ public List QueryNestedEnumeration() [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List QueryNestedFlow() - { - return this.ComputeNestedFlow(); - } + public List nestedFlow => this.ComputeNestedFlow(); /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -713,10 +597,7 @@ public List QueryNestedFlow() [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List QueryNestedInterface() - { - return this.ComputeNestedInterface(); - } + public List nestedInterface => this.ComputeNestedInterface(); /// /// The ItemUsages that are nestedUsages of this Usage. @@ -724,10 +605,7 @@ public List QueryNestedInterface() [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List QueryNestedItem() - { - return this.ComputeNestedItem(); - } + public List nestedItem => this.ComputeNestedItem(); /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -735,10 +613,7 @@ public List QueryNestedItem() [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List QueryNestedMetadata() - { - return this.ComputeNestedMetadata(); - } + public List nestedMetadata => this.ComputeNestedMetadata(); /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -746,10 +621,7 @@ public List QueryNestedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List QueryNestedOccurrence() - { - return this.ComputeNestedOccurrence(); - } + public List nestedOccurrence => this.ComputeNestedOccurrence(); /// /// The PartUsages that are nestedUsages of this Usage. @@ -757,10 +629,7 @@ public List QueryNestedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List QueryNestedPart() - { - return this.ComputeNestedPart(); - } + public List nestedPart => this.ComputeNestedPart(); /// /// The PortUsages that are nestedUsages of this Usage. @@ -768,10 +637,7 @@ public List QueryNestedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List QueryNestedPort() - { - return this.ComputeNestedPort(); - } + public List nestedPort => this.ComputeNestedPort(); /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -779,10 +645,7 @@ public List QueryNestedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List QueryNestedReference() - { - return this.ComputeNestedReference(); - } + public List nestedReference => this.ComputeNestedReference(); /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -790,10 +653,7 @@ public List QueryNestedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List QueryNestedRendering() - { - return this.ComputeNestedRendering(); - } + public List nestedRendering => this.ComputeNestedRendering(); /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -801,10 +661,7 @@ public List QueryNestedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List QueryNestedRequirement() - { - return this.ComputeNestedRequirement(); - } + public List nestedRequirement => this.ComputeNestedRequirement(); /// /// The StateUsages that are nestedUsages of this Usage. @@ -812,10 +669,7 @@ public List QueryNestedRequirement() [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List QueryNestedState() - { - return this.ComputeNestedState(); - } + public List nestedState => this.ComputeNestedState(); /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -823,10 +677,7 @@ public List QueryNestedState() [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List QueryNestedTransition() - { - return this.ComputeNestedTransition(); - } + public List nestedTransition => this.ComputeNestedTransition(); /// /// The Usages that are ownedFeatures of this Usage. @@ -835,10 +686,7 @@ public List QueryNestedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List QueryNestedUsage() - { - return this.ComputeNestedUsage(); - } + public List nestedUsage => this.ComputeNestedUsage(); /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -846,10 +694,7 @@ public List QueryNestedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List QueryNestedUseCase() - { - return this.ComputeNestedUseCase(); - } + public List nestedUseCase => this.ComputeNestedUseCase(); /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -857,10 +702,7 @@ public List QueryNestedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List QueryNestedVerificationCase() - { - return this.ComputeNestedVerificationCase(); - } + public List nestedVerificationCase => this.ComputeNestedVerificationCase(); /// /// The ViewUsages that are nestedUsages of this Usage. @@ -868,10 +710,7 @@ public List QueryNestedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List QueryNestedView() - { - return this.ComputeNestedView(); - } + public List nestedView => this.ComputeNestedView(); /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -879,10 +718,7 @@ public List QueryNestedView() [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List QueryNestedViewpoint() - { - return this.ComputeNestedViewpoint(); - } + public List nestedViewpoint => this.ComputeNestedViewpoint(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -890,10 +726,7 @@ public List QueryNestedViewpoint() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -903,10 +736,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -915,10 +745,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -927,10 +754,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -940,10 +764,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -953,10 +774,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -964,10 +782,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -976,10 +791,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -987,10 +799,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -1000,10 +809,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -1013,10 +819,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -1026,10 +829,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -1039,10 +839,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -1051,10 +848,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -1063,10 +857,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -1077,10 +868,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -1089,10 +877,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -1101,10 +886,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -1130,10 +912,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -1143,10 +922,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -1156,10 +932,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -1169,10 +942,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1181,10 +951,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1192,10 +959,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The Definition that owns this Usage (if any). @@ -1204,10 +968,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public IDefinition QueryOwningDefinition() - { - return this.ComputeOwningDefinition(); - } + public IDefinition owningDefinition => this.ComputeOwningDefinition(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1215,10 +976,7 @@ public IDefinition QueryOwningDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1227,10 +985,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1239,10 +994,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -1268,10 +1020,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The Usage in which this Usage is nested (if any). @@ -1279,10 +1028,7 @@ public IType QueryOwningType() [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public IUsage QueryOwningUsage() - { - return this.ComputeOwningUsage(); - } + public IUsage owningUsage => this.ComputeOwningUsage(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -1294,10 +1040,7 @@ public IUsage QueryOwningUsage() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -1306,10 +1049,7 @@ public string QueryQualifiedName() [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedByProperty("IConnector.RelatedFeature")] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + List Root.Elements.IRelationship.relatedElement => throw new InvalidOperationException("Redefined by property IConnector.RelatedFeature"); /// /// The Features that are related by this Connector considered as a Relationship and that restrict the @@ -1318,10 +1058,7 @@ public List QueryRelatedElement() [Property(xmiId: "_18_5_3_12e503d9_1533160674968_916334_43210", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [Implements(implementation: "IConnector.RelatedFeature")] - public List QueryRelatedFeature() - { - return this.ComputeRelatedFeature(); - } + public List relatedFeature => this.ComputeRelatedFeature(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1331,10 +1068,7 @@ public List QueryRelatedFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -1343,7 +1077,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IConnector.SourceFeature")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + } /// /// The source relatedFeature for this Connector. It is the first relatedFeature. @@ -1352,10 +1090,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [Implements(implementation: "IConnector.SourceFeature")] - public IFeature QuerySourceFeature() - { - return this.ComputeSourceFeature(); - } + public IFeature sourceFeature => this.ComputeSourceFeature(); /// /// The relatedElements to which this Relationship is considered to be directed. @@ -1364,7 +1099,11 @@ public IFeature QuerySourceFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IConnector.TargetFeature")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + } /// /// The target relatedFeatures for this Connector. This includes all the relatedFeatures other than the @@ -1374,10 +1113,7 @@ public IFeature QuerySourceFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [Implements(implementation: "IConnector.TargetFeature")] - public List QueryTargetFeature() - { - return this.ComputeTargetFeature(); - } + public List targetFeature => this.ComputeTargetFeature(); /// /// The TextualRepresentations that annotate this Element. @@ -1386,10 +1122,7 @@ public List QueryTargetFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1400,10 +1133,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1414,10 +1144,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1425,10 +1152,7 @@ public List QueryUnioningType() [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1437,10 +1161,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1449,10 +1170,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/SuccessionFlow.cs b/SysML2.NET/Core/AutoGenPoco/SuccessionFlow.cs index d119f5f8..ca943827 100644 --- a/SysML2.NET/Core/AutoGenPoco/SuccessionFlow.cs +++ b/SysML2.NET/Core/AutoGenPoco/SuccessionFlow.cs @@ -70,10 +70,7 @@ public partial class SuccessionFlow : ISuccessionFlow [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IFlow.Interaction")] [Implements(implementation: "IConnector.Association")] - public List QueryAssociation() - { - return this.ComputeAssociation(); - } + List Kernel.Connectors.IConnector.association => throw new InvalidOperationException("Redefined by property IFlow.Interaction"); /// /// The Behaviors that type this Step. @@ -82,10 +79,7 @@ public List QueryAssociation() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IFlow.Interaction")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IFlow.Interaction"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -97,10 +91,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The endFeatures of a Connector, which redefine the endFeatures of the associations of the Connector. @@ -110,10 +101,7 @@ public List QueryChainingFeature() [Property(xmiId: "_18_5_3_12e503d9_1556735067666_827798_21922", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [Implements(implementation: "IConnector.ConnectorEnd")] - public List QueryConnectorEnd() - { - return this.ComputeConnectorEnd(); - } + public List connectorEnd => this.ComputeConnectorEnd(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -123,10 +111,7 @@ public List QueryConnectorEnd() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -152,10 +137,7 @@ public IFeature QueryCrossFeature() /// [Property(xmiId: "_2022x_2_12e503d9_1737751598145_444042_71", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IConnector.DefaultFeaturingType")] - public IType QueryDefaultFeaturingType() - { - return this.ComputeDefaultFeaturingType(); - } + public IType defaultFeaturingType => this.ComputeDefaultFeaturingType(); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -168,10 +150,7 @@ public IType QueryDefaultFeaturingType() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -180,10 +159,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -200,10 +176,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -220,10 +193,7 @@ public List QueryDocumentation() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IConnector.ConnectorEnd")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + List Core.Types.IType.endFeature => throw new InvalidOperationException("Redefined by property IConnector.ConnectorEnd"); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -233,10 +203,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -244,10 +211,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -256,20 +220,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -279,10 +237,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The connectorEnds of this Flow that are FlowEnds. @@ -290,10 +245,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1563219311176_506548_20966", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 2, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1556735067666_827798_21922")] [Implements(implementation: "IFlow.FlowEnd")] - public List QueryFlowEnd() - { - return this.ComputeFlowEnd(); - } + public List flowEnd => this.ComputeFlowEnd(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -301,10 +253,7 @@ public List QueryFlowEnd() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -312,10 +261,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -324,10 +270,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -335,10 +278,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The Interactions that type this Flow. Interactions are both Associations and Behaviors, which can @@ -348,10 +288,7 @@ public List QueryInput() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674983_471497_43284")] [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [Implements(implementation: "IFlow.Interaction")] - public List QueryInteraction() - { - return this.ComputeInteraction(); - } + public List interaction => this.ComputeInteraction(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -364,10 +301,7 @@ public List QueryInteraction() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -391,10 +325,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -449,10 +380,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -502,10 +430,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -513,10 +438,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -526,10 +448,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -539,10 +458,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -550,10 +466,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -563,10 +476,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -575,10 +485,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -587,10 +494,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -600,10 +504,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -613,10 +514,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -624,10 +522,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -636,10 +531,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -647,10 +539,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -660,10 +549,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -673,10 +559,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -686,10 +569,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -699,10 +579,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -711,10 +588,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -723,10 +597,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -737,10 +608,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -749,10 +617,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -761,10 +626,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -790,10 +652,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -803,10 +662,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -816,10 +672,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -829,10 +682,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -841,10 +691,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -852,10 +699,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -863,10 +707,7 @@ public IElement QueryOwner() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -875,10 +716,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -887,10 +725,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -916,10 +751,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -928,10 +760,7 @@ public IType QueryOwningType() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The ownedFeature of the Flow that is a PayloadFeature (if any). @@ -939,20 +768,14 @@ public List QueryParameter() [Property(xmiId: "_18_5_3_12e503d9_1563219424870_347345_21142", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IFlow.PayloadFeature")] - public IPayloadFeature QueryPayloadFeature() - { - return this.ComputePayloadFeature(); - } + public IPayloadFeature payloadFeature => this.ComputePayloadFeature(); /// /// The type of values transferred, which is the type of the payloadFeature of the Flow. /// [Property(xmiId: "_18_5_3_b9102da_1536870569046_1672_18020", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFlow.PayloadType")] - public List QueryPayloadType() - { - return this.ComputePayloadType(); - } + public List payloadType => this.ComputePayloadType(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -964,10 +787,7 @@ public List QueryPayloadType() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -976,10 +796,7 @@ public string QueryQualifiedName() [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedByProperty("IConnector.RelatedFeature")] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + List Root.Elements.IRelationship.relatedElement => throw new InvalidOperationException("Redefined by property IConnector.RelatedFeature"); /// /// The Features that are related by this Connector considered as a Relationship and that restrict the @@ -988,10 +805,7 @@ public List QueryRelatedElement() [Property(xmiId: "_18_5_3_12e503d9_1533160674968_916334_43210", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [Implements(implementation: "IConnector.RelatedFeature")] - public List QueryRelatedFeature() - { - return this.ComputeRelatedFeature(); - } + public List relatedFeature => this.ComputeRelatedFeature(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1001,10 +815,7 @@ public List QueryRelatedFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -1013,7 +824,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IConnector.SourceFeature")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + } /// /// The source relatedFeature for this Connector. It is the first relatedFeature. @@ -1022,10 +837,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [Implements(implementation: "IConnector.SourceFeature")] - public IFeature QuerySourceFeature() - { - return this.ComputeSourceFeature(); - } + public IFeature sourceFeature => this.ComputeSourceFeature(); /// /// The Feature that provides the items carried by the Flow. It must be a feature of the source of the @@ -1033,10 +845,7 @@ public IFeature QuerySourceFeature() /// [Property(xmiId: "_18_5_3_b9102da_1536870707078_57525_18088", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFlow.SourceOutputFeature")] - public IFeature QuerySourceOutputFeature() - { - return this.ComputeSourceOutputFeature(); - } + public IFeature sourceOutputFeature => this.ComputeSourceOutputFeature(); /// /// The relatedElements to which this Relationship is considered to be directed. @@ -1045,7 +854,11 @@ public IFeature QuerySourceOutputFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IConnector.TargetFeature")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + } /// /// The target relatedFeatures for this Connector. This includes all the relatedFeatures other than the @@ -1055,10 +868,7 @@ public IFeature QuerySourceOutputFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [Implements(implementation: "IConnector.TargetFeature")] - public List QueryTargetFeature() - { - return this.ComputeTargetFeature(); - } + public List targetFeature => this.ComputeTargetFeature(); /// /// The Feature that receives the values carried by the Flow. It must be a feature of the target of the @@ -1066,10 +876,7 @@ public List QueryTargetFeature() /// [Property(xmiId: "_18_5_3_b9102da_1536870573474_966268_18041", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFlow.TargetInputFeature")] - public IFeature QueryTargetInputFeature() - { - return this.ComputeTargetInputFeature(); - } + public IFeature targetInputFeature => this.ComputeTargetInputFeature(); /// /// The TextualRepresentations that annotate this Element. @@ -1078,10 +885,7 @@ public IFeature QueryTargetInputFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1092,10 +896,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IConnector.Association")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IConnector.Association"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1106,10 +907,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/SuccessionFlowUsage.cs b/SysML2.NET/Core/AutoGenPoco/SuccessionFlowUsage.cs index 0691cb38..d4550476 100644 --- a/SysML2.NET/Core/AutoGenPoco/SuccessionFlowUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/SuccessionFlowUsage.cs @@ -88,10 +88,7 @@ public partial class SuccessionFlowUsage : ISuccessionFlowUsage [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [RedefinedByProperty("IFlowUsage.FlowDefinition")] [Implements(implementation: "IActionUsage.ActionDefinition")] - public List QueryActionDefinition() - { - return this.ComputeActionDefinition(); - } + List Systems.Actions.IActionUsage.actionDefinition => throw new InvalidOperationException("Redefined by property IFlowUsage.FlowDefinition"); /// /// Various alternative identifiers for this Element. Generally, these will be set by tools. @@ -107,10 +104,7 @@ public List QueryActionDefinition() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IFlow.Interaction")] [Implements(implementation: "IConnector.Association")] - public List QueryAssociation() - { - return this.ComputeAssociation(); - } + List Kernel.Connectors.IConnector.association => throw new InvalidOperationException("Redefined by property IFlow.Interaction"); /// /// The Behaviors that type this Step. @@ -119,10 +113,7 @@ public List QueryAssociation() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IFlow.Interaction")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IFlow.Interaction"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -134,10 +125,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The endFeatures of a Connector, which redefine the endFeatures of the associations of the Connector. @@ -147,10 +135,7 @@ public List QueryChainingFeature() [Property(xmiId: "_18_5_3_12e503d9_1556735067666_827798_21922", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [Implements(implementation: "IConnector.ConnectorEnd")] - public List QueryConnectorEnd() - { - return this.ComputeConnectorEnd(); - } + public List connectorEnd => this.ComputeConnectorEnd(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -160,10 +145,7 @@ public List QueryConnectorEnd() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -189,10 +171,7 @@ public IFeature QueryCrossFeature() /// [Property(xmiId: "_2022x_2_12e503d9_1737751598145_444042_71", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IConnector.DefaultFeaturingType")] - public IType QueryDefaultFeaturingType() - { - return this.ComputeDefaultFeaturingType(); - } + public IType defaultFeaturingType => this.ComputeDefaultFeaturingType(); /// /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds @@ -203,10 +182,7 @@ public IType QueryDefaultFeaturingType() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] [Implements(implementation: "IUsage.Definition")] - public List QueryDefinition() - { - return this.ComputeDefinition(); - } + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -219,10 +195,7 @@ public List QueryDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -231,10 +204,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// The usages of this Usage that are directedFeatures. @@ -243,10 +213,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -263,10 +230,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -283,10 +247,7 @@ public List QueryDocumentation() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IConnector.ConnectorEnd")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + List Core.Types.IType.endFeature => throw new InvalidOperationException("Redefined by property IConnector.ConnectorEnd"); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -296,10 +257,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -307,10 +265,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -319,20 +274,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -342,10 +291,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Interactions that are the types of this FlowUsage. Nominally, these are FlowDefinitions, but @@ -356,10 +302,7 @@ public List QueryFeaturingType() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1565500905804_589845_30779")] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1661900477937_518125_727")] [Implements(implementation: "IFlowUsage.FlowDefinition")] - public List QueryFlowDefinition() - { - return this.ComputeFlowDefinition(); - } + public List flowDefinition => this.ComputeFlowDefinition(); /// /// The connectorEnds of this Flow that are FlowEnds. @@ -367,10 +310,7 @@ public List QueryFlowDefinition() [Property(xmiId: "_18_5_3_12e503d9_1563219311176_506548_20966", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 2, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1556735067666_827798_21922")] [Implements(implementation: "IFlow.FlowEnd")] - public List QueryFlowEnd() - { - return this.ComputeFlowEnd(); - } + public List flowEnd => this.ComputeFlowEnd(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -378,10 +318,7 @@ public List QueryFlowEnd() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// The at most one occurrenceDefinition that has isIndividual = true. @@ -389,10 +326,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public IOccurrenceDefinition QueryIndividualDefinition() - { - return this.ComputeIndividualDefinition(); - } + public IOccurrenceDefinition individualDefinition => this.ComputeIndividualDefinition(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -400,10 +334,7 @@ public IOccurrenceDefinition QueryIndividualDefinition() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -412,10 +343,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -423,10 +351,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The Interactions that type this Flow. Interactions are both Associations and Behaviors, which can @@ -437,10 +362,7 @@ public List QueryInput() [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [RedefinedByProperty("IFlowUsage.FlowDefinition")] [Implements(implementation: "IFlow.Interaction")] - public List QueryInteraction() - { - return this.ComputeInteraction(); - } + List Kernel.Interactions.IFlow.interaction => throw new InvalidOperationException("Redefined by property IFlowUsage.FlowDefinition"); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -453,10 +375,7 @@ public List QueryInteraction() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -480,10 +399,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -546,10 +462,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -571,10 +484,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IUsage.IsReference")] - public bool QueryIsReference() - { - return this.ComputeIsReference(); - } + public bool isReference => this.ComputeIsReference(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -602,7 +512,11 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -623,10 +537,7 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool QueryMayTimeVary() - { - return this.ComputeMayTimeVary(); - } + public bool mayTimeVary => this.ComputeMayTimeVary(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -634,10 +545,7 @@ public bool QueryMayTimeVary() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -645,10 +553,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -658,10 +563,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -671,10 +573,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ActionUsages that are nestedUsages of this Usage. @@ -682,10 +581,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List QueryNestedAction() - { - return this.ComputeNestedAction(); - } + public List nestedAction => this.ComputeNestedAction(); /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -693,10 +589,7 @@ public List QueryNestedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List QueryNestedAllocation() - { - return this.ComputeNestedAllocation(); - } + public List nestedAllocation => this.ComputeNestedAllocation(); /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -704,10 +597,7 @@ public List QueryNestedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List QueryNestedAnalysisCase() - { - return this.ComputeNestedAnalysisCase(); - } + public List nestedAnalysisCase => this.ComputeNestedAnalysisCase(); /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -715,10 +605,7 @@ public List QueryNestedAnalysisCase() [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List QueryNestedAttribute() - { - return this.ComputeNestedAttribute(); - } + public List nestedAttribute => this.ComputeNestedAttribute(); /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -726,10 +613,7 @@ public List QueryNestedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List QueryNestedCalculation() - { - return this.ComputeNestedCalculation(); - } + public List nestedCalculation => this.ComputeNestedCalculation(); /// /// The CaseUsages that are nestedUsages of this Usage. @@ -737,10 +621,7 @@ public List QueryNestedCalculation() [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List QueryNestedCase() - { - return this.ComputeNestedCase(); - } + public List nestedCase => this.ComputeNestedCase(); /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -748,10 +629,7 @@ public List QueryNestedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List QueryNestedConcern() - { - return this.ComputeNestedConcern(); - } + public List nestedConcern => this.ComputeNestedConcern(); /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -761,10 +639,7 @@ public List QueryNestedConcern() [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List QueryNestedConnection() - { - return this.ComputeNestedConnection(); - } + public List nestedConnection => this.ComputeNestedConnection(); /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -772,10 +647,7 @@ public List QueryNestedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List QueryNestedConstraint() - { - return this.ComputeNestedConstraint(); - } + public List nestedConstraint => this.ComputeNestedConstraint(); /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -783,10 +655,7 @@ public List QueryNestedConstraint() [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List QueryNestedEnumeration() - { - return this.ComputeNestedEnumeration(); - } + public List nestedEnumeration => this.ComputeNestedEnumeration(); /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -794,10 +663,7 @@ public List QueryNestedEnumeration() [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List QueryNestedFlow() - { - return this.ComputeNestedFlow(); - } + public List nestedFlow => this.ComputeNestedFlow(); /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -805,10 +671,7 @@ public List QueryNestedFlow() [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List QueryNestedInterface() - { - return this.ComputeNestedInterface(); - } + public List nestedInterface => this.ComputeNestedInterface(); /// /// The ItemUsages that are nestedUsages of this Usage. @@ -816,10 +679,7 @@ public List QueryNestedInterface() [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List QueryNestedItem() - { - return this.ComputeNestedItem(); - } + public List nestedItem => this.ComputeNestedItem(); /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -827,10 +687,7 @@ public List QueryNestedItem() [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List QueryNestedMetadata() - { - return this.ComputeNestedMetadata(); - } + public List nestedMetadata => this.ComputeNestedMetadata(); /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -838,10 +695,7 @@ public List QueryNestedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List QueryNestedOccurrence() - { - return this.ComputeNestedOccurrence(); - } + public List nestedOccurrence => this.ComputeNestedOccurrence(); /// /// The PartUsages that are nestedUsages of this Usage. @@ -849,10 +703,7 @@ public List QueryNestedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List QueryNestedPart() - { - return this.ComputeNestedPart(); - } + public List nestedPart => this.ComputeNestedPart(); /// /// The PortUsages that are nestedUsages of this Usage. @@ -860,10 +711,7 @@ public List QueryNestedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List QueryNestedPort() - { - return this.ComputeNestedPort(); - } + public List nestedPort => this.ComputeNestedPort(); /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -871,10 +719,7 @@ public List QueryNestedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List QueryNestedReference() - { - return this.ComputeNestedReference(); - } + public List nestedReference => this.ComputeNestedReference(); /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -882,10 +727,7 @@ public List QueryNestedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List QueryNestedRendering() - { - return this.ComputeNestedRendering(); - } + public List nestedRendering => this.ComputeNestedRendering(); /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -893,10 +735,7 @@ public List QueryNestedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List QueryNestedRequirement() - { - return this.ComputeNestedRequirement(); - } + public List nestedRequirement => this.ComputeNestedRequirement(); /// /// The StateUsages that are nestedUsages of this Usage. @@ -904,10 +743,7 @@ public List QueryNestedRequirement() [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List QueryNestedState() - { - return this.ComputeNestedState(); - } + public List nestedState => this.ComputeNestedState(); /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -915,10 +751,7 @@ public List QueryNestedState() [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List QueryNestedTransition() - { - return this.ComputeNestedTransition(); - } + public List nestedTransition => this.ComputeNestedTransition(); /// /// The Usages that are ownedFeatures of this Usage. @@ -927,10 +760,7 @@ public List QueryNestedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List QueryNestedUsage() - { - return this.ComputeNestedUsage(); - } + public List nestedUsage => this.ComputeNestedUsage(); /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -938,10 +768,7 @@ public List QueryNestedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List QueryNestedUseCase() - { - return this.ComputeNestedUseCase(); - } + public List nestedUseCase => this.ComputeNestedUseCase(); /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -949,10 +776,7 @@ public List QueryNestedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List QueryNestedVerificationCase() - { - return this.ComputeNestedVerificationCase(); - } + public List nestedVerificationCase => this.ComputeNestedVerificationCase(); /// /// The ViewUsages that are nestedUsages of this Usage. @@ -960,10 +784,7 @@ public List QueryNestedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List QueryNestedView() - { - return this.ComputeNestedView(); - } + public List nestedView => this.ComputeNestedView(); /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -971,10 +792,7 @@ public List QueryNestedView() [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List QueryNestedViewpoint() - { - return this.ComputeNestedViewpoint(); - } + public List nestedViewpoint => this.ComputeNestedViewpoint(); /// /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, @@ -985,10 +803,7 @@ public List QueryNestedViewpoint() [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] [RedefinedByProperty("IActionUsage.ActionDefinition")] [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List QueryOccurrenceDefinition() - { - return this.ComputeOccurrenceDefinition(); - } + List Systems.Occurrences.IOccurrenceUsage.occurrenceDefinition => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -996,10 +811,7 @@ public List QueryOccurrenceDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -1009,10 +821,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -1021,10 +830,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -1033,10 +839,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -1046,10 +849,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -1059,10 +859,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -1070,10 +867,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -1082,10 +876,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -1093,10 +884,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -1106,10 +894,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -1119,10 +904,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -1132,10 +914,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -1145,10 +924,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -1157,10 +933,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -1169,10 +942,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -1183,10 +953,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -1195,10 +962,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -1207,10 +971,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -1236,10 +997,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -1249,10 +1007,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -1262,10 +1017,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -1275,10 +1027,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1287,10 +1036,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1298,10 +1044,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The Definition that owns this Usage (if any). @@ -1310,10 +1053,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public IDefinition QueryOwningDefinition() - { - return this.ComputeOwningDefinition(); - } + public IDefinition owningDefinition => this.ComputeOwningDefinition(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1321,10 +1061,7 @@ public IDefinition QueryOwningDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1333,10 +1070,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1345,10 +1079,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -1374,10 +1105,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The Usage in which this Usage is nested (if any). @@ -1385,10 +1113,7 @@ public IType QueryOwningType() [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public IUsage QueryOwningUsage() - { - return this.ComputeOwningUsage(); - } + public IUsage owningUsage => this.ComputeOwningUsage(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -1397,10 +1122,7 @@ public IUsage QueryOwningUsage() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The ownedFeature of the Flow that is a PayloadFeature (if any). @@ -1408,20 +1130,14 @@ public List QueryParameter() [Property(xmiId: "_18_5_3_12e503d9_1563219424870_347345_21142", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IFlow.PayloadFeature")] - public IPayloadFeature QueryPayloadFeature() - { - return this.ComputePayloadFeature(); - } + public IPayloadFeature payloadFeature => this.ComputePayloadFeature(); /// /// The type of values transferred, which is the type of the payloadFeature of the Flow. /// [Property(xmiId: "_18_5_3_b9102da_1536870569046_1672_18020", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFlow.PayloadType")] - public List QueryPayloadType() - { - return this.ComputePayloadType(); - } + public List payloadType => this.ComputePayloadType(); /// /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If @@ -1442,10 +1158,7 @@ public List QueryPayloadType() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -1454,10 +1167,7 @@ public string QueryQualifiedName() [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedByProperty("IConnector.RelatedFeature")] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + List Root.Elements.IRelationship.relatedElement => throw new InvalidOperationException("Redefined by property IConnector.RelatedFeature"); /// /// The Features that are related by this Connector considered as a Relationship and that restrict the @@ -1466,10 +1176,7 @@ public List QueryRelatedElement() [Property(xmiId: "_18_5_3_12e503d9_1533160674968_916334_43210", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [Implements(implementation: "IConnector.RelatedFeature")] - public List QueryRelatedFeature() - { - return this.ComputeRelatedFeature(); - } + public List relatedFeature => this.ComputeRelatedFeature(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1479,10 +1186,7 @@ public List QueryRelatedFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -1491,7 +1195,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IConnector.SourceFeature")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.SourceFeature"); + } /// /// The source relatedFeature for this Connector. It is the first relatedFeature. @@ -1500,10 +1208,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [Implements(implementation: "IConnector.SourceFeature")] - public IFeature QuerySourceFeature() - { - return this.ComputeSourceFeature(); - } + public IFeature sourceFeature => this.ComputeSourceFeature(); /// /// The Feature that provides the items carried by the Flow. It must be a feature of the source of the @@ -1511,10 +1216,7 @@ public IFeature QuerySourceFeature() /// [Property(xmiId: "_18_5_3_b9102da_1536870707078_57525_18088", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFlow.SourceOutputFeature")] - public IFeature QuerySourceOutputFeature() - { - return this.ComputeSourceOutputFeature(); - } + public IFeature sourceOutputFeature => this.ComputeSourceOutputFeature(); /// /// The relatedElements to which this Relationship is considered to be directed. @@ -1523,7 +1225,11 @@ public IFeature QuerySourceOutputFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IConnector.TargetFeature")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + set => throw new InvalidOperationException("Redefined by property IConnector.TargetFeature"); + } /// /// The target relatedFeatures for this Connector. This includes all the relatedFeatures other than the @@ -1533,10 +1239,7 @@ public IFeature QuerySourceOutputFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674968_916334_43210")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [Implements(implementation: "IConnector.TargetFeature")] - public List QueryTargetFeature() - { - return this.ComputeTargetFeature(); - } + public List targetFeature => this.ComputeTargetFeature(); /// /// The Feature that receives the values carried by the Flow. It must be a feature of the target of the @@ -1544,10 +1247,7 @@ public List QueryTargetFeature() /// [Property(xmiId: "_18_5_3_b9102da_1536870573474_966268_18041", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFlow.TargetInputFeature")] - public IFeature QueryTargetInputFeature() - { - return this.ComputeTargetInputFeature(); - } + public IFeature targetInputFeature => this.ComputeTargetInputFeature(); /// /// The TextualRepresentations that annotate this Element. @@ -1556,10 +1256,7 @@ public IFeature QueryTargetInputFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1570,10 +1267,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IConnector.Association")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IConnector.Association"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1584,10 +1278,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1595,10 +1286,7 @@ public List QueryUnioningType() [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1607,10 +1295,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1619,10 +1304,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/TerminateActionUsage.cs b/SysML2.NET/Core/AutoGenPoco/TerminateActionUsage.cs index 85c2e6da..519d137d 100644 --- a/SysML2.NET/Core/AutoGenPoco/TerminateActionUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/TerminateActionUsage.cs @@ -89,10 +89,7 @@ public partial class TerminateActionUsage : ITerminateActionUsage [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IActionUsage.ActionDefinition")] - public List QueryActionDefinition() - { - return this.ComputeActionDefinition(); - } + public List actionDefinition => this.ComputeActionDefinition(); /// /// Various alternative identifiers for this Element. Generally, these will be set by tools. @@ -108,10 +105,7 @@ public List QueryActionDefinition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IActionUsage.ActionDefinition")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -123,10 +117,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -136,10 +127,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -167,10 +155,7 @@ public IFeature QueryCrossFeature() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] [Implements(implementation: "IUsage.Definition")] - public List QueryDefinition() - { - return this.ComputeDefinition(); - } + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -183,10 +168,7 @@ public List QueryDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -195,10 +177,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// The usages of this Usage that are directedFeatures. @@ -207,10 +186,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -227,10 +203,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -246,10 +219,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -259,10 +229,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -270,10 +237,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -282,20 +246,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -305,10 +263,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -316,10 +271,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// The at most one occurrenceDefinition that has isIndividual = true. @@ -327,10 +279,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public IOccurrenceDefinition QueryIndividualDefinition() - { - return this.ComputeIndividualDefinition(); - } + public IOccurrenceDefinition individualDefinition => this.ComputeIndividualDefinition(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -338,10 +287,7 @@ public IOccurrenceDefinition QueryIndividualDefinition() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -350,10 +296,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -361,10 +304,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -377,10 +317,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -404,10 +341,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -462,10 +396,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -487,10 +418,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IUsage.IsReference")] - public bool QueryIsReference() - { - return this.ComputeIsReference(); - } + public bool isReference => this.ComputeIsReference(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -518,7 +446,11 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -539,10 +471,7 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool QueryMayTimeVary() - { - return this.ComputeMayTimeVary(); - } + public bool mayTimeVary => this.ComputeMayTimeVary(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -550,10 +479,7 @@ public bool QueryMayTimeVary() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -561,10 +487,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -574,10 +497,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -587,10 +507,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ActionUsages that are nestedUsages of this Usage. @@ -598,10 +515,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List QueryNestedAction() - { - return this.ComputeNestedAction(); - } + public List nestedAction => this.ComputeNestedAction(); /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -609,10 +523,7 @@ public List QueryNestedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List QueryNestedAllocation() - { - return this.ComputeNestedAllocation(); - } + public List nestedAllocation => this.ComputeNestedAllocation(); /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -620,10 +531,7 @@ public List QueryNestedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List QueryNestedAnalysisCase() - { - return this.ComputeNestedAnalysisCase(); - } + public List nestedAnalysisCase => this.ComputeNestedAnalysisCase(); /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -631,10 +539,7 @@ public List QueryNestedAnalysisCase() [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List QueryNestedAttribute() - { - return this.ComputeNestedAttribute(); - } + public List nestedAttribute => this.ComputeNestedAttribute(); /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -642,10 +547,7 @@ public List QueryNestedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List QueryNestedCalculation() - { - return this.ComputeNestedCalculation(); - } + public List nestedCalculation => this.ComputeNestedCalculation(); /// /// The CaseUsages that are nestedUsages of this Usage. @@ -653,10 +555,7 @@ public List QueryNestedCalculation() [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List QueryNestedCase() - { - return this.ComputeNestedCase(); - } + public List nestedCase => this.ComputeNestedCase(); /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -664,10 +563,7 @@ public List QueryNestedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List QueryNestedConcern() - { - return this.ComputeNestedConcern(); - } + public List nestedConcern => this.ComputeNestedConcern(); /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -677,10 +573,7 @@ public List QueryNestedConcern() [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List QueryNestedConnection() - { - return this.ComputeNestedConnection(); - } + public List nestedConnection => this.ComputeNestedConnection(); /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -688,10 +581,7 @@ public List QueryNestedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List QueryNestedConstraint() - { - return this.ComputeNestedConstraint(); - } + public List nestedConstraint => this.ComputeNestedConstraint(); /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -699,10 +589,7 @@ public List QueryNestedConstraint() [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List QueryNestedEnumeration() - { - return this.ComputeNestedEnumeration(); - } + public List nestedEnumeration => this.ComputeNestedEnumeration(); /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -710,10 +597,7 @@ public List QueryNestedEnumeration() [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List QueryNestedFlow() - { - return this.ComputeNestedFlow(); - } + public List nestedFlow => this.ComputeNestedFlow(); /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -721,10 +605,7 @@ public List QueryNestedFlow() [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List QueryNestedInterface() - { - return this.ComputeNestedInterface(); - } + public List nestedInterface => this.ComputeNestedInterface(); /// /// The ItemUsages that are nestedUsages of this Usage. @@ -732,10 +613,7 @@ public List QueryNestedInterface() [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List QueryNestedItem() - { - return this.ComputeNestedItem(); - } + public List nestedItem => this.ComputeNestedItem(); /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -743,10 +621,7 @@ public List QueryNestedItem() [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List QueryNestedMetadata() - { - return this.ComputeNestedMetadata(); - } + public List nestedMetadata => this.ComputeNestedMetadata(); /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -754,10 +629,7 @@ public List QueryNestedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List QueryNestedOccurrence() - { - return this.ComputeNestedOccurrence(); - } + public List nestedOccurrence => this.ComputeNestedOccurrence(); /// /// The PartUsages that are nestedUsages of this Usage. @@ -765,10 +637,7 @@ public List QueryNestedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List QueryNestedPart() - { - return this.ComputeNestedPart(); - } + public List nestedPart => this.ComputeNestedPart(); /// /// The PortUsages that are nestedUsages of this Usage. @@ -776,10 +645,7 @@ public List QueryNestedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List QueryNestedPort() - { - return this.ComputeNestedPort(); - } + public List nestedPort => this.ComputeNestedPort(); /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -787,10 +653,7 @@ public List QueryNestedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List QueryNestedReference() - { - return this.ComputeNestedReference(); - } + public List nestedReference => this.ComputeNestedReference(); /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -798,10 +661,7 @@ public List QueryNestedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List QueryNestedRendering() - { - return this.ComputeNestedRendering(); - } + public List nestedRendering => this.ComputeNestedRendering(); /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -809,10 +669,7 @@ public List QueryNestedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List QueryNestedRequirement() - { - return this.ComputeNestedRequirement(); - } + public List nestedRequirement => this.ComputeNestedRequirement(); /// /// The StateUsages that are nestedUsages of this Usage. @@ -820,10 +677,7 @@ public List QueryNestedRequirement() [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List QueryNestedState() - { - return this.ComputeNestedState(); - } + public List nestedState => this.ComputeNestedState(); /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -831,10 +685,7 @@ public List QueryNestedState() [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List QueryNestedTransition() - { - return this.ComputeNestedTransition(); - } + public List nestedTransition => this.ComputeNestedTransition(); /// /// The Usages that are ownedFeatures of this Usage. @@ -843,10 +694,7 @@ public List QueryNestedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List QueryNestedUsage() - { - return this.ComputeNestedUsage(); - } + public List nestedUsage => this.ComputeNestedUsage(); /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -854,10 +702,7 @@ public List QueryNestedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List QueryNestedUseCase() - { - return this.ComputeNestedUseCase(); - } + public List nestedUseCase => this.ComputeNestedUseCase(); /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -865,10 +710,7 @@ public List QueryNestedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List QueryNestedVerificationCase() - { - return this.ComputeNestedVerificationCase(); - } + public List nestedVerificationCase => this.ComputeNestedVerificationCase(); /// /// The ViewUsages that are nestedUsages of this Usage. @@ -876,10 +718,7 @@ public List QueryNestedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List QueryNestedView() - { - return this.ComputeNestedView(); - } + public List nestedView => this.ComputeNestedView(); /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -887,10 +726,7 @@ public List QueryNestedView() [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List QueryNestedViewpoint() - { - return this.ComputeNestedViewpoint(); - } + public List nestedViewpoint => this.ComputeNestedViewpoint(); /// /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, @@ -901,10 +737,7 @@ public List QueryNestedViewpoint() [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] [RedefinedByProperty("IActionUsage.ActionDefinition")] [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List QueryOccurrenceDefinition() - { - return this.ComputeOccurrenceDefinition(); - } + List Systems.Occurrences.IOccurrenceUsage.occurrenceDefinition => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -912,10 +745,7 @@ public List QueryOccurrenceDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -925,10 +755,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -937,10 +764,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -949,10 +773,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -962,10 +783,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -975,10 +793,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -986,10 +801,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -998,10 +810,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -1009,10 +818,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -1022,10 +828,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -1035,10 +838,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -1048,10 +848,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -1061,10 +858,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -1073,10 +867,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -1085,10 +876,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -1099,10 +887,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -1111,10 +896,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -1123,10 +905,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -1144,10 +923,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -1157,10 +933,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -1170,10 +943,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -1183,10 +953,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1195,10 +962,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1206,10 +970,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The Definition that owns this Usage (if any). @@ -1218,10 +979,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public IDefinition QueryOwningDefinition() - { - return this.ComputeOwningDefinition(); - } + public IDefinition owningDefinition => this.ComputeOwningDefinition(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1229,10 +987,7 @@ public IDefinition QueryOwningDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1241,10 +996,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1253,10 +1005,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -1274,10 +1023,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The Usage in which this Usage is nested (if any). @@ -1285,10 +1031,7 @@ public IType QueryOwningType() [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public IUsage QueryOwningUsage() - { - return this.ComputeOwningUsage(); - } + public IUsage owningUsage => this.ComputeOwningUsage(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -1297,10 +1040,7 @@ public IUsage QueryOwningUsage() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If @@ -1321,10 +1061,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1334,10 +1071,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The Expression that is the featureValue of the terminateOccurrence parameter of this @@ -1345,10 +1079,7 @@ public string QueryShortName() /// [Property(xmiId: "_2022x_2_12e503d9_1724451750939_948290_107", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "ITerminateActionUsage.TerminatedOccurrenceArgument")] - public IExpression QueryTerminatedOccurrenceArgument() - { - return this.ComputeTerminatedOccurrenceArgument(); - } + public IExpression terminatedOccurrenceArgument => this.ComputeTerminatedOccurrenceArgument(); /// /// The TextualRepresentations that annotate this Element. @@ -1357,10 +1088,7 @@ public IExpression QueryTerminatedOccurrenceArgument() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1371,10 +1099,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1385,10 +1110,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1396,10 +1118,7 @@ public List QueryUnioningType() [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1408,10 +1127,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1420,10 +1136,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/TextualRepresentation.cs b/SysML2.NET/Core/AutoGenPoco/TextualRepresentation.cs index a82e9a4e..e5b21f82 100644 --- a/SysML2.NET/Core/AutoGenPoco/TextualRepresentation.cs +++ b/SysML2.NET/Core/AutoGenPoco/TextualRepresentation.cs @@ -84,10 +84,7 @@ public partial class TextualRepresentation : ITextualRepresentation [Property(xmiId: "_19_0_2_12e503d9_1594145755058_99428_86", aggregation: AggregationKind.None, lowerValue: 1, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("ITextualRepresentation.RepresentedElement")] [Implements(implementation: "IAnnotatingElement.AnnotatedElement")] - public List QueryAnnotatedElement() - { - return this.ComputeAnnotatedElement(); - } + List IAnnotatingElement.annotatedElement => throw new InvalidOperationException("Redefined by property ITextualRepresentation.RepresentedElement"); /// /// The Annotations that relate this AnnotatingElement to its annotatedElements. This includes the @@ -96,10 +93,7 @@ public List QueryAnnotatedElement() [Property(xmiId: "_18_5_3_12e503d9_1543094212714_953084_18407", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IAnnotatingElement.Annotation")] - public List QueryAnnotation() - { - return this.ComputeAnnotation(); - } + public List annotation => this.ComputeAnnotation(); /// /// The textual representation of the representedElement in the given language. @@ -132,10 +126,7 @@ public List QueryAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -161,10 +152,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// The natural or artifical language in which the body text is written. @@ -181,10 +169,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this AnnotatingElement that are Annotations, for which this @@ -194,10 +179,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IAnnotatingElement.OwnedAnnotatingRelationship")] - public List QueryOwnedAnnotatingRelationship() - { - return this.ComputeOwnedAnnotatingRelationship(); - } + public List ownedAnnotatingRelationship => this.ComputeOwnedAnnotatingRelationship(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -207,10 +189,7 @@ public List QueryOwnedAnnotatingRelationship() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -218,10 +197,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -237,10 +213,7 @@ public List QueryOwnedElement() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this AnnotatingRelationship, if it is an Annotation @@ -249,10 +222,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094212714_953084_18407")] [Implements(implementation: "IAnnotatingElement.OwningAnnotatingRelationship")] - public IAnnotation QueryOwningAnnotatingRelationship() - { - return this.ComputeOwningAnnotatingRelationship(); - } + public IAnnotation owningAnnotatingRelationship => this.ComputeOwningAnnotatingRelationship(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -261,10 +231,7 @@ public IAnnotation QueryOwningAnnotatingRelationship() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -273,10 +240,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -296,10 +260,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Element that is represented by this TextualRepresentation. @@ -308,10 +269,7 @@ public string QueryQualifiedName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_744477_17277")] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1594145755058_99428_86")] [Implements(implementation: "ITextualRepresentation.RepresentedElement")] - public IElement QueryRepresentedElement() - { - return this.ComputeRepresentedElement(); - } + public IElement representedElement => this.ComputeRepresentedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -321,10 +279,7 @@ public IElement QueryRepresentedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -333,10 +288,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/TransitionFeatureMembership.cs b/SysML2.NET/Core/AutoGenPoco/TransitionFeatureMembership.cs index c1e8c22b..9843dc6b 100644 --- a/SysML2.NET/Core/AutoGenPoco/TransitionFeatureMembership.cs +++ b/SysML2.NET/Core/AutoGenPoco/TransitionFeatureMembership.cs @@ -85,10 +85,7 @@ public partial class TransitionFeatureMembership : ITransitionFeatureMembership [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -122,10 +119,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether this TransitionFeatureMembership is for a trigger, guard or effect. @@ -141,7 +135,11 @@ public bool QueryIsLibraryElement() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] [Implements(implementation: "IMembership.MemberElement")] - public IElement MemberElement { get; set; } + IElement Root.Namespaces.IMembership.MemberElement + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + } /// /// The elementId of the memberElement. @@ -149,10 +147,7 @@ public bool QueryIsLibraryElement() [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] [Implements(implementation: "IMembership.MemberElementId")] - public string QueryMemberElementId() - { - return this.ComputeMemberElementId(); - } + string Root.Namespaces.IMembership.memberElementId => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElementId"); /// /// The name of the memberElement relative to the membershipOwningNamespace. @@ -160,7 +155,11 @@ public string QueryMemberElementId() [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberName")] [Implements(implementation: "IMembership.MemberName")] - public string MemberName { get; set; } + string Root.Namespaces.IMembership.MemberName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + } /// /// The Namespace of which the memberElement becomes a member due to this Membership. @@ -171,10 +170,7 @@ public string QueryMemberElementId() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [RedefinedByProperty("IFeatureMembership.OwningType")] [Implements(implementation: "IMembership.MembershipOwningNamespace")] - public INamespace QueryMembershipOwningNamespace() - { - return this.ComputeMembershipOwningNamespace(); - } + INamespace Root.Namespaces.IMembership.membershipOwningNamespace => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwningType"); /// /// The short name of the memberElement relative to the membershipOwningNamespace. @@ -182,7 +178,11 @@ public INamespace QueryMembershipOwningNamespace() [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] [Implements(implementation: "IMembership.MemberShortName")] - public string MemberShortName { get; set; } + string Root.Namespaces.IMembership.MemberShortName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + } /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -192,10 +192,7 @@ public INamespace QueryMembershipOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -205,10 +202,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -216,10 +210,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this @@ -230,10 +221,7 @@ public List QueryOwnedElement() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] [RedefinedByProperty("IFeatureMembership.OwnedMemberFeature")] [Implements(implementation: "IOwningMembership.OwnedMemberElement")] - public IElement QueryOwnedMemberElement() - { - return this.ComputeOwnedMemberElement(); - } + IElement Root.Namespaces.IOwningMembership.ownedMemberElement => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwnedMemberFeature"); /// /// The elementId of the ownedMemberElement. @@ -241,10 +229,7 @@ public IElement QueryOwnedMemberElement() [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] - public string QueryOwnedMemberElementId() - { - return this.ComputeOwnedMemberElementId(); - } + public string ownedMemberElementId => this.ComputeOwnedMemberElementId(); /// /// The Feature that this FeatureMembership relates to its owningType, making it an ownedFeature of the @@ -254,10 +239,7 @@ public string QueryOwnedMemberElementId() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] [RedefinedByProperty("ITransitionFeatureMembership.TransitionFeature")] [Implements(implementation: "IFeatureMembership.OwnedMemberFeature")] - public IFeature QueryOwnedMemberFeature() - { - return this.ComputeOwnedMemberFeature(); - } + IFeature Core.Types.IFeatureMembership.ownedMemberFeature => throw new InvalidOperationException("Redefined by property ITransitionFeatureMembership.TransitionFeature"); /// /// The name of the ownedMemberElement. @@ -265,10 +247,7 @@ public IFeature QueryOwnedMemberFeature() [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] [Implements(implementation: "IOwningMembership.OwnedMemberName")] - public string QueryOwnedMemberName() - { - return this.ComputeOwnedMemberName(); - } + public string ownedMemberName => this.ComputeOwnedMemberName(); /// /// The shortName of the ownedMemberElement. @@ -276,10 +255,7 @@ public string QueryOwnedMemberName() [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] - public string QueryOwnedMemberShortName() - { - return this.ComputeOwnedMemberShortName(); - } + public string ownedMemberShortName => this.ComputeOwnedMemberShortName(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -303,10 +279,7 @@ public string QueryOwnedMemberShortName() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -315,10 +288,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -327,10 +297,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -355,10 +322,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866524_738482_486")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] [Implements(implementation: "IFeatureMembership.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -370,10 +334,7 @@ public IType QueryOwningType() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -381,10 +342,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + public List relatedElement => this.ComputeRelatedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -394,10 +352,7 @@ public List QueryRelatedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -406,7 +361,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembership.MembershipOwningNamespace")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -415,7 +374,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembership.MemberElement")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + set => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + } /// /// The TextualRepresentations that annotate this Element. @@ -424,10 +387,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// The Step that is the ownedMemberFeature of this TransitionFeatureMembership. @@ -435,10 +395,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_19_0_2_12e503d9_1582975046568_736161_148", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] [Implements(implementation: "ITransitionFeatureMembership.TransitionFeature")] - public IStep QueryTransitionFeature() - { - return this.ComputeTransitionFeature(); - } + public IStep transitionFeature => this.ComputeTransitionFeature(); /// /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly diff --git a/SysML2.NET/Core/AutoGenPoco/TransitionUsage.cs b/SysML2.NET/Core/AutoGenPoco/TransitionUsage.cs index c085ef28..624695e5 100644 --- a/SysML2.NET/Core/AutoGenPoco/TransitionUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/TransitionUsage.cs @@ -91,10 +91,7 @@ public partial class TransitionUsage : ITransitionUsage [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IActionUsage.ActionDefinition")] - public List QueryActionDefinition() - { - return this.ComputeActionDefinition(); - } + public List actionDefinition => this.ComputeActionDefinition(); /// /// Various alternative identifiers for this Element. Generally, these will be set by tools. @@ -110,10 +107,7 @@ public List QueryActionDefinition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IActionUsage.ActionDefinition")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -125,10 +119,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -138,10 +129,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -169,10 +157,7 @@ public IFeature QueryCrossFeature() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] [Implements(implementation: "IUsage.Definition")] - public List QueryDefinition() - { - return this.ComputeDefinition(); - } + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -185,10 +170,7 @@ public List QueryDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -197,10 +179,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// The usages of this Usage that are directedFeatures. @@ -209,10 +188,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -229,10 +205,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The ActionUsages that define the effects of this TransitionUsage, which are the ownedFeatures of the @@ -242,10 +215,7 @@ public List QueryDocumentation() [Property(xmiId: "_19_0_2_12e503d9_1581029782522_542070_6299", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "ITransitionUsage.EffectAction")] - public List QueryEffectAction() - { - return this.ComputeEffectAction(); - } + public List effectAction => this.ComputeEffectAction(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -261,10 +231,7 @@ public List QueryEffectAction() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -274,10 +241,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -285,10 +249,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -297,20 +258,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -320,10 +275,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Expressions that define the guards of this TransitionUsage, which are the ownedFeatures of the @@ -333,10 +285,7 @@ public List QueryFeaturingType() [Property(xmiId: "_19_0_2_12e503d9_1581029720824_747691_6254", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "ITransitionUsage.GuardExpression")] - public List QueryGuardExpression() - { - return this.ComputeGuardExpression(); - } + public List guardExpression => this.ComputeGuardExpression(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -344,10 +293,7 @@ public List QueryGuardExpression() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// The at most one occurrenceDefinition that has isIndividual = true. @@ -355,10 +301,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public IOccurrenceDefinition QueryIndividualDefinition() - { - return this.ComputeIndividualDefinition(); - } + public IOccurrenceDefinition individualDefinition => this.ComputeIndividualDefinition(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -366,10 +309,7 @@ public IOccurrenceDefinition QueryIndividualDefinition() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -378,10 +318,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -389,10 +326,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -405,10 +339,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -432,10 +363,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -490,10 +418,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -515,10 +440,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IUsage.IsReference")] - public bool QueryIsReference() - { - return this.ComputeIsReference(); - } + public bool isReference => this.ComputeIsReference(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -546,7 +468,11 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -567,10 +493,7 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool QueryMayTimeVary() - { - return this.ComputeMayTimeVary(); - } + public bool mayTimeVary => this.ComputeMayTimeVary(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -578,10 +501,7 @@ public bool QueryMayTimeVary() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -589,10 +509,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -602,10 +519,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -615,10 +529,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ActionUsages that are nestedUsages of this Usage. @@ -626,10 +537,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List QueryNestedAction() - { - return this.ComputeNestedAction(); - } + public List nestedAction => this.ComputeNestedAction(); /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -637,10 +545,7 @@ public List QueryNestedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List QueryNestedAllocation() - { - return this.ComputeNestedAllocation(); - } + public List nestedAllocation => this.ComputeNestedAllocation(); /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -648,10 +553,7 @@ public List QueryNestedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List QueryNestedAnalysisCase() - { - return this.ComputeNestedAnalysisCase(); - } + public List nestedAnalysisCase => this.ComputeNestedAnalysisCase(); /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -659,10 +561,7 @@ public List QueryNestedAnalysisCase() [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List QueryNestedAttribute() - { - return this.ComputeNestedAttribute(); - } + public List nestedAttribute => this.ComputeNestedAttribute(); /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -670,10 +569,7 @@ public List QueryNestedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List QueryNestedCalculation() - { - return this.ComputeNestedCalculation(); - } + public List nestedCalculation => this.ComputeNestedCalculation(); /// /// The CaseUsages that are nestedUsages of this Usage. @@ -681,10 +577,7 @@ public List QueryNestedCalculation() [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List QueryNestedCase() - { - return this.ComputeNestedCase(); - } + public List nestedCase => this.ComputeNestedCase(); /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -692,10 +585,7 @@ public List QueryNestedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List QueryNestedConcern() - { - return this.ComputeNestedConcern(); - } + public List nestedConcern => this.ComputeNestedConcern(); /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -705,10 +595,7 @@ public List QueryNestedConcern() [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List QueryNestedConnection() - { - return this.ComputeNestedConnection(); - } + public List nestedConnection => this.ComputeNestedConnection(); /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -716,10 +603,7 @@ public List QueryNestedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List QueryNestedConstraint() - { - return this.ComputeNestedConstraint(); - } + public List nestedConstraint => this.ComputeNestedConstraint(); /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -727,10 +611,7 @@ public List QueryNestedConstraint() [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List QueryNestedEnumeration() - { - return this.ComputeNestedEnumeration(); - } + public List nestedEnumeration => this.ComputeNestedEnumeration(); /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -738,10 +619,7 @@ public List QueryNestedEnumeration() [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List QueryNestedFlow() - { - return this.ComputeNestedFlow(); - } + public List nestedFlow => this.ComputeNestedFlow(); /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -749,10 +627,7 @@ public List QueryNestedFlow() [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List QueryNestedInterface() - { - return this.ComputeNestedInterface(); - } + public List nestedInterface => this.ComputeNestedInterface(); /// /// The ItemUsages that are nestedUsages of this Usage. @@ -760,10 +635,7 @@ public List QueryNestedInterface() [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List QueryNestedItem() - { - return this.ComputeNestedItem(); - } + public List nestedItem => this.ComputeNestedItem(); /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -771,10 +643,7 @@ public List QueryNestedItem() [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List QueryNestedMetadata() - { - return this.ComputeNestedMetadata(); - } + public List nestedMetadata => this.ComputeNestedMetadata(); /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -782,10 +651,7 @@ public List QueryNestedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List QueryNestedOccurrence() - { - return this.ComputeNestedOccurrence(); - } + public List nestedOccurrence => this.ComputeNestedOccurrence(); /// /// The PartUsages that are nestedUsages of this Usage. @@ -793,10 +659,7 @@ public List QueryNestedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List QueryNestedPart() - { - return this.ComputeNestedPart(); - } + public List nestedPart => this.ComputeNestedPart(); /// /// The PortUsages that are nestedUsages of this Usage. @@ -804,10 +667,7 @@ public List QueryNestedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List QueryNestedPort() - { - return this.ComputeNestedPort(); - } + public List nestedPort => this.ComputeNestedPort(); /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -815,10 +675,7 @@ public List QueryNestedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List QueryNestedReference() - { - return this.ComputeNestedReference(); - } + public List nestedReference => this.ComputeNestedReference(); /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -826,10 +683,7 @@ public List QueryNestedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List QueryNestedRendering() - { - return this.ComputeNestedRendering(); - } + public List nestedRendering => this.ComputeNestedRendering(); /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -837,10 +691,7 @@ public List QueryNestedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List QueryNestedRequirement() - { - return this.ComputeNestedRequirement(); - } + public List nestedRequirement => this.ComputeNestedRequirement(); /// /// The StateUsages that are nestedUsages of this Usage. @@ -848,10 +699,7 @@ public List QueryNestedRequirement() [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List QueryNestedState() - { - return this.ComputeNestedState(); - } + public List nestedState => this.ComputeNestedState(); /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -859,10 +707,7 @@ public List QueryNestedState() [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List QueryNestedTransition() - { - return this.ComputeNestedTransition(); - } + public List nestedTransition => this.ComputeNestedTransition(); /// /// The Usages that are ownedFeatures of this Usage. @@ -871,10 +716,7 @@ public List QueryNestedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List QueryNestedUsage() - { - return this.ComputeNestedUsage(); - } + public List nestedUsage => this.ComputeNestedUsage(); /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -882,10 +724,7 @@ public List QueryNestedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List QueryNestedUseCase() - { - return this.ComputeNestedUseCase(); - } + public List nestedUseCase => this.ComputeNestedUseCase(); /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -893,10 +732,7 @@ public List QueryNestedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List QueryNestedVerificationCase() - { - return this.ComputeNestedVerificationCase(); - } + public List nestedVerificationCase => this.ComputeNestedVerificationCase(); /// /// The ViewUsages that are nestedUsages of this Usage. @@ -904,10 +740,7 @@ public List QueryNestedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List QueryNestedView() - { - return this.ComputeNestedView(); - } + public List nestedView => this.ComputeNestedView(); /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -915,10 +748,7 @@ public List QueryNestedView() [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List QueryNestedViewpoint() - { - return this.ComputeNestedViewpoint(); - } + public List nestedViewpoint => this.ComputeNestedViewpoint(); /// /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, @@ -929,10 +759,7 @@ public List QueryNestedViewpoint() [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] [RedefinedByProperty("IActionUsage.ActionDefinition")] [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List QueryOccurrenceDefinition() - { - return this.ComputeOccurrenceDefinition(); - } + List Systems.Occurrences.IOccurrenceUsage.occurrenceDefinition => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -940,10 +767,7 @@ public List QueryOccurrenceDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -953,10 +777,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -965,10 +786,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -977,10 +795,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -990,10 +805,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -1003,10 +815,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -1014,10 +823,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -1026,10 +832,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -1037,10 +840,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -1050,10 +850,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -1063,10 +860,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -1076,10 +870,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -1089,10 +880,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -1101,10 +889,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -1113,10 +898,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -1127,10 +909,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -1139,10 +918,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -1151,10 +927,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -1172,10 +945,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -1185,10 +955,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -1198,10 +965,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -1211,10 +975,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1223,10 +984,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1234,10 +992,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The Definition that owns this Usage (if any). @@ -1246,10 +1001,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public IDefinition QueryOwningDefinition() - { - return this.ComputeOwningDefinition(); - } + public IDefinition owningDefinition => this.ComputeOwningDefinition(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1257,10 +1009,7 @@ public IDefinition QueryOwningDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1269,10 +1018,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1281,10 +1027,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -1302,10 +1045,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The Usage in which this Usage is nested (if any). @@ -1313,10 +1053,7 @@ public IType QueryOwningType() [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public IUsage QueryOwningUsage() - { - return this.ComputeOwningUsage(); - } + public IUsage owningUsage => this.ComputeOwningUsage(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -1325,10 +1062,7 @@ public IUsage QueryOwningUsage() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If @@ -1349,10 +1083,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1362,10 +1093,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The source ActionUsage of this TransitionUsage, which becomes the source of the succession for the @@ -1373,10 +1101,7 @@ public string QueryShortName() /// [Property(xmiId: "_19_0_2_12e503d9_1581029439311_947395_6114", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "ITransitionUsage.Source")] - public IActionUsage QuerySource() - { - return this.ComputeSource(); - } + public IActionUsage source => this.ComputeSource(); /// /// The Succession that is the ownedFeature of this TransitionUsage, which, if the TransitionUsage is @@ -1385,10 +1110,7 @@ public IActionUsage QuerySource() [Property(xmiId: "_19_0_2_12e503d9_1581030490131_304332_6364", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "ITransitionUsage.Succession")] - public ISuccession QuerySuccession() - { - return this.ComputeSuccession(); - } + public ISuccession succession => this.ComputeSuccession(); /// /// The target ActionUsage of this TransitionUsage, which is the targetFeature of the succession for the @@ -1396,10 +1118,7 @@ public ISuccession QuerySuccession() /// [Property(xmiId: "_19_0_2_12e503d9_1581029493366_130491_6153", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "ITransitionUsage.Target")] - public IActionUsage QueryTarget() - { - return this.ComputeTarget(); - } + public IActionUsage target => this.ComputeTarget(); /// /// The TextualRepresentations that annotate this Element. @@ -1408,10 +1127,7 @@ public IActionUsage QueryTarget() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// The AcceptActionUsages that define the triggers of this TransitionUsage, which are the ownedFeatures @@ -1421,10 +1137,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_19_0_2_12e503d9_1581029662256_985457_6209", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "ITransitionUsage.TriggerAction")] - public List QueryTriggerAction() - { - return this.ComputeTriggerAction(); - } + public List triggerAction => this.ComputeTriggerAction(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1435,10 +1148,7 @@ public List QueryTriggerAction() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1449,10 +1159,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1460,10 +1167,7 @@ public List QueryUnioningType() [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1472,10 +1176,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1484,10 +1185,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/TriggerInvocationExpression.cs b/SysML2.NET/Core/AutoGenPoco/TriggerInvocationExpression.cs index be489985..76ec9c1c 100644 --- a/SysML2.NET/Core/AutoGenPoco/TriggerInvocationExpression.cs +++ b/SysML2.NET/Core/AutoGenPoco/TriggerInvocationExpression.cs @@ -70,10 +70,7 @@ public partial class TriggerInvocationExpression : ITriggerInvocationExpression /// [Property(xmiId: "_2022x_2_12e503d9_1739134437590_328753_108", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IInstantiationExpression.Argument")] - public List QueryArgument() - { - return this.ComputeArgument(); - } + public List argument => this.ComputeArgument(); /// /// The Behaviors that type this Step. @@ -82,10 +79,7 @@ public List QueryArgument() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IExpression.Function")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -97,10 +91,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -110,10 +101,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -143,10 +131,7 @@ public IFeature QueryCrossFeature() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -155,10 +140,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -175,10 +157,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -194,10 +173,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -207,10 +183,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -218,10 +191,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -230,20 +200,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -253,10 +217,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Function that types this Expression. @@ -264,10 +225,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1543948477241_299049_20934", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [Implements(implementation: "IExpression.Function")] - public IFunction QueryFunction() - { - return this.ComputeFunction(); - } + public IFunction function => this.ComputeFunction(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -275,10 +233,7 @@ public IFunction QueryFunction() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -286,10 +241,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -298,10 +250,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -309,10 +258,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The Type that is being instantiated. @@ -320,10 +266,7 @@ public List QueryInput() [Property(xmiId: "_2022x_2_12e503d9_1739134352572_416088_80", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IInstantiationExpression.InstantiatedType")] - public IType QueryInstantiatedType() - { - return this.ComputeInstantiatedType(); - } + public IType instantiatedType => this.ComputeInstantiatedType(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -336,10 +279,7 @@ public IType QueryInstantiatedType() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -363,10 +303,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -413,10 +350,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, @@ -424,10 +358,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool QueryIsModelLevelEvaluable() - { - return this.ComputeIsModelLevelEvaluable(); - } + public bool isModelLevelEvaluable => this.ComputeIsModelLevelEvaluable(); /// /// Whether an order exists for the values of this Feature or not. @@ -485,10 +416,7 @@ public bool QueryIsModelLevelEvaluable() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -496,10 +424,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -509,10 +434,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -522,10 +444,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -533,10 +452,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -546,10 +462,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -558,10 +471,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -570,10 +480,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -583,10 +490,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -596,10 +500,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -607,10 +508,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -619,10 +517,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -630,10 +525,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -643,10 +535,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -656,10 +545,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -669,10 +555,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -682,10 +565,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -694,10 +574,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -706,10 +583,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -720,10 +594,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -732,10 +603,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -744,10 +612,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -765,10 +630,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -778,10 +640,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -791,10 +650,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -804,10 +660,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -816,10 +669,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -827,10 +677,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -838,10 +685,7 @@ public IElement QueryOwner() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -850,10 +694,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -862,10 +703,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -883,10 +721,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -895,10 +730,7 @@ public IType QueryOwningType() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -910,10 +742,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// An output parameter of the Expression whose value is the result of the Expression. The result of an @@ -924,10 +753,7 @@ public string QueryQualifiedName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [Implements(implementation: "IExpression.Result")] - public IFeature QueryResult() - { - return this.ComputeResult(); - } + public IFeature result => this.ComputeResult(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -937,10 +763,7 @@ public IFeature QueryResult() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -949,10 +772,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -962,10 +782,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + public List type => this.ComputeType(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -976,10 +793,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/Type.cs b/SysML2.NET/Core/AutoGenPoco/Type.cs index 2dc87450..f66406b3 100644 --- a/SysML2.NET/Core/AutoGenPoco/Type.cs +++ b/SysML2.NET/Core/AutoGenPoco/Type.cs @@ -85,10 +85,7 @@ public partial class Type : IType /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -96,10 +93,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// The Documentation owned by this Element. @@ -108,10 +102,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -127,10 +118,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -138,10 +126,7 @@ public List QueryEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -150,10 +135,7 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -161,10 +143,7 @@ public List QueryFeatureMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -172,10 +151,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -184,10 +160,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -195,10 +168,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -211,10 +181,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -229,10 +196,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// Whether all necessary implied Relationships have been included in the ownedRelationships of this @@ -250,10 +214,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -273,10 +234,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -284,10 +242,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -297,10 +252,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -310,10 +262,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -321,10 +270,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -334,10 +280,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -346,10 +289,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -359,10 +299,7 @@ public IConjugation QueryOwnedConjugator() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -372,10 +309,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -383,10 +317,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -395,10 +326,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -406,10 +334,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -419,10 +344,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -432,10 +354,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -444,10 +363,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -456,10 +372,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -470,10 +383,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -491,10 +401,7 @@ public List QueryOwnedMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -503,10 +410,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -514,10 +418,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -526,10 +427,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -538,10 +436,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -561,10 +456,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -574,10 +466,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -586,10 +475,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -600,10 +486,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/TypeFeaturing.cs b/SysML2.NET/Core/AutoGenPoco/TypeFeaturing.cs index 89f55a7f..50b4436e 100644 --- a/SysML2.NET/Core/AutoGenPoco/TypeFeaturing.cs +++ b/SysML2.NET/Core/AutoGenPoco/TypeFeaturing.cs @@ -80,10 +80,7 @@ public partial class TypeFeaturing : ITypeFeaturing [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -133,10 +130,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -146,10 +140,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -159,10 +150,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -170,10 +158,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -197,10 +182,7 @@ public List QueryOwnedElement() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// A featureOfType that is also the owningRelatedElement of this TypeFeaturing. @@ -209,10 +191,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_912234_579")] [Implements(implementation: "ITypeFeaturing.OwningFeatureOfType")] - public IFeature QueryOwningFeatureOfType() - { - return this.ComputeOwningFeatureOfType(); - } + public IFeature owningFeatureOfType => this.ComputeOwningFeatureOfType(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -221,10 +200,7 @@ public IFeature QueryOwningFeatureOfType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -233,10 +209,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -264,10 +237,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -275,10 +245,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + public List relatedElement => this.ComputeRelatedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -288,10 +255,7 @@ public List QueryRelatedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -300,7 +264,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("ITypeFeaturing.FeatureOfType")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property ITypeFeaturing.FeatureOfType"); + set => throw new InvalidOperationException("Redefined by property ITypeFeaturing.FeatureOfType"); + } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -309,7 +277,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("ITypeFeaturing.FeaturingType")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property ITypeFeaturing.FeaturingType"); + set => throw new InvalidOperationException("Redefined by property ITypeFeaturing.FeaturingType"); + } /// /// The TextualRepresentations that annotate this Element. @@ -318,10 +290,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/Unioning.cs b/SysML2.NET/Core/AutoGenPoco/Unioning.cs index eabff290..d11263fd 100644 --- a/SysML2.NET/Core/AutoGenPoco/Unioning.cs +++ b/SysML2.NET/Core/AutoGenPoco/Unioning.cs @@ -78,10 +78,7 @@ public partial class Unioning : IUnioning [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -115,10 +112,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -128,10 +122,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -141,10 +132,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -152,10 +140,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -179,10 +164,7 @@ public List QueryOwnedElement() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -191,10 +173,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -203,10 +182,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -234,10 +210,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -245,10 +218,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + public List relatedElement => this.ComputeRelatedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -258,10 +228,7 @@ public List QueryRelatedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -270,7 +237,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IUnioning.TypeUnioned")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IUnioning.TypeUnioned"); + set => throw new InvalidOperationException("Redefined by property IUnioning.TypeUnioned"); + } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -279,7 +250,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IUnioning.UnioningType")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IUnioning.UnioningType"); + set => throw new InvalidOperationException("Redefined by property IUnioning.UnioningType"); + } /// /// The TextualRepresentations that annotate this Element. @@ -288,10 +263,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Type with interpretations partly determined by unioningType, as described in Type::unioningType. @@ -300,10 +272,7 @@ public List QueryTextualRepresentation() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [Implements(implementation: "IUnioning.TypeUnioned")] - public IType QueryTypeUnioned() - { - return this.ComputeTypeUnioned(); - } + public IType typeUnioned => this.ComputeTypeUnioned(); /// /// Type that partly determines interpretations of typeUnioned, as described in Type::unioningType. diff --git a/SysML2.NET/Core/AutoGenPoco/Usage.cs b/SysML2.NET/Core/AutoGenPoco/Usage.cs index 8025430e..3ccbcd2e 100644 --- a/SysML2.NET/Core/AutoGenPoco/Usage.cs +++ b/SysML2.NET/Core/AutoGenPoco/Usage.cs @@ -95,10 +95,7 @@ public partial class Usage : IUsage /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -108,10 +105,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -138,10 +132,7 @@ public IFeature QueryCrossFeature() [Property(xmiId: "_19_0_2_12e503d9_1591477641252_179221_958", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [Implements(implementation: "IUsage.Definition")] - public List QueryDefinition() - { - return this.ComputeDefinition(); - } + public List definition => this.ComputeDefinition(); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -154,10 +145,7 @@ public List QueryDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -165,10 +153,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// The usages of this Usage that are directedFeatures. @@ -177,10 +162,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -197,10 +179,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -216,10 +195,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -229,10 +205,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -240,10 +213,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -252,20 +222,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -275,10 +239,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -286,10 +247,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -297,10 +255,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -309,10 +264,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -320,10 +272,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -336,10 +285,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -363,10 +309,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -413,10 +356,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -438,10 +378,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IUsage.IsReference")] - public bool QueryIsReference() - { - return this.ComputeIsReference(); - } + public bool isReference => this.ComputeIsReference(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -469,7 +406,11 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -490,10 +431,7 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool QueryMayTimeVary() - { - return this.ComputeMayTimeVary(); - } + public bool mayTimeVary => this.ComputeMayTimeVary(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -501,10 +439,7 @@ public bool QueryMayTimeVary() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -512,10 +447,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -525,10 +457,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -538,10 +467,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ActionUsages that are nestedUsages of this Usage. @@ -549,10 +475,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List QueryNestedAction() - { - return this.ComputeNestedAction(); - } + public List nestedAction => this.ComputeNestedAction(); /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -560,10 +483,7 @@ public List QueryNestedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List QueryNestedAllocation() - { - return this.ComputeNestedAllocation(); - } + public List nestedAllocation => this.ComputeNestedAllocation(); /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -571,10 +491,7 @@ public List QueryNestedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List QueryNestedAnalysisCase() - { - return this.ComputeNestedAnalysisCase(); - } + public List nestedAnalysisCase => this.ComputeNestedAnalysisCase(); /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -582,10 +499,7 @@ public List QueryNestedAnalysisCase() [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List QueryNestedAttribute() - { - return this.ComputeNestedAttribute(); - } + public List nestedAttribute => this.ComputeNestedAttribute(); /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -593,10 +507,7 @@ public List QueryNestedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List QueryNestedCalculation() - { - return this.ComputeNestedCalculation(); - } + public List nestedCalculation => this.ComputeNestedCalculation(); /// /// The CaseUsages that are nestedUsages of this Usage. @@ -604,10 +515,7 @@ public List QueryNestedCalculation() [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List QueryNestedCase() - { - return this.ComputeNestedCase(); - } + public List nestedCase => this.ComputeNestedCase(); /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -615,10 +523,7 @@ public List QueryNestedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List QueryNestedConcern() - { - return this.ComputeNestedConcern(); - } + public List nestedConcern => this.ComputeNestedConcern(); /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -628,10 +533,7 @@ public List QueryNestedConcern() [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List QueryNestedConnection() - { - return this.ComputeNestedConnection(); - } + public List nestedConnection => this.ComputeNestedConnection(); /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -639,10 +541,7 @@ public List QueryNestedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List QueryNestedConstraint() - { - return this.ComputeNestedConstraint(); - } + public List nestedConstraint => this.ComputeNestedConstraint(); /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -650,10 +549,7 @@ public List QueryNestedConstraint() [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List QueryNestedEnumeration() - { - return this.ComputeNestedEnumeration(); - } + public List nestedEnumeration => this.ComputeNestedEnumeration(); /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -661,10 +557,7 @@ public List QueryNestedEnumeration() [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List QueryNestedFlow() - { - return this.ComputeNestedFlow(); - } + public List nestedFlow => this.ComputeNestedFlow(); /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -672,10 +565,7 @@ public List QueryNestedFlow() [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List QueryNestedInterface() - { - return this.ComputeNestedInterface(); - } + public List nestedInterface => this.ComputeNestedInterface(); /// /// The ItemUsages that are nestedUsages of this Usage. @@ -683,10 +573,7 @@ public List QueryNestedInterface() [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List QueryNestedItem() - { - return this.ComputeNestedItem(); - } + public List nestedItem => this.ComputeNestedItem(); /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -694,10 +581,7 @@ public List QueryNestedItem() [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List QueryNestedMetadata() - { - return this.ComputeNestedMetadata(); - } + public List nestedMetadata => this.ComputeNestedMetadata(); /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -705,10 +589,7 @@ public List QueryNestedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List QueryNestedOccurrence() - { - return this.ComputeNestedOccurrence(); - } + public List nestedOccurrence => this.ComputeNestedOccurrence(); /// /// The PartUsages that are nestedUsages of this Usage. @@ -716,10 +597,7 @@ public List QueryNestedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List QueryNestedPart() - { - return this.ComputeNestedPart(); - } + public List nestedPart => this.ComputeNestedPart(); /// /// The PortUsages that are nestedUsages of this Usage. @@ -727,10 +605,7 @@ public List QueryNestedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List QueryNestedPort() - { - return this.ComputeNestedPort(); - } + public List nestedPort => this.ComputeNestedPort(); /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -738,10 +613,7 @@ public List QueryNestedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List QueryNestedReference() - { - return this.ComputeNestedReference(); - } + public List nestedReference => this.ComputeNestedReference(); /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -749,10 +621,7 @@ public List QueryNestedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List QueryNestedRendering() - { - return this.ComputeNestedRendering(); - } + public List nestedRendering => this.ComputeNestedRendering(); /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -760,10 +629,7 @@ public List QueryNestedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List QueryNestedRequirement() - { - return this.ComputeNestedRequirement(); - } + public List nestedRequirement => this.ComputeNestedRequirement(); /// /// The StateUsages that are nestedUsages of this Usage. @@ -771,10 +637,7 @@ public List QueryNestedRequirement() [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List QueryNestedState() - { - return this.ComputeNestedState(); - } + public List nestedState => this.ComputeNestedState(); /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -782,10 +645,7 @@ public List QueryNestedState() [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List QueryNestedTransition() - { - return this.ComputeNestedTransition(); - } + public List nestedTransition => this.ComputeNestedTransition(); /// /// The Usages that are ownedFeatures of this Usage. @@ -794,10 +654,7 @@ public List QueryNestedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List QueryNestedUsage() - { - return this.ComputeNestedUsage(); - } + public List nestedUsage => this.ComputeNestedUsage(); /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -805,10 +662,7 @@ public List QueryNestedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List QueryNestedUseCase() - { - return this.ComputeNestedUseCase(); - } + public List nestedUseCase => this.ComputeNestedUseCase(); /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -816,10 +670,7 @@ public List QueryNestedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List QueryNestedVerificationCase() - { - return this.ComputeNestedVerificationCase(); - } + public List nestedVerificationCase => this.ComputeNestedVerificationCase(); /// /// The ViewUsages that are nestedUsages of this Usage. @@ -827,10 +678,7 @@ public List QueryNestedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List QueryNestedView() - { - return this.ComputeNestedView(); - } + public List nestedView => this.ComputeNestedView(); /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -838,10 +686,7 @@ public List QueryNestedView() [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List QueryNestedViewpoint() - { - return this.ComputeNestedViewpoint(); - } + public List nestedViewpoint => this.ComputeNestedViewpoint(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -849,10 +694,7 @@ public List QueryNestedViewpoint() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -862,10 +704,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -874,10 +713,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -886,10 +722,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -899,10 +732,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -912,10 +742,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -923,10 +750,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -935,10 +759,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -946,10 +767,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -959,10 +777,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -972,10 +787,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -985,10 +797,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -998,10 +807,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -1010,10 +816,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -1022,10 +825,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -1036,10 +836,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -1048,10 +845,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -1060,10 +854,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -1081,10 +872,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -1094,10 +882,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -1107,10 +892,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -1120,10 +902,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1132,10 +911,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1143,10 +919,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The Definition that owns this Usage (if any). @@ -1155,10 +928,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public IDefinition QueryOwningDefinition() - { - return this.ComputeOwningDefinition(); - } + public IDefinition owningDefinition => this.ComputeOwningDefinition(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1166,10 +936,7 @@ public IDefinition QueryOwningDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1178,10 +945,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1190,10 +954,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -1211,10 +972,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The Usage in which this Usage is nested (if any). @@ -1222,10 +980,7 @@ public IType QueryOwningType() [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public IUsage QueryOwningUsage() - { - return this.ComputeOwningUsage(); - } + public IUsage owningUsage => this.ComputeOwningUsage(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -1237,10 +992,7 @@ public IUsage QueryOwningUsage() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1250,10 +1002,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -1262,10 +1011,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1276,10 +1022,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1290,10 +1033,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1301,10 +1041,7 @@ public List QueryUnioningType() [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1313,10 +1050,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1325,10 +1059,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/UseCaseDefinition.cs b/SysML2.NET/Core/AutoGenPoco/UseCaseDefinition.cs index 657f0f16..306e3af2 100644 --- a/SysML2.NET/Core/AutoGenPoco/UseCaseDefinition.cs +++ b/SysML2.NET/Core/AutoGenPoco/UseCaseDefinition.cs @@ -83,10 +83,7 @@ public partial class UseCaseDefinition : IUseCaseDefinition [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IActionDefinition.Action")] - public List QueryAction() - { - return this.ComputeAction(); - } + public List action => this.ComputeAction(); /// /// The parameters of this CaseDefinition that represent actors involved in the case. @@ -95,10 +92,7 @@ public List QueryAction() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "ICaseDefinition.ActorParameter")] - public List QueryActorParameter() - { - return this.ComputeActorParameter(); - } + public List actorParameter => this.ComputeActorParameter(); /// /// Various alternative identifiers for this Element. Generally, these will be set by tools. @@ -114,10 +108,7 @@ public List QueryActorParameter() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565500809065_170841_30688")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948400639_301251_20841")] [Implements(implementation: "ICalculationDefinition.Calculation")] - public List QueryCalculation() - { - return this.ComputeCalculation(); - } + public List calculation => this.ComputeCalculation(); /// /// The declared name of this Element. @@ -147,10 +138,7 @@ public List QueryCalculation() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -159,10 +147,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IBehavior.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IBehavior.Parameter"); /// /// The usages of this Definition that are directedFeatures. @@ -171,10 +156,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// The Documentation owned by this Element. @@ -183,10 +165,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -202,10 +181,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Expressions that are steps in the calculation of the result of this Function. @@ -213,10 +189,7 @@ public List QueryEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1543948400639_301251_20841", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] [Implements(implementation: "IFunction.Expression")] - public List QueryExpression() - { - return this.ComputeExpression(); - } + public List expression => this.ComputeExpression(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -224,10 +197,7 @@ public List QueryExpression() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -236,10 +206,7 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -247,10 +214,7 @@ public List QueryFeatureMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// The UseCaseUsages that are included by this UseCaseDefinition, which are the useCaseIncludeds of the @@ -258,10 +222,7 @@ public List QueryImportedMembership() /// [Property(xmiId: "_19_0_4_12e503d9_1621461043764_27_910", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IUseCaseDefinition.IncludedUseCase")] - public List QueryIncludedUseCase() - { - return this.ComputeIncludedUseCase(); - } + public List includedUseCase => this.ComputeIncludedUseCase(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -269,10 +230,7 @@ public List QueryIncludedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -281,10 +239,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -292,10 +247,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -308,10 +260,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -326,10 +275,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// Whether all necessary implied Relationships have been included in the ownedRelationships of this @@ -354,10 +300,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether this Function can be used as the function of a model-level evaluable InvocationExpression. @@ -368,10 +311,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1617395221463_139517_26381", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFunction.IsModelLevelEvaluable")] - public bool QueryIsModelLevelEvaluable() - { - return this.ComputeIsModelLevelEvaluable(); - } + public bool isModelLevelEvaluable => this.ComputeIsModelLevelEvaluable(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -399,10 +339,7 @@ public bool QueryIsModelLevelEvaluable() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -410,10 +347,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -423,10 +357,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -436,10 +367,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The RequirementUsage representing the objective of this CaseDefinition. @@ -447,10 +375,7 @@ public string QueryName() [Property(xmiId: "_19_0_2_59601fc_1590259317710_27529_910", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "ICaseDefinition.ObjectiveRequirement")] - public IRequirementUsage QueryObjectiveRequirement() - { - return this.ComputeObjectiveRequirement(); - } + public IRequirementUsage objectiveRequirement => this.ComputeObjectiveRequirement(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -458,10 +383,7 @@ public IRequirementUsage QueryObjectiveRequirement() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ActionUsages that are ownedUsages of this Definition. @@ -469,10 +391,7 @@ public List QueryOutput() [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedAction")] - public List QueryOwnedAction() - { - return this.ComputeOwnedAction(); - } + public List ownedAction => this.ComputeOwnedAction(); /// /// The AllocationUsages that are ownedUsages of this Definition. @@ -480,10 +399,7 @@ public List QueryOwnedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedAllocation")] - public List QueryOwnedAllocation() - { - return this.ComputeOwnedAllocation(); - } + public List ownedAllocation => this.ComputeOwnedAllocation(); /// /// The AnalysisCaseUsages that are ownedUsages of this Definition. @@ -491,10 +407,7 @@ public List QueryOwnedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List QueryOwnedAnalysisCase() - { - return this.ComputeOwnedAnalysisCase(); - } + public List ownedAnalysisCase => this.ComputeOwnedAnalysisCase(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -504,10 +417,7 @@ public List QueryOwnedAnalysisCase() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The AttributeUsages that are ownedUsages of this Definition. @@ -515,10 +425,7 @@ public List QueryOwnedAnnotation() [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedAttribute")] - public List QueryOwnedAttribute() - { - return this.ComputeOwnedAttribute(); - } + public List ownedAttribute => this.ComputeOwnedAttribute(); /// /// The CalculationUsages that are ownedUsages of this Definition. @@ -526,10 +433,7 @@ public List QueryOwnedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedCalculation")] - public List QueryOwnedCalculation() - { - return this.ComputeOwnedCalculation(); - } + public List ownedCalculation => this.ComputeOwnedCalculation(); /// /// The code>CaseUsages that are ownedUsages of this Definition. @@ -537,10 +441,7 @@ public List QueryOwnedCalculation() [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] [Implements(implementation: "IDefinition.OwnedCase")] - public List QueryOwnedCase() - { - return this.ComputeOwnedCase(); - } + public List ownedCase => this.ComputeOwnedCase(); /// /// The ConcernUsages that are ownedUsages of this Definition. @@ -548,10 +449,7 @@ public List QueryOwnedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedConcern")] - public List QueryOwnedConcern() - { - return this.ComputeOwnedConcern(); - } + public List ownedConcern => this.ComputeOwnedConcern(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -560,10 +458,7 @@ public List QueryOwnedConcern() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes @@ -573,10 +468,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedConnection")] - public List QueryOwnedConnection() - { - return this.ComputeOwnedConnection(); - } + public List ownedConnection => this.ComputeOwnedConnection(); /// /// The ConstraintUsages that are ownedUsages of this Definition. @@ -584,10 +476,7 @@ public List QueryOwnedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedConstraint")] - public List QueryOwnedConstraint() - { - return this.ComputeOwnedConstraint(); - } + public List ownedConstraint => this.ComputeOwnedConstraint(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -597,10 +486,7 @@ public List QueryOwnedConstraint() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -610,10 +496,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -621,10 +504,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -633,10 +513,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The EnumerationUsages that are ownedUsages of this Definition. @@ -644,10 +521,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List QueryOwnedEnumeration() - { - return this.ComputeOwnedEnumeration(); - } + public List ownedEnumeration => this.ComputeOwnedEnumeration(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -655,10 +529,7 @@ public List QueryOwnedEnumeration() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -668,10 +539,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The FlowUsages that are ownedUsages of this Definition. @@ -679,10 +547,7 @@ public List QueryOwnedFeatureMembership() [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedFlow")] - public List QueryOwnedFlow() - { - return this.ComputeOwnedFlow(); - } + public List ownedFlow => this.ComputeOwnedFlow(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -692,10 +557,7 @@ public List QueryOwnedFlow() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The InterfaceUsages that are ownedUsages of this Definition. @@ -703,10 +565,7 @@ public List QueryOwnedImport() [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedInterface")] - public List QueryOwnedInterface() - { - return this.ComputeOwnedInterface(); - } + public List ownedInterface => this.ComputeOwnedInterface(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -715,10 +574,7 @@ public List QueryOwnedInterface() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The ItemUsages that are ownedUsages of this Definition. @@ -726,10 +582,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedItem")] - public List QueryOwnedItem() - { - return this.ComputeOwnedItem(); - } + public List ownedItem => this.ComputeOwnedItem(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -738,10 +591,7 @@ public List QueryOwnedItem() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -752,10 +602,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The MetadataUsages that are ownedUsages of this Definition. @@ -763,10 +610,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedMetadata")] - public List QueryOwnedMetadata() - { - return this.ComputeOwnedMetadata(); - } + public List ownedMetadata => this.ComputeOwnedMetadata(); /// /// The OccurrenceUsages that are ownedUsages of this Definition. @@ -774,10 +618,7 @@ public List QueryOwnedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List QueryOwnedOccurrence() - { - return this.ComputeOwnedOccurrence(); - } + public List ownedOccurrence => this.ComputeOwnedOccurrence(); /// /// The PartUsages that are ownedUsages of this Definition. @@ -785,10 +626,7 @@ public List QueryOwnedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedPart")] - public List QueryOwnedPart() - { - return this.ComputeOwnedPart(); - } + public List ownedPart => this.ComputeOwnedPart(); /// /// The PortUsages that are ownedUsages of this Definition. @@ -796,10 +634,7 @@ public List QueryOwnedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedPort")] - public List QueryOwnedPort() - { - return this.ComputeOwnedPort(); - } + public List ownedPort => this.ComputeOwnedPort(); /// /// The ReferenceUsages that are ownedUsages of this Definition. @@ -807,10 +642,7 @@ public List QueryOwnedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedReference")] - public List QueryOwnedReference() - { - return this.ComputeOwnedReference(); - } + public List ownedReference => this.ComputeOwnedReference(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -826,10 +658,7 @@ public List QueryOwnedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedRendering")] - public List QueryOwnedRendering() - { - return this.ComputeOwnedRendering(); - } + public List ownedRendering => this.ComputeOwnedRendering(); /// /// The RequirementUsages that are ownedUsages of this Definition. @@ -837,10 +666,7 @@ public List QueryOwnedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] [Implements(implementation: "IDefinition.OwnedRequirement")] - public List QueryOwnedRequirement() - { - return this.ComputeOwnedRequirement(); - } + public List ownedRequirement => this.ComputeOwnedRequirement(); /// /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific @@ -850,10 +676,7 @@ public List QueryOwnedRequirement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The StateUsages that are ownedUsages of this Definition. @@ -861,10 +684,7 @@ public List QueryOwnedSpecialization() [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedState")] - public List QueryOwnedState() - { - return this.ComputeOwnedState(); - } + public List ownedState => this.ComputeOwnedState(); /// /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier @@ -873,10 +693,7 @@ public List QueryOwnedState() [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List QueryOwnedSubclassification() - { - return this.ComputeOwnedSubclassification(); - } + public List ownedSubclassification => this.ComputeOwnedSubclassification(); /// /// The TransitionUsages that are ownedUsages of this Definition. @@ -884,10 +701,7 @@ public List QueryOwnedSubclassification() [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedTransition")] - public List QueryOwnedTransition() - { - return this.ComputeOwnedTransition(); - } + public List ownedTransition => this.ComputeOwnedTransition(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -896,10 +710,7 @@ public List QueryOwnedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The Usages that are ownedFeatures of this Definition. @@ -908,10 +719,7 @@ public List QueryOwnedUnioning() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.OwnedUsage")] - public List QueryOwnedUsage() - { - return this.ComputeOwnedUsage(); - } + public List ownedUsage => this.ComputeOwnedUsage(); /// /// The UseCaseUsages that are ownedUsages of this Definition. @@ -919,10 +727,7 @@ public List QueryOwnedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedUseCase")] - public List QueryOwnedUseCase() - { - return this.ComputeOwnedUseCase(); - } + public List ownedUseCase => this.ComputeOwnedUseCase(); /// /// The VerificationCaseUsages that are ownedUsages of this Definition. @@ -930,10 +735,7 @@ public List QueryOwnedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List QueryOwnedVerificationCase() - { - return this.ComputeOwnedVerificationCase(); - } + public List ownedVerificationCase => this.ComputeOwnedVerificationCase(); /// /// The ViewUsages that are ownedUsages of this Definition. @@ -941,10 +743,7 @@ public List QueryOwnedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedView")] - public List QueryOwnedView() - { - return this.ComputeOwnedView(); - } + public List ownedView => this.ComputeOwnedView(); /// /// The ViewpointUsages that are ownedUsages of this Definition. @@ -952,10 +751,7 @@ public List QueryOwnedView() [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List QueryOwnedViewpoint() - { - return this.ComputeOwnedViewpoint(); - } + public List ownedViewpoint => this.ComputeOwnedViewpoint(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -963,10 +759,7 @@ public List QueryOwnedViewpoint() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -975,10 +768,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -987,10 +777,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -1007,10 +794,7 @@ public INamespace QueryOwningNamespace() [Property(xmiId: "_18_5_3_12e503d9_1543948010065_362066_20413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IBehavior.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -1022,10 +806,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The object or value that is the result of evaluating the Function. @@ -1034,10 +815,7 @@ public string QueryQualifiedName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] [Implements(implementation: "IFunction.Result")] - public IFeature QueryResult() - { - return this.ComputeResult(); - } + public IFeature result => this.ComputeResult(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1047,10 +825,7 @@ public IFeature QueryResult() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The Steps that make up this Behavior. @@ -1058,10 +833,7 @@ public string QueryShortName() [Property(xmiId: "_18_5_3_b9102da_1536346067212_587255_17343", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IBehavior.Step")] - public List QueryStep() - { - return this.ComputeStep(); - } + public List step => this.ComputeStep(); /// /// The parameter of this CaseDefinition that represents its subject. @@ -1070,10 +842,7 @@ public List QueryStep() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "ICaseDefinition.SubjectParameter")] - public IUsage QuerySubjectParameter() - { - return this.ComputeSubjectParameter(); - } + public IUsage subjectParameter => this.ComputeSubjectParameter(); /// /// The TextualRepresentations that annotate this Element. @@ -1082,10 +851,7 @@ public IUsage QuerySubjectParameter() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1096,10 +862,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Definition (not necessarily owned). @@ -1107,10 +870,7 @@ public List QueryUnioningType() [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IDefinition.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Definition as a variation point Definition, if @@ -1119,10 +879,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IDefinition.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then @@ -1132,10 +889,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IDefinition.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/UseCaseUsage.cs b/SysML2.NET/Core/AutoGenPoco/UseCaseUsage.cs index 000b3c90..d98229d2 100644 --- a/SysML2.NET/Core/AutoGenPoco/UseCaseUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/UseCaseUsage.cs @@ -86,10 +86,7 @@ public partial class UseCaseUsage : IUseCaseUsage [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [RedefinedByProperty("ICalculationUsage.CalculationDefinition")] [Implements(implementation: "IActionUsage.ActionDefinition")] - public List QueryActionDefinition() - { - return this.ComputeActionDefinition(); - } + List Systems.Actions.IActionUsage.actionDefinition => throw new InvalidOperationException("Redefined by property ICalculationUsage.CalculationDefinition"); /// /// The parameters of this CaseUsage that represent actors involved in the case. @@ -98,10 +95,7 @@ public List QueryActionDefinition() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "ICaseUsage.ActorParameter")] - public List QueryActorParameter() - { - return this.ComputeActorParameter(); - } + public List actorParameter => this.ComputeActorParameter(); /// /// Various alternative identifiers for this Element. Generally, these will be set by tools. @@ -117,10 +111,7 @@ public List QueryActorParameter() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IExpression.Function")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); /// /// The Function that is the type of this CalculationUsage. Nominally, this would be a @@ -132,10 +123,7 @@ public List QueryBehavior() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1565500905804_589845_30779")] [RedefinedByProperty("ICaseUsage.CaseDefinition")] [Implements(implementation: "ICalculationUsage.CalculationDefinition")] - public IFunction QueryCalculationDefinition() - { - return this.ComputeCalculationDefinition(); - } + IFunction Systems.Calculations.ICalculationUsage.calculationDefinition => throw new InvalidOperationException("Redefined by property ICaseUsage.CaseDefinition"); /// /// The CaseDefinition that is the type of this CaseUsage. @@ -144,10 +132,7 @@ public IFunction QueryCalculationDefinition() [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1588213526305_899324_302")] [RedefinedByProperty("IUseCaseUsage.UseCaseDefinition")] [Implements(implementation: "ICaseUsage.CaseDefinition")] - public ICaseDefinition QueryCaseDefinition() - { - return this.ComputeCaseDefinition(); - } + ICaseDefinition Systems.Cases.ICaseUsage.caseDefinition => throw new InvalidOperationException("Redefined by property IUseCaseUsage.UseCaseDefinition"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -159,10 +144,7 @@ public ICaseDefinition QueryCaseDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -172,10 +154,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -203,10 +182,7 @@ public IFeature QueryCrossFeature() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] [Implements(implementation: "IUsage.Definition")] - public List QueryDefinition() - { - return this.ComputeDefinition(); - } + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -219,10 +195,7 @@ public List QueryDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -231,10 +204,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// The usages of this Usage that are directedFeatures. @@ -243,10 +213,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -263,10 +230,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -282,10 +246,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -295,10 +256,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -306,10 +264,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -318,20 +273,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -341,10 +290,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Function that types this Expression. @@ -353,10 +299,7 @@ public List QueryFeaturingType() [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [RedefinedByProperty("ICalculationUsage.CalculationDefinition")] [Implements(implementation: "IExpression.Function")] - public IFunction QueryFunction() - { - return this.ComputeFunction(); - } + IFunction Kernel.Functions.IExpression.function => throw new InvalidOperationException("Redefined by property ICalculationUsage.CalculationDefinition"); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -364,10 +307,7 @@ public IFunction QueryFunction() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// The UseCaseUsages that are included by this UseCaseUse, which are the useCaseIncludeds of the @@ -375,10 +315,7 @@ public List QueryImportedMembership() /// [Property(xmiId: "_19_0_4_12e503d9_1621545989647_997634_1855", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IUseCaseUsage.IncludedUseCase")] - public List QueryIncludedUseCase() - { - return this.ComputeIncludedUseCase(); - } + public List includedUseCase => this.ComputeIncludedUseCase(); /// /// The at most one occurrenceDefinition that has isIndividual = true. @@ -386,10 +323,7 @@ public List QueryIncludedUseCase() [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public IOccurrenceDefinition QueryIndividualDefinition() - { - return this.ComputeIndividualDefinition(); - } + public IOccurrenceDefinition individualDefinition => this.ComputeIndividualDefinition(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -397,10 +331,7 @@ public IOccurrenceDefinition QueryIndividualDefinition() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -409,10 +340,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -420,10 +348,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -436,10 +361,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -463,10 +385,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -521,10 +440,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, @@ -532,10 +448,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool QueryIsModelLevelEvaluable() - { - return this.ComputeIsModelLevelEvaluable(); - } + public bool isModelLevelEvaluable => this.ComputeIsModelLevelEvaluable(); /// /// Whether an order exists for the values of this Feature or not. @@ -557,10 +470,7 @@ public bool QueryIsModelLevelEvaluable() /// [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IUsage.IsReference")] - public bool QueryIsReference() - { - return this.ComputeIsReference(); - } + public bool isReference => this.ComputeIsReference(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -588,7 +498,11 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -609,10 +523,7 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool QueryMayTimeVary() - { - return this.ComputeMayTimeVary(); - } + public bool mayTimeVary => this.ComputeMayTimeVary(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -620,10 +531,7 @@ public bool QueryMayTimeVary() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -631,10 +539,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -644,10 +549,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -657,10 +559,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ActionUsages that are nestedUsages of this Usage. @@ -668,10 +567,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List QueryNestedAction() - { - return this.ComputeNestedAction(); - } + public List nestedAction => this.ComputeNestedAction(); /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -679,10 +575,7 @@ public List QueryNestedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List QueryNestedAllocation() - { - return this.ComputeNestedAllocation(); - } + public List nestedAllocation => this.ComputeNestedAllocation(); /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -690,10 +583,7 @@ public List QueryNestedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List QueryNestedAnalysisCase() - { - return this.ComputeNestedAnalysisCase(); - } + public List nestedAnalysisCase => this.ComputeNestedAnalysisCase(); /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -701,10 +591,7 @@ public List QueryNestedAnalysisCase() [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List QueryNestedAttribute() - { - return this.ComputeNestedAttribute(); - } + public List nestedAttribute => this.ComputeNestedAttribute(); /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -712,10 +599,7 @@ public List QueryNestedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List QueryNestedCalculation() - { - return this.ComputeNestedCalculation(); - } + public List nestedCalculation => this.ComputeNestedCalculation(); /// /// The CaseUsages that are nestedUsages of this Usage. @@ -723,10 +607,7 @@ public List QueryNestedCalculation() [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List QueryNestedCase() - { - return this.ComputeNestedCase(); - } + public List nestedCase => this.ComputeNestedCase(); /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -734,10 +615,7 @@ public List QueryNestedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List QueryNestedConcern() - { - return this.ComputeNestedConcern(); - } + public List nestedConcern => this.ComputeNestedConcern(); /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -747,10 +625,7 @@ public List QueryNestedConcern() [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List QueryNestedConnection() - { - return this.ComputeNestedConnection(); - } + public List nestedConnection => this.ComputeNestedConnection(); /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -758,10 +633,7 @@ public List QueryNestedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List QueryNestedConstraint() - { - return this.ComputeNestedConstraint(); - } + public List nestedConstraint => this.ComputeNestedConstraint(); /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -769,10 +641,7 @@ public List QueryNestedConstraint() [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List QueryNestedEnumeration() - { - return this.ComputeNestedEnumeration(); - } + public List nestedEnumeration => this.ComputeNestedEnumeration(); /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -780,10 +649,7 @@ public List QueryNestedEnumeration() [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List QueryNestedFlow() - { - return this.ComputeNestedFlow(); - } + public List nestedFlow => this.ComputeNestedFlow(); /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -791,10 +657,7 @@ public List QueryNestedFlow() [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List QueryNestedInterface() - { - return this.ComputeNestedInterface(); - } + public List nestedInterface => this.ComputeNestedInterface(); /// /// The ItemUsages that are nestedUsages of this Usage. @@ -802,10 +665,7 @@ public List QueryNestedInterface() [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List QueryNestedItem() - { - return this.ComputeNestedItem(); - } + public List nestedItem => this.ComputeNestedItem(); /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -813,10 +673,7 @@ public List QueryNestedItem() [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List QueryNestedMetadata() - { - return this.ComputeNestedMetadata(); - } + public List nestedMetadata => this.ComputeNestedMetadata(); /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -824,10 +681,7 @@ public List QueryNestedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List QueryNestedOccurrence() - { - return this.ComputeNestedOccurrence(); - } + public List nestedOccurrence => this.ComputeNestedOccurrence(); /// /// The PartUsages that are nestedUsages of this Usage. @@ -835,10 +689,7 @@ public List QueryNestedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List QueryNestedPart() - { - return this.ComputeNestedPart(); - } + public List nestedPart => this.ComputeNestedPart(); /// /// The PortUsages that are nestedUsages of this Usage. @@ -846,10 +697,7 @@ public List QueryNestedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List QueryNestedPort() - { - return this.ComputeNestedPort(); - } + public List nestedPort => this.ComputeNestedPort(); /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -857,10 +705,7 @@ public List QueryNestedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List QueryNestedReference() - { - return this.ComputeNestedReference(); - } + public List nestedReference => this.ComputeNestedReference(); /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -868,10 +713,7 @@ public List QueryNestedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List QueryNestedRendering() - { - return this.ComputeNestedRendering(); - } + public List nestedRendering => this.ComputeNestedRendering(); /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -879,10 +721,7 @@ public List QueryNestedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List QueryNestedRequirement() - { - return this.ComputeNestedRequirement(); - } + public List nestedRequirement => this.ComputeNestedRequirement(); /// /// The StateUsages that are nestedUsages of this Usage. @@ -890,10 +729,7 @@ public List QueryNestedRequirement() [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List QueryNestedState() - { - return this.ComputeNestedState(); - } + public List nestedState => this.ComputeNestedState(); /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -901,10 +737,7 @@ public List QueryNestedState() [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List QueryNestedTransition() - { - return this.ComputeNestedTransition(); - } + public List nestedTransition => this.ComputeNestedTransition(); /// /// The Usages that are ownedFeatures of this Usage. @@ -913,10 +746,7 @@ public List QueryNestedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List QueryNestedUsage() - { - return this.ComputeNestedUsage(); - } + public List nestedUsage => this.ComputeNestedUsage(); /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -924,10 +754,7 @@ public List QueryNestedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List QueryNestedUseCase() - { - return this.ComputeNestedUseCase(); - } + public List nestedUseCase => this.ComputeNestedUseCase(); /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -935,10 +762,7 @@ public List QueryNestedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List QueryNestedVerificationCase() - { - return this.ComputeNestedVerificationCase(); - } + public List nestedVerificationCase => this.ComputeNestedVerificationCase(); /// /// The ViewUsages that are nestedUsages of this Usage. @@ -946,10 +770,7 @@ public List QueryNestedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List QueryNestedView() - { - return this.ComputeNestedView(); - } + public List nestedView => this.ComputeNestedView(); /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -957,10 +778,7 @@ public List QueryNestedView() [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List QueryNestedViewpoint() - { - return this.ComputeNestedViewpoint(); - } + public List nestedViewpoint => this.ComputeNestedViewpoint(); /// /// The RequirementUsage representing the objective of this CaseUsage. @@ -968,10 +786,7 @@ public List QueryNestedViewpoint() [Property(xmiId: "_19_0_2_12e503d9_1591138794257_404044_2145", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "ICaseUsage.ObjectiveRequirement")] - public IRequirementUsage QueryObjectiveRequirement() - { - return this.ComputeObjectiveRequirement(); - } + public IRequirementUsage objectiveRequirement => this.ComputeObjectiveRequirement(); /// /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, @@ -982,10 +797,7 @@ public IRequirementUsage QueryObjectiveRequirement() [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] [RedefinedByProperty("IActionUsage.ActionDefinition")] [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List QueryOccurrenceDefinition() - { - return this.ComputeOccurrenceDefinition(); - } + List Systems.Occurrences.IOccurrenceUsage.occurrenceDefinition => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -993,10 +805,7 @@ public List QueryOccurrenceDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -1006,10 +815,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -1018,10 +824,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -1030,10 +833,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -1043,10 +843,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -1056,10 +853,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -1067,10 +861,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -1079,10 +870,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -1090,10 +878,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -1103,10 +888,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -1116,10 +898,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -1129,10 +908,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -1142,10 +918,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -1154,10 +927,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -1166,10 +936,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -1180,10 +947,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -1192,10 +956,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -1204,10 +965,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -1225,10 +983,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -1238,10 +993,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -1251,10 +1003,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -1264,10 +1013,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1276,10 +1022,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1287,10 +1030,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The Definition that owns this Usage (if any). @@ -1299,10 +1039,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public IDefinition QueryOwningDefinition() - { - return this.ComputeOwningDefinition(); - } + public IDefinition owningDefinition => this.ComputeOwningDefinition(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1310,10 +1047,7 @@ public IDefinition QueryOwningDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1322,10 +1056,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1334,10 +1065,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -1355,10 +1083,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The Usage in which this Usage is nested (if any). @@ -1366,10 +1091,7 @@ public IType QueryOwningType() [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public IUsage QueryOwningUsage() - { - return this.ComputeOwningUsage(); - } + public IUsage owningUsage => this.ComputeOwningUsage(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -1378,10 +1100,7 @@ public IUsage QueryOwningUsage() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If @@ -1402,10 +1121,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// An output parameter of the Expression whose value is the result of the Expression. The result of an @@ -1416,10 +1132,7 @@ public string QueryQualifiedName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [Implements(implementation: "IExpression.Result")] - public IFeature QueryResult() - { - return this.ComputeResult(); - } + public IFeature result => this.ComputeResult(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1429,10 +1142,7 @@ public IFeature QueryResult() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The parameter of this CaseUsage that represents its subject. @@ -1441,10 +1151,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "ICaseUsage.SubjectParameter")] - public IUsage QuerySubjectParameter() - { - return this.ComputeSubjectParameter(); - } + public IUsage subjectParameter => this.ComputeSubjectParameter(); /// /// The TextualRepresentations that annotate this Element. @@ -1453,10 +1160,7 @@ public IUsage QuerySubjectParameter() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1467,10 +1171,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1481,10 +1182,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1492,10 +1190,7 @@ public List QueryUnioningType() [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The UseCaseDefinition that is the definition of this UseCaseUsage. @@ -1503,10 +1198,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_4_12e503d9_1621460964889_804779_881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_59601fc_1590257465225_855208_512")] [Implements(implementation: "IUseCaseUsage.UseCaseDefinition")] - public IUseCaseDefinition QueryUseCaseDefinition() - { - return this.ComputeUseCaseDefinition(); - } + public IUseCaseDefinition useCaseDefinition => this.ComputeUseCaseDefinition(); /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1515,10 +1207,7 @@ public IUseCaseDefinition QueryUseCaseDefinition() [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1527,10 +1216,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/VariantMembership.cs b/SysML2.NET/Core/AutoGenPoco/VariantMembership.cs index 032ee626..9bf6f9b7 100644 --- a/SysML2.NET/Core/AutoGenPoco/VariantMembership.cs +++ b/SysML2.NET/Core/AutoGenPoco/VariantMembership.cs @@ -81,10 +81,7 @@ public partial class VariantMembership : IVariantMembership [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -118,10 +115,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. @@ -130,7 +124,11 @@ public bool QueryIsLibraryElement() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] [Implements(implementation: "IMembership.MemberElement")] - public IElement MemberElement { get; set; } + IElement Root.Namespaces.IMembership.MemberElement + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + } /// /// The elementId of the memberElement. @@ -138,10 +136,7 @@ public bool QueryIsLibraryElement() [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] [Implements(implementation: "IMembership.MemberElementId")] - public string QueryMemberElementId() - { - return this.ComputeMemberElementId(); - } + string Root.Namespaces.IMembership.memberElementId => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElementId"); /// /// The name of the memberElement relative to the membershipOwningNamespace. @@ -149,7 +144,11 @@ public string QueryMemberElementId() [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberName")] [Implements(implementation: "IMembership.MemberName")] - public string MemberName { get; set; } + string Root.Namespaces.IMembership.MemberName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + } /// /// The Namespace of which the memberElement becomes a member due to this Membership. @@ -159,10 +158,7 @@ public string QueryMemberElementId() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_693018_16749")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [Implements(implementation: "IMembership.MembershipOwningNamespace")] - public INamespace QueryMembershipOwningNamespace() - { - return this.ComputeMembershipOwningNamespace(); - } + public INamespace membershipOwningNamespace => this.ComputeMembershipOwningNamespace(); /// /// The short name of the memberElement relative to the membershipOwningNamespace. @@ -170,7 +166,11 @@ public INamespace QueryMembershipOwningNamespace() [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] [Implements(implementation: "IMembership.MemberShortName")] - public string MemberShortName { get; set; } + string Root.Namespaces.IMembership.MemberShortName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + } /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -180,10 +180,7 @@ public INamespace QueryMembershipOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -193,10 +190,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -204,10 +198,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this @@ -218,10 +209,7 @@ public List QueryOwnedElement() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] [RedefinedByProperty("IVariantMembership.OwnedVariantUsage")] [Implements(implementation: "IOwningMembership.OwnedMemberElement")] - public IElement QueryOwnedMemberElement() - { - return this.ComputeOwnedMemberElement(); - } + IElement Root.Namespaces.IOwningMembership.ownedMemberElement => throw new InvalidOperationException("Redefined by property IVariantMembership.OwnedVariantUsage"); /// /// The elementId of the ownedMemberElement. @@ -229,10 +217,7 @@ public IElement QueryOwnedMemberElement() [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] - public string QueryOwnedMemberElementId() - { - return this.ComputeOwnedMemberElementId(); - } + public string ownedMemberElementId => this.ComputeOwnedMemberElementId(); /// /// The name of the ownedMemberElement. @@ -240,10 +225,7 @@ public string QueryOwnedMemberElementId() [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] [Implements(implementation: "IOwningMembership.OwnedMemberName")] - public string QueryOwnedMemberName() - { - return this.ComputeOwnedMemberName(); - } + public string ownedMemberName => this.ComputeOwnedMemberName(); /// /// The shortName of the ownedMemberElement. @@ -251,10 +233,7 @@ public string QueryOwnedMemberName() [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] - public string QueryOwnedMemberShortName() - { - return this.ComputeOwnedMemberShortName(); - } + public string ownedMemberShortName => this.ComputeOwnedMemberShortName(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -279,10 +258,7 @@ public string QueryOwnedMemberShortName() [Property(xmiId: "_19_0_2_12e503d9_1590978683452_645414_775", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] [Implements(implementation: "IVariantMembership.OwnedVariantUsage")] - public IUsage QueryOwnedVariantUsage() - { - return this.ComputeOwnedVariantUsage(); - } + public IUsage ownedVariantUsage => this.ComputeOwnedVariantUsage(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -290,10 +266,7 @@ public IUsage QueryOwnedVariantUsage() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -302,10 +275,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -314,10 +284,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -345,10 +312,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -356,10 +320,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + public List relatedElement => this.ComputeRelatedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -369,10 +330,7 @@ public List QueryRelatedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -381,7 +339,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembership.MembershipOwningNamespace")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -390,7 +352,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembership.MemberElement")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + set => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + } /// /// The TextualRepresentations that annotate this Element. @@ -399,10 +365,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly diff --git a/SysML2.NET/Core/AutoGenPoco/VerificationCaseDefinition.cs b/SysML2.NET/Core/AutoGenPoco/VerificationCaseDefinition.cs index fd5e966a..dcdd8f89 100644 --- a/SysML2.NET/Core/AutoGenPoco/VerificationCaseDefinition.cs +++ b/SysML2.NET/Core/AutoGenPoco/VerificationCaseDefinition.cs @@ -82,10 +82,7 @@ public partial class VerificationCaseDefinition : IVerificationCaseDefinition [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IActionDefinition.Action")] - public List QueryAction() - { - return this.ComputeAction(); - } + public List action => this.ComputeAction(); /// /// The parameters of this CaseDefinition that represent actors involved in the case. @@ -94,10 +91,7 @@ public List QueryAction() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "ICaseDefinition.ActorParameter")] - public List QueryActorParameter() - { - return this.ComputeActorParameter(); - } + public List actorParameter => this.ComputeActorParameter(); /// /// Various alternative identifiers for this Element. Generally, these will be set by tools. @@ -113,10 +107,7 @@ public List QueryActorParameter() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565500809065_170841_30688")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948400639_301251_20841")] [Implements(implementation: "ICalculationDefinition.Calculation")] - public List QueryCalculation() - { - return this.ComputeCalculation(); - } + public List calculation => this.ComputeCalculation(); /// /// The declared name of this Element. @@ -146,10 +137,7 @@ public List QueryCalculation() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -158,10 +146,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IBehavior.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IBehavior.Parameter"); /// /// The usages of this Definition that are directedFeatures. @@ -170,10 +155,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// The Documentation owned by this Element. @@ -182,10 +164,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -201,10 +180,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Expressions that are steps in the calculation of the result of this Function. @@ -212,10 +188,7 @@ public List QueryEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1543948400639_301251_20841", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] [Implements(implementation: "IFunction.Expression")] - public List QueryExpression() - { - return this.ComputeExpression(); - } + public List expression => this.ComputeExpression(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -223,10 +196,7 @@ public List QueryExpression() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -235,10 +205,7 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -246,10 +213,7 @@ public List QueryFeatureMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -257,10 +221,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -269,10 +230,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -280,10 +238,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -296,10 +251,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -314,10 +266,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// Whether all necessary implied Relationships have been included in the ownedRelationships of this @@ -342,10 +291,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether this Function can be used as the function of a model-level evaluable InvocationExpression. @@ -356,10 +302,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1617395221463_139517_26381", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFunction.IsModelLevelEvaluable")] - public bool QueryIsModelLevelEvaluable() - { - return this.ComputeIsModelLevelEvaluable(); - } + public bool isModelLevelEvaluable => this.ComputeIsModelLevelEvaluable(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -387,10 +330,7 @@ public bool QueryIsModelLevelEvaluable() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -398,10 +338,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -411,10 +348,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -424,10 +358,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The RequirementUsage representing the objective of this CaseDefinition. @@ -435,10 +366,7 @@ public string QueryName() [Property(xmiId: "_19_0_2_59601fc_1590259317710_27529_910", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "ICaseDefinition.ObjectiveRequirement")] - public IRequirementUsage QueryObjectiveRequirement() - { - return this.ComputeObjectiveRequirement(); - } + public IRequirementUsage objectiveRequirement => this.ComputeObjectiveRequirement(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -446,10 +374,7 @@ public IRequirementUsage QueryObjectiveRequirement() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ActionUsages that are ownedUsages of this Definition. @@ -457,10 +382,7 @@ public List QueryOutput() [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedAction")] - public List QueryOwnedAction() - { - return this.ComputeOwnedAction(); - } + public List ownedAction => this.ComputeOwnedAction(); /// /// The AllocationUsages that are ownedUsages of this Definition. @@ -468,10 +390,7 @@ public List QueryOwnedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedAllocation")] - public List QueryOwnedAllocation() - { - return this.ComputeOwnedAllocation(); - } + public List ownedAllocation => this.ComputeOwnedAllocation(); /// /// The AnalysisCaseUsages that are ownedUsages of this Definition. @@ -479,10 +398,7 @@ public List QueryOwnedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List QueryOwnedAnalysisCase() - { - return this.ComputeOwnedAnalysisCase(); - } + public List ownedAnalysisCase => this.ComputeOwnedAnalysisCase(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -492,10 +408,7 @@ public List QueryOwnedAnalysisCase() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The AttributeUsages that are ownedUsages of this Definition. @@ -503,10 +416,7 @@ public List QueryOwnedAnnotation() [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedAttribute")] - public List QueryOwnedAttribute() - { - return this.ComputeOwnedAttribute(); - } + public List ownedAttribute => this.ComputeOwnedAttribute(); /// /// The CalculationUsages that are ownedUsages of this Definition. @@ -514,10 +424,7 @@ public List QueryOwnedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedCalculation")] - public List QueryOwnedCalculation() - { - return this.ComputeOwnedCalculation(); - } + public List ownedCalculation => this.ComputeOwnedCalculation(); /// /// The code>CaseUsages that are ownedUsages of this Definition. @@ -525,10 +432,7 @@ public List QueryOwnedCalculation() [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] [Implements(implementation: "IDefinition.OwnedCase")] - public List QueryOwnedCase() - { - return this.ComputeOwnedCase(); - } + public List ownedCase => this.ComputeOwnedCase(); /// /// The ConcernUsages that are ownedUsages of this Definition. @@ -536,10 +440,7 @@ public List QueryOwnedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedConcern")] - public List QueryOwnedConcern() - { - return this.ComputeOwnedConcern(); - } + public List ownedConcern => this.ComputeOwnedConcern(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -548,10 +449,7 @@ public List QueryOwnedConcern() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes @@ -561,10 +459,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedConnection")] - public List QueryOwnedConnection() - { - return this.ComputeOwnedConnection(); - } + public List ownedConnection => this.ComputeOwnedConnection(); /// /// The ConstraintUsages that are ownedUsages of this Definition. @@ -572,10 +467,7 @@ public List QueryOwnedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedConstraint")] - public List QueryOwnedConstraint() - { - return this.ComputeOwnedConstraint(); - } + public List ownedConstraint => this.ComputeOwnedConstraint(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -585,10 +477,7 @@ public List QueryOwnedConstraint() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -598,10 +487,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -609,10 +495,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -621,10 +504,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The EnumerationUsages that are ownedUsages of this Definition. @@ -632,10 +512,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List QueryOwnedEnumeration() - { - return this.ComputeOwnedEnumeration(); - } + public List ownedEnumeration => this.ComputeOwnedEnumeration(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -643,10 +520,7 @@ public List QueryOwnedEnumeration() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -656,10 +530,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The FlowUsages that are ownedUsages of this Definition. @@ -667,10 +538,7 @@ public List QueryOwnedFeatureMembership() [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedFlow")] - public List QueryOwnedFlow() - { - return this.ComputeOwnedFlow(); - } + public List ownedFlow => this.ComputeOwnedFlow(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -680,10 +548,7 @@ public List QueryOwnedFlow() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The InterfaceUsages that are ownedUsages of this Definition. @@ -691,10 +556,7 @@ public List QueryOwnedImport() [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedInterface")] - public List QueryOwnedInterface() - { - return this.ComputeOwnedInterface(); - } + public List ownedInterface => this.ComputeOwnedInterface(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -703,10 +565,7 @@ public List QueryOwnedInterface() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The ItemUsages that are ownedUsages of this Definition. @@ -714,10 +573,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedItem")] - public List QueryOwnedItem() - { - return this.ComputeOwnedItem(); - } + public List ownedItem => this.ComputeOwnedItem(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -726,10 +582,7 @@ public List QueryOwnedItem() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -740,10 +593,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The MetadataUsages that are ownedUsages of this Definition. @@ -751,10 +601,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedMetadata")] - public List QueryOwnedMetadata() - { - return this.ComputeOwnedMetadata(); - } + public List ownedMetadata => this.ComputeOwnedMetadata(); /// /// The OccurrenceUsages that are ownedUsages of this Definition. @@ -762,10 +609,7 @@ public List QueryOwnedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List QueryOwnedOccurrence() - { - return this.ComputeOwnedOccurrence(); - } + public List ownedOccurrence => this.ComputeOwnedOccurrence(); /// /// The PartUsages that are ownedUsages of this Definition. @@ -773,10 +617,7 @@ public List QueryOwnedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedPart")] - public List QueryOwnedPart() - { - return this.ComputeOwnedPart(); - } + public List ownedPart => this.ComputeOwnedPart(); /// /// The PortUsages that are ownedUsages of this Definition. @@ -784,10 +625,7 @@ public List QueryOwnedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedPort")] - public List QueryOwnedPort() - { - return this.ComputeOwnedPort(); - } + public List ownedPort => this.ComputeOwnedPort(); /// /// The ReferenceUsages that are ownedUsages of this Definition. @@ -795,10 +633,7 @@ public List QueryOwnedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedReference")] - public List QueryOwnedReference() - { - return this.ComputeOwnedReference(); - } + public List ownedReference => this.ComputeOwnedReference(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -814,10 +649,7 @@ public List QueryOwnedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedRendering")] - public List QueryOwnedRendering() - { - return this.ComputeOwnedRendering(); - } + public List ownedRendering => this.ComputeOwnedRendering(); /// /// The RequirementUsages that are ownedUsages of this Definition. @@ -825,10 +657,7 @@ public List QueryOwnedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] [Implements(implementation: "IDefinition.OwnedRequirement")] - public List QueryOwnedRequirement() - { - return this.ComputeOwnedRequirement(); - } + public List ownedRequirement => this.ComputeOwnedRequirement(); /// /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific @@ -838,10 +667,7 @@ public List QueryOwnedRequirement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The StateUsages that are ownedUsages of this Definition. @@ -849,10 +675,7 @@ public List QueryOwnedSpecialization() [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedState")] - public List QueryOwnedState() - { - return this.ComputeOwnedState(); - } + public List ownedState => this.ComputeOwnedState(); /// /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier @@ -861,10 +684,7 @@ public List QueryOwnedState() [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List QueryOwnedSubclassification() - { - return this.ComputeOwnedSubclassification(); - } + public List ownedSubclassification => this.ComputeOwnedSubclassification(); /// /// The TransitionUsages that are ownedUsages of this Definition. @@ -872,10 +692,7 @@ public List QueryOwnedSubclassification() [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedTransition")] - public List QueryOwnedTransition() - { - return this.ComputeOwnedTransition(); - } + public List ownedTransition => this.ComputeOwnedTransition(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -884,10 +701,7 @@ public List QueryOwnedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The Usages that are ownedFeatures of this Definition. @@ -896,10 +710,7 @@ public List QueryOwnedUnioning() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.OwnedUsage")] - public List QueryOwnedUsage() - { - return this.ComputeOwnedUsage(); - } + public List ownedUsage => this.ComputeOwnedUsage(); /// /// The UseCaseUsages that are ownedUsages of this Definition. @@ -907,10 +718,7 @@ public List QueryOwnedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedUseCase")] - public List QueryOwnedUseCase() - { - return this.ComputeOwnedUseCase(); - } + public List ownedUseCase => this.ComputeOwnedUseCase(); /// /// The VerificationCaseUsages that are ownedUsages of this Definition. @@ -918,10 +726,7 @@ public List QueryOwnedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List QueryOwnedVerificationCase() - { - return this.ComputeOwnedVerificationCase(); - } + public List ownedVerificationCase => this.ComputeOwnedVerificationCase(); /// /// The ViewUsages that are ownedUsages of this Definition. @@ -929,10 +734,7 @@ public List QueryOwnedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedView")] - public List QueryOwnedView() - { - return this.ComputeOwnedView(); - } + public List ownedView => this.ComputeOwnedView(); /// /// The ViewpointUsages that are ownedUsages of this Definition. @@ -940,10 +742,7 @@ public List QueryOwnedView() [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List QueryOwnedViewpoint() - { - return this.ComputeOwnedViewpoint(); - } + public List ownedViewpoint => this.ComputeOwnedViewpoint(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -951,10 +750,7 @@ public List QueryOwnedViewpoint() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -963,10 +759,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -975,10 +768,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -995,10 +785,7 @@ public INamespace QueryOwningNamespace() [Property(xmiId: "_18_5_3_12e503d9_1543948010065_362066_20413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IBehavior.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -1010,10 +797,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The object or value that is the result of evaluating the Function. @@ -1022,10 +806,7 @@ public string QueryQualifiedName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] [Implements(implementation: "IFunction.Result")] - public IFeature QueryResult() - { - return this.ComputeResult(); - } + public IFeature result => this.ComputeResult(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1035,10 +816,7 @@ public IFeature QueryResult() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The Steps that make up this Behavior. @@ -1046,10 +824,7 @@ public string QueryShortName() [Property(xmiId: "_18_5_3_b9102da_1536346067212_587255_17343", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IBehavior.Step")] - public List QueryStep() - { - return this.ComputeStep(); - } + public List step => this.ComputeStep(); /// /// The parameter of this CaseDefinition that represents its subject. @@ -1058,10 +833,7 @@ public List QueryStep() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "ICaseDefinition.SubjectParameter")] - public IUsage QuerySubjectParameter() - { - return this.ComputeSubjectParameter(); - } + public IUsage subjectParameter => this.ComputeSubjectParameter(); /// /// The TextualRepresentations that annotate this Element. @@ -1070,10 +842,7 @@ public IUsage QuerySubjectParameter() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1084,10 +853,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Definition (not necessarily owned). @@ -1095,10 +861,7 @@ public List QueryUnioningType() [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IDefinition.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Definition as a variation point Definition, if @@ -1107,10 +870,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IDefinition.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then @@ -1120,10 +880,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IDefinition.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); /// /// The RequirementUsages verified by this VerificationCaseDefinition, which are the @@ -1131,10 +888,7 @@ public List QueryVariantMembership() /// [Property(xmiId: "_19_0_4_12e503d9_1603922371399_701592_338", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IVerificationCaseDefinition.VerifiedRequirement")] - public List QueryVerifiedRequirement() - { - return this.ComputeVerifiedRequirement(); - } + public List verifiedRequirement => this.ComputeVerifiedRequirement(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/VerificationCaseUsage.cs b/SysML2.NET/Core/AutoGenPoco/VerificationCaseUsage.cs index 9174fa1c..88322fd2 100644 --- a/SysML2.NET/Core/AutoGenPoco/VerificationCaseUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/VerificationCaseUsage.cs @@ -86,10 +86,7 @@ public partial class VerificationCaseUsage : IVerificationCaseUsage [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [RedefinedByProperty("ICalculationUsage.CalculationDefinition")] [Implements(implementation: "IActionUsage.ActionDefinition")] - public List QueryActionDefinition() - { - return this.ComputeActionDefinition(); - } + List Systems.Actions.IActionUsage.actionDefinition => throw new InvalidOperationException("Redefined by property ICalculationUsage.CalculationDefinition"); /// /// The parameters of this CaseUsage that represent actors involved in the case. @@ -98,10 +95,7 @@ public List QueryActionDefinition() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "ICaseUsage.ActorParameter")] - public List QueryActorParameter() - { - return this.ComputeActorParameter(); - } + public List actorParameter => this.ComputeActorParameter(); /// /// Various alternative identifiers for this Element. Generally, these will be set by tools. @@ -117,10 +111,7 @@ public List QueryActorParameter() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IExpression.Function")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); /// /// The Function that is the type of this CalculationUsage. Nominally, this would be a @@ -132,10 +123,7 @@ public List QueryBehavior() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1565500905804_589845_30779")] [RedefinedByProperty("ICaseUsage.CaseDefinition")] [Implements(implementation: "ICalculationUsage.CalculationDefinition")] - public IFunction QueryCalculationDefinition() - { - return this.ComputeCalculationDefinition(); - } + IFunction Systems.Calculations.ICalculationUsage.calculationDefinition => throw new InvalidOperationException("Redefined by property ICaseUsage.CaseDefinition"); /// /// The CaseDefinition that is the type of this CaseUsage. @@ -143,10 +131,7 @@ public IFunction QueryCalculationDefinition() [Property(xmiId: "_19_0_2_59601fc_1590257465225_855208_512", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1588213526305_899324_302")] [Implements(implementation: "ICaseUsage.CaseDefinition")] - public ICaseDefinition QueryCaseDefinition() - { - return this.ComputeCaseDefinition(); - } + public ICaseDefinition caseDefinition => this.ComputeCaseDefinition(); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -158,10 +143,7 @@ public ICaseDefinition QueryCaseDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -171,10 +153,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -202,10 +181,7 @@ public IFeature QueryCrossFeature() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] [Implements(implementation: "IUsage.Definition")] - public List QueryDefinition() - { - return this.ComputeDefinition(); - } + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -218,10 +194,7 @@ public List QueryDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -230,10 +203,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// The usages of this Usage that are directedFeatures. @@ -242,10 +212,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -262,10 +229,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -281,10 +245,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -294,10 +255,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -305,10 +263,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -317,20 +272,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -340,10 +289,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Function that types this Expression. @@ -352,10 +298,7 @@ public List QueryFeaturingType() [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [RedefinedByProperty("ICalculationUsage.CalculationDefinition")] [Implements(implementation: "IExpression.Function")] - public IFunction QueryFunction() - { - return this.ComputeFunction(); - } + IFunction Kernel.Functions.IExpression.function => throw new InvalidOperationException("Redefined by property ICalculationUsage.CalculationDefinition"); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -363,10 +306,7 @@ public IFunction QueryFunction() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// The at most one occurrenceDefinition that has isIndividual = true. @@ -374,10 +314,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public IOccurrenceDefinition QueryIndividualDefinition() - { - return this.ComputeIndividualDefinition(); - } + public IOccurrenceDefinition individualDefinition => this.ComputeIndividualDefinition(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -385,10 +322,7 @@ public IOccurrenceDefinition QueryIndividualDefinition() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -397,10 +331,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -408,10 +339,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -424,10 +352,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -451,10 +376,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -509,10 +431,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, @@ -520,10 +439,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool QueryIsModelLevelEvaluable() - { - return this.ComputeIsModelLevelEvaluable(); - } + public bool isModelLevelEvaluable => this.ComputeIsModelLevelEvaluable(); /// /// Whether an order exists for the values of this Feature or not. @@ -545,10 +461,7 @@ public bool QueryIsModelLevelEvaluable() /// [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IUsage.IsReference")] - public bool QueryIsReference() - { - return this.ComputeIsReference(); - } + public bool isReference => this.ComputeIsReference(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -576,7 +489,11 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -597,10 +514,7 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool QueryMayTimeVary() - { - return this.ComputeMayTimeVary(); - } + public bool mayTimeVary => this.ComputeMayTimeVary(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -608,10 +522,7 @@ public bool QueryMayTimeVary() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -619,10 +530,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -632,10 +540,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -645,10 +550,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ActionUsages that are nestedUsages of this Usage. @@ -656,10 +558,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List QueryNestedAction() - { - return this.ComputeNestedAction(); - } + public List nestedAction => this.ComputeNestedAction(); /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -667,10 +566,7 @@ public List QueryNestedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List QueryNestedAllocation() - { - return this.ComputeNestedAllocation(); - } + public List nestedAllocation => this.ComputeNestedAllocation(); /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -678,10 +574,7 @@ public List QueryNestedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List QueryNestedAnalysisCase() - { - return this.ComputeNestedAnalysisCase(); - } + public List nestedAnalysisCase => this.ComputeNestedAnalysisCase(); /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -689,10 +582,7 @@ public List QueryNestedAnalysisCase() [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List QueryNestedAttribute() - { - return this.ComputeNestedAttribute(); - } + public List nestedAttribute => this.ComputeNestedAttribute(); /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -700,10 +590,7 @@ public List QueryNestedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List QueryNestedCalculation() - { - return this.ComputeNestedCalculation(); - } + public List nestedCalculation => this.ComputeNestedCalculation(); /// /// The CaseUsages that are nestedUsages of this Usage. @@ -711,10 +598,7 @@ public List QueryNestedCalculation() [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List QueryNestedCase() - { - return this.ComputeNestedCase(); - } + public List nestedCase => this.ComputeNestedCase(); /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -722,10 +606,7 @@ public List QueryNestedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List QueryNestedConcern() - { - return this.ComputeNestedConcern(); - } + public List nestedConcern => this.ComputeNestedConcern(); /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -735,10 +616,7 @@ public List QueryNestedConcern() [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List QueryNestedConnection() - { - return this.ComputeNestedConnection(); - } + public List nestedConnection => this.ComputeNestedConnection(); /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -746,10 +624,7 @@ public List QueryNestedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List QueryNestedConstraint() - { - return this.ComputeNestedConstraint(); - } + public List nestedConstraint => this.ComputeNestedConstraint(); /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -757,10 +632,7 @@ public List QueryNestedConstraint() [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List QueryNestedEnumeration() - { - return this.ComputeNestedEnumeration(); - } + public List nestedEnumeration => this.ComputeNestedEnumeration(); /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -768,10 +640,7 @@ public List QueryNestedEnumeration() [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List QueryNestedFlow() - { - return this.ComputeNestedFlow(); - } + public List nestedFlow => this.ComputeNestedFlow(); /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -779,10 +648,7 @@ public List QueryNestedFlow() [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List QueryNestedInterface() - { - return this.ComputeNestedInterface(); - } + public List nestedInterface => this.ComputeNestedInterface(); /// /// The ItemUsages that are nestedUsages of this Usage. @@ -790,10 +656,7 @@ public List QueryNestedInterface() [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List QueryNestedItem() - { - return this.ComputeNestedItem(); - } + public List nestedItem => this.ComputeNestedItem(); /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -801,10 +664,7 @@ public List QueryNestedItem() [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List QueryNestedMetadata() - { - return this.ComputeNestedMetadata(); - } + public List nestedMetadata => this.ComputeNestedMetadata(); /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -812,10 +672,7 @@ public List QueryNestedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List QueryNestedOccurrence() - { - return this.ComputeNestedOccurrence(); - } + public List nestedOccurrence => this.ComputeNestedOccurrence(); /// /// The PartUsages that are nestedUsages of this Usage. @@ -823,10 +680,7 @@ public List QueryNestedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List QueryNestedPart() - { - return this.ComputeNestedPart(); - } + public List nestedPart => this.ComputeNestedPart(); /// /// The PortUsages that are nestedUsages of this Usage. @@ -834,10 +688,7 @@ public List QueryNestedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List QueryNestedPort() - { - return this.ComputeNestedPort(); - } + public List nestedPort => this.ComputeNestedPort(); /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -845,10 +696,7 @@ public List QueryNestedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List QueryNestedReference() - { - return this.ComputeNestedReference(); - } + public List nestedReference => this.ComputeNestedReference(); /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -856,10 +704,7 @@ public List QueryNestedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List QueryNestedRendering() - { - return this.ComputeNestedRendering(); - } + public List nestedRendering => this.ComputeNestedRendering(); /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -867,10 +712,7 @@ public List QueryNestedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List QueryNestedRequirement() - { - return this.ComputeNestedRequirement(); - } + public List nestedRequirement => this.ComputeNestedRequirement(); /// /// The StateUsages that are nestedUsages of this Usage. @@ -878,10 +720,7 @@ public List QueryNestedRequirement() [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List QueryNestedState() - { - return this.ComputeNestedState(); - } + public List nestedState => this.ComputeNestedState(); /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -889,10 +728,7 @@ public List QueryNestedState() [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List QueryNestedTransition() - { - return this.ComputeNestedTransition(); - } + public List nestedTransition => this.ComputeNestedTransition(); /// /// The Usages that are ownedFeatures of this Usage. @@ -901,10 +737,7 @@ public List QueryNestedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List QueryNestedUsage() - { - return this.ComputeNestedUsage(); - } + public List nestedUsage => this.ComputeNestedUsage(); /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -912,10 +745,7 @@ public List QueryNestedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List QueryNestedUseCase() - { - return this.ComputeNestedUseCase(); - } + public List nestedUseCase => this.ComputeNestedUseCase(); /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -923,10 +753,7 @@ public List QueryNestedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List QueryNestedVerificationCase() - { - return this.ComputeNestedVerificationCase(); - } + public List nestedVerificationCase => this.ComputeNestedVerificationCase(); /// /// The ViewUsages that are nestedUsages of this Usage. @@ -934,10 +761,7 @@ public List QueryNestedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List QueryNestedView() - { - return this.ComputeNestedView(); - } + public List nestedView => this.ComputeNestedView(); /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -945,10 +769,7 @@ public List QueryNestedView() [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List QueryNestedViewpoint() - { - return this.ComputeNestedViewpoint(); - } + public List nestedViewpoint => this.ComputeNestedViewpoint(); /// /// The RequirementUsage representing the objective of this CaseUsage. @@ -956,10 +777,7 @@ public List QueryNestedViewpoint() [Property(xmiId: "_19_0_2_12e503d9_1591138794257_404044_2145", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "ICaseUsage.ObjectiveRequirement")] - public IRequirementUsage QueryObjectiveRequirement() - { - return this.ComputeObjectiveRequirement(); - } + public IRequirementUsage objectiveRequirement => this.ComputeObjectiveRequirement(); /// /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, @@ -970,10 +788,7 @@ public IRequirementUsage QueryObjectiveRequirement() [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] [RedefinedByProperty("IActionUsage.ActionDefinition")] [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List QueryOccurrenceDefinition() - { - return this.ComputeOccurrenceDefinition(); - } + List Systems.Occurrences.IOccurrenceUsage.occurrenceDefinition => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -981,10 +796,7 @@ public List QueryOccurrenceDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -994,10 +806,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -1006,10 +815,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -1018,10 +824,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -1031,10 +834,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -1044,10 +844,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -1055,10 +852,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -1067,10 +861,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -1078,10 +869,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -1091,10 +879,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -1104,10 +889,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -1117,10 +899,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -1130,10 +909,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -1142,10 +918,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -1154,10 +927,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -1168,10 +938,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -1180,10 +947,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -1192,10 +956,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -1213,10 +974,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -1226,10 +984,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -1239,10 +994,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -1252,10 +1004,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1264,10 +1013,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1275,10 +1021,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The Definition that owns this Usage (if any). @@ -1287,10 +1030,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public IDefinition QueryOwningDefinition() - { - return this.ComputeOwningDefinition(); - } + public IDefinition owningDefinition => this.ComputeOwningDefinition(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1298,10 +1038,7 @@ public IDefinition QueryOwningDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1310,10 +1047,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1322,10 +1056,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -1343,10 +1074,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The Usage in which this Usage is nested (if any). @@ -1354,10 +1082,7 @@ public IType QueryOwningType() [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public IUsage QueryOwningUsage() - { - return this.ComputeOwningUsage(); - } + public IUsage owningUsage => this.ComputeOwningUsage(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -1366,10 +1091,7 @@ public IUsage QueryOwningUsage() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If @@ -1390,10 +1112,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// An output parameter of the Expression whose value is the result of the Expression. The result of an @@ -1404,10 +1123,7 @@ public string QueryQualifiedName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [Implements(implementation: "IExpression.Result")] - public IFeature QueryResult() - { - return this.ComputeResult(); - } + public IFeature result => this.ComputeResult(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1417,10 +1133,7 @@ public IFeature QueryResult() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The parameter of this CaseUsage that represents its subject. @@ -1429,10 +1142,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "ICaseUsage.SubjectParameter")] - public IUsage QuerySubjectParameter() - { - return this.ComputeSubjectParameter(); - } + public IUsage subjectParameter => this.ComputeSubjectParameter(); /// /// The TextualRepresentations that annotate this Element. @@ -1441,10 +1151,7 @@ public IUsage QuerySubjectParameter() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1455,10 +1162,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1469,10 +1173,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1480,10 +1181,7 @@ public List QueryUnioningType() [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1492,10 +1190,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1504,10 +1199,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); /// /// The VerificationCase that is the definition of this VerificationCaseUsage. @@ -1515,10 +1207,7 @@ public List QueryVariantMembership() [Property(xmiId: "_19_0_2_12e503d9_1596821408366_748769_10316", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257465225_855208_512")] [Implements(implementation: "IVerificationCaseUsage.VerificationCaseDefinition")] - public IVerificationCaseDefinition QueryVerificationCaseDefinition() - { - return this.ComputeVerificationCaseDefinition(); - } + public IVerificationCaseDefinition verificationCaseDefinition => this.ComputeVerificationCaseDefinition(); /// /// The RequirementUsages verified by this VerificationCaseUsage, which are the verifiedRequirements of @@ -1526,10 +1215,7 @@ public IVerificationCaseDefinition QueryVerificationCaseDefinition() /// [Property(xmiId: "_19_0_4_12e503d9_1603922396599_812331_357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IVerificationCaseUsage.VerifiedRequirement")] - public List QueryVerifiedRequirement() - { - return this.ComputeVerifiedRequirement(); - } + public List verifiedRequirement => this.ComputeVerifiedRequirement(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/ViewDefinition.cs b/SysML2.NET/Core/AutoGenPoco/ViewDefinition.cs index b68aa15f..c7cc3975 100644 --- a/SysML2.NET/Core/AutoGenPoco/ViewDefinition.cs +++ b/SysML2.NET/Core/AutoGenPoco/ViewDefinition.cs @@ -109,10 +109,7 @@ public partial class ViewDefinition : IViewDefinition /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -120,10 +117,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// The usages of this Definition that are directedFeatures. @@ -132,10 +126,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// The Documentation owned by this Element. @@ -144,10 +135,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -163,10 +151,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -174,10 +159,7 @@ public List QueryEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -186,10 +168,7 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -197,10 +176,7 @@ public List QueryFeatureMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -208,10 +184,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -220,10 +193,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -231,10 +201,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -247,10 +214,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -265,10 +229,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// Whether all necessary implied Relationships have been included in the ownedRelationships of this @@ -293,10 +254,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -324,10 +282,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -335,10 +290,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -348,10 +300,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -361,10 +310,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -372,10 +318,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ActionUsages that are ownedUsages of this Definition. @@ -383,10 +326,7 @@ public List QueryOutput() [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedAction")] - public List QueryOwnedAction() - { - return this.ComputeOwnedAction(); - } + public List ownedAction => this.ComputeOwnedAction(); /// /// The AllocationUsages that are ownedUsages of this Definition. @@ -394,10 +334,7 @@ public List QueryOwnedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedAllocation")] - public List QueryOwnedAllocation() - { - return this.ComputeOwnedAllocation(); - } + public List ownedAllocation => this.ComputeOwnedAllocation(); /// /// The AnalysisCaseUsages that are ownedUsages of this Definition. @@ -405,10 +342,7 @@ public List QueryOwnedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List QueryOwnedAnalysisCase() - { - return this.ComputeOwnedAnalysisCase(); - } + public List ownedAnalysisCase => this.ComputeOwnedAnalysisCase(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -418,10 +352,7 @@ public List QueryOwnedAnalysisCase() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The AttributeUsages that are ownedUsages of this Definition. @@ -429,10 +360,7 @@ public List QueryOwnedAnnotation() [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedAttribute")] - public List QueryOwnedAttribute() - { - return this.ComputeOwnedAttribute(); - } + public List ownedAttribute => this.ComputeOwnedAttribute(); /// /// The CalculationUsages that are ownedUsages of this Definition. @@ -440,10 +368,7 @@ public List QueryOwnedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedCalculation")] - public List QueryOwnedCalculation() - { - return this.ComputeOwnedCalculation(); - } + public List ownedCalculation => this.ComputeOwnedCalculation(); /// /// The code>CaseUsages that are ownedUsages of this Definition. @@ -451,10 +376,7 @@ public List QueryOwnedCalculation() [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] [Implements(implementation: "IDefinition.OwnedCase")] - public List QueryOwnedCase() - { - return this.ComputeOwnedCase(); - } + public List ownedCase => this.ComputeOwnedCase(); /// /// The ConcernUsages that are ownedUsages of this Definition. @@ -462,10 +384,7 @@ public List QueryOwnedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedConcern")] - public List QueryOwnedConcern() - { - return this.ComputeOwnedConcern(); - } + public List ownedConcern => this.ComputeOwnedConcern(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -474,10 +393,7 @@ public List QueryOwnedConcern() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes @@ -487,10 +403,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedConnection")] - public List QueryOwnedConnection() - { - return this.ComputeOwnedConnection(); - } + public List ownedConnection => this.ComputeOwnedConnection(); /// /// The ConstraintUsages that are ownedUsages of this Definition. @@ -498,10 +411,7 @@ public List QueryOwnedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedConstraint")] - public List QueryOwnedConstraint() - { - return this.ComputeOwnedConstraint(); - } + public List ownedConstraint => this.ComputeOwnedConstraint(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -511,10 +421,7 @@ public List QueryOwnedConstraint() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -524,10 +431,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -535,10 +439,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -547,10 +448,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The EnumerationUsages that are ownedUsages of this Definition. @@ -558,10 +456,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List QueryOwnedEnumeration() - { - return this.ComputeOwnedEnumeration(); - } + public List ownedEnumeration => this.ComputeOwnedEnumeration(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -569,10 +464,7 @@ public List QueryOwnedEnumeration() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -582,10 +474,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The FlowUsages that are ownedUsages of this Definition. @@ -593,10 +482,7 @@ public List QueryOwnedFeatureMembership() [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedFlow")] - public List QueryOwnedFlow() - { - return this.ComputeOwnedFlow(); - } + public List ownedFlow => this.ComputeOwnedFlow(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -606,10 +492,7 @@ public List QueryOwnedFlow() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The InterfaceUsages that are ownedUsages of this Definition. @@ -617,10 +500,7 @@ public List QueryOwnedImport() [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedInterface")] - public List QueryOwnedInterface() - { - return this.ComputeOwnedInterface(); - } + public List ownedInterface => this.ComputeOwnedInterface(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -629,10 +509,7 @@ public List QueryOwnedInterface() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The ItemUsages that are ownedUsages of this Definition. @@ -640,10 +517,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedItem")] - public List QueryOwnedItem() - { - return this.ComputeOwnedItem(); - } + public List ownedItem => this.ComputeOwnedItem(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -652,10 +526,7 @@ public List QueryOwnedItem() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -666,10 +537,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The MetadataUsages that are ownedUsages of this Definition. @@ -677,10 +545,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedMetadata")] - public List QueryOwnedMetadata() - { - return this.ComputeOwnedMetadata(); - } + public List ownedMetadata => this.ComputeOwnedMetadata(); /// /// The OccurrenceUsages that are ownedUsages of this Definition. @@ -688,10 +553,7 @@ public List QueryOwnedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List QueryOwnedOccurrence() - { - return this.ComputeOwnedOccurrence(); - } + public List ownedOccurrence => this.ComputeOwnedOccurrence(); /// /// The PartUsages that are ownedUsages of this Definition. @@ -699,10 +561,7 @@ public List QueryOwnedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedPart")] - public List QueryOwnedPart() - { - return this.ComputeOwnedPart(); - } + public List ownedPart => this.ComputeOwnedPart(); /// /// The PortUsages that are ownedUsages of this Definition. @@ -710,10 +569,7 @@ public List QueryOwnedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedPort")] - public List QueryOwnedPort() - { - return this.ComputeOwnedPort(); - } + public List ownedPort => this.ComputeOwnedPort(); /// /// The ReferenceUsages that are ownedUsages of this Definition. @@ -721,10 +577,7 @@ public List QueryOwnedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedReference")] - public List QueryOwnedReference() - { - return this.ComputeOwnedReference(); - } + public List ownedReference => this.ComputeOwnedReference(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -740,10 +593,7 @@ public List QueryOwnedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedRendering")] - public List QueryOwnedRendering() - { - return this.ComputeOwnedRendering(); - } + public List ownedRendering => this.ComputeOwnedRendering(); /// /// The RequirementUsages that are ownedUsages of this Definition. @@ -751,10 +601,7 @@ public List QueryOwnedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] [Implements(implementation: "IDefinition.OwnedRequirement")] - public List QueryOwnedRequirement() - { - return this.ComputeOwnedRequirement(); - } + public List ownedRequirement => this.ComputeOwnedRequirement(); /// /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific @@ -764,10 +611,7 @@ public List QueryOwnedRequirement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The StateUsages that are ownedUsages of this Definition. @@ -775,10 +619,7 @@ public List QueryOwnedSpecialization() [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedState")] - public List QueryOwnedState() - { - return this.ComputeOwnedState(); - } + public List ownedState => this.ComputeOwnedState(); /// /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier @@ -787,10 +628,7 @@ public List QueryOwnedState() [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List QueryOwnedSubclassification() - { - return this.ComputeOwnedSubclassification(); - } + public List ownedSubclassification => this.ComputeOwnedSubclassification(); /// /// The TransitionUsages that are ownedUsages of this Definition. @@ -798,10 +636,7 @@ public List QueryOwnedSubclassification() [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedTransition")] - public List QueryOwnedTransition() - { - return this.ComputeOwnedTransition(); - } + public List ownedTransition => this.ComputeOwnedTransition(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -810,10 +645,7 @@ public List QueryOwnedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The Usages that are ownedFeatures of this Definition. @@ -822,10 +654,7 @@ public List QueryOwnedUnioning() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.OwnedUsage")] - public List QueryOwnedUsage() - { - return this.ComputeOwnedUsage(); - } + public List ownedUsage => this.ComputeOwnedUsage(); /// /// The UseCaseUsages that are ownedUsages of this Definition. @@ -833,10 +662,7 @@ public List QueryOwnedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedUseCase")] - public List QueryOwnedUseCase() - { - return this.ComputeOwnedUseCase(); - } + public List ownedUseCase => this.ComputeOwnedUseCase(); /// /// The VerificationCaseUsages that are ownedUsages of this Definition. @@ -844,10 +670,7 @@ public List QueryOwnedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List QueryOwnedVerificationCase() - { - return this.ComputeOwnedVerificationCase(); - } + public List ownedVerificationCase => this.ComputeOwnedVerificationCase(); /// /// The ViewUsages that are ownedUsages of this Definition. @@ -855,10 +678,7 @@ public List QueryOwnedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedView")] - public List QueryOwnedView() - { - return this.ComputeOwnedView(); - } + public List ownedView => this.ComputeOwnedView(); /// /// The ViewpointUsages that are ownedUsages of this Definition. @@ -866,10 +686,7 @@ public List QueryOwnedView() [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List QueryOwnedViewpoint() - { - return this.ComputeOwnedViewpoint(); - } + public List ownedViewpoint => this.ComputeOwnedViewpoint(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -877,10 +694,7 @@ public List QueryOwnedViewpoint() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -889,10 +703,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -901,10 +712,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -924,10 +732,7 @@ public INamespace QueryOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The composite ownedRequirements of this ViewDefinition that are ViewpointUsages for viewpoints @@ -936,10 +741,7 @@ public string QueryQualifiedName() [Property(xmiId: "_19_0_2_12e503d9_1596645596183_374903_1209", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IViewDefinition.SatisfiedViewpoint")] - public List QuerySatisfiedViewpoint() - { - return this.ComputeSatisfiedViewpoint(); - } + public List satisfiedViewpoint => this.ComputeSatisfiedViewpoint(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -949,10 +751,7 @@ public List QuerySatisfiedViewpoint() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -961,10 +760,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -975,10 +771,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Definition (not necessarily owned). @@ -986,10 +779,7 @@ public List QueryUnioningType() [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IDefinition.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Definition as a variation point Definition, if @@ -998,10 +788,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IDefinition.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then @@ -1011,10 +798,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IDefinition.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); /// /// The usages of this ViewDefinition that are ViewUsages. @@ -1022,10 +806,7 @@ public List QueryVariantMembership() [Property(xmiId: "_19_0_2_12e503d9_1596644452170_21813_753", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IViewDefinition.View")] - public List QueryView() - { - return this.ComputeView(); - } + public List view => this.ComputeView(); /// /// The Expressions related to this ViewDefinition by ElementFilterMemberships, which specify conditions @@ -1034,10 +815,7 @@ public List QueryView() [Property(xmiId: "_19_0_4_12e503d9_1606938929077_183245_4796", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IViewDefinition.ViewCondition")] - public List QueryViewCondition() - { - return this.ComputeViewCondition(); - } + public List viewCondition => this.ComputeViewCondition(); /// /// The RenderingUsage to be used to render views defined by this ViewDefinition, which is the @@ -1045,10 +823,7 @@ public List QueryViewCondition() /// [Property(xmiId: "_19_0_2_12e503d9_1596657187664_758418_4914", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IViewDefinition.ViewRendering")] - public IRenderingUsage QueryViewRendering() - { - return this.ComputeViewRendering(); - } + public IRenderingUsage viewRendering => this.ComputeViewRendering(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/ViewRenderingMembership.cs b/SysML2.NET/Core/AutoGenPoco/ViewRenderingMembership.cs index 20b30d38..d93b2c39 100644 --- a/SysML2.NET/Core/AutoGenPoco/ViewRenderingMembership.cs +++ b/SysML2.NET/Core/AutoGenPoco/ViewRenderingMembership.cs @@ -82,10 +82,7 @@ public partial class ViewRenderingMembership : IViewRenderingMembership [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -119,10 +116,7 @@ public List QueryDocumentation() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// The Element that becomes a member of the membershipOwningNamespace due to this Membership. @@ -131,7 +125,11 @@ public bool QueryIsLibraryElement() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_138197_43179")] [RedefinedByProperty("IOwningMembership.OwnedMemberElement")] [Implements(implementation: "IMembership.MemberElement")] - public IElement MemberElement { get; set; } + IElement Root.Namespaces.IMembership.MemberElement + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElement"); + } /// /// The elementId of the memberElement. @@ -139,10 +137,7 @@ public bool QueryIsLibraryElement() [Property(xmiId: "_19_0_4_12e503d9_1651721199802_246768_242", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberElementId")] [Implements(implementation: "IMembership.MemberElementId")] - public string QueryMemberElementId() - { - return this.ComputeMemberElementId(); - } + string Root.Namespaces.IMembership.memberElementId => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberElementId"); /// /// The name of the memberElement relative to the membershipOwningNamespace. @@ -150,7 +145,11 @@ public string QueryMemberElementId() [Property(xmiId: "_18_5_3_12e503d9_1533160674964_35293_43192", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberName")] [Implements(implementation: "IMembership.MemberName")] - public string MemberName { get; set; } + string Root.Namespaces.IMembership.MemberName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberName"); + } /// /// The Namespace of which the memberElement becomes a member due to this Membership. @@ -161,10 +160,7 @@ public string QueryMemberElementId() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_696758_43228")] [RedefinedByProperty("IFeatureMembership.OwningType")] [Implements(implementation: "IMembership.MembershipOwningNamespace")] - public INamespace QueryMembershipOwningNamespace() - { - return this.ComputeMembershipOwningNamespace(); - } + INamespace Root.Namespaces.IMembership.membershipOwningNamespace => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwningType"); /// /// The short name of the memberElement relative to the membershipOwningNamespace. @@ -172,7 +168,11 @@ public INamespace QueryMembershipOwningNamespace() [Property(xmiId: "_19_0_4_12e503d9_1651721174176_601088_238", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IOwningMembership.OwnedMemberShortName")] [Implements(implementation: "IMembership.MemberShortName")] - public string MemberShortName { get; set; } + string Root.Namespaces.IMembership.MemberShortName + { + get => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + set => throw new InvalidOperationException("Redefined by property IOwningMembership.OwnedMemberShortName"); + } /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -182,10 +182,7 @@ public INamespace QueryMembershipOwningNamespace() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -195,10 +192,7 @@ public string QueryName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -206,10 +200,7 @@ public List QueryOwnedAnnotation() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// The Element that becomes an ownedMember of the membershipOwningNamespace due to this @@ -220,10 +211,7 @@ public List QueryOwnedElement() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_819490_43195")] [RedefinedByProperty("IFeatureMembership.OwnedMemberFeature")] [Implements(implementation: "IOwningMembership.OwnedMemberElement")] - public IElement QueryOwnedMemberElement() - { - return this.ComputeOwnedMemberElement(); - } + IElement Root.Namespaces.IOwningMembership.ownedMemberElement => throw new InvalidOperationException("Redefined by property IFeatureMembership.OwnedMemberFeature"); /// /// The elementId of the ownedMemberElement. @@ -231,10 +219,7 @@ public IElement QueryOwnedMemberElement() [Property(xmiId: "_19_0_4_12e503d9_1651721234828_904219_244", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721199802_246768_242")] [Implements(implementation: "IOwningMembership.OwnedMemberElementId")] - public string QueryOwnedMemberElementId() - { - return this.ComputeOwnedMemberElementId(); - } + public string ownedMemberElementId => this.ComputeOwnedMemberElementId(); /// /// The Feature that this FeatureMembership relates to its owningType, making it an ownedFeature of the @@ -244,10 +229,7 @@ public string QueryOwnedMemberElementId() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_501750_43196")] [RedefinedByProperty("IViewRenderingMembership.OwnedRendering")] [Implements(implementation: "IFeatureMembership.OwnedMemberFeature")] - public IFeature QueryOwnedMemberFeature() - { - return this.ComputeOwnedMemberFeature(); - } + IFeature Core.Types.IFeatureMembership.ownedMemberFeature => throw new InvalidOperationException("Redefined by property IViewRenderingMembership.OwnedRendering"); /// /// The name of the ownedMemberElement. @@ -255,10 +237,7 @@ public IFeature QueryOwnedMemberFeature() [Property(xmiId: "_19_0_4_12e503d9_1648181616390_323441_387", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674964_35293_43192")] [Implements(implementation: "IOwningMembership.OwnedMemberName")] - public string QueryOwnedMemberName() - { - return this.ComputeOwnedMemberName(); - } + public string ownedMemberName => this.ComputeOwnedMemberName(); /// /// The shortName of the ownedMemberElement. @@ -266,10 +245,7 @@ public string QueryOwnedMemberName() [Property(xmiId: "_19_0_4_12e503d9_1651721262092_909505_246", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1651721174176_601088_238")] [Implements(implementation: "IOwningMembership.OwnedMemberShortName")] - public string QueryOwnedMemberShortName() - { - return this.ComputeOwnedMemberShortName(); - } + public string ownedMemberShortName => this.ComputeOwnedMemberShortName(); /// /// The relatedElements of this Relationship that are owned by the Relationship. @@ -294,10 +270,7 @@ public string QueryOwnedMemberShortName() [Property(xmiId: "_19_0_4_12e503d9_1617134244546_130200_6000", aggregation: AggregationKind.Composite, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674993_898044_43344")] [Implements(implementation: "IViewRenderingMembership.OwnedRendering")] - public IRenderingUsage QueryOwnedRendering() - { - return this.ComputeOwnedRendering(); - } + public IRenderingUsage ownedRendering => this.ComputeOwnedRendering(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -305,10 +278,7 @@ public IRenderingUsage QueryOwnedRendering() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -317,10 +287,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -329,10 +296,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The relatedElement of this Relationship that owns the Relationship, if any. @@ -357,10 +321,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866524_738482_486")] [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_193857_43197")] [Implements(implementation: "IFeatureMembership.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -372,10 +333,7 @@ public IType QueryOwningType() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The RenderingUsage that is referenced through this ViewRenderingMembership. It is the @@ -384,10 +342,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1617134300857_286392_6081", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IViewRenderingMembership.ReferencedRendering")] - public IRenderingUsage QueryReferencedRendering() - { - return this.ComputeReferencedRendering(); - } + public IRenderingUsage referencedRendering => this.ComputeReferencedRendering(); /// /// The Elements that are related by this Relationship, derived as the union of the source and target @@ -395,10 +350,7 @@ public IRenderingUsage QueryReferencedRendering() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674961_132339_43177", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IRelationship.RelatedElement")] - public List QueryRelatedElement() - { - return this.ComputeRelatedElement(); - } + public List relatedElement => this.ComputeRelatedElement(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -408,10 +360,7 @@ public List QueryRelatedElement() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The relatedElements from which this Relationship is considered to be directed. @@ -420,7 +369,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembership.MembershipOwningNamespace")] [Implements(implementation: "IRelationship.Source")] - public List Source { get; set; } = []; + List Root.Elements.IRelationship.Source + { + get => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + set => throw new InvalidOperationException("Redefined by property IMembership.MembershipOwningNamespace"); + } /// /// The relatedElements to which this Relationship is considered to be directed. @@ -429,7 +382,11 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674961_132339_43177")] [RedefinedByProperty("IMembership.MemberElement")] [Implements(implementation: "IRelationship.Target")] - public List Target { get; set; } = []; + List Root.Elements.IRelationship.Target + { + get => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + set => throw new InvalidOperationException("Redefined by property IMembership.MemberElement"); + } /// /// The TextualRepresentations that annotate this Element. @@ -438,10 +395,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Whether or not the Membership of the memberElement in the membershipOwningNamespace is publicly diff --git a/SysML2.NET/Core/AutoGenPoco/ViewUsage.cs b/SysML2.NET/Core/AutoGenPoco/ViewUsage.cs index 9bb28227..f3883fd8 100644 --- a/SysML2.NET/Core/AutoGenPoco/ViewUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/ViewUsage.cs @@ -95,10 +95,7 @@ public partial class ViewUsage : IViewUsage /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -108,10 +105,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -139,10 +133,7 @@ public IFeature QueryCrossFeature() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] [Implements(implementation: "IUsage.Definition")] - public List QueryDefinition() - { - return this.ComputeDefinition(); - } + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -155,10 +146,7 @@ public List QueryDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -166,10 +154,7 @@ public List QueryDifferencingType() [Property(xmiId: "_19_0_4_12e503d9_1623952188842_882068_37169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + public List directedFeature => this.ComputeDirectedFeature(); /// /// The usages of this Usage that are directedFeatures. @@ -178,10 +163,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -198,10 +180,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -217,10 +196,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -230,10 +206,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The Elements that are exposed by this ViewUsage, which are those memberElements of the imported @@ -242,10 +215,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_19_0_2_12e503d9_1596648681658_691767_2705", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IViewUsage.ExposedElement")] - public List QueryExposedElement() - { - return this.ComputeExposedElement(); - } + public List exposedElement => this.ComputeExposedElement(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -253,10 +223,7 @@ public List QueryExposedElement() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -265,20 +232,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -288,10 +249,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -299,10 +257,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// The at most one occurrenceDefinition that has isIndividual = true. @@ -310,10 +265,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public IOccurrenceDefinition QueryIndividualDefinition() - { - return this.ComputeIndividualDefinition(); - } + public IOccurrenceDefinition individualDefinition => this.ComputeIndividualDefinition(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -321,10 +273,7 @@ public IOccurrenceDefinition QueryIndividualDefinition() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -333,10 +282,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -344,10 +290,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -360,10 +303,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -387,10 +327,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -445,10 +382,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -470,10 +404,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IUsage.IsReference")] - public bool QueryIsReference() - { - return this.ComputeIsReference(); - } + public bool isReference => this.ComputeIsReference(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -501,7 +432,11 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -519,10 +454,7 @@ public bool QueryIsReference() [Property(xmiId: "_18_5_3_12e503d9_1565471361757_649736_20796", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IItemUsage.ItemDefinition")] - public List QueryItemDefinition() - { - return this.ComputeItemDefinition(); - } + public List itemDefinition => this.ComputeItemDefinition(); /// /// Whether this Usage may be time varying (that is, whether it is featured by the snapshots of its @@ -535,10 +467,7 @@ public List QueryItemDefinition() [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool QueryMayTimeVary() - { - return this.ComputeMayTimeVary(); - } + public bool mayTimeVary => this.ComputeMayTimeVary(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -546,10 +475,7 @@ public bool QueryMayTimeVary() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -557,10 +483,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -570,10 +493,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -583,10 +503,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ActionUsages that are nestedUsages of this Usage. @@ -594,10 +511,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List QueryNestedAction() - { - return this.ComputeNestedAction(); - } + public List nestedAction => this.ComputeNestedAction(); /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -605,10 +519,7 @@ public List QueryNestedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List QueryNestedAllocation() - { - return this.ComputeNestedAllocation(); - } + public List nestedAllocation => this.ComputeNestedAllocation(); /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -616,10 +527,7 @@ public List QueryNestedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List QueryNestedAnalysisCase() - { - return this.ComputeNestedAnalysisCase(); - } + public List nestedAnalysisCase => this.ComputeNestedAnalysisCase(); /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -627,10 +535,7 @@ public List QueryNestedAnalysisCase() [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List QueryNestedAttribute() - { - return this.ComputeNestedAttribute(); - } + public List nestedAttribute => this.ComputeNestedAttribute(); /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -638,10 +543,7 @@ public List QueryNestedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List QueryNestedCalculation() - { - return this.ComputeNestedCalculation(); - } + public List nestedCalculation => this.ComputeNestedCalculation(); /// /// The CaseUsages that are nestedUsages of this Usage. @@ -649,10 +551,7 @@ public List QueryNestedCalculation() [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List QueryNestedCase() - { - return this.ComputeNestedCase(); - } + public List nestedCase => this.ComputeNestedCase(); /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -660,10 +559,7 @@ public List QueryNestedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List QueryNestedConcern() - { - return this.ComputeNestedConcern(); - } + public List nestedConcern => this.ComputeNestedConcern(); /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -673,10 +569,7 @@ public List QueryNestedConcern() [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List QueryNestedConnection() - { - return this.ComputeNestedConnection(); - } + public List nestedConnection => this.ComputeNestedConnection(); /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -684,10 +577,7 @@ public List QueryNestedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List QueryNestedConstraint() - { - return this.ComputeNestedConstraint(); - } + public List nestedConstraint => this.ComputeNestedConstraint(); /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -695,10 +585,7 @@ public List QueryNestedConstraint() [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List QueryNestedEnumeration() - { - return this.ComputeNestedEnumeration(); - } + public List nestedEnumeration => this.ComputeNestedEnumeration(); /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -706,10 +593,7 @@ public List QueryNestedEnumeration() [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List QueryNestedFlow() - { - return this.ComputeNestedFlow(); - } + public List nestedFlow => this.ComputeNestedFlow(); /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -717,10 +601,7 @@ public List QueryNestedFlow() [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List QueryNestedInterface() - { - return this.ComputeNestedInterface(); - } + public List nestedInterface => this.ComputeNestedInterface(); /// /// The ItemUsages that are nestedUsages of this Usage. @@ -728,10 +609,7 @@ public List QueryNestedInterface() [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List QueryNestedItem() - { - return this.ComputeNestedItem(); - } + public List nestedItem => this.ComputeNestedItem(); /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -739,10 +617,7 @@ public List QueryNestedItem() [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List QueryNestedMetadata() - { - return this.ComputeNestedMetadata(); - } + public List nestedMetadata => this.ComputeNestedMetadata(); /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -750,10 +625,7 @@ public List QueryNestedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List QueryNestedOccurrence() - { - return this.ComputeNestedOccurrence(); - } + public List nestedOccurrence => this.ComputeNestedOccurrence(); /// /// The PartUsages that are nestedUsages of this Usage. @@ -761,10 +633,7 @@ public List QueryNestedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List QueryNestedPart() - { - return this.ComputeNestedPart(); - } + public List nestedPart => this.ComputeNestedPart(); /// /// The PortUsages that are nestedUsages of this Usage. @@ -772,10 +641,7 @@ public List QueryNestedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List QueryNestedPort() - { - return this.ComputeNestedPort(); - } + public List nestedPort => this.ComputeNestedPort(); /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -783,10 +649,7 @@ public List QueryNestedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List QueryNestedReference() - { - return this.ComputeNestedReference(); - } + public List nestedReference => this.ComputeNestedReference(); /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -794,10 +657,7 @@ public List QueryNestedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List QueryNestedRendering() - { - return this.ComputeNestedRendering(); - } + public List nestedRendering => this.ComputeNestedRendering(); /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -805,10 +665,7 @@ public List QueryNestedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List QueryNestedRequirement() - { - return this.ComputeNestedRequirement(); - } + public List nestedRequirement => this.ComputeNestedRequirement(); /// /// The StateUsages that are nestedUsages of this Usage. @@ -816,10 +673,7 @@ public List QueryNestedRequirement() [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List QueryNestedState() - { - return this.ComputeNestedState(); - } + public List nestedState => this.ComputeNestedState(); /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -827,10 +681,7 @@ public List QueryNestedState() [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List QueryNestedTransition() - { - return this.ComputeNestedTransition(); - } + public List nestedTransition => this.ComputeNestedTransition(); /// /// The Usages that are ownedFeatures of this Usage. @@ -839,10 +690,7 @@ public List QueryNestedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List QueryNestedUsage() - { - return this.ComputeNestedUsage(); - } + public List nestedUsage => this.ComputeNestedUsage(); /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -850,10 +698,7 @@ public List QueryNestedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List QueryNestedUseCase() - { - return this.ComputeNestedUseCase(); - } + public List nestedUseCase => this.ComputeNestedUseCase(); /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -861,10 +706,7 @@ public List QueryNestedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List QueryNestedVerificationCase() - { - return this.ComputeNestedVerificationCase(); - } + public List nestedVerificationCase => this.ComputeNestedVerificationCase(); /// /// The ViewUsages that are nestedUsages of this Usage. @@ -872,10 +714,7 @@ public List QueryNestedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List QueryNestedView() - { - return this.ComputeNestedView(); - } + public List nestedView => this.ComputeNestedView(); /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -883,10 +722,7 @@ public List QueryNestedView() [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List QueryNestedViewpoint() - { - return this.ComputeNestedViewpoint(); - } + public List nestedViewpoint => this.ComputeNestedViewpoint(); /// /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, @@ -896,10 +732,7 @@ public List QueryNestedViewpoint() [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List QueryOccurrenceDefinition() - { - return this.ComputeOccurrenceDefinition(); - } + public List occurrenceDefinition => this.ComputeOccurrenceDefinition(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -907,10 +740,7 @@ public List QueryOccurrenceDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -920,10 +750,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -932,10 +759,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -944,10 +768,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -957,10 +778,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -970,10 +788,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -981,10 +796,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -993,10 +805,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -1004,10 +813,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -1017,10 +823,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -1030,10 +833,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -1043,10 +843,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -1056,10 +853,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -1068,10 +862,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -1080,10 +871,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -1094,10 +882,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -1106,10 +891,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -1118,10 +900,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -1139,10 +918,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -1152,10 +928,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -1165,10 +938,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -1178,10 +948,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1190,10 +957,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1201,10 +965,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The Definition that owns this Usage (if any). @@ -1213,10 +974,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public IDefinition QueryOwningDefinition() - { - return this.ComputeOwningDefinition(); - } + public IDefinition owningDefinition => this.ComputeOwningDefinition(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1224,10 +982,7 @@ public IDefinition QueryOwningDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1236,10 +991,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1248,10 +1000,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -1269,10 +1018,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The Usage in which this Usage is nested (if any). @@ -1280,10 +1026,7 @@ public IType QueryOwningType() [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public IUsage QueryOwningUsage() - { - return this.ComputeOwningUsage(); - } + public IUsage owningUsage => this.ComputeOwningUsage(); /// /// The itemDefinitions of this PartUsage that are PartDefinitions. @@ -1292,10 +1035,7 @@ public IUsage QueryOwningUsage() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565471361757_649736_20796")] [RedefinedByProperty("IViewUsage.ViewDefinition")] [Implements(implementation: "IPartUsage.PartDefinition")] - public List QueryPartDefinition() - { - return this.ComputePartDefinition(); - } + List Systems.Parts.IPartUsage.partDefinition => throw new InvalidOperationException("Redefined by property IViewUsage.ViewDefinition"); /// /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If @@ -1316,10 +1056,7 @@ public List QueryPartDefinition() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The nestedRequirements of this ViewUsage that are ViewpointUsages for (additional) viewpoints @@ -1328,10 +1065,7 @@ public string QueryQualifiedName() [Property(xmiId: "_19_0_2_12e503d9_1596645688987_502277_1282", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IViewUsage.SatisfiedViewpoint")] - public List QuerySatisfiedViewpoint() - { - return this.ComputeSatisfiedViewpoint(); - } + public List satisfiedViewpoint => this.ComputeSatisfiedViewpoint(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1341,10 +1075,7 @@ public List QuerySatisfiedViewpoint() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -1353,10 +1084,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1367,10 +1095,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1381,10 +1106,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1392,10 +1114,7 @@ public List QueryUnioningType() [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1404,10 +1123,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1416,10 +1132,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); /// /// The Expressions related to this ViewUsage by ElementFilterMemberships, which specify conditions on @@ -1428,10 +1141,7 @@ public List QueryVariantMembership() [Property(xmiId: "_19_0_4_12e503d9_1606938933668_437943_4809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IViewUsage.ViewCondition")] - public List QueryViewCondition() - { - return this.ComputeViewCondition(); - } + public List viewCondition => this.ComputeViewCondition(); /// /// The ViewDefinition that is the definition of this ViewUsage. @@ -1439,10 +1149,7 @@ public List QueryViewCondition() [Property(xmiId: "_19_0_2_12e503d9_1596644438889_580287_734", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591475180488_929065_121")] [Implements(implementation: "IViewUsage.ViewDefinition")] - public IViewDefinition QueryViewDefinition() - { - return this.ComputeViewDefinition(); - } + public IViewDefinition viewDefinition => this.ComputeViewDefinition(); /// /// The RenderingUsage to be used to render views defined by this ViewUsage, which is the @@ -1450,10 +1157,7 @@ public IViewDefinition QueryViewDefinition() /// [Property(xmiId: "_19_0_2_12e503d9_1596657318021_274182_5067", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IViewUsage.ViewRendering")] - public IRenderingUsage QueryViewRendering() - { - return this.ComputeViewRendering(); - } + public IRenderingUsage viewRendering => this.ComputeViewRendering(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/ViewpointDefinition.cs b/SysML2.NET/Core/AutoGenPoco/ViewpointDefinition.cs index ac695802..315d38d5 100644 --- a/SysML2.NET/Core/AutoGenPoco/ViewpointDefinition.cs +++ b/SysML2.NET/Core/AutoGenPoco/ViewpointDefinition.cs @@ -81,10 +81,7 @@ public partial class ViewpointDefinition : IViewpointDefinition [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IRequirementDefinition.ActorParameter")] - public List QueryActorParameter() - { - return this.ComputeActorParameter(); - } + public List actorParameter => this.ComputeActorParameter(); /// /// Various alternative identifiers for this Element. Generally, these will be set by tools. @@ -101,10 +98,7 @@ public List QueryActorParameter() [Property(xmiId: "_19_0_2_12e503d9_1583376806647_629021_133", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IRequirementDefinition.AssumedConstraint")] - public List QueryAssumedConstraint() - { - return this.ComputeAssumedConstraint(); - } + public List assumedConstraint => this.ComputeAssumedConstraint(); /// /// The declared name of this Element. @@ -122,7 +116,11 @@ public List QueryAssumedConstraint() [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IRequirementDefinition.ReqId")] [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } + string Root.Elements.IElement.DeclaredShortName + { + get => throw new InvalidOperationException("Redefined by property IRequirementDefinition.ReqId"); + set => throw new InvalidOperationException("Redefined by property IRequirementDefinition.ReqId"); + } /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -135,10 +133,7 @@ public List QueryAssumedConstraint() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -147,10 +142,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IBehavior.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IBehavior.Parameter"); /// /// The usages of this Definition that are directedFeatures. @@ -159,10 +151,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// The Documentation owned by this Element. @@ -171,10 +160,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -190,10 +176,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Expressions that are steps in the calculation of the result of this Function. @@ -201,10 +184,7 @@ public List QueryEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1543948400639_301251_20841", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_b9102da_1536346067212_587255_17343")] [Implements(implementation: "IFunction.Expression")] - public List QueryExpression() - { - return this.ComputeExpression(); - } + public List expression => this.ComputeExpression(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -212,10 +192,7 @@ public List QueryExpression() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -224,10 +201,7 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The ConcernUsages framed by this RequirementDefinition, which are the ownedConcerns of all @@ -236,10 +210,7 @@ public List QueryFeatureMembership() [Property(xmiId: "_19_0_4_12e503d9_1617116733499_587735_3242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583376932997_792124_158")] [Implements(implementation: "IRequirementDefinition.FramedConcern")] - public List QueryFramedConcern() - { - return this.ComputeFramedConcern(); - } + public List framedConcern => this.ComputeFramedConcern(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -247,10 +218,7 @@ public List QueryFramedConcern() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -258,10 +226,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -270,10 +235,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -281,10 +243,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -297,10 +256,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -315,10 +271,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// Whether all necessary implied Relationships have been included in the ownedRelationships of this @@ -343,10 +296,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether this Function can be used as the function of a model-level evaluable InvocationExpression. @@ -357,10 +307,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1617395221463_139517_26381", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFunction.IsModelLevelEvaluable")] - public bool QueryIsModelLevelEvaluable() - { - return this.ComputeIsModelLevelEvaluable(); - } + public bool isModelLevelEvaluable => this.ComputeIsModelLevelEvaluable(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -388,10 +335,7 @@ public bool QueryIsModelLevelEvaluable() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -399,10 +343,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -412,10 +353,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -425,10 +363,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -436,10 +371,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ActionUsages that are ownedUsages of this Definition. @@ -447,10 +379,7 @@ public List QueryOutput() [Property(xmiId: "_19_0_2_12e503d9_1591479011613_547927_1091", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedAction")] - public List QueryOwnedAction() - { - return this.ComputeOwnedAction(); - } + public List ownedAction => this.ComputeOwnedAction(); /// /// The AllocationUsages that are ownedUsages of this Definition. @@ -458,10 +387,7 @@ public List QueryOwnedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430819239_430196_1024", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedAllocation")] - public List QueryOwnedAllocation() - { - return this.ComputeOwnedAllocation(); - } + public List ownedAllocation => this.ComputeOwnedAllocation(); /// /// The AnalysisCaseUsages that are ownedUsages of this Definition. @@ -469,10 +395,7 @@ public List QueryOwnedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152747086_367030_3846", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedAnalysisCase")] - public List QueryOwnedAnalysisCase() - { - return this.ComputeOwnedAnalysisCase(); - } + public List ownedAnalysisCase => this.ComputeOwnedAnalysisCase(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -482,10 +405,7 @@ public List QueryOwnedAnalysisCase() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// The AttributeUsages that are ownedUsages of this Definition. @@ -493,10 +413,7 @@ public List QueryOwnedAnnotation() [Property(xmiId: "_19_0_2_12e503d9_1591500614097_490259_4413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedAttribute")] - public List QueryOwnedAttribute() - { - return this.ComputeOwnedAttribute(); - } + public List ownedAttribute => this.ComputeOwnedAttribute(); /// /// The CalculationUsages that are ownedUsages of this Definition. @@ -504,10 +421,7 @@ public List QueryOwnedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215335104_898924_667", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedCalculation")] - public List QueryOwnedCalculation() - { - return this.ComputeOwnedCalculation(); - } + public List ownedCalculation => this.ComputeOwnedCalculation(); /// /// The code>CaseUsages that are ownedUsages of this Definition. @@ -515,10 +429,7 @@ public List QueryOwnedCalculation() [Property(xmiId: "_19_0_2_59601fc_1590257108055_7496_483", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215335104_898924_667")] [Implements(implementation: "IDefinition.OwnedCase")] - public List QueryOwnedCase() - { - return this.ComputeOwnedCase(); - } + public List ownedCase => this.ComputeOwnedCase(); /// /// The ConcernUsages that are ownedUsages of this Definition. @@ -526,10 +437,7 @@ public List QueryOwnedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051597354_928367_1357", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedConcern")] - public List QueryOwnedConcern() - { - return this.ComputeOwnedConcern(); - } + public List ownedConcern => this.ComputeOwnedConcern(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -538,10 +446,7 @@ public List QueryOwnedConcern() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The ConnectorAsUsages that are ownedUsages of this Definition. Note that this list includes @@ -551,10 +456,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_2_12e503d9_1591480607506_951212_2333", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedConnection")] - public List QueryOwnedConnection() - { - return this.ComputeOwnedConnection(); - } + public List ownedConnection => this.ComputeOwnedConnection(); /// /// The ConstraintUsages that are ownedUsages of this Definition. @@ -562,10 +464,7 @@ public List QueryOwnedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578068081992_244000_1803", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedConstraint")] - public List QueryOwnedConstraint() - { - return this.ComputeOwnedConstraint(); - } + public List ownedConstraint => this.ComputeOwnedConstraint(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -575,10 +474,7 @@ public List QueryOwnedConstraint() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -588,10 +484,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -599,10 +492,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -611,10 +501,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The EnumerationUsages that are ownedUsages of this Definition. @@ -622,10 +509,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_19_0_4_12e503d9_1606946600508_763872_252", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500614097_490259_4413")] [Implements(implementation: "IDefinition.OwnedEnumeration")] - public List QueryOwnedEnumeration() - { - return this.ComputeOwnedEnumeration(); - } + public List ownedEnumeration => this.ComputeOwnedEnumeration(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -633,10 +517,7 @@ public List QueryOwnedEnumeration() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -646,10 +527,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The FlowUsages that are ownedUsages of this Definition. @@ -657,10 +535,7 @@ public List QueryOwnedFeatureMembership() [Property(xmiId: "_19_0_4_12e503d9_1624055201422_104863_1697", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedFlow")] - public List QueryOwnedFlow() - { - return this.ComputeOwnedFlow(); - } + public List ownedFlow => this.ComputeOwnedFlow(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -670,10 +545,7 @@ public List QueryOwnedFlow() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The InterfaceUsages that are ownedUsages of this Definition. @@ -681,10 +553,7 @@ public List QueryOwnedImport() [Property(xmiId: "_19_0_2_12e503d9_1591498709150_220812_4128", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591480607506_951212_2333")] [Implements(implementation: "IDefinition.OwnedInterface")] - public List QueryOwnedInterface() - { - return this.ComputeOwnedInterface(); - } + public List ownedInterface => this.ComputeOwnedInterface(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -693,10 +562,7 @@ public List QueryOwnedInterface() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The ItemUsages that are ownedUsages of this Definition. @@ -704,10 +570,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_19_0_2_12e503d9_1591482567975_649284_3005", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943849505_989631_257")] [Implements(implementation: "IDefinition.OwnedItem")] - public List QueryOwnedItem() - { - return this.ComputeOwnedItem(); - } + public List ownedItem => this.ComputeOwnedItem(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -716,10 +579,7 @@ public List QueryOwnedItem() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -730,10 +590,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The MetadataUsages that are ownedUsages of this Definition. @@ -741,10 +598,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_19_0_4_12e503d9_1661488358064_457109_2881", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedMetadata")] - public List QueryOwnedMetadata() - { - return this.ComputeOwnedMetadata(); - } + public List ownedMetadata => this.ComputeOwnedMetadata(); /// /// The OccurrenceUsages that are ownedUsages of this Definition. @@ -752,10 +606,7 @@ public List QueryOwnedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943849505_989631_257", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedOccurrence")] - public List QueryOwnedOccurrence() - { - return this.ComputeOwnedOccurrence(); - } + public List ownedOccurrence => this.ComputeOwnedOccurrence(); /// /// The PartUsages that are ownedUsages of this Definition. @@ -763,10 +614,7 @@ public List QueryOwnedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496643392_630316_3279", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482567975_649284_3005")] [Implements(implementation: "IDefinition.OwnedPart")] - public List QueryOwnedPart() - { - return this.ComputeOwnedPart(); - } + public List ownedPart => this.ComputeOwnedPart(); /// /// The PortUsages that are ownedUsages of this Definition. @@ -774,10 +622,7 @@ public List QueryOwnedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494319970_455996_25799", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedPort")] - public List QueryOwnedPort() - { - return this.ComputeOwnedPort(); - } + public List ownedPort => this.ComputeOwnedPort(); /// /// The ReferenceUsages that are ownedUsages of this Definition. @@ -785,10 +630,7 @@ public List QueryOwnedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477471991_39731_908", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedReference")] - public List QueryOwnedReference() - { - return this.ComputeOwnedReference(); - } + public List ownedReference => this.ComputeOwnedReference(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -804,10 +646,7 @@ public List QueryOwnedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741437225_963350_6474", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedRendering")] - public List QueryOwnedRendering() - { - return this.ComputeOwnedRendering(); - } + public List ownedRendering => this.ComputeOwnedRendering(); /// /// The RequirementUsages that are ownedUsages of this Definition. @@ -815,10 +654,7 @@ public List QueryOwnedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000559760_444344_1273", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578068081992_244000_1803")] [Implements(implementation: "IDefinition.OwnedRequirement")] - public List QueryOwnedRequirement() - { - return this.ComputeOwnedRequirement(); - } + public List ownedRequirement => this.ComputeOwnedRequirement(); /// /// The ownedRelationships of this Type that are Specializations, for which the Type is the specific @@ -828,10 +664,7 @@ public List QueryOwnedRequirement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The StateUsages that are ownedUsages of this Definition. @@ -839,10 +672,7 @@ public List QueryOwnedSpecialization() [Property(xmiId: "_19_0_2_12e503d9_1575587977045_745776_941", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479011613_547927_1091")] [Implements(implementation: "IDefinition.OwnedState")] - public List QueryOwnedState() - { - return this.ComputeOwnedState(); - } + public List ownedState => this.ComputeOwnedState(); /// /// The ownedSpecializations of this Classifier that are Subclassifications, for which this Classifier @@ -851,10 +681,7 @@ public List QueryOwnedState() [Property(xmiId: "_18_5_3_12e503d9_1543189170643_419862_25507", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [Implements(implementation: "IClassifier.OwnedSubclassification")] - public List QueryOwnedSubclassification() - { - return this.ComputeOwnedSubclassification(); - } + public List ownedSubclassification => this.ComputeOwnedSubclassification(); /// /// The TransitionUsages that are ownedUsages of this Definition. @@ -862,10 +689,7 @@ public List QueryOwnedSubclassification() [Property(xmiId: "_19_0_2_12e503d9_1578598061680_350995_3923", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565479686637_967933_23236")] [Implements(implementation: "IDefinition.OwnedTransition")] - public List QueryOwnedTransition() - { - return this.ComputeOwnedTransition(); - } + public List ownedTransition => this.ComputeOwnedTransition(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -874,10 +698,7 @@ public List QueryOwnedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The Usages that are ownedFeatures of this Definition. @@ -886,10 +707,7 @@ public List QueryOwnedUnioning() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IDefinition.OwnedUsage")] - public List QueryOwnedUsage() - { - return this.ComputeOwnedUsage(); - } + public List ownedUsage => this.ComputeOwnedUsage(); /// /// The UseCaseUsages that are ownedUsages of this Definition. @@ -897,10 +715,7 @@ public List QueryOwnedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621461106608_978605_945", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedUseCase")] - public List QueryOwnedUseCase() - { - return this.ComputeOwnedUseCase(); - } + public List ownedUseCase => this.ComputeOwnedUseCase(); /// /// The VerificationCaseUsages that are ownedUsages of this Definition. @@ -908,10 +723,7 @@ public List QueryOwnedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821523387_872104_10416", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_59601fc_1590257108055_7496_483")] [Implements(implementation: "IDefinition.OwnedVerificationCase")] - public List QueryOwnedVerificationCase() - { - return this.ComputeOwnedVerificationCase(); - } + public List ownedVerificationCase => this.ComputeOwnedVerificationCase(); /// /// The ViewUsages that are ownedUsages of this Definition. @@ -919,10 +731,7 @@ public List QueryOwnedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644570381_840567_784", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496643392_630316_3279")] [Implements(implementation: "IDefinition.OwnedView")] - public List QueryOwnedView() - { - return this.ComputeOwnedView(); - } + public List ownedView => this.ComputeOwnedView(); /// /// The ViewpointUsages that are ownedUsages of this Definition. @@ -930,10 +739,7 @@ public List QueryOwnedView() [Property(xmiId: "_19_0_2_12e503d9_1596649828408_673531_3683", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000559760_444344_1273")] [Implements(implementation: "IDefinition.OwnedViewpoint")] - public List QueryOwnedViewpoint() - { - return this.ComputeOwnedViewpoint(); - } + public List ownedViewpoint => this.ComputeOwnedViewpoint(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -941,10 +747,7 @@ public List QueryOwnedViewpoint() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -953,10 +756,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -965,10 +765,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -985,10 +782,7 @@ public INamespace QueryOwningNamespace() [Property(xmiId: "_18_5_3_12e503d9_1543948010065_362066_20413", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IBehavior.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -1000,10 +794,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// An optional modeler-specified identifier for this RequirementDefinition (used, e.g., to link it to @@ -1023,10 +814,7 @@ public string QueryQualifiedName() [Property(xmiId: "_19_0_2_12e503d9_1583376932997_792124_158", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IRequirementDefinition.RequiredConstraint")] - public List QueryRequiredConstraint() - { - return this.ComputeRequiredConstraint(); - } + public List requiredConstraint => this.ComputeRequiredConstraint(); /// /// The object or value that is the result of evaluating the Function. @@ -1035,10 +823,7 @@ public List QueryRequiredConstraint() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] [Implements(implementation: "IFunction.Result")] - public IFeature QueryResult() - { - return this.ComputeResult(); - } + public IFeature result => this.ComputeResult(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1048,10 +833,7 @@ public IFeature QueryResult() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The parameters of this RequirementDefinition that represent stakeholders for th requirement. @@ -1060,10 +842,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IRequirementDefinition.StakeholderParameter")] - public List QueryStakeholderParameter() - { - return this.ComputeStakeholderParameter(); - } + public List stakeholderParameter => this.ComputeStakeholderParameter(); /// /// The Steps that make up this Behavior. @@ -1071,10 +850,7 @@ public List QueryStakeholderParameter() [Property(xmiId: "_18_5_3_b9102da_1536346067212_587255_17343", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IBehavior.Step")] - public List QueryStep() - { - return this.ComputeStep(); - } + public List step => this.ComputeStep(); /// /// The parameter of this RequirementDefinition that represents its subject. @@ -1083,10 +859,7 @@ public List QueryStep() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543948010065_362066_20413")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_48981_27786")] [Implements(implementation: "IRequirementDefinition.SubjectParameter")] - public IUsage QuerySubjectParameter() - { - return this.ComputeSubjectParameter(); - } + public IUsage subjectParameter => this.ComputeSubjectParameter(); /// /// An optional textual statement of the requirement represented by this RequirementDefinition, derived @@ -1094,10 +867,7 @@ public IUsage QuerySubjectParameter() /// [Property(xmiId: "_19_0_2_12e503d9_1583376433122_189839_94", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IRequirementDefinition.Text")] - public List QueryText() - { - return this.ComputeText(); - } + public List text => this.ComputeText(); /// /// The TextualRepresentations that annotate this Element. @@ -1106,10 +876,7 @@ public List QueryText() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1120,10 +887,7 @@ public List QueryTextualRepresentation() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Definition (not necessarily owned). @@ -1131,10 +895,7 @@ public List QueryUnioningType() [Property(xmiId: "_18_5_3_12e503d9_1565498571495_48981_27786", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IDefinition.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Definition as a variation point Definition, if @@ -1143,10 +904,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979457191_746167_951", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IDefinition.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Definition that are VariantMemberships. If isVariation = true, then @@ -1156,10 +914,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979005861_503124_894", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IDefinition.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); /// /// The PartUsages that identify the stakeholders with concerns framed by this ViewpointDefinition, @@ -1168,10 +923,7 @@ public List QueryVariantMembership() /// [Property(xmiId: "_19_0_4_12e503d9_1617117194003_518610_3310", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IViewpointDefinition.ViewpointStakeholder")] - public List QueryViewpointStakeholder() - { - return this.ComputeViewpointStakeholder(); - } + public List viewpointStakeholder => this.ComputeViewpointStakeholder(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/ViewpointUsage.cs b/SysML2.NET/Core/AutoGenPoco/ViewpointUsage.cs index e75831a5..67f6227c 100644 --- a/SysML2.NET/Core/AutoGenPoco/ViewpointUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/ViewpointUsage.cs @@ -83,10 +83,7 @@ public partial class ViewpointUsage : IViewpointUsage [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IRequirementUsage.ActorParameter")] - public List QueryActorParameter() - { - return this.ComputeActorParameter(); - } + public List actorParameter => this.ComputeActorParameter(); /// /// Various alternative identifiers for this Element. Generally, these will be set by tools. @@ -103,10 +100,7 @@ public List QueryActorParameter() [Property(xmiId: "_19_0_2_12e503d9_1583377612865_991722_535", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IRequirementUsage.AssumedConstraint")] - public List QueryAssumedConstraint() - { - return this.ComputeAssumedConstraint(); - } + public List assumedConstraint => this.ComputeAssumedConstraint(); /// /// The Behaviors that type this Step. @@ -115,10 +109,7 @@ public List QueryAssumedConstraint() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IExpression.Function")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IExpression.Function"); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -130,10 +121,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The (single) Predicate that is the type of this ConstraintUsage. Nominally, this will be a @@ -144,10 +132,7 @@ public List QueryChainingFeature() [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1578025035149_386_969")] [RedefinedByProperty("IRequirementUsage.RequirementDefinition")] [Implements(implementation: "IConstraintUsage.ConstraintDefinition")] - public IPredicate QueryConstraintDefinition() - { - return this.ComputeConstraintDefinition(); - } + IPredicate Systems.Constraints.IConstraintUsage.constraintDefinition => throw new InvalidOperationException("Redefined by property IRequirementUsage.RequirementDefinition"); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -157,10 +142,7 @@ public IPredicate QueryConstraintDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -178,7 +160,11 @@ public IFeature QueryCrossFeature() [Property(xmiId: "_19_0_2_12e503d9_1594160442439_915308_4153", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IRequirementUsage.ReqId")] [Implements(implementation: "IElement.DeclaredShortName")] - public string DeclaredShortName { get; set; } + string Root.Elements.IElement.DeclaredShortName + { + get => throw new InvalidOperationException("Redefined by property IRequirementUsage.ReqId"); + set => throw new InvalidOperationException("Redefined by property IRequirementUsage.ReqId"); + } /// /// The Classifiers that are the types of this Usage. Nominally, these are Definitions, but other kinds @@ -189,10 +175,7 @@ public IFeature QueryCrossFeature() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] [Implements(implementation: "IUsage.Definition")] - public List QueryDefinition() - { - return this.ComputeDefinition(); - } + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -205,10 +188,7 @@ public List QueryDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -217,10 +197,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// The usages of this Usage that are directedFeatures. @@ -229,10 +206,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -249,10 +223,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -268,10 +239,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -281,10 +249,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -292,10 +257,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -304,20 +266,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -327,10 +283,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The ConcernUsages framed by this RequirementUsage, which are the ownedConcerns of all @@ -339,10 +292,7 @@ public List QueryFeaturingType() [Property(xmiId: "_19_0_4_12e503d9_1617116922864_514612_3264", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583377448339_252740_390")] [Implements(implementation: "IRequirementUsage.FramedConcern")] - public List QueryFramedConcern() - { - return this.ComputeFramedConcern(); - } + public List framedConcern => this.ComputeFramedConcern(); /// /// The Function that types this Expression. @@ -351,10 +301,7 @@ public List QueryFramedConcern() [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [RedefinedByProperty("IBooleanExpression.Predicate")] [Implements(implementation: "IExpression.Function")] - public IFunction QueryFunction() - { - return this.ComputeFunction(); - } + IFunction Kernel.Functions.IExpression.function => throw new InvalidOperationException("Redefined by property IBooleanExpression.Predicate"); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -362,10 +309,7 @@ public IFunction QueryFunction() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// The at most one occurrenceDefinition that has isIndividual = true. @@ -373,10 +317,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public IOccurrenceDefinition QueryIndividualDefinition() - { - return this.ComputeIndividualDefinition(); - } + public IOccurrenceDefinition individualDefinition => this.ComputeIndividualDefinition(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -384,10 +325,7 @@ public IOccurrenceDefinition QueryIndividualDefinition() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -396,10 +334,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -407,10 +342,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -423,10 +355,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -450,10 +379,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -508,10 +434,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether this Expression meets the constraints necessary to be evaluated at model level, that is, @@ -519,10 +442,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1609957047704_424471_48", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IExpression.IsModelLevelEvaluable")] - public bool QueryIsModelLevelEvaluable() - { - return this.ComputeIsModelLevelEvaluable(); - } + public bool isModelLevelEvaluable => this.ComputeIsModelLevelEvaluable(); /// /// Whether an order exists for the values of this Feature or not. @@ -544,10 +464,7 @@ public bool QueryIsModelLevelEvaluable() /// [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IUsage.IsReference")] - public bool QueryIsReference() - { - return this.ComputeIsReference(); - } + public bool isReference => this.ComputeIsReference(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -575,7 +492,11 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -596,10 +517,7 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool QueryMayTimeVary() - { - return this.ComputeMayTimeVary(); - } + public bool mayTimeVary => this.ComputeMayTimeVary(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -607,10 +525,7 @@ public bool QueryMayTimeVary() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -618,10 +533,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -631,10 +543,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -644,10 +553,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ActionUsages that are nestedUsages of this Usage. @@ -655,10 +561,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List QueryNestedAction() - { - return this.ComputeNestedAction(); - } + public List nestedAction => this.ComputeNestedAction(); /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -666,10 +569,7 @@ public List QueryNestedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List QueryNestedAllocation() - { - return this.ComputeNestedAllocation(); - } + public List nestedAllocation => this.ComputeNestedAllocation(); /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -677,10 +577,7 @@ public List QueryNestedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List QueryNestedAnalysisCase() - { - return this.ComputeNestedAnalysisCase(); - } + public List nestedAnalysisCase => this.ComputeNestedAnalysisCase(); /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -688,10 +585,7 @@ public List QueryNestedAnalysisCase() [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List QueryNestedAttribute() - { - return this.ComputeNestedAttribute(); - } + public List nestedAttribute => this.ComputeNestedAttribute(); /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -699,10 +593,7 @@ public List QueryNestedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List QueryNestedCalculation() - { - return this.ComputeNestedCalculation(); - } + public List nestedCalculation => this.ComputeNestedCalculation(); /// /// The CaseUsages that are nestedUsages of this Usage. @@ -710,10 +601,7 @@ public List QueryNestedCalculation() [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List QueryNestedCase() - { - return this.ComputeNestedCase(); - } + public List nestedCase => this.ComputeNestedCase(); /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -721,10 +609,7 @@ public List QueryNestedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List QueryNestedConcern() - { - return this.ComputeNestedConcern(); - } + public List nestedConcern => this.ComputeNestedConcern(); /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -734,10 +619,7 @@ public List QueryNestedConcern() [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List QueryNestedConnection() - { - return this.ComputeNestedConnection(); - } + public List nestedConnection => this.ComputeNestedConnection(); /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -745,10 +627,7 @@ public List QueryNestedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List QueryNestedConstraint() - { - return this.ComputeNestedConstraint(); - } + public List nestedConstraint => this.ComputeNestedConstraint(); /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -756,10 +635,7 @@ public List QueryNestedConstraint() [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List QueryNestedEnumeration() - { - return this.ComputeNestedEnumeration(); - } + public List nestedEnumeration => this.ComputeNestedEnumeration(); /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -767,10 +643,7 @@ public List QueryNestedEnumeration() [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List QueryNestedFlow() - { - return this.ComputeNestedFlow(); - } + public List nestedFlow => this.ComputeNestedFlow(); /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -778,10 +651,7 @@ public List QueryNestedFlow() [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List QueryNestedInterface() - { - return this.ComputeNestedInterface(); - } + public List nestedInterface => this.ComputeNestedInterface(); /// /// The ItemUsages that are nestedUsages of this Usage. @@ -789,10 +659,7 @@ public List QueryNestedInterface() [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List QueryNestedItem() - { - return this.ComputeNestedItem(); - } + public List nestedItem => this.ComputeNestedItem(); /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -800,10 +667,7 @@ public List QueryNestedItem() [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List QueryNestedMetadata() - { - return this.ComputeNestedMetadata(); - } + public List nestedMetadata => this.ComputeNestedMetadata(); /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -811,10 +675,7 @@ public List QueryNestedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List QueryNestedOccurrence() - { - return this.ComputeNestedOccurrence(); - } + public List nestedOccurrence => this.ComputeNestedOccurrence(); /// /// The PartUsages that are nestedUsages of this Usage. @@ -822,10 +683,7 @@ public List QueryNestedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List QueryNestedPart() - { - return this.ComputeNestedPart(); - } + public List nestedPart => this.ComputeNestedPart(); /// /// The PortUsages that are nestedUsages of this Usage. @@ -833,10 +691,7 @@ public List QueryNestedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List QueryNestedPort() - { - return this.ComputeNestedPort(); - } + public List nestedPort => this.ComputeNestedPort(); /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -844,10 +699,7 @@ public List QueryNestedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List QueryNestedReference() - { - return this.ComputeNestedReference(); - } + public List nestedReference => this.ComputeNestedReference(); /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -855,10 +707,7 @@ public List QueryNestedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List QueryNestedRendering() - { - return this.ComputeNestedRendering(); - } + public List nestedRendering => this.ComputeNestedRendering(); /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -866,10 +715,7 @@ public List QueryNestedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List QueryNestedRequirement() - { - return this.ComputeNestedRequirement(); - } + public List nestedRequirement => this.ComputeNestedRequirement(); /// /// The StateUsages that are nestedUsages of this Usage. @@ -877,10 +723,7 @@ public List QueryNestedRequirement() [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List QueryNestedState() - { - return this.ComputeNestedState(); - } + public List nestedState => this.ComputeNestedState(); /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -888,10 +731,7 @@ public List QueryNestedState() [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List QueryNestedTransition() - { - return this.ComputeNestedTransition(); - } + public List nestedTransition => this.ComputeNestedTransition(); /// /// The Usages that are ownedFeatures of this Usage. @@ -900,10 +740,7 @@ public List QueryNestedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List QueryNestedUsage() - { - return this.ComputeNestedUsage(); - } + public List nestedUsage => this.ComputeNestedUsage(); /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -911,10 +748,7 @@ public List QueryNestedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List QueryNestedUseCase() - { - return this.ComputeNestedUseCase(); - } + public List nestedUseCase => this.ComputeNestedUseCase(); /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -922,10 +756,7 @@ public List QueryNestedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List QueryNestedVerificationCase() - { - return this.ComputeNestedVerificationCase(); - } + public List nestedVerificationCase => this.ComputeNestedVerificationCase(); /// /// The ViewUsages that are nestedUsages of this Usage. @@ -933,10 +764,7 @@ public List QueryNestedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List QueryNestedView() - { - return this.ComputeNestedView(); - } + public List nestedView => this.ComputeNestedView(); /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -944,10 +772,7 @@ public List QueryNestedView() [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List QueryNestedViewpoint() - { - return this.ComputeNestedViewpoint(); - } + public List nestedViewpoint => this.ComputeNestedViewpoint(); /// /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, @@ -957,10 +782,7 @@ public List QueryNestedViewpoint() [Property(xmiId: "_19_0_4_12e503d9_1618943843466_158863_236", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List QueryOccurrenceDefinition() - { - return this.ComputeOccurrenceDefinition(); - } + public List occurrenceDefinition => this.ComputeOccurrenceDefinition(); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -968,10 +790,7 @@ public List QueryOccurrenceDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -981,10 +800,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -993,10 +809,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -1005,10 +818,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -1018,10 +828,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -1031,10 +838,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -1042,10 +846,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -1054,10 +855,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -1065,10 +863,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -1078,10 +873,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -1091,10 +883,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -1104,10 +893,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -1117,10 +903,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -1129,10 +912,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -1141,10 +921,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -1155,10 +932,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -1167,10 +941,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -1179,10 +950,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -1200,10 +968,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -1213,10 +978,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -1226,10 +988,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -1239,10 +998,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1251,10 +1007,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1262,10 +1015,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The Definition that owns this Usage (if any). @@ -1274,10 +1024,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public IDefinition QueryOwningDefinition() - { - return this.ComputeOwningDefinition(); - } + public IDefinition owningDefinition => this.ComputeOwningDefinition(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1285,10 +1032,7 @@ public IDefinition QueryOwningDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1297,10 +1041,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1309,10 +1050,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -1330,10 +1068,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The Usage in which this Usage is nested (if any). @@ -1341,10 +1076,7 @@ public IType QueryOwningType() [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public IUsage QueryOwningUsage() - { - return this.ComputeOwningUsage(); - } + public IUsage owningUsage => this.ComputeOwningUsage(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -1353,10 +1085,7 @@ public IUsage QueryOwningUsage() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If @@ -1374,10 +1103,7 @@ public List QueryParameter() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1543948477241_299049_20934")] [RedefinedByProperty("IConstraintUsage.ConstraintDefinition")] [Implements(implementation: "IBooleanExpression.Predicate")] - public IPredicate QueryPredicate() - { - return this.ComputePredicate(); - } + IPredicate Kernel.Functions.IBooleanExpression.predicate => throw new InvalidOperationException("Redefined by property IConstraintUsage.ConstraintDefinition"); /// /// The full ownership-qualified name of this Element, represented in a form that is valid according to @@ -1389,10 +1115,7 @@ public IPredicate QueryPredicate() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// An optional modeler-specified identifier for this RequirementUsage (used, e.g., to link it to an @@ -1412,10 +1135,7 @@ public string QueryQualifiedName() [Property(xmiId: "_19_0_2_12e503d9_1583377448339_252740_390", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IRequirementUsage.RequiredConstraint")] - public List QueryRequiredConstraint() - { - return this.ComputeRequiredConstraint(); - } + public List requiredConstraint => this.ComputeRequiredConstraint(); /// /// The RequirementDefinition that is the single definition of this RequirementUsage. @@ -1424,10 +1144,7 @@ public List QueryRequiredConstraint() [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1578067546711_751168_1745")] [RedefinedByProperty("IViewpointUsage.ViewpointDefinition")] [Implements(implementation: "IRequirementUsage.RequirementDefinition")] - public IRequirementDefinition QueryRequirementDefinition() - { - return this.ComputeRequirementDefinition(); - } + IRequirementDefinition Systems.Requirements.IRequirementUsage.requirementDefinition => throw new InvalidOperationException("Redefined by property IViewpointUsage.ViewpointDefinition"); /// /// An output parameter of the Expression whose value is the result of the Expression. The result of an @@ -1438,10 +1155,7 @@ public IRequirementDefinition QueryRequirementDefinition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674960_365618_43170")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [Implements(implementation: "IExpression.Result")] - public IFeature QueryResult() - { - return this.ComputeResult(); - } + public IFeature result => this.ComputeResult(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1451,10 +1165,7 @@ public IFeature QueryResult() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The parameters of this RequirementUsage that represent stakeholders for the requirement. @@ -1463,10 +1174,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IRequirementUsage.StakeholderParameter")] - public List QueryStakeholderParameter() - { - return this.ComputeStakeholderParameter(); - } + public List stakeholderParameter => this.ComputeStakeholderParameter(); /// /// The parameter of this RequirementUsage that represents its subject. @@ -1475,10 +1183,7 @@ public List QueryStakeholderParameter() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1595189174990_213826_657")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IRequirementUsage.SubjectParameter")] - public IUsage QuerySubjectParameter() - { - return this.ComputeSubjectParameter(); - } + public IUsage subjectParameter => this.ComputeSubjectParameter(); /// /// An optional textual statement of the requirement represented by this RequirementUsage, derived from @@ -1486,10 +1191,7 @@ public IUsage QuerySubjectParameter() /// [Property(xmiId: "_19_0_2_12e503d9_1583376480942_745679_99", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IRequirementUsage.Text")] - public List QueryText() - { - return this.ComputeText(); - } + public List text => this.ComputeText(); /// /// The TextualRepresentations that annotate this Element. @@ -1498,10 +1200,7 @@ public List QueryText() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1512,10 +1211,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1526,10 +1222,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1537,10 +1230,7 @@ public List QueryUnioningType() [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1549,10 +1239,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1561,10 +1248,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); /// /// The ViewpointDefinition that is the definition of this ViewpointUsage. @@ -1572,10 +1256,7 @@ public List QueryVariantMembership() [Property(xmiId: "_19_0_2_12e503d9_1596649684798_569222_3524", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1583000408905_769743_1223")] [Implements(implementation: "IViewpointUsage.ViewpointDefinition")] - public IViewpointDefinition QueryViewpointDefinition() - { - return this.ComputeViewpointDefinition(); - } + public IViewpointDefinition viewpointDefinition => this.ComputeViewpointDefinition(); /// /// The PartUsages that identify the stakeholders with concerns framed by this ViewpointUsage, which are @@ -1583,10 +1264,7 @@ public IViewpointDefinition QueryViewpointDefinition() /// [Property(xmiId: "_19_0_4_12e503d9_1617117200628_940407_3323", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IViewpointUsage.ViewpointStakeholder")] - public List QueryViewpointStakeholder() - { - return this.ComputeViewpointStakeholder(); - } + public List viewpointStakeholder => this.ComputeViewpointStakeholder(); } } diff --git a/SysML2.NET/Core/AutoGenPoco/WhileLoopActionUsage.cs b/SysML2.NET/Core/AutoGenPoco/WhileLoopActionUsage.cs index 514c03d8..88efef60 100644 --- a/SysML2.NET/Core/AutoGenPoco/WhileLoopActionUsage.cs +++ b/SysML2.NET/Core/AutoGenPoco/WhileLoopActionUsage.cs @@ -89,10 +89,7 @@ public partial class WhileLoopActionUsage : IWhileLoopActionUsage [RedefinedProperty(propertyName: "_18_5_3_b9102da_1536346315176_954314_17388")] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IActionUsage.ActionDefinition")] - public List QueryActionDefinition() - { - return this.ComputeActionDefinition(); - } + public List actionDefinition => this.ComputeActionDefinition(); /// /// Various alternative identifiers for this Element. Generally, these will be set by tools. @@ -108,10 +105,7 @@ public List QueryActionDefinition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IActionUsage.ActionDefinition")] [Implements(implementation: "IStep.Behavior")] - public List QueryBehavior() - { - return this.ComputeBehavior(); - } + List Kernel.Behaviors.IStep.behavior => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); /// /// The ActionUsage to be performed repeatedly by the LoopActionUsage. It is the second parameter of the @@ -119,10 +113,7 @@ public List QueryBehavior() /// [Property(xmiId: "_19_0_4_12e503d9_1624203902575_509097_3869", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "ILoopActionUsage.BodyAction")] - public IActionUsage QueryBodyAction() - { - return this.ComputeBodyAction(); - } + public IActionUsage bodyAction => this.ComputeBodyAction(); /// /// The Feature that are chained together to determine the values of this Feature, derived from the @@ -134,10 +125,7 @@ public IActionUsage QueryBodyAction() /// [Property(xmiId: "_19_0_4_b9102da_1619792219511_543311_445", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: false, defaultValue: null)] [Implements(implementation: "IFeature.ChainingFeature")] - public List QueryChainingFeature() - { - return this.ComputeChainingFeature(); - } + public List chainingFeature => this.ComputeChainingFeature(); /// /// The second chainingFeature of the crossedFeature of the ownedCrossSubsetting of this Feature, if it @@ -147,10 +135,7 @@ public List QueryChainingFeature() /// [Property(xmiId: "_19_0_4_b9102da_1689616227528_355910_218", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.CrossFeature")] - public IFeature QueryCrossFeature() - { - return this.ComputeCrossFeature(); - } + public IFeature crossFeature => this.ComputeCrossFeature(); /// /// The declared name of this Element. @@ -178,10 +163,7 @@ public IFeature QueryCrossFeature() [RedefinedProperty(propertyName: "_18_5_3_12e503d9_1533160674969_376003_43216")] [RedefinedByProperty("IOccurrenceUsage.OccurrenceDefinition")] [Implements(implementation: "IUsage.Definition")] - public List QueryDefinition() - { - return this.ComputeDefinition(); - } + List Systems.DefinitionAndUsage.IUsage.definition => throw new InvalidOperationException("Redefined by property IOccurrenceUsage.OccurrenceDefinition"); /// /// The interpretations of a Type with differencingTypes are asserted to be those of the first of those @@ -194,10 +176,7 @@ public List QueryDefinition() /// [Property(xmiId: "_19_0_4_b9102da_1661975883472_645501_1372", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.DifferencingType")] - public List QueryDifferencingType() - { - return this.ComputeDifferencingType(); - } + public List differencingType => this.ComputeDifferencingType(); /// /// The features of this Type that have a non-null direction. @@ -206,10 +185,7 @@ public List QueryDifferencingType() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [RedefinedByProperty("IStep.Parameter")] [Implements(implementation: "IType.DirectedFeature")] - public List QueryDirectedFeature() - { - return this.ComputeDirectedFeature(); - } + List Core.Types.IType.directedFeature => throw new InvalidOperationException("Redefined by property IStep.Parameter"); /// /// The usages of this Usage that are directedFeatures. @@ -218,10 +194,7 @@ public List QueryDirectedFeature() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.DirectedUsage")] - public List QueryDirectedUsage() - { - return this.ComputeDirectedUsage(); - } + public List directedUsage => this.ComputeDirectedUsage(); /// /// Indicates how values of this Feature are determined or used (as specified for the @@ -238,10 +211,7 @@ public List QueryDirectedUsage() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.Documentation")] - public List QueryDocumentation() - { - return this.ComputeDocumentation(); - } + public List documentation => this.ComputeDocumentation(); /// /// The globally unique identifier for this Element. This is intended to be set by tooling, and it must @@ -257,10 +227,7 @@ public List QueryDocumentation() [Property(xmiId: "_18_5_3_12e503d9_1562476168385_824569_22106", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.EndFeature")] - public List QueryEndFeature() - { - return this.ComputeEndFeature(); - } + public List endFeature => this.ComputeEndFeature(); /// /// The Type that is related to this Feature by an EndFeatureMembership in which the Feature is an @@ -270,10 +237,7 @@ public List QueryEndFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168386_366266_22107")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IFeature.EndOwningType")] - public IType QueryEndOwningType() - { - return this.ComputeEndOwningType(); - } + public IType endOwningType => this.ComputeEndOwningType(); /// /// The ownedMemberFeatures of the featureMemberships of this Type. @@ -281,10 +245,7 @@ public IType QueryEndOwningType() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_326391_43166", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "IType.Feature")] - public List QueryFeature() - { - return this.ComputeFeature(); - } + public List feature => this.ComputeFeature(); /// /// The FeatureMemberships for features of this Type, which include all ownedFeatureMemberships and @@ -293,20 +254,14 @@ public List QueryFeature() /// [Property(xmiId: "_19_0_4_12e503d9_1651076866512_962346_485", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.FeatureMembership")] - public List QueryFeatureMembership() - { - return this.ComputeFeatureMembership(); - } + public List featureMembership => this.ComputeFeatureMembership(); /// /// The last of the chainingFeatures of this Feature, if it has any. Otherwise, this Feature itself. /// [Property(xmiId: "_2022x_2_12e503d9_1715790852907_110671_19", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeatureTarget")] - public IFeature QueryFeatureTarget() - { - return this.ComputeFeatureTarget(); - } + public IFeature featureTarget => this.ComputeFeatureTarget(); /// /// Types that feature this Feature, such that any instance in the domain of the Feature must be @@ -316,10 +271,7 @@ public IFeature QueryFeatureTarget() /// [Property(xmiId: "_19_0_4_12e503d9_1603905619975_304385_743", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IFeature.FeaturingType")] - public List QueryFeaturingType() - { - return this.ComputeFeaturingType(); - } + public List featuringType => this.ComputeFeaturingType(); /// /// The Memberships in this Namespace that result from the ownedImports of this Namespace. @@ -327,10 +279,7 @@ public List QueryFeaturingType() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_207869_43270", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "INamespace.ImportedMembership")] - public List QueryImportedMembership() - { - return this.ComputeImportedMembership(); - } + public List importedMembership => this.ComputeImportedMembership(); /// /// The at most one occurrenceDefinition that has isIndividual = true. @@ -338,10 +287,7 @@ public List QueryImportedMembership() [Property(xmiId: "_19_0_4_12e503d9_1618958878775_52798_7090", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943843466_158863_236")] [Implements(implementation: "IOccurrenceUsage.IndividualDefinition")] - public IOccurrenceDefinition QueryIndividualDefinition() - { - return this.ComputeIndividualDefinition(); - } + public IOccurrenceDefinition individualDefinition => this.ComputeIndividualDefinition(); /// /// All the memberFeatures of the inheritedMemberships of this Type that are FeatureMemberships. @@ -349,10 +295,7 @@ public IOccurrenceDefinition QueryIndividualDefinition() [Property(xmiId: "_19_0_2_12e503d9_1575499020770_15576_2334", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IType.InheritedFeature")] - public List QueryInheritedFeature() - { - return this.ComputeInheritedFeature(); - } + public List inheritedFeature => this.ComputeInheritedFeature(); /// /// All Memberships inherited by this Type via Specialization or Conjugation. These are included in the @@ -361,10 +304,7 @@ public List QueryInheritedFeature() [Property(xmiId: "_18_5_3_12e503d9_1551972927538_787976_19004", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674962_198288_43183")] [Implements(implementation: "IType.InheritedMembership")] - public List QueryInheritedMembership() - { - return this.ComputeInheritedMembership(); - } + public List inheritedMembership => this.ComputeInheritedMembership(); /// /// All features related to this Type by FeatureMemberships that have direction in or inout. @@ -372,10 +312,7 @@ public List QueryInheritedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_37384_43169", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Input")] - public List QueryInput() - { - return this.ComputeInput(); - } + public List input => this.ComputeInput(); /// /// The interpretations of a Type with intersectingTypes are asserted to be those in common among the @@ -388,10 +325,7 @@ public List QueryInput() /// [Property(xmiId: "_19_0_4_b9102da_1661973922199_584242_1045", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IntersectingType")] - public List QueryIntersectingType() - { - return this.ComputeIntersectingType(); - } + public List intersectingType => this.ComputeIntersectingType(); /// /// Indicates whether instances of this Type must also be instances of at least one of its specialized @@ -415,10 +349,7 @@ public List QueryIntersectingType() /// [Property(xmiId: "_19_0_2_12e503d9_1575485930816_796088_1933", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.IsConjugated")] - public bool QueryIsConjugated() - { - return this.ComputeIsConjugated(); - } + public bool isConjugated => this.ComputeIsConjugated(); /// /// If isVariable is true, then whether the value of this Feature nevertheless does not change over all @@ -473,10 +404,7 @@ public bool QueryIsConjugated() /// [Property(xmiId: "_19_0_4_12e503d9_1665443500960_5561_723", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.IsLibraryElement")] - public bool QueryIsLibraryElement() - { - return this.ComputeIsLibraryElement(); - } + public bool isLibraryElement => this.ComputeIsLibraryElement(); /// /// Whether an order exists for the values of this Feature or not. @@ -498,10 +426,7 @@ public bool QueryIsLibraryElement() /// [Property(xmiId: "_19_0_4_12e503d9_1624035114787_488767_41423", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IUsage.IsReference")] - public bool QueryIsReference() - { - return this.ComputeIsReference(); - } + public bool isReference => this.ComputeIsReference(); /// /// Whether all things that meet the classification conditions of this Type must be classified by the @@ -529,7 +454,11 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1725998273002_23711_212", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: false, isDerivedUnion: false, isUnique: true, defaultValue: "false")] [RedefinedByProperty("IUsage.MayTimeVary")] [Implements(implementation: "IFeature.IsVariable")] - public bool IsVariable { get; set; } + bool Core.Features.IFeature.IsVariable + { + get => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + set => throw new InvalidOperationException("Redefined by property IUsage.MayTimeVary"); + } /// /// Whether this Usage is for a variation point or not. If true, then all the memberships of the Usage @@ -550,10 +479,7 @@ public bool QueryIsReference() [Property(xmiId: "_2022x_2_12e503d9_1737227200362_771035_69", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_2022x_2_12e503d9_1725998273002_23711_212")] [Implements(implementation: "IUsage.MayTimeVary")] - public bool QueryMayTimeVary() - { - return this.ComputeMayTimeVary(); - } + public bool mayTimeVary => this.ComputeMayTimeVary(); /// /// The set of all member Elements of this Namespace, which are the memberElements of all memberships of @@ -561,10 +487,7 @@ public bool QueryMayTimeVary() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674979_644335_43267", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Member")] - public List QueryMember() - { - return this.ComputeMember(); - } + public List member => this.ComputeMember(); /// /// All Memberships in this Namespace, including (at least) the union of ownedMemberships and @@ -572,10 +495,7 @@ public List QueryMember() /// [Property(xmiId: "_18_5_3_12e503d9_1533160674962_198288_43183", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: true, isUnique: true, defaultValue: null)] [Implements(implementation: "INamespace.Membership")] - public List QueryMembership() - { - return this.ComputeMembership(); - } + public List membership => this.ComputeMembership(); /// /// An ownedMember of this Type that is a Multiplicity, which constraints the cardinality of the Type. @@ -585,10 +505,7 @@ public List QueryMembership() [Property(xmiId: "_19_0_2_12e503d9_1573095852093_324833_5396", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.Multiplicity")] - public IMultiplicity QueryMultiplicity() - { - return this.ComputeMultiplicity(); - } + public IMultiplicity multiplicity => this.ComputeMultiplicity(); /// /// The name to be used for this Element during name resolution within its owningNamespace. This is @@ -598,10 +515,7 @@ public IMultiplicity QueryMultiplicity() /// [Property(xmiId: "_19_0_4_12e503d9_1617485009541_709355_27528", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Name")] - public string QueryName() - { - return this.ComputeName(); - } + public string name => this.ComputeName(); /// /// The ActionUsages that are nestedUsages of this Usage. @@ -609,10 +523,7 @@ public string QueryName() [Property(xmiId: "_18_5_3_12e503d9_1565501745142_70952_31609", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedAction")] - public List QueryNestedAction() - { - return this.ComputeNestedAction(); - } + public List nestedAction => this.ComputeNestedAction(); /// /// The AllocationUsages that are nestedUsages of this Usage. @@ -620,10 +531,7 @@ public List QueryNestedAction() [Property(xmiId: "_19_0_4_12e503d9_1611430983774_648557_1053", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedAllocation")] - public List QueryNestedAllocation() - { - return this.ComputeNestedAllocation(); - } + public List nestedAllocation => this.ComputeNestedAllocation(); /// /// The AnalysisCaseUsages that are nestedUsages of this Usage. @@ -631,10 +539,7 @@ public List QueryNestedAllocation() [Property(xmiId: "_19_0_2_12e503d9_1591152666850_226358_3749", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedAnalysisCase")] - public List QueryNestedAnalysisCase() - { - return this.ComputeNestedAnalysisCase(); - } + public List nestedAnalysisCase => this.ComputeNestedAnalysisCase(); /// /// The code>AttributeUsages that are nestedUsages of this Usage. @@ -642,10 +547,7 @@ public List QueryNestedAnalysisCase() [Property(xmiId: "_19_0_2_12e503d9_1591500785349_111324_4486", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedAttribute")] - public List QueryNestedAttribute() - { - return this.ComputeNestedAttribute(); - } + public List nestedAttribute => this.ComputeNestedAttribute(); /// /// The CalculationUsage that are nestedUsages of this Usage. @@ -653,10 +555,7 @@ public List QueryNestedAttribute() [Property(xmiId: "_19_0_2_12e503d9_1588215112283_215964_632", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedCalculation")] - public List QueryNestedCalculation() - { - return this.ComputeNestedCalculation(); - } + public List nestedCalculation => this.ComputeNestedCalculation(); /// /// The CaseUsages that are nestedUsages of this Usage. @@ -664,10 +563,7 @@ public List QueryNestedCalculation() [Property(xmiId: "_19_0_2_12e503d9_1591135021853_494751_737", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1588215112283_215964_632")] [Implements(implementation: "IUsage.NestedCase")] - public List QueryNestedCase() - { - return this.ComputeNestedCase(); - } + public List nestedCase => this.ComputeNestedCase(); /// /// The ConcernUsages that are nestedUsages of this Usage. @@ -675,10 +571,7 @@ public List QueryNestedCase() [Property(xmiId: "_19_0_4_12e503d9_1617051711833_106553_1460", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedConcern")] - public List QueryNestedConcern() - { - return this.ComputeNestedConcern(); - } + public List nestedConcern => this.ComputeNestedConcern(); /// /// The ConnectorAsUsages that are nestedUsages of this Usage. Note that this list includes @@ -688,10 +581,7 @@ public List QueryNestedConcern() [Property(xmiId: "_19_0_2_12e503d9_1591479754895_422988_1242", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedConnection")] - public List QueryNestedConnection() - { - return this.ComputeNestedConnection(); - } + public List nestedConnection => this.ComputeNestedConnection(); /// /// The ConstraintUsages that are nestedUsages of this Usage. @@ -699,10 +589,7 @@ public List QueryNestedConnection() [Property(xmiId: "_19_0_2_12e503d9_1578067664051_434365_1774", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedConstraint")] - public List QueryNestedConstraint() - { - return this.ComputeNestedConstraint(); - } + public List nestedConstraint => this.ComputeNestedConstraint(); /// /// The code>EnumerationUsages that are nestedUsages of this Usage. @@ -710,10 +597,7 @@ public List QueryNestedConstraint() [Property(xmiId: "_19_0_4_12e503d9_1606946589000_158124_239", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591500785349_111324_4486")] [Implements(implementation: "IUsage.NestedEnumeration")] - public List QueryNestedEnumeration() - { - return this.ComputeNestedEnumeration(); - } + public List nestedEnumeration => this.ComputeNestedEnumeration(); /// /// The code>FlowUsages that are nestedUsages of this Usage. @@ -721,10 +605,7 @@ public List QueryNestedEnumeration() [Property(xmiId: "_19_0_4_12e503d9_1624054938718_124518_1464", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedFlow")] - public List QueryNestedFlow() - { - return this.ComputeNestedFlow(); - } + public List nestedFlow => this.ComputeNestedFlow(); /// /// The InterfaceUsages that are nestedUsages of this Usage. @@ -732,10 +613,7 @@ public List QueryNestedFlow() [Property(xmiId: "_19_0_2_12e503d9_1591498454569_383419_3839", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591479754895_422988_1242")] [Implements(implementation: "IUsage.NestedInterface")] - public List QueryNestedInterface() - { - return this.ComputeNestedInterface(); - } + public List nestedInterface => this.ComputeNestedInterface(); /// /// The ItemUsages that are nestedUsages of this Usage. @@ -743,10 +621,7 @@ public List QueryNestedInterface() [Property(xmiId: "_19_0_2_12e503d9_1591482421103_284620_2978", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1618943853976_48759_278")] [Implements(implementation: "IUsage.NestedItem")] - public List QueryNestedItem() - { - return this.ComputeNestedItem(); - } + public List nestedItem => this.ComputeNestedItem(); /// /// The MetadataUsages that are nestedUsages of this of this Usage. @@ -754,10 +629,7 @@ public List QueryNestedItem() [Property(xmiId: "_19_0_4_12e503d9_1661488589862_120785_2970", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedMetadata")] - public List QueryNestedMetadata() - { - return this.ComputeNestedMetadata(); - } + public List nestedMetadata => this.ComputeNestedMetadata(); /// /// The OccurrenceUsages that are nestedUsages of this Usage. @@ -765,10 +637,7 @@ public List QueryNestedMetadata() [Property(xmiId: "_19_0_4_12e503d9_1618943853976_48759_278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedOccurrence")] - public List QueryNestedOccurrence() - { - return this.ComputeNestedOccurrence(); - } + public List nestedOccurrence => this.ComputeNestedOccurrence(); /// /// The PartUsages that are nestedUsages of this Usage. @@ -776,10 +645,7 @@ public List QueryNestedOccurrence() [Property(xmiId: "_19_0_2_12e503d9_1591496406876_479979_3188", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591482421103_284620_2978")] [Implements(implementation: "IUsage.NestedPart")] - public List QueryNestedPart() - { - return this.ComputeNestedPart(); - } + public List nestedPart => this.ComputeNestedPart(); /// /// The PortUsages that are nestedUsages of this Usage. @@ -787,10 +653,7 @@ public List QueryNestedPart() [Property(xmiId: "_18_5_3_12e503d9_1565494459494_859367_26042", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedPort")] - public List QueryNestedPort() - { - return this.ComputeNestedPort(); - } + public List nestedPort => this.ComputeNestedPort(); /// /// The ReferenceUsages that are nestedUsages of this Usage. @@ -798,10 +661,7 @@ public List QueryNestedPort() [Property(xmiId: "_19_0_2_12e503d9_1591477541360_47573_933", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedReference")] - public List QueryNestedReference() - { - return this.ComputeNestedReference(); - } + public List nestedReference => this.ComputeNestedReference(); /// /// The RenderingUsages that are nestedUsages of this Usage. @@ -809,10 +669,7 @@ public List QueryNestedReference() [Property(xmiId: "_19_0_2_12e503d9_1596741501454_147708_6545", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedRendering")] - public List QueryNestedRendering() - { - return this.ComputeNestedRendering(); - } + public List nestedRendering => this.ComputeNestedRendering(); /// /// The RequirementUsages that are nestedUsages of this Usage. @@ -820,10 +677,7 @@ public List QueryNestedRendering() [Property(xmiId: "_19_0_2_12e503d9_1583000447195_878123_1244", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1578067664051_434365_1774")] [Implements(implementation: "IUsage.NestedRequirement")] - public List QueryNestedRequirement() - { - return this.ComputeNestedRequirement(); - } + public List nestedRequirement => this.ComputeNestedRequirement(); /// /// The StateUsages that are nestedUsages of this Usage. @@ -831,10 +685,7 @@ public List QueryNestedRequirement() [Property(xmiId: "_19_0_2_12e503d9_1575587743891_973819_756", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565501745142_70952_31609")] [Implements(implementation: "IUsage.NestedState")] - public List QueryNestedState() - { - return this.ComputeNestedState(); - } + public List nestedState => this.ComputeNestedState(); /// /// The TransitionUsages that are nestedUsages of this Usage. @@ -842,10 +693,7 @@ public List QueryNestedState() [Property(xmiId: "_19_0_2_12e503d9_1578597913303_768272_3894", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565472757327_162097_21259")] [Implements(implementation: "IUsage.NestedTransition")] - public List QueryNestedTransition() - { - return this.ComputeNestedTransition(); - } + public List nestedTransition => this.ComputeNestedTransition(); /// /// The Usages that are ownedFeatures of this Usage. @@ -854,10 +702,7 @@ public List QueryNestedTransition() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591217543254_26688_475")] [Implements(implementation: "IUsage.NestedUsage")] - public List QueryNestedUsage() - { - return this.ComputeNestedUsage(); - } + public List nestedUsage => this.ComputeNestedUsage(); /// /// The UseCaseUsages that are nestedUsages of this Usage. @@ -865,10 +710,7 @@ public List QueryNestedUsage() [Property(xmiId: "_19_0_4_12e503d9_1621463992900_247262_1080", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedUseCase")] - public List QueryNestedUseCase() - { - return this.ComputeNestedUseCase(); - } + public List nestedUseCase => this.ComputeNestedUseCase(); /// /// The VerificationCaseUsages that are nestedUsages of this Usage. @@ -876,10 +718,7 @@ public List QueryNestedUseCase() [Property(xmiId: "_19_0_2_12e503d9_1596821592100_42801_10499", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591135021853_494751_737")] [Implements(implementation: "IUsage.NestedVerificationCase")] - public List QueryNestedVerificationCase() - { - return this.ComputeNestedVerificationCase(); - } + public List nestedVerificationCase => this.ComputeNestedVerificationCase(); /// /// The ViewUsages that are nestedUsages of this Usage. @@ -887,10 +726,7 @@ public List QueryNestedVerificationCase() [Property(xmiId: "_19_0_2_12e503d9_1596644669126_858176_809", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1591496406876_479979_3188")] [Implements(implementation: "IUsage.NestedView")] - public List QueryNestedView() - { - return this.ComputeNestedView(); - } + public List nestedView => this.ComputeNestedView(); /// /// The ViewpointUsages that are nestedUsages of this Usage. @@ -898,10 +734,7 @@ public List QueryNestedView() [Property(xmiId: "_19_0_2_12e503d9_1596649930212_443356_3818", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1583000447195_878123_1244")] [Implements(implementation: "IUsage.NestedViewpoint")] - public List QueryNestedViewpoint() - { - return this.ComputeNestedViewpoint(); - } + public List nestedViewpoint => this.ComputeNestedViewpoint(); /// /// The Classes that are the types of this OccurrenceUsage. Nominally, these are OccurrenceDefinitions, @@ -912,10 +745,7 @@ public List QueryNestedViewpoint() [RedefinedProperty(propertyName: "_19_0_2_12e503d9_1591477641252_179221_958")] [RedefinedByProperty("IActionUsage.ActionDefinition")] [Implements(implementation: "IOccurrenceUsage.OccurrenceDefinition")] - public List QueryOccurrenceDefinition() - { - return this.ComputeOccurrenceDefinition(); - } + List Systems.Occurrences.IOccurrenceUsage.occurrenceDefinition => throw new InvalidOperationException("Redefined by property IActionUsage.ActionDefinition"); /// /// All features related to this Type by FeatureMemberships that have direction out or inout. @@ -923,10 +753,7 @@ public List QueryOccurrenceDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674960_365618_43170", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IType.Output")] - public List QueryOutput() - { - return this.ComputeOutput(); - } + public List output => this.ComputeOutput(); /// /// The ownedRelationships of this Element that are Annotations, for which this Element is the @@ -936,10 +763,7 @@ public List QueryOutput() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543094430277_599480_18543")] [Implements(implementation: "IElement.OwnedAnnotation")] - public List QueryOwnedAnnotation() - { - return this.ComputeOwnedAnnotation(); - } + public List ownedAnnotation => this.ComputeOwnedAnnotation(); /// /// A Conjugation owned by this Type for which the Type is the originalType. @@ -948,10 +772,7 @@ public List QueryOwnedAnnotation() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1575482490144_309557_300")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedConjugator")] - public IConjugation QueryOwnedConjugator() - { - return this.ComputeOwnedConjugator(); - } + public IConjugation ownedConjugator => this.ComputeOwnedConjugator(); /// /// The one ownedSubsetting of this Feature, if any, that is a CrossSubsetting}, for which the Feature @@ -960,10 +781,7 @@ public IConjugation QueryOwnedConjugator() [Property(xmiId: "_19_0_4_b9102da_1689616916594_145818_277", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedCrossSubsetting")] - public ICrossSubsetting QueryOwnedCrossSubsetting() - { - return this.ComputeOwnedCrossSubsetting(); - } + public ICrossSubsetting ownedCrossSubsetting => this.ComputeOwnedCrossSubsetting(); /// /// The ownedRelationships of this Type that are Differencings, having this Type as their @@ -973,10 +791,7 @@ public ICrossSubsetting QueryOwnedCrossSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedDifferencing")] - public List QueryOwnedDifferencing() - { - return this.ComputeOwnedDifferencing(); - } + public List ownedDifferencing => this.ComputeOwnedDifferencing(); /// /// The ownedRelationships of this Type that are Disjoinings, for which the Type is the typeDisjoined @@ -986,10 +801,7 @@ public List QueryOwnedDifferencing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623183194914_502526_616")] [Implements(implementation: "IType.OwnedDisjoining")] - public List QueryOwnedDisjoining() - { - return this.ComputeOwnedDisjoining(); - } + public List ownedDisjoining => this.ComputeOwnedDisjoining(); /// /// The Elements owned by this Element, derived as the ownedRelatedElements of the ownedRelationships of @@ -997,10 +809,7 @@ public List QueryOwnedDisjoining() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_112608_17278", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.OwnedElement")] - public List QueryOwnedElement() - { - return this.ComputeOwnedElement(); - } + public List ownedElement => this.ComputeOwnedElement(); /// /// All endFeatures of this Type that are ownedFeatures. @@ -1009,10 +818,7 @@ public List QueryOwnedElement() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1562476168385_824569_22106")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_226999_43167")] [Implements(implementation: "IType.OwnedEndFeature")] - public List QueryOwnedEndFeature() - { - return this.ComputeOwnedEndFeature(); - } + public List ownedEndFeature => this.ComputeOwnedEndFeature(); /// /// The ownedMemberFeatures of the ownedFeatureMemberships of this Type. @@ -1020,10 +826,7 @@ public List QueryOwnedEndFeature() [Property(xmiId: "_18_5_3_12e503d9_1533160674959_226999_43167", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IType.OwnedFeature")] - public List QueryOwnedFeature() - { - return this.ComputeOwnedFeature(); - } + public List ownedFeature => this.ComputeOwnedFeature(); /// /// The ownedRelationships of this Feature that are FeatureChainings, for which the Feature will be the @@ -1033,10 +836,7 @@ public List QueryOwnedFeature() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IFeature.OwnedFeatureChaining")] - public List QueryOwnedFeatureChaining() - { - return this.ComputeOwnedFeatureChaining(); - } + public List ownedFeatureChaining => this.ComputeOwnedFeatureChaining(); /// /// The ownedRelationships of this Feature that are FeatureInvertings and for which the Feature is the @@ -1046,10 +846,7 @@ public List QueryOwnedFeatureChaining() [SubsettedProperty(propertyName: "_19_0_4_b9102da_1623178838861_768019_145")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedFeatureInverting")] - public List QueryOwnedFeatureInverting() - { - return this.ComputeOwnedFeatureInverting(); - } + public List ownedFeatureInverting => this.ComputeOwnedFeatureInverting(); /// /// The ownedMemberships of this Type that are FeatureMemberships, for which the Type is the owningType. @@ -1059,10 +856,7 @@ public List QueryOwnedFeatureInverting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1651076866512_962346_485")] [Implements(implementation: "IType.OwnedFeatureMembership")] - public List QueryOwnedFeatureMembership() - { - return this.ComputeOwnedFeatureMembership(); - } + public List ownedFeatureMembership => this.ComputeOwnedFeatureMembership(); /// /// The ownedRelationships of this Namespace that are Imports, for which the Namespace is the @@ -1072,10 +866,7 @@ public List QueryOwnedFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "INamespace.OwnedImport")] - public List QueryOwnedImport() - { - return this.ComputeOwnedImport(); - } + public List ownedImport => this.ComputeOwnedImport(); /// /// The ownedRelationships of this Type that are Intersectings, have the Type as their typeIntersected. @@ -1084,10 +875,7 @@ public List QueryOwnedImport() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IType.OwnedIntersecting")] - public List QueryOwnedIntersecting() - { - return this.ComputeOwnedIntersecting(); - } + public List ownedIntersecting => this.ComputeOwnedIntersecting(); /// /// The owned members of this Namespace, which are the ownedMemberElements of the ownedMemberships @@ -1096,10 +884,7 @@ public List QueryOwnedIntersecting() [Property(xmiId: "_18_5_3_12e503d9_1533160674979_259543_43268", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_644335_43267")] [Implements(implementation: "INamespace.OwnedMember")] - public List QueryOwnedMember() - { - return this.ComputeOwnedMember(); - } + public List ownedMember => this.ComputeOwnedMember(); /// /// The ownedRelationships of this Namespace that are Memberships, for which the Namespace is the @@ -1110,10 +895,7 @@ public List QueryOwnedMember() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "INamespace.OwnedMembership")] - public List QueryOwnedMembership() - { - return this.ComputeOwnedMembership(); - } + public List ownedMembership => this.ComputeOwnedMembership(); /// /// The ownedSubsettings of this Feature that are Redefinitions, for which the Feature is the @@ -1122,10 +904,7 @@ public List QueryOwnedMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_161813_43220", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedRedefinition")] - public List QueryOwnedRedefinition() - { - return this.ComputeOwnedRedefinition(); - } + public List ownedRedefinition => this.ComputeOwnedRedefinition(); /// /// The one ownedSubsetting of this Feature, if any, that is a ReferenceSubsetting, for which the @@ -1134,10 +913,7 @@ public List QueryOwnedRedefinition() [Property(xmiId: "_19_0_4_12e503d9_1661555161564_247405_255", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674970_472382_43221")] [Implements(implementation: "IFeature.OwnedReferenceSubsetting")] - public IReferenceSubsetting QueryOwnedReferenceSubsetting() - { - return this.ComputeOwnedReferenceSubsetting(); - } + public IReferenceSubsetting ownedReferenceSubsetting => this.ComputeOwnedReferenceSubsetting(); /// /// The Relationships for which this Element is the owningRelatedElement. @@ -1155,10 +931,7 @@ public IReferenceSubsetting QueryOwnedReferenceSubsetting() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674984_558067_43292")] [Implements(implementation: "IType.OwnedSpecialization")] - public List QueryOwnedSpecialization() - { - return this.ComputeOwnedSpecialization(); - } + public List ownedSpecialization => this.ComputeOwnedSpecialization(); /// /// The ownedSpecializations of this Feature that are Subsettings, for which the Feature is the @@ -1168,10 +941,7 @@ public List QueryOwnedSpecialization() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674966_718145_43205")] [Implements(implementation: "IFeature.OwnedSubsetting")] - public List QueryOwnedSubsetting() - { - return this.ComputeOwnedSubsetting(); - } + public List ownedSubsetting => this.ComputeOwnedSubsetting(); /// /// The ownedRelationships of this Feature that are TypeFeaturings and for which the Feature is the @@ -1181,10 +951,7 @@ public List QueryOwnedSubsetting() [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603904928950_196800_580")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [Implements(implementation: "IFeature.OwnedTypeFeaturing")] - public List QueryOwnedTypeFeaturing() - { - return this.ComputeOwnedTypeFeaturing(); - } + public List ownedTypeFeaturing => this.ComputeOwnedTypeFeaturing(); /// /// The ownedSpecializations of this Feature that are FeatureTypings, for which the Feature is the @@ -1194,10 +961,7 @@ public List QueryOwnedTypeFeaturing() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_579676_43168")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543180501615_804591_21100")] [Implements(implementation: "IFeature.OwnedTyping")] - public List QueryOwnedTyping() - { - return this.ComputeOwnedTyping(); - } + public List ownedTyping => this.ComputeOwnedTyping(); /// /// The ownedRelationships of this Type that are Unionings, having the Type as their typeUnioned. @@ -1206,10 +970,7 @@ public List QueryOwnedTyping() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092026091_217766_16748")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674971_80547_43227")] [Implements(implementation: "IType.OwnedUnioning")] - public List QueryOwnedUnioning() - { - return this.ComputeOwnedUnioning(); - } + public List ownedUnioning => this.ComputeOwnedUnioning(); /// /// The owner of this Element, derived as the owningRelatedElement of the owningRelationship of this @@ -1217,10 +978,7 @@ public List QueryOwnedUnioning() /// [Property(xmiId: "_18_5_3_12e503d9_1543092869879_744477_17277", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.Owner")] - public IElement QueryOwner() - { - return this.ComputeOwner(); - } + public IElement owner => this.ComputeOwner(); /// /// The Definition that owns this Usage (if any). @@ -1229,10 +987,7 @@ public IElement QueryOwner() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1565498571495_18876_27787")] [Implements(implementation: "IUsage.OwningDefinition")] - public IDefinition QueryOwningDefinition() - { - return this.ComputeOwningDefinition(); - } + public IDefinition owningDefinition => this.ComputeOwningDefinition(); /// /// The FeatureMembership that owns this Feature as an ownedMemberFeature, determining its owningType. @@ -1240,10 +995,7 @@ public IDefinition QueryOwningDefinition() [Property(xmiId: "_18_5_3_12e503d9_1533160674970_68441_43223", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674972_622493_43236")] [Implements(implementation: "IFeature.OwningFeatureMembership")] - public IFeatureMembership QueryOwningFeatureMembership() - { - return this.ComputeOwningFeatureMembership(); - } + public IFeatureMembership owningFeatureMembership => this.ComputeOwningFeatureMembership(); /// /// The owningRelationship of this Element, if that Relationship is a Membership. @@ -1252,10 +1004,7 @@ public IFeatureMembership QueryOwningFeatureMembership() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674973_469277_43243")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_482273_43303")] [Implements(implementation: "IElement.OwningMembership")] - public IOwningMembership QueryOwningMembership() - { - return this.ComputeOwningMembership(); - } + public IOwningMembership owningMembership => this.ComputeOwningMembership(); /// /// The Namespace that owns this Element, which is the membershipOwningNamespace of the owningMembership @@ -1264,10 +1013,7 @@ public IOwningMembership QueryOwningMembership() [Property(xmiId: "_18_5_3_12e503d9_1533160674986_474739_43306", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674980_717955_43271")] [Implements(implementation: "IElement.OwningNamespace")] - public INamespace QueryOwningNamespace() - { - return this.ComputeOwningNamespace(); - } + public INamespace owningNamespace => this.ComputeOwningNamespace(); /// /// The Relationship for which this Element is an ownedRelatedElement, if any. @@ -1285,10 +1031,7 @@ public INamespace QueryOwningNamespace() [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674986_474739_43306")] [SubsettedProperty(propertyName: "_19_0_4_12e503d9_1603905619975_304385_743")] [Implements(implementation: "IFeature.OwningType")] - public IType QueryOwningType() - { - return this.ComputeOwningType(); - } + public IType owningType => this.ComputeOwningType(); /// /// The Usage in which this Usage is nested (if any). @@ -1296,10 +1039,7 @@ public IType QueryOwningType() [Property(xmiId: "_18_5_3_12e503d9_1565472757327_504924_21260", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674965_592215_43200")] [Implements(implementation: "IUsage.OwningUsage")] - public IUsage QueryOwningUsage() - { - return this.ComputeOwningUsage(); - } + public IUsage owningUsage => this.ComputeOwningUsage(); /// /// The parameters of this Step, which are defined as its directedFeatures, whose values are passed into @@ -1308,10 +1048,7 @@ public IUsage QueryOwningUsage() [Property(xmiId: "_19_0_2_12e503d9_1595189174990_213826_657", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedProperty(propertyName: "_19_0_4_12e503d9_1623952188842_882068_37169")] [Implements(implementation: "IStep.Parameter")] - public List QueryParameter() - { - return this.ComputeParameter(); - } + public List parameter => this.ComputeParameter(); /// /// The kind of temporal portion (time slice or snapshot) is represented by this OccurrenceUsage. If @@ -1332,10 +1069,7 @@ public List QueryParameter() /// [Property(xmiId: "_19_0_4_12e503d9_1611356604987_900871_594", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.QualifiedName")] - public string QueryQualifiedName() - { - return this.ComputeQualifiedName(); - } + public string qualifiedName => this.ComputeQualifiedName(); /// /// The short name to be used for this Element during name resolution within its owningNamespace. This @@ -1345,10 +1079,7 @@ public string QueryQualifiedName() /// [Property(xmiId: "_19_0_4_12e503d9_1673496405504_544235_24", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IElement.ShortName")] - public string QueryShortName() - { - return this.ComputeShortName(); - } + public string shortName => this.ComputeShortName(); /// /// The TextualRepresentations that annotate this Element. @@ -1357,10 +1088,7 @@ public string QueryShortName() [SubsettedProperty(propertyName: "_19_0_2_12e503d9_1594145755059_76214_87")] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1543092869879_112608_17278")] [Implements(implementation: "IElement.TextualRepresentation")] - public List QueryTextualRepresentation() - { - return this.ComputeTextualRepresentation(); - } + public List textualRepresentation => this.ComputeTextualRepresentation(); /// /// Types that restrict the values of this Feature, such that the values must be instances of all the @@ -1371,10 +1099,7 @@ public List QueryTextualRepresentation() [Property(xmiId: "_18_5_3_12e503d9_1533160674969_376003_43216", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [RedefinedByProperty("IUsage.Definition")] [Implements(implementation: "IFeature.Type")] - public List QueryType() - { - return this.ComputeType(); - } + List Core.Features.IFeature.type => throw new InvalidOperationException("Redefined by property IUsage.Definition"); /// /// The interpretations of a Type with unioningTypes are asserted to be the same as those of all the @@ -1385,10 +1110,7 @@ public List QueryType() /// [Property(xmiId: "_19_0_4_b9102da_1661974896766_783268_1231", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IType.UnioningType")] - public List QueryUnioningType() - { - return this.ComputeUnioningType(); - } + public List unioningType => this.ComputeUnioningType(); /// /// The Expression whose result, if false, determines that the bodyAction should continue to be @@ -1396,10 +1118,7 @@ public List QueryUnioningType() /// [Property(xmiId: "_19_0_4_12e503d9_1624290717721_449719_4195", aggregation: AggregationKind.None, lowerValue: 0, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IWhileLoopActionUsage.UntilArgument")] - public IExpression QueryUntilArgument() - { - return this.ComputeUntilArgument(); - } + public IExpression untilArgument => this.ComputeUntilArgument(); /// /// The Usages that are features of this Usage (not necessarily owned). @@ -1407,10 +1126,7 @@ public IExpression QueryUntilArgument() [Property(xmiId: "_19_0_2_12e503d9_1591217543254_26688_475", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: true, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674959_326391_43166")] [Implements(implementation: "IUsage.Usage")] - public List QueryUsage() - { - return this.ComputeUsage(); - } + public List usage => this.ComputeUsage(); /// /// The Usages which represent the variants of this Usage as a variation point Usage, if isVariation = @@ -1419,10 +1135,7 @@ public List QueryUsage() [Property(xmiId: "_19_0_2_12e503d9_1590979649160_380466_999", aggregation: AggregationKind.None, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_259543_43268")] [Implements(implementation: "IUsage.Variant")] - public List QueryVariant() - { - return this.ComputeVariant(); - } + public List variant => this.ComputeVariant(); /// /// The ownedMemberships of this Usage that are VariantMemberships. If isVariation = true, then this @@ -1431,10 +1144,7 @@ public List QueryVariant() [Property(xmiId: "_19_0_2_12e503d9_1590979136735_982171_914", aggregation: AggregationKind.Composite, lowerValue: 0, upperValue: int.MaxValue, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [SubsettedProperty(propertyName: "_18_5_3_12e503d9_1533160674979_190614_43269")] [Implements(implementation: "IUsage.VariantMembership")] - public List QueryVariantMembership() - { - return this.ComputeVariantMembership(); - } + public List variantMembership => this.ComputeVariantMembership(); /// /// The Expression whose result, if true, determines that the bodyAction should continue to be @@ -1442,10 +1152,7 @@ public List QueryVariantMembership() /// [Property(xmiId: "_19_0_4_12e503d9_1624203871924_371126_3842", aggregation: AggregationKind.None, lowerValue: 1, upperValue: 1, isOrdered: false, isReadOnly: false, isDerived: true, isDerivedUnion: false, isUnique: true, defaultValue: null)] [Implements(implementation: "IWhileLoopActionUsage.WhileArgument")] - public IExpression QueryWhileArgument() - { - return this.ComputeWhileArgument(); - } + public IExpression whileArgument => this.ComputeWhileArgument(); } }